Changes

Python Integration

426 bytes added, 17:11, 2 December 2015
/* CAD Functions */
Description: Draws a Sphere object in the scene under the currently activated Material Group node, or modifies a Sphere if Sphere 'label' already exists. The arguments start_angle and end_angle are in degrees and specify a sweep about the sphere's theta axis.
====helix({{ArgTypeString}} label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} radius, {{ArgTypeAny}} start_angle, {{ArgTypeAny}} end_angle)====
''Example:sphere====poly_strip("sphere"{{ArgTypeString}} label,0{{ArgType| 3x1 Python tuple}} p0,0{{ArgType| 3x1 Python tuple}} p1,0,10,0,180... {{ArgType| 3x1 Python tuple}} pn)''====
''Example:poly_strip("ps_1",(0,0,0),(1,0,0),(1,0,0))'' Description: Draws Creates or modifies a Sphere PolyStrip object in the scene under the currently activated Material Group node, or modifies . Each point is represented with a Sphere if Sphere Python tuple type. The poly_strip function is 'labelself-closing' already exists-- there is no need to supply the first point again at the end of the point list.  ====nurbs_strip({{ArgTypeString}} label, {{ArgType| 3x1 Python tuple}} p0, {{ArgType| 3x1 Python tuple}} p1, ... {{ArgType| 3x1 Python tuple}} pn)==== ''Example:nurbs_strip("ns_1",(0,0,0),(1,0,0),(1,0,0))'' Description: The arguments start_angle and end_angle are in degrees and specify Creates or modifies a sweep about NURBS Strip object in the spherescene. Each point is represented with a Python tuple type. The nurbs_strip function is 's theta axisself-closing' -- there is no need to supply the first point again at the end of the point list.
===Transform Functions===
831
edits