Glossary of EM.Cube's Standard Geometric Objects

From Emagtech Wiki
Revision as of 20:08, 3 August 2016 by Kazem Sabet (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Solid Objects

Box Tool

ICON: Box tool tn.png

Menu → Object → Solid → Box

TO DRAW A BOX:

  1. Activate the Box Tool.
  2. Left-click to establish the first bottom vertex.
  3. Drag the mouse away from the first vertex to establish the desired base plane area. Left-click a second time to establish the opposite bottom vertex.
  4. Drag the mouse up and away from the base plane to set the desired height. Left-click a third time to complete the box.


PYTHON COMMAND: box(label,x0,y0,z0,base_x,base_y,height[,cap_top,cap_bottom])


BOX PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
size_X real numeric project units - dimension along X-axis
size_Y real numeric project units - dimension along Y-axis
size_Z real numeric project units - dimension along Z-axis
fix_center_X Boolean - TRUE fixes X-coordinate of base
fix_center_Y Boolean - TRUE fixes Y-coordinate of base
cap_top Boolean - TRUE places a cap at top
cap_bottom Boolean - TRUE places a cap at bottom base


Cad solid1.png

circle

Cylinder Tool

Cylinder tool tn.png Menu → Object → Solid → Cylinder

TO DRAW A CYLINDER:

  1. Activate the Cylinder Tool.
  2. Left-click to establish the center of the bottom base.
  3. Drag the mouse away from the origin to create the desired base radius. Left-click a second time to establish the cylinder's base.
  4. Drag the mouse up and away from the active work plane to establish the cylinder's height. Left-click a third time to complete the cylinder.


PYTHON COMMAND: cylinder(label,x0,y0,z0,radius,height[,start_angle,end_angle,cap_top,cap_bottom])


CYLINDER PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
base_radius real numeric project units - -
height real numeric project units - -
start_angle real numeric degrees 0 start azimuth angle
end_angle real numeric degrees 360 end azimuth angle
cap_top Boolean - TRUE places a cap at top
cap_bottom Boolean - TRUE places a cap at bottom base


Cad solid2.png

02b cylinder tn new.png

circle

Cone Tool

Cone tool tn.png Menu → Object → Solid → Cone

TO DRAW A CONE:

  1. Activate the Cone Tool.
  2. Left-click to establish the cone's base plane origin.
  3. Drag away from the origin to define the base plane's radius. Left-click a second time to define the base plane.
  4. Drag the mouse away from the base plane to establish the height. Left-click a third time to complete the cone.


PYTHON COMMAND: cone(label,x0,y0,z0,base_radius,height[,top_radius,start_angle,end_angle,cap_top,cap_bottom])


CONE PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
base_radius real numeric project units - -
top_radius real numeric project units 0 -
height real numeric project units - -
start_angle real numeric degrees 0 start azimuth angle
end_angle real numeric degrees 360 end azimuth angle
cap_top Boolean - TRUE places a cap at top
cap_bottom Boolean - TRUE places a cap at bottom base

Cad solid3.png

03b cone tn new.png

circle

Pyramid Tool

Pyramid tool tn.png Menu → Object → Solid → Pyramid

TO DRAW A PYRAMID:

  1. Activate the Pyramid Tool.
  2. Left-click to establish the first point of the rectangular base plane.
  3. Define the desired area of the base plane by dragging the mouse away from the first point. Left-click a second time to establish the base plane.
  4. Drag the mouse away from the base plane to establish the desired height. Left-click a third time to complete the pyramid.


PYTHON COMMAND: pyramid(label,x0,y0,z0,base_x,base_y,height[,top_x,top_y,cap_top,cap_bottom])


PYRAMID PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
base_size_X real numeric project units - -
base_size_Y real numeric project units - -
top_size_X real numeric project units 0 -
top_size_Y real numeric project units 0 -
height real numeric project units - -
top_offset_X real numeric project units 0 -
top_offset_Y real numeric project units 0 -
fix_center_X Boolean - TRUE fixes X-coordinate of base
fix_center_Y Boolean - TRUE fixes Y-coordinate of base
cap_top Boolean - TRUE places a cap at top
cap_bottom Boolean - TRUE places a cap at bottom base

Cad solid4.png

04b pyramid tn new.png

drawing mode

circle

Sphere Tool

Sphere tool tn.png Menu → Object → Solid → Sphere

TO DRAW A SPHERE:

  1. Activate the Sphere Tool.
  2. Left-click to establish the origin point. Drag the mouse outward from the origin to establish the radius.
  3. Left-click a second time to complete the sphere.


PYTHON COMMAND: sphere(label,x0,y0,z0,radius[,start_angle,end_angle])


SPHERE PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
radius real numeric project units - -
start_angle real numeric degrees 0 start azimuth angle
end_angle real numeric degrees 360 end azimuth angle

Cad solid5.png

05b sphere tn new.png

circle

Ellipsoid Tool

Ellipsoid tool tn.png Menu → Object → Solid → Ellipsoid

TO DRAW AN ELLIPSOID:

  1. Activate the Ellipsoid Tool.
  2. Left-click to define the first X-radius anchor point.
  3. Drag the mouse to the desired length. left-click a second time to define the ending X-radius anchor point.
  4. Drag the mouse away from the X radius to establish the desired Y-radius. Left-click a third time to define the Y radius.
  5. Drag the mouse away from the active plane to define the Z radius. Left-click a fourth time to complete the ellipsoid.


PYTHON COMMAND: ellipsoid(label,x0,y0,z0,radius_x,radius_y,radius_z[,start_angle,end_angle])


ELLIPSOID PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
radius_X real numeric project units - -
radius_Y real numeric project units - -
radius_Z real numeric project units - -
start_angle real numeric degrees 0 start azimuth angle
end_angle real numeric degrees 360 end azimuth angle

Cad solid6.png

06b ellipsoid tn new.png

circle

Torus Tool

Torus tool tn.png Menu → Object → Solid → Torus

TO DRAW A TORUS:

  1. Activate the Torus Tool.
  2. Left-click to define the center point.
  3. Drag the mouse away from the origin and left-click a second time to establish the Major Radius of the torus.
  4. Drag the mouse away from the Major Radius construction path to establish the Minor Radius. Left-click a third time to complete the torus.


PYTHON COMMAND: torus(label,x0,y0,z0,radius_major,radius_minor[,start_angle,end_angle])


TORUS PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
major_radius real numeric project units - -
minor_radius real numeric project units - -
start_angle real numeric degrees 0 start azimuth angle
end_angle real numeric degrees 360 end azimuth angle


Cad solid4torus.png

07b torus tn new.png

circle

Generating Platonic Solids

Besides EM.Cube's standard solid objects, i.e. box, cylinder, cone, pyramid, sphere, ellipsoid, and torus, you can use Solid Generator Solid gen tool tn.png to create five types of Platonic solid objects:

  1. Tetrahedron
  2. Hexahedron
  3. Octahedron
  4. Dodecahedron
  5. Icosahedron

Cad solid8.png

A icosahedron with side length 20 (scale = 10).

  1. Click the Solid Generator Solid gen tool tn.png button of the Object Toolbar or select Menu Larrow tn.png Object Larrow tn.png Solid Larrow tn.png Solid Generator to open the Solid Generator Dialog.
  2. Select one of the five platonic solid types Tetrahedron, Hexahedron Octahedron, Dodecahedron, or Icosahedron.
  3. The dialog shows the number of faces, edges, nodes and the side length of the standard platonic solid of the selected type. Specify the Scale based on the displayed Side Length.
  4. Before you create the solid and add it to the Navigation Tree, you have an opportunity to preview it. To do so, click the Preview button of the dialog. A yellow ghost of the solid appears in the Project Workspace. You can change the range or modify the function at this time. Once you are satisfied with the generated solid, click the Create to finalize its creation and add it to the list of object on the Navigation Tree.

Surface Objects

Rectangle Strip Tool

Rectstrip tool tn.png Menu → Object → Surface → Rectangle Strip

TO DRAW A RECTANGLE STRIP:

  1. Activate the Rectangle Strip Tool.
  2. Left-click to establish the X/Y axial triangulation point.
  3. Drag the mouse outward from this point to define the desired area of the rectangle strip. Left-click a second time to complete the shape.


PYTHON COMMAND: rect_strip(label,x0,y0,z0,side_x,side_y)


RECTANGLE STRIP PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
side_X real numeric project units - dimension along X-axis
side_Y real numeric project units - dimension along Y-axis
fix_center_X Boolean - TRUE fixes X-coordinate of base
fix_center_Y Boolean - TRUE fixes Y-coordinate of base
rect_loop Boolean - FALSE if TRUE, creates a rectangular loop
loop_width real numeric project units - -

Cad surf1.png

circle

Circle Strip Tool

Circlestrip tool tn.png Menu → Objects → Surfaces → Circle Strip

TO DRAW A CIRCLE STRIP:

  1. Activate the Circle Strip Tool.
  2. Left-click to define the origin
  3. Drag the mouse away from the origin to establish the desired radius. Left-click a second time to complete the circle strip.


PYTHON COMMAND: circ_strip(label,x0,y0,z0,outer_radius,inner_radius[,start_angle,end_angle])


CIRCLE STRIP PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
outer_radius real numeric project units - circle's outer radius
inner_radius real numeric project units 0 inner radius creating a ring object
start_angle real numeric degrees 0 start azimuth angle
end_angle real numeric degrees 360 end azimuth angle

Cad surf2.png

Start Angle and End Angle defines the area around the z-axis that will be drawn. The default value for both the Start and End angle parameters is 0.

09b circle strip tn new.png

The X, Y, Z LCS coordinates originate at the CIRCLE STRIP’s center.

circle

Radial Strip Tool

Radialstrip tool tn.png Menu → Object → Surface → Radial Strip

TO DRAW A RADIAL STRIP:

  1. Activate the Radial Strip Tool.
  2. Left-click to establish the origin point.
  3. Drag the mouse away from origin and left-click a second time to establish the radius and the first leg of the radial strip.
  4. Drag the mouse to the desired location to define the angle of the radial strip. Left-click a third time to complete the radial strip.


PYTHON COMMAND: radial_strip(label,x0,y0,z0,radius,base_lenght,angle)


RADIAL STRIP PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
radius real numeric project units - -
base_length real numeric project units 0 A nonzero value creates a flattened base
angle real numeric degrees - wedge angle

DIALOG PROPERTIES

Radius establishes the circumference of the radial strip. Angle defines the distance between the first leg and second leg of the radial strip. Base Length es

Cad surf3.png

Base Length establishes an inset amount measured outward from the origin.

10b radial strip tn new.png

circle

Ellipse Strip Tool

Ellipsestrip tool tn.png Menu → Object → Surface → Ellipse Strip

TO DRAW AN ELLIPSE STRIP:

  1. Activate the Ellipse Strip Tool.
  2. Left-click to establish the X/Y axis origin.
  3. Drag the mouse away from the origin to the desired location. Left-click a second time to create the ellipse.


PYTHON COMMAND: ellipse_strip(label,x0,y0,z0,radius_x,radius_y[,start_angle,end_angle])


ELLIPSE STRIP PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
radius_X real numeric project units - radius along X-axis
radius_Y real numeric project units - radius along Y-axis
start_angle real numeric degrees 0 start azimuth angle
end_angle real numeric degrees 360 end azimuth angle
fix_center_X Boolean - TRUE fixes X-coordinate of base
fix_center_Y Boolean - TRUE fixes Y-coordinate of base

DIALOG PARAMETERS

X Diameter and Y Diameter together establish the area of the Ellipse Strip. Lock Base anchors the Ellipse Strip's LCS origin to its current location. The diagram below illustrates how the Lock Base option controls parameter changes made to the X and Y diameter. lock base

Start Angle and End Angle defines the area around the z-axis that will be drawn. The default value for both the Start and End angle parameters is 0.

Cad surf4.png

drawing modes

circle

Triangle Strip Tool

Trianglestrip tool tn.png Menu → Object → Surface → Triangle Strip

TO DRAW A TRIANGLE STRIP:

  1. Activate the Triangle Strip Tool.
  2. Left-click to establish the triangles origin.
  3. Drag away from the origin and left-click a second time to define Leg 1 of the triangle.
  4. Drag away from leg 1, left-click a third time to define Leg 2 and complete the triangle.


PYTHON COMMAND: triangle_strip(label,x0,y0,z0,side1,side2,angle)


TRIANGLE STRIP PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
side_1 real numeric project units - -
side_2 real numeric project units 0 -
angle real numeric degrees - wedge angle

DIALOG PARAMETERS

Side 1 establish the length of first leg of the triangle. Side 2 establishes the length of the second leg of the triangle Angle defines the opening angle of the origin vertex (the angle between leg one and leg two).

Cad surf5.png

RIGHT ANGLE TRIANGLES

To create a right angle triangle, hold down the ALT key while left-clicking to define Leg 2 (option "A" in the diagram below).


CONSTRAIN ANGLE DRAWING TO 15º INCREMENTS

Hold down the SHIFT key while positioning the third point of the triangle to constrain the origin angle to 15º increments (option "B" in the diagram below).


CONGRUENT LEG LENGTH AND EQUILATERAL TRIANGLES

You can force both legs of a triangle to be the same length by holding down the CTRL key while drawing the third and final point of the triangle. Use this technique to create an equilateral triangle by drawing a triangle with congruent leg length (as outlined above and illustrated in option "C" below) and setting the angle in the properties dialog to 60º.

13b triangle strip tn.jpg

circle

Taper Strip Tool

Taperstrip tool tn.png Menu → Object → Surface → Taper Strip

TO DRAW A TAPER STRIP:

  1. Activate the Taper Strip Tool.
  2. Left-click to establish the base length midpoint.
  3. Drag outward from this point to define the desired length and angle of the base side. Left-click a second time to define the base.
  4. To establish the height, drag the mouse away from the base to the desired location. Left-click a third time to complete the Taper Strip.


PYTHON COMMAND: taper_strip(label,x0,y0,z0,base_width,top_width,length,is_expo)


TAPER STRIP PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
base_width real numeric project units - -
taper_length real numeric project units - -
top_width real numeric project units - -
top_offset real numeric project units 0 A zero value creates an isosceles triangle
exponential Boolean - FALSE creates an exponential taper transition
create-half Boolean - FALSE keeps left half of taper strip only

DIALOG PROPERTIES

Base Length defines the length of the taper strip's base. Top Length defines the length of the taper strip's top. Height establishes the distance between the base and top curves. Exponential creates blended or curved sidewalls rather than linear sidewalls. This option is off by default.

Cad surf6.png

Offset skews the taper strip by negative or positive amount. The default value is 0.

14b taper strip tn new.png

NOTE that Offset is not available when Exponential blending is active.

circle

Regular Polygon Tool

Polygonstrip tool tn.png Menu → Object → Surface → Regular Polygon

TO DRAW A REGULAR POLYGON:

  1. Activate the Regular Polygon Tool.
  2. Left-click to create the origin of the Regular Polygon.
  3. Drag away from the origin and left-click a second time to define the Regular Polygon's diameter.
  4. Drag the mouse to increase or decrease the number of sides desired. Left-click a third time to finish drawing the Regular Polygon.


PYTHON COMMAND: polygon_reg(label,x0,y0,z0,radius,n_sides)


REGULAR POLYGON PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
radius real numeric project units - radius of circumscribing circle
side_count integer numeric - - number of side of regular polygon
top_width real numeric project units - -

DIALOG PARAMETERS

Radius establishes the Regular Polygon's diameter from its LCS origin. Sides establishes the number of equilateral edges.

Cad surf7.png

circle

Spiral Strip Tool

Spiralstrip tool tn.png Menu → Object → Surface → Spiral Strip

TO DRAW A SPIRAL STRIP:

  1. Activate the Spiral Strip Tool.
  2. Left-click to establish the origin of the Spiral Strip's inner-radius.
  3. Drag away from the origin to expand the inner radius. Left-click a second time to set the inner radius and create the starting point for the outer radius.
  4. Drag the mouse away from the second point to expand the outer radius (or closer to contract the radius). Left-click a third time to complete the spiral.


PYTHON COMMAND: spiral_strip(label,x0,y0,z0,width,radius_inner,radius_outer,n_turns,spiral_dir,is_dual)


SPIRAL STRIP PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
inner_radius real numeric project units - -
outer_radius real numeric project units - -
strip_width real numeric project units - -
turns integer numeric project units 2 number of spiral turns
ccw Boolean - TRUE if TRUE, creates counterclockwise right-handedness
dual_arm Boolean - FALSE creates a dual-arm spiral
inner_taper Boolean - FALSE if TRUE, tapers spiral strip from inner end
inner_inset real numeric project units 0 when inner_taper is TRUE, a nonzero value creates inner inset
outer_taper Boolean - FALSE if TRUE, tapers spiral strip from outer end
outer_inset real numeric project units 0 when outer_taper is TRUE, a nonzero value creates outer inset
taper_pointing list: {inward, outward} - inward sets the direction spiral's end tapers point to

DIALOG PROPERTIES

Inner Radius defines the distance between the spiral's origin and the starting point of each spiral arm. Outer Radius sets the distance each spiral arm will radiate outward from the inner radius. Strip Width of the Spiral Strip can be changed by entering different values. Number of Turns defines the number of spiral revolutions of each arm Counter Clockwise (CCW) flips the clockwise drawing direction of the spiral arms.

Cad surf8.png

Inner Taper creates a rounded taper at the inner edge of each spiral arm by drawing an exponential curve from a user-defined edge inset point to that edge's opposite corner vertex. Outer Taper creates a rounded taper at the outer edge of each spiral arm by drawing an exponential curve from a user-defined edge inset point to that edge's opposite corner vertex.. Inset Distance establishes an imaginary offset point positioned away from the corner vertex from the inner or outer edge. As seen below, this inset point is constrained to the sidewalls of the spiral arms. Point Inward or Point Outward renders the radial tapers (inward) towards the spiral's center or (outward) away from it.

12b spiral strip tn.jpg

Note that the Inner Radius setting is not available when the Dual Arm option is enabled.

Dual Arm creates a second arm that mirrors the settings of the parent arm.

12c spiral strip tn new.png

circle

Polystrip Tool

Polystrip Tool Menu → Object → Surface → Polystrip

TO DRAW A POLYSTRIP:

  1. Activate the Polystrip Tool.
  2. Click anywhere on the active work plane to create nodes. The Polystrip's contour is rendered as soon as the second node is defined. A Polystrip must have at least three nodes.
  3. The Polystrip can be closed at any time by either double-clicking on the workplane to establish a closing node, or by pressing the C or ENTER key, which connects the last drawn node with the first. Once closed, the surface area is filled.


PYTHON COMMAND: polystrip(label,(x0,y0,z0),(x1,y1,z1) ... )


EDITING NODES

Each Polystrip node can be selected by clicking on it in the work plane. You can also force nodes to snap to the nearest grid point by activating Snap to Grid (View → Grid Settings).


DIALOG PARAMETERS

Index reports the unique order number of the currently selected node. Active Node shows the X, Y and Z coordinates of the currently selected node.

Cad surf9.png

NURBS Strip Tool

Nurbsstrip tool tn.png Menu → Object → Surface → NURBS Strip

TO DRAW A NURBS STRIP:

  1. Activate the NURBS Strip Tool.
  2. Click anywhere on the active work plane to create nodes. The NURBs contour is rendered as soon as the second node is defined. A NURBS Strip must have at least three nodes.
  3. The NURBS Strip can be closed at any time by either double-clicking on the workplane to establish a closing node, or by pressing the C or ENTER key, which connects the last drawn node with the first. Once closed, the surface area is filled.


PYTHON COMMAND: nurbs_strip(label,(x0,y0,z0),(x1,y1,z1) ... )


EDITING NODES

Each NURBS Strip node can be selected by clicking on it in the work plane. You can also force nodes to snap to the nearest grid point by activating Snap to Grid (View → Grid Settings).


DIALOG PARAMETERS

Index reports the unique order number of the currently selected node. Active Node shows the X, Y and Z coordinates of the currently selected node.

Cad surf10.png

Generating Complex Surfaces

Besides EM.CUBE's standard planar objects, i.e. rectangle strip, circle strip, radial strip, ellipse strip, triangle strip, taper strip, regular polygon, spiral strip, polystrip and NURBS strip, you can use Surface Generator Surf gen tool tn.png to create a large variety of other surface objects. Practically, any imaginable planar or non-planar surface can be synthesized in EM.CUBE. These include:


Surf2 tn new.png

Surf2a tn new.png

A mathematical surface defined by z = sin(2*x)*exp(-y/2): (left) polymesh version, (right) smooth generic surface version.

  1. Click the Surface GeneratorSurf gen tool tn.png button of the Object Toolbar to open the Curve Generator Dialog.
  2. From the Model dropdown list, select the Custom Function, which is the default option. Also specify the Orientation of the surface, which is the XY principal plane by default.
  3. Specify the range of the surface including Start, Stop and Step values along the two specified dimensions.
  4. In the "Parameters" section, define the function representing the surface. This has the form z = f(x,y) in XY Plane, x = f(y,z) in YZ Plane or y = f(z,x) in ZX Plane.
  5. As in the previous case, you can choose between the two Polymesh or Generic Surface options. You can also preview the curve before finalizing its creation.

Cad surf11.png

Curve Objects

Line Tool

Line tool tn.png Menu → Object → Curve → Line

TO DRAW A LINE:

  1. Activate the Line Tool.
  2. left click anywhere on the workplane to begin drawing the line.
  3. left-click a second time to complete the line.


PYTHON COMMAND: line(label,x0,y0,z0,len[,dir])


LINE PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
length real numeric project units - -
fix_center Boolean - FALSE fixes midpoint coordinates

PERPENDICULAR LINES

To create a line perpendicular to the work plane, hold down the ALT key while left-clicking to define the second point


DIALOG PARAMETERS

Length establishes the distance from a line's origin and end node. Lock Base anchors the line's LCS origin to its current location. When Lock Base is enabled, changes to the line's length are added equally to both sides of the line.

Cad curve1.png

Vert line new.png

18 Line tn new.png

Circle Tool

Circle tool tn.png Menu → Object → Curve → Circle

TO DRAW A CIRCLE:

  1. Activate the Circle Tool.
  2. Left-click at the desired location on the active grid to establish the origin.
  3. Drag your mouse away from the origin to set the desired radius.
  4. Left click a second time to complete the circle.


PYTHON COMMAND: circle(label,x0,y0,z0,radius,start_angle,end_angle)


CIRCLE PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
radius real numeric project units - -
start_angle real numeric degrees 0 start azimuth angle
end_angle real numeric degrees 360 end azimuth angle

DIALOG PARAMETERS

Circle Radius establishes the circumference of the circle. Start Angle and End Angle defines the area around the z-axis that will be drawn. The default value for both the Start and End angle parameters is 0.21 circle tn new.png

The X, Y, Z LCS coordinates originate at the center of the circle.


EDIT HANDLES

Edit handles, available in shape edit mode, allow you to modify common shape attributes using your mouse. The diagram on the left provides a reference of the parameters controlled by the resize (RED) edit handles. Edit handles turn blue when the mouse cursor hovers on top of them. This color change indicates that the handle is active. Click and drag on any active handle to reshape the object.

Cad curve2.png

circle

Super-Quadratic Curve Tool

Superquad tool tn.png Menu → Object → Curve → Super-quadratic Curve

TO DRAW A SUPER-QUADRATIC CURVE:

  1. Activate the Super-Quadratic Curve Tool.
  2. Left-click to establish the initial X/Y diameter triangulation point.
  3. Drag the mouse away from this point to define the desired size.
  4. Left-click a second time to complete the superquad.


PYTHON COMMAND: superquad(label,x0,y0,z0,diam_x,diam_y,order)


SUPER-QUADRATIC CURVE PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
diameter_X real numeric project units - diameter along X-axis
diameter_Y real numeric project units - diameter along Y-axis
order integer numeric degrees 2 a higher order resembles a rectangle with rounded corners
is_rectangle Boolean - FALSE if TRUE, draws a rectangle
fix_center_X Boolean - TRUE fixes X-coordinate of base
fix_center_Y Boolean - TRUE fixes Y-coordinate of base

DIALOG PARAMETERS

X Diameter and Y Diameter together establish the perimeter of the super quadratic curve. Lock Base anchors the superquad's LCS origin to its current location. The diagram below illustrates how the Lock Base option controls parameter changes made to the x and y diameter. lock base

Cad curve3 new.png

22a super quad tn new.png

Order changes the corner radius amount. Enter higher values into the Order field to decrease corner radius, lower values to increase the corner radius. By default, the Order value is set to 2. Rectangle creates a rectangular curve (no corner rounding).

22b super quad tn new.png


DRAWING MODES

You can toggle between vertex, edge or face drawing modes by pressing the B key (after the first point has been established). Side length is determined by triangulating the mouse position relative to the anchor point or centroid. When in vertex draw mode, the first point drawn defines the corner anchor vertex of the superquad. As you drag the mouse away from this anchored vertex, the superquad's boundaries radiate outward. When in edge draw mode, the first point drawn defines the anchored edge of the superquad. As you drag the mouse away from the starting edge, the top and bottom perpendicular sides and the side opposite the anchored edge expand outward in all directions. When in face draw mode, the first point drawn defines the face centroid of the superquad. As you drag the mouse away from the centroid, the superquad's boundaries radiate outward from this centroid.

drawing mode

Base center: x, y, z coordinates are located at the center of superquad.


EDIT HANDLES

Edit handles, available in shape edit mode, allow you to modify common shape attributes using your mouse. The diagram on the left provides a reference of the parameters controlled by the resize (RED) edit handles. Edit handles turn blue when the mouse cursor hovers on top of them. This color change indicates that the handle is active. Click and drag on any active handle to reshape the object.

circle

Parabola Tool

Parabola tool tn.png Menu → Object → Curve → Parabola

TO DRAW A PARABOLA:

  1. Activate the Parabola Tool.
  2. Left-click to set the Focal Point.
  3. Drag away from the focal point and left-click a second time to set the desired Offset.
  4. Drag and left-click a third time to complete the Parabolic Curve.


PYTHON COMMAND: parabola(label,x0,y0,z0,focal_length,axial_length,half_only)


PARABOLA PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
focal_length real numeric project units - -
axial_length real numeric project units - -
aperture real numeric degrees - is determined automatically by focal and axial lengths or can be set independently
create_half Boolean - FALSE if TRUE, draws the left half only

DIALOG PROPERTIES

Focal Length, Axial Length, and Aperture adjusts the opening of the parabola. Create Half bisects and removes the bottom half of the parabola. You can revolve the resulting curve to create a parabolic dish.

Cad curve4.png

23 parabola tn new.png


EDIT HANDLES

Edit handles, available in shape edit mode, allow you to modify common shape attributes using your mouse. The diagram on the left provides a reference of the parameters controlled by the resize (RED) edit handles. Edit handles turn blue when the mouse cursor hovers on top of them. This color change indicates that the handle is active. Click and drag on any active handle to reshape the object.

circle

Hyperbola Tool

Hyperbola tool tn.png Menu → Object → Curve → Hyperbola

TO DRAW A HYPERBOLA:

  1. Activate the Hyperbola Tool.
  2. Left-click to define the X-radius origin. Construction guides will appear to aid in the drawing process.
  3. Drag the mouse away from the origin to establish the desired X-radius. Left-click a second time.
  4. To establish the Y-radius and the hyperbola's leg length, drag the mouse to the desired location and left-click to complete the Hyperbola.


PYTHON COMMAND: hyperbola(label,x0,y0,z0,diam_x,diam_y,axial_length,half_only)


HYPERBOLA PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
diameter_X real numeric project units - diameter along X-axis
diameter_Y real numeric project units - diameter along Y-axis
axial_length real numeric project units - -
create_half Boolean - FALSE if TRUE, draws one half of one branch only
negative_branch - FALSE if TRUE, draws the negative branch only

DIALOG PROPERTIES

X Diameter Y Diameter Axial Length establishes the distance between the start and end points of the hyperbolic curve.

Cad curve5.png

24a hyperbola tn new.png

Neg. Branch create a mirrored version of the hyperbolic curve. Create Half bisects and removes the bottom half of the hyperbolic curve. You can revolve the resulting curve to create a hyperbolic dish.

24b hyperbola tn new.png


EDIT HANDLES

Edit handles, available in shape edit mode, allow you to modify common shape attributes using your mouse. The diagram on the left provides a reference of the parameters controlled by the resize (RED) edit handles. Edit handles turn blue when the mouse cursor hovers on top of them. This color change indicates that the handle is active. Click and drag on any active handle to reshape the object.

circle

Spiral Curve Tool

Spiral tool tn.png Menu → Object → Curve → Spiral

TO DRAW A SPIRAL CURVE:

  1. Activate the Spiral Curve Tool.
  2. Left-click to establish the inner-radial origin of the Spiral.
  3. Drag away from the origin to expands the inner radius (drag inward toward the origin to reduces the inner radius).
  4. Left-click a second time to set the inner radius and create the anchor point for the outer radius.
  5. Drag the mouse away from the second point to expand the outer radius or closer to reduce the radius.
  6. Left-click a third time to complete the spiral.


PYTHON COMMAND: spiral_curve(label,x0,y0,z0,radius_inner,radius_outer,nturns,spiral_dir,is_dual)


SPIRAL CURVE PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
inner_radius real numeric project units - -
outer_radius real numeric project units - -
turns integer numeric project units 2 number of spiral turns
ccw Boolean - TRUE if TRUE, creates counterclockwise right-handedness
dual_arm Boolean - FALSE creates a dual-arm spiral

DIALOG PROPERTIES

Inner Radius defines the distance between the spiral's origin and the starting point of each spiral arm. Outer Radius sets the distance each spiral arm will radiate outward from the inner radius. Number of Turns defines the number of spiral revolutions of each arm Counter Clockwise (CCW) flips the clockwise drawing direction of the spiral arms.

Cad curve6.png

25 spiral tn.jpg

The X, Y, Z LCS coordinates originate at the center of the spiral.


EDIT HANDLES

Edit handles, available in shape edit mode, allow you to modify common shape attributes using your mouse. The diagram on the left provides a reference of the parameters controlled by the resize (RED) edit handles. Edit handles turn blue when the mouse cursor hovers on top of them. This color change indicates that the handle is active. Click and drag on any active handle to reshape the object.

circle

Helix Tool

Helix tool tn.png Menu → Object → Curve → Helix

TO DRAW A HELIX:

  1. Activate the Helix Tool.
  2. Left-click to establish the origin of the inner-radius.
  3. Drag away from the origin to expand the inner radius, (toward it to contract the inner radius).
  4. Left-click a second time to set the inner radius and to establish the anchor point from which you will set the height of the helix.
  5. Drag your cursor "up" and away from the second anchor point to increase the height of the helix.
  6. Left-click a third time to complete the helix.


PYTHON COMMAND: helix(label,x0,y0,z0,radius_inner,radius_outer,height,nturns,helix_dir)


HELIX PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
inner_radius real numeric project units same as outer radius -
outer_radius real numeric project units - -
height real numeric project units - -
turns integer numeric project units 2 number of spiral turns
ccw Boolean - TRUE if TRUE, creates counterclockwise right-handedness

DIALOG PARAMETERS

Inner Radius defines the distance between the spiral's origin and the starting point of each spiral arm. Outer Radius sets the distance each spiral arm will radiate outward from the inner radius. Number of Turns defines the number of spiral revolutions of each arm Height establishes the elevation of the outer radius of the helix. Counter Clockwise (CCW) flips the clockwise drawing direction of the spiral arms.

Cad curve7.png

26 helix tn new.png

The X, Y, Z LCS coordinates originate at the base center of the helix.


SNAP POINT EDIT HANDLES

Edit handles, available in shape edit mode, allow you to modify common shape attributes using your mouse. The diagram on the left provides a reference of the parameters controlled by the resize (RED) edit handles.

circle

Polyline Tool

Polyline tool tn.png Menu → Object → Curve → Polyline

TO DRAW A POLYLINE:

  1. Activate the Polyline Tool.
  2. Click anywhere on the active work plane to create nodes. The Polyline's contour is rendered as soon as the second node is defined. A Polyline must have at least two nodes.
  3. The Polyline can be closed at any time by either double-clicking on the workplane to establish a closing node, or by pressing the C or ENTER key, which connects the last drawn node with the first.


PYTHON COMMAND: polyline(label,(x0,y0,z0),(x1,y1,z1) ... )


EDITING NODES

Each Polyline node can be selected by clicking on it in the work plane. You can also force nodes to snap to the nearest grid point by activating Snap to Grid (View → Grid Settings).

If the polyline shape was originally drawn unclosed, you can place a checkmark in the Close option box to connect the first drawn anchor point with the last drawn anchor point. Closing the "loop" allows you to fill the polyline shape, creating a planar object whose perimeter and surface area matches the drawn polyline's outline.


DIALOG PARAMETERS

Index reports the unique order number of the currently selected node. Active Node shows the X, Y and Z coordinates of the currently selected node.

Cad curve8.png

19 polyline tn new.png

NURBS Curve Tool

Nurbs tool tn.png Menu → Object → Curve → NURBS

TO DRAW A NURBS CURVE:

  1. Activate the NURBS Curve Tool.
  2. Click anywhere on the active work plane to create nodes. The contour of the NURBs Curve is rendered as soon as the second node is defined. A NURBs Curve must have at least two nodes.
  3. The NURBs Curve can be closed at any time by either double-clicking on the workplane to establish a closing node, or by pressing the C or ENTER key, which connects the last drawn node with the first.


PYTHON COMMAND: nurbs_curve(label,(x0,y0,z0),(x1,y1,z1) ... )


EDITING NODES

Each NURBs Curve node can be selected by clicking on it in the work plane. You can also force nodes to snap to the nearest grid point by activating Snap to Grid (View → Grid Settings).

If the NURBs Curve shape was originally drawn unclosed, you can place a checkmark in the Close option box to connect the first drawn anchor point with the last drawn anchor point. Closing the "loop" allows you to fill the polyline shape, creating a planar object whose perimeter and surface area matches the drawn polyline's outline.


DIALOG PARAMETERS

Index reports the unique order number of the currently selected node. Active Node shows the X, Y and Z coordinates of the currently selected node.

Cad curve9 new.png

20 Nurbs tn new.png

Generating Complex Curves

Besides EM.CUBE's standard curve objects, i.e. line, circle, super-quadratic curve, parabola, hyperbola, spiral curve and helix, you can use Curve Generator Curve gen tool tn.png to create a large variety of other curve objects. Practically, any imaginable curve can be synthesized in EM.CUBE. These include:

  1. Planar Cartesian curves represented by equation y = f(x).
  2. Planar polar curves represented by equation r = f(?).
  3. 3-D parametric curves represented by equations x = x(t), y = y(t), and z = z(t).

Moreover, you can create planar curves on any of the three principal XY, YZ or ZX planes.

  1. Click the Curve GeneratorCurve gen tool tn.png button of the Object Toolbar or select Menu Larrow tn.png Object Larrow tn.png Curve Larrow tn.png Curve Generator to open the Curve Generator Dialog.
  2. Select one of the three curve types Cartesian, Polar or Parametric. For the Cartesian type, also specify the Orientation, which is the XY principal plane by default.
  3. Specify the range of the curve. This includes Start, Stop and Step values. For polar curves, the angles are expressed in radians.
  4. In the "Parameters" section, define the function representing the curve. For the Cartesian type, this has the form y = f(x) in XY Plane, z = f(y) in YZ Plane or x = f(z) in ZX Plane. For polar curves, the function is defined as r = f(t), where t and r represent the angle and radius, respectively. For parametric curves, t is the parameter, and the x, y and z coordinates are all expressed as three functions of t.
  5. Curve Generator offers two options for the curve to be generated: Polyline or NURBS Curve. The latter is the default option. Change Curve Type if you want to create a polyline.
  6. Before you create the curve and add it to the Navigation Tree, you have an opportunity to preview it. To do so, click the Preview button of the dialog. A yellow ghost of the curve appears in the Project Workspace. You can change the range or modify the function at this time. Once you are satisfied with the generated curve, click the Create to finalize its creation and add it to the list of object on the Navigation Tree.

Cad curve10.png

Special Objects

Point Tool

Point tool tn.png Menu → Object → Special → Point

TO DRAW A POINT:

  1. Activate the Point Tool.
  2. Left-click to establish the location of the point.


PYTHON COMMAND: point(label,x0,y0,z0)


POINT PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinate of point
LCS_Y real numeric project units - Y-coordinate of point
LCS_Z real numeric project units - Z-coordinate of point

Point new.png

Fractal Tree Tool

Fractal tool tn.png Menu → Object → Special → Fractal Tree

TO DRAW A FRACTAL TREE:

  1. Activate the Fractal Tree Tool.
  2. Left-click to establish the location of the fractal tree. A default horizontal fractal tree appears in the project workspace.
  3. The Fractal Dialog opens up on the lower right corner of the screen. You have two options: fractal tree with linear or cylindrical branches. You can also set the number of fractal levels.
  4. Make sure to click the OK button of the dialog to complete the fractal construction.


PYTHON COMMAND: fractal_tree(label,x0,y0,z0,key_type,key_size,n_level,sep_angle,n_gen,prune_factor,thickness,thick_factor)


FRACTAL TREE PARAMETERS

Parameter Name Value Type Units Default Value Notes
LCS_X real numeric project units - X-coordinates of base
LCS_Y real numeric project units - Y-coordinates of base
LCS_Z real numeric project units - Z-coordinates of base
rot_X real numeric degrees - local rotation about X-axis
rot_Y real numeric degrees - local rotation about Y-axis
rot_Z real numeric degrees - local rotation about Z-axis
key_object_type Line or Cylinder - Line -
level_count integer numeric - 3 number of fractal levels
separation_angle real numeric degrees 30 angle between two adjacent branches
generation_factor integer numeric - 3 Number of new branches generated at each node
prune_factor real numeric - 0 A number between 0 and 1 representing the percentage of branches randomly deleted
thickness real numeric project units 1 diameter of branches
thickness_factor real numeric - 0.2 A number between 0 and 1 representing the percentage of tapering of each cylindrical branch upward


 

Top icon.png Back to the Top of the Page

Back icon.png Back to CubeCAD Main Page