The following is a Python script that automatically creates a Kiss Chocolate model in Austodesk Maya, using a bezier curve programmed to take any number points and generate the corresponding bezier curve, which in this case would be the side curve of the chocolate.
Maya version: Autodesk Maya 2017
Open Autodesk Maya. Open the Script Editor by going to Maya's Windows > General Editors > Script Editor
. Then, click on the Python label.
Import this script or paste it directly on the editor.
Type Ctrl + A
and then Run
button.
The script creates the following model: