Changes

Glossary of EM.Cube's Python Functions

112 bytes added, 23:37, 17 September 2016
/* EM.Cube's Python Functions for Geometric Object Creation */
== EM.Cube's Python Functions for Geometric Object Creation ==
====box({{ArgTypeString}} label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} base_x, {{ArgTypeAny}} base_y, {{ArgTypeAny}} height[, {{ArgTypeAny}} cap_top, {{ArgTypeAny}} cap_bottom])====
''ExampleSYNTAX: box("Box_1"{{ArgTypeString}} label,0{{ArgTypeAny}} x0,0{{ArgTypeAny}} y0,0{{ArgTypeAny}} z0,50{{ArgTypeAny}} base_x,50{{ArgTypeAny}} base_y,100{{ArgTypeAny}} height[, {{ArgTypeAny}} cap_top, {{ArgTypeAny}} cap_bottom])''
DescriptionEXAMPLE: Draws a ''box object in the project workspace under the currently activated material group node("Box_1", or modifies the box named 0,0,0,50,50,100)'label' if it already exists.
====cylinder({{ArgTypeString}} DESCRIPTION: Draws a box object in the project workspace under the currently activated material group node, or modifies the box named 'label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} radius, {{ArgTypeAny}} height[, {{ArgTypeAny}} start_angle, {{ArgTypeAny}} end_angle, {{ArgTypeAny}} cap_top, {{ArgTypeAny}} cap_bottom])====' if it already exists.
''Example: ====cylinder("Cylinder_1",0,0,0,10,100)''====
DescriptionSYNTAX: Draws a cylinder object in the project workspace under the currently activated material group node, or modifies the cylinder named '({{ArgTypeString}} label' if it already exists. The arguments , {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} radius, {{ArgTypeAny}} height[, {{ArgTypeAny}} start_angle and , {{ArgTypeAny}} end_angle are in degrees and specify a sweep about the cylinder's azimuth axis., {{ArgTypeAny}} cap_top, {{ArgTypeAny}} cap_bottom])
====coneEXAMPLE: ''cylinder({{ArgTypeString}} label"Cylinder_1", {{ArgTypeAny}} x00, {{ArgTypeAny}} y00, {{ArgTypeAny}} z00, {{ArgTypeAny}} base_radius10, {{ArgTypeAny}} height[, {{ArgTypeAny}} top_radius, {{ArgTypeAny}} start_angle, {{ArgTypeAny}} end_angle, {{ArgTypeAny}} cap_top, {{ArgTypeAny}} cap_bottom]100)====''
''ExampleDESCRIPTION: cone("Cone_1"Draws a cylinder object in the project workspace under the currently activated material group node,0,0,0,30,40,20,0,180)or modifies the cylinder named 'label'if it already exists. The arguments start_angle and end_angle are in degrees and specify a sweep about the cylinder's azimuth axis.
Description: Draws a ====cone object in the project workspace under the currently activated material group node, or modifies the cone named 'label' if it already exists. The arguments start_angle and end_angle are in degrees and specify a sweep about the cone's azimuth axis.====
====pyramidSYNTAX: cone({{ArgTypeString}} label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} base_xbase_radius, {{ArgTypeAny}} base_yheight[, {{ArgTypeAny}} heighttop_radius, {{ArgTypeAny}} start_angle, {{ArgTypeAny}} end_angle, {{ArgTypeAny}} cap_top, {{ArgTypeAny}} cap_bottom])====
EXAMPLE: ''Example: pyramidcone("Pyramid_1Cone_1",0,0,0,1030,1040,20,0,100180)''
DescriptionDESCRIPTION: Draws a pyramid cone object in the project workspace under the currently activated material group node, or modifies the pyramid cone named 'label' if it already exists. The arguments start_angle and end_angle are in degrees and specify a sweep about the cone's azimuth axis.
====sphere({{ArgTypeString}} label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} radius[, {{ArgTypeAny}} start_angle, {{ArgTypeAny}} end_angle])pyramid====
''ExampleSYNTAX: spherepyramid("Sphere_1"{{ArgTypeString}} label,0{{ArgTypeAny}} x0,0{{ArgTypeAny}} y0,0{{ArgTypeAny}} z0,10{{ArgTypeAny}} base_x,0{{ArgTypeAny}} base_y,180{{ArgTypeAny}} height)''
DescriptionEXAMPLE: Draws a sphere object in the project workspace under the currently activated Material Group node, or modifies the sphere named 'label' if it already exists. The arguments start_angle and end_angle are in degrees and specify a sweep about the spherepyramid("Pyramid_1",0,0,0,10,10,100)''s azimuth axis.
====ellipsoid({{ArgTypeString}} DESCRIPTION: Draws a pyramid object in the project workspace under the currently activated material group node, or modifies the pyramid named 'label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} radius_x, {{ArgTypeAny}} radius_y, {{ArgTypeAny}} radius_z[, {{ArgTypeAny}} start_angle, {{ArgTypeAny}} end_angle])====' if it already exists.
''Example: ellipsoid("Ellipsoid_1",0,0,0,100,100,50,0,360)''====sphere====
DescriptionSYNTAX: Draws an ellipsoid object in the project workspace under the currently activated material group node, or modifies the ellipsoid named 'sphere({{ArgTypeString}} label' if it already exists. The arguments , {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} radius[, {{ArgTypeAny}} start_angle and , {{ArgTypeAny}} end_angle are in degrees and specify a sweep about the ellipsoid's azimuth axis.])
====torusEXAMPLE: ''sphere({{ArgTypeString}} label"Sphere_1", {{ArgTypeAny}} x00, {{ArgTypeAny}} y00, {{ArgTypeAny}} z00, {{ArgTypeAny}} radius_major10, {{ArgTypeAny}} radius_minor[0, {{ArgTypeAny}} start_angle, {{ArgTypeAny}} end_angle]180)====''
''ExampleDESCRIPTION: torus("Torus_1"Draws a sphere object in the project workspace under the currently activated Material Group node,0,0,0,50,20)or modifies the sphere named 'label'if it already exists. The arguments start_angle and end_angle are in degrees and specify a sweep about the sphere's azimuth axis.
Description====ellipsoid==== SYNTAX: ellipsoid({{ArgTypeString}} label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} radius_x, {{ArgTypeAny}} radius_y, {{ArgTypeAny}} radius_z[, {{ArgTypeAny}} start_angle, {{ArgTypeAny}} end_angle]) EXAMPLE: ''ellipsoid("Ellipsoid_1",0,0,0,100,100,50,0,360)'' DESCRIPTION: Draws an ellipsoid object in the project workspace under the currently activated material group node, or modifies the ellipsoid named 'label' if it already exists. The arguments start_angle and end_angle are in degrees and specify a sweep about the ellipsoid's azimuth axis. ====torus==== SYNTAX: torus({{ArgTypeString}} label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} radius_major, {{ArgTypeAny}} radius_minor[, {{ArgTypeAny}} start_angle, {{ArgTypeAny}} end_angle]) EXAMPLE: ''torus("Torus_1",0,0,0,50,20)'' DESCRIPTION: Draws an torus object in the project workspace under the currently activated material group node, or modifies the torus named 'label' if it already exists. The arguments start_angle and end_angle are in degrees and specify a sweep about the torus's azimuth axis.
====rect_strip({{ArgTypeString}} label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} side_x, {{ArgTypeAny}} side_y)====
28,333
edits