===Transform Functions===
====subtract({{ArgTypeString}} label, {{ArgTypeAnyArgTypeString}} x0object_1, {{ArgTypeAnyArgTypeString}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} lengthobject_2)====
''Example:subtract("my_lineSubtract_Object",0"Rect_Strip1",0,0,100"Rect_Strip2")''
Description: Draws Creates a Line Boolean object in the scene under the currently activated Material Group node, or modifies a Line named 'label' by subtracting object_2 from object_1. An error will be thrown if Line a Boolean object named 'label' already exists.
====line_unionunion({{ArgTypeString}} label, {{ArgTypeAnyArgTypeString}} x0object_1, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} rot_x, {{ArgTypeAny}} rot_y, {{ArgTypeAny}} rot_z, {{ArgTypeAnyArgTypeString}} lengthobject_2)====
''Example:lineunionrotatedunion("line_1Union_Object",0"Rect_Strip1",0,0,0,90,0,100"Rect_Strip2")''
Description: Draws Creates a rotated Line Boolean object in the scene under the currently activated Material Group nodenamed 'label' by unioning object_1 and object_2. Unlike most other CAD functions, An error will be thrown if Line a Boolean object named 'label' already exists in the scene,an error will be thrown.
====intersect({{ArgTypeString}} label, {{ArgTypeAnyArgTypeString}} x0object_1, {{ArgTypeAnyArgTypeString}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} radius, {{ArgTypeAny}} start_angle, {{ArgTypeAny}} end_angleobject_2)====
''Example:intersect("pyramid_1Intersection_Object",0"Rect_Strip1",0,0,10,10,100"Rect_Strip2")''
Description: Draws Creates a circular curve Boolean object in the scene under the currently activated Material Group node, or modifies named 'label' by intersecting object_1 and object_2. An error will be thrown if a Circle Boolean object if Circle named 'label' already exists. The parameters start_angle and end_angle are in degrees.
====array({{ArgTypeString}} label, {{ArgTypeString}} object, {{ArgTypeAny}} x0x_count, {{ArgTypeAny}} y0y_count, {{ArgTypeAny}} z0z_count, {{ArgTypeAny}} nturnsx_spacing, {{ArgTypeAny}} radius_innery_spacing, {{ArgTypeAny}} radius_outerz_spacing)====
''Example:array("Helix_1Array_1",0"Rect_Strip_1",04,04,51,15"spacing",50"spacing",0)''
Description: Draws a helical curve in the scene under the currently activated Material Group node, Create 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 helixmodify 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 circular curve object in the scene under the currently activated Material Group node, or modifies a Circle object if Circle 'label' already exists. The parameters start_angle and end_angle are in degrees.
====extrude({{ArgTypeString}} label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} nturns, {{ArgTypeAnyArgTypeString}} radius_innerobject, {{ArgTypeAny}} radius_outerheight)====
''Example:extrude("Helix_1Extrude_Object",0,0,0,5,15"Rect_Strip1",50)''
Description: Draws a helical curve in the scene under the currently activated Material Group node, Creates or modifies a Helix if Helix an Extrusion object from CAD object 'labelobject' already exists. radius_inner specifies the helix If modifying an existing extrusion, 's radius at object' is ignored, and the beginning of the helixpre-existing primitive is used. extrude(...) can only extrude objects that have a single face, and radius_outer specifies the radius at will extrude in the end direction of the helixface's normal.
====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==
==Result Functions==
Â
Â
==Material Group Functions==
Â
====pec_group({{ArgTypeString}} label)====
Â
''Example:pec_group("PEC_1")''
Â
Description: Creates a PEC material group in the current module. If a PEC group 'label' already exists, the group is activated.
Â
====pmc_group({{ArgTypeString}} label)====
Â
''Example:pmc_group("PMC_1")''
Â
Description: Creates a PMC material group in the current module. If a PMC group 'label' already exists, the group is activated.
Â
====dielectric_group({{ArgTypeString}} label, {{ArgTypeAny}} eps, {{ArgTypeAny}} sigma, {{ArgTypeAny}} mu, {{ArgTypeAny}} rho)====
Â
''Example:dielectric_group("Dielectric_1","my_eps",0,1,0)''
Â
Description: Creates a Dielectric material group in the current module with the specified material properties. If a Dielectric group 'label' already exists, the group is activated.
Â
====thinwire_group({{ArgTypeString}} label, {{ArgTypeAny}} radius)====
Â
''Example:thinwire_group("Thinwire_1",4)''
Â
Description: Creates a Thinwire material group in the current module. If a Thinwire group 'label' already exists, the group is activated.
Â
====base_point_group({{ArgTypeString}} label)====
Â
''Example:base_point_set("BP_Set_1")''
Â
Description: Creates a Base Point Set in [[EM.Terrano]]. If a Base Point Set group 'label' already exists, the group is activated.
Â
====color_group({{ArgTypeString}} label)====
Â
''Example:color_group("Color_1")''
Â
Description: Creates a Color group in [[CubeCAD]] module. If a Color group 'label' already exists, the group is activated.
Â
====penetrable_group({{ArgTypeString}} label, {{ArgTypeAny}} eps, {{ArgTypeAny}} sigma, {{ArgTypeAny}} thickness)====
Â
''Example:penetrable_group("Impenet_1",2.2,.0001, 1)''
Â
Description: Creates a Penetrable material group in [[EM.Terrano]]. If a Penetrable group 'label' already exists, the group is activated.
Â
====impenetrable_group({{ArgTypeString}} label, {{ArgTypeAny}} eps, {{ArgTypeAny}} sigma)====
Â
''Example:impenetrable_group("Impenet_1",2.2,.0001)''
Â
Description: Creates a Impenetrable material group in [[EM.Terrano]]. If an Impenetrable group 'label' already exists, the group is activated.
==Simulation Setup and Meshing Functions==