Block

Synopsis

This design defines a basic rectangular parallelepiped, or simply a three dimensional box. Block inherits rules from the design solidMixin which includes typical mass properties associated with solid entities. The Block design supports a primitive form of constraint positioning. It has many rules that define points , such as face centers, which can be used for mating to other points . The minimal requirements for creating an instance of a Block are width (x-direction), length (y-direction), and height (z-direction).

Mixins

BlockMixin

SolidMixin

InkStrokedMixin

see BlockMixin and SolidMixin for a complete set of Canonicals, Parameters, Rules , Methods , and Group Rules .

Example 1

Name : Block_Ex01
Design : acDrawingDocument
Child Name : block_1
Child Design : :block
Name Type Supplied
height number 1
length number 3
width number 5
color string "jungle green"

Example 2

Name : block_Ex02
Design : block acDrawingDocument
Name Type Formula
height number 3
length number 1.5
width number 2
pointList list

{v000, _

v000 + unitZ * height * 1 / 8, _

vA00 + unitZ * height * 1 / 8, _

vA00 + unitZ * height * 7 / 8, _

v000 + unitZ * height * 7 / 8, _

v001, _

v101, _

v100 + unitZ * height * 7 / 8, _

vB00 + unitZ * height * 7 / 8, _

vB00 + unitZ * height * 1 / 8, _

v100 + unitZ * height * 1 / 8, _

v100}

vA00 point v000 + unitX * width * 4 / 9
vB00 point v000 + unitX * width * 5 / 9
Child Name : extrudedOutline
Child Design : :ExtrudedSolid
Name Type Supplied
profile part outline
height number Me.length
extrudeDirection vector Me.unitY
color string "plum"

Example 3

Name : block_Ex03
Design : acDrawingDocument
Name Type Formula
panelMajor number 48
panelMinor number 32
panelDepth number 4
sectionMajor number panelDepth - panelLength
sectionMinor number sectionMajor / 2
Child Name : panel
Child Design : :Block
Name Type Supplied
width number panelMinor
height number panelMajor
length number 0.5
color string "dandelion"
Child Name : sideTop
Child Design : :Block
Name Type Supplied
width number panel.width
height number sectionMinor
length number sectionMajor
v011 point panel.v001
color string "olive green"
Child Name : sideBottom
Child Design : :Block
Name Type Supplied
width number panel.width
height number sectionMinor
length number sectionMajor
v011 point panel.v000
color string "olive green"
Child Name : sideLeft
Child Design : :Block
Name Type Supplied
width number panel.height - 2 * sectionMinor
height number sectionMinor
length number sectionMajor
eTopLeft point sideTop.eBottomLeft
color string "navy blue"
Child Name : sideRight
Child Design : :Block
Name Type Supplied
width number panel.height - 2 * sectionMinor
height number sectionMinor
length number sectionMajor
eTopRight point sideTop.eBottomRight
color string "navy blue"
Child Name : middle
Child Design : :Block
Name Type Supplied
width number panel.height - 2 * sectionMinor
height number sectionMinor
length number sectionMajor
eLeftRear point sideLeft.eRightRear
color string "copper"

Example 4

Name : block_Ex04
Design : acDrawingDocument
Name Type Formula
panelMajor number 48
panelMinor number 32
panelDepth number 4
sectionMajor number panelDepth - panelLength
sectionMinor number sectionMajor / 2
Child Name : panel
Child Design : :Block
Name Type Supplied
width number panelMinor
height number panelMajor
length number 0.5
color string "dandelion"
Child Name : sideTop
Child Design : :block_Ex02
Name Type Supplied
width number sectionMinor
height number sectionMajor
length number panel.width
matingPoint point panel.v001
localMatingPointName name :v001
xDirection vector -unitZ
yDirection vector unitX
color string "olive green"
Child Name : sideBottom
Child Design : :block_Ex02
Name Type Supplied
width number sectionMinor
height number sectionMajor
length number panel.width
matingPoint point panel.v000
localMatingPointName name :v000
xDirection vector -unitZ
yDirection vector unitX
color string "olive green"
Child Name : sideLeft
Child Design : :block_Ex02
Name Type Supplied
width number sectionMinor
height number sectionMajor
length number panel.height - 2 * sectionMinor
matingPoint point sideTop.eRightFront
localMatingPointName name :eLeftRear
xDirection vector unitX
yDirection vector unitZ
color string "navy blue"
Child Name : sideRight
Child Design : :block_Ex02
Name Type Supplied
width number sectionMinor
height number sectionMajor
length number panel.height - 2 * sectionMinor
matingPoint point sideTop.eRightRear
localMatingPointName name :eRightRear
xDirection vector unitX
yDirection vector unitZ
color string "navy blue"
Child Name : middle
Child Design : :block_Ex02
Name Type Supplied
width number sectionMinor
height number sectionMajor
length number panel.width - 2 * sectionMinor
matingPoint point sideLeft.eBottomRight
localMatingPointName name :eBottomFront
xDirection vector -unitZ
yDirection vector unitX
color string "copper"