Extruded Solid <ExtrudedSolid>

Synopsis

This design defines an extrusion of co-planar curves or a planar surface. The extrusion is a solid part that inherits mass properties from SolidMixin.

Mixins

SolidMixin

InkStrokedMixin

RenderMixin

AssemblyMixin

Canonicals

Name Type Description
profile part PlanarProfile part or solid face used as the extrusion profile.
height number Height of the extrusion in the extrudeDirection direction.
extrudeDirection vector Vector defining the direction of the extrusion.

Parameters

Name Type Description
curves list List of coplanar curves that make up the extrusion profile. The curves should form a closed loop.

Group Rules

<curves_only (curves)> If a curve list is supplied, a profile is created.

Example 1

Name: ExtrudedSolid_Ex01
Design: ModelingOperations Block AcDrawingDocument
Name Type Formula
height number 2
length number 5
width number 1
pointList list {v000, v000 + (unitZ * height * 1/8), vA00 +(unitZ * height * 1/8), vA00 + (unitZ * height), v101, v101 - (unitZ * height * 1/8), vB00 + (unitZ * height * 7/8), vB00}
vA00 point origin + (unitX * width * 4/9)
vB00 point origin + (unitX * width * 5/9)
Child Name: outline
Child Design: :Line
Child List?
Name Type Supplied
thruPoint1 point nth(child.index, pointList)
thruPoint2 point nth(child.index, rest(pointList) + {first(pointList)})
render? boolean False
Quantity integer length(pointList)
Child Name: extrudedOutline
Child Design: :ExtrudedSolid
Name Type Supplied
curves list outline
height number Me.length
extrudeDirection vector Me.unitY

Example 2

Name: ExtrudedSolid_Ex02
Design: ModelingOperations Block AcDrawingDocument
Name Type Formula
height number 2
length number 5
width number 1
pointList list {v000, v000 + (unitZ * height * 1/8), vA00 +(unitZ * height * 1/8), vA00 + (unitZ * height), v101, v101 - (unitZ * height * 1/8), vB00 + (unitZ * height * 7/8), vB00}
vA00 point origin + (unitX * width * 4/9)
vB00 point origin + (unitX * width * 5/9)
Child Name: outline
Child Design: :Polygon
Name Type Supplied
pointlist list Me.pointList
render? boolean False
Child Name: extrudedOutline
Child Design: :ExtrudedSolid
Name Type Supplied
profile part outline
height number Me.length
extrudeDirection vector Me.unitY