Changes

Python Integration

2,022 bytes added, 16:29, 4 December 2015
/* impenetrable_group({{ArgTypeString}} label, {{ArgStringAny}} eps, {{ArgTypeAny}} sigma) */
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}} object)====
==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==
831
edits