Changes

Python Integration

389 bytes removed, 18:14, 2 December 2015
/* Transform Functions */
Description: Create or modify an Array object.
====translate_by({{ArgTypeString}} label, {{ArgType| 3x1 Python tupleArgTypeReal}} p0x_dist, {{ArgType| 3x1 Python tupleArgTypeReal}} p1y_dist, ... {{ArgType| 3x1 Python tupleArgTypeReal}} pnz_dist)====
''Example:translate_by("pl_1MyObj",(010,010,0),(1,0,0),(1,0,0)x)''
Description: Creates or modifies a PolyLine Translates an object in by the scene. Each point is represented with a Python tuple type. The poly_line is closed if p0 is specified again as pn, otherwise, it is opendistances in each direction.
====translate_to({{ArgTypeString}} label, {{ArgType| 3x1 Python tupleArgTypeReal}} p0x_dest, {{ArgType| 3x1 Python tupleArgTypeReal}} p1y_dest, ... {{ArgType| 3x1 Python tupleArgTypeReal}} pnz_dest)====
''Example:translate_to("nc_1MyObj",(020,020,0),(1,0,0),(1,0,0)x2)''
Description: Creates or modifies a NURBS Curve Translates an object in to the scene. Each point is represented with a Python tuple type. The curve is closed if p0 is specified again as pn, otherwise, it is opendestination.
====rotate({{ArgTypeString}} label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} radius, {{ArgTypeAny}} start_angle, {{ArgTypeAny}} end_angle)====
Description: Draws a helical curve in the scene under the currently activated Material Group node, or modifies a Helix if Helix 'label' already exists. radius_inner specifies the helix's radius at the beginning of the helix, and radius_outer specifies the radius at the end of the helix.
====explode({{ArgTypeString}} label, {{ArgType| 3x1 Python tuple}} p0, {{ArgType| 3x1 Python tuple}} p1, ... {{ArgType| 3x1 Python tuple}} pnobject)====
''Example:explode("pl_1MyArray",(0,0,0),(1,0,0),(1,0,0))''
Description: Creates or modifies Performs an explode operation on a PolyLine CAD object in the scene. Each point is represented with a Python tuple type. The poly_line is closed if p0 is specified again as pn, otherwise, it is opennamed 'object'.
====revolve({{ArgTypeString}} label, {{ArgType| 3x1 Python tupleArgTypeString}} p0object, {{ArgType| 3x1 Python tupleArgTypeAny}} p1x0, ... {{ArgType| 3x1 Python tupleArgTypeAny}} pny0, {{ArgTypeAny}} z0, {{ArgTypeAny}} uX, {{ArgTypeAny}} uY, {{ArgTypeAny}} uZ, {{ArgTypeAny}} rot_angle)====
''Example:revolve("nc_1Rev1","Line_1",(0,0,0),(1,0,0),(1,0,0))''
Description: Creates or modifies a NURBS Curve Revolution object in the scene. Each point is represented called 'label', with a Python tuple typeprimitive object named 'object'. The curve If modifying an existing Revolution object, 'object' is closed if p0 ignored, and the pre-existing primitive object is specified again as pnused. (x0, otherwisey0, it z0) specifies the center of revolution, and (uX,uY,uZ) specifies the revolution axis. rot_angle is openin degrees.
==Source Functions==
831
edits