Macro FCSpring On Surface

Description
This macro creates a helix around a solid object whatever its shape, the helix follows the entire surface of the object. (Python2 is required).



Usage
Select the object (solid), the macro calculate by default value:


 * The value of the height of the BoundBox of the object, the X value of the center of the BoundBox, the Y value of the center of the BoundBox, and the Z value of the base of the BoundBox.



Configuration:


 * Pas : The pitch of the helix (Default: 1)
 * Height : The height of the helix. By default the height is the maximum height of the boundBox of the object.
 * Precision : Number of points for one turn of the object, maximum 360 (Default: 36)

Coordinate Begin:


 * X : The value X. If the object is offset, the X BoundBox center axis value is detected and used by default.
 * Y : The value Y. If the object is offset, the Y BoundBox center axis value is detected and used by default.
 * Z : The value Z. The Z of the base of the BoundBox is detected and used by default.

Options:
 * BSpline : One helix Bspline is created
 * Wire : One helix Wire is created
 * Points : One point is created in all coordinate created for built the Bspline or Wire
 * Reverse : The helix is reversed (Default: counterclockwise)
 * If is checked you must dee the progression in the 3D view

Command:
 * : Quit FCSpring_On_Surface
 * : Run the creation

Script
ToolBar icon

Macro_FCSpring_On_Surface.FCMacro

Examples






Links
The Genesis Zwei Helix - ein Sweep

The original code How to intersect a line with a part by wandererfan