AFace

Synopsis

This design is a direct interface to AutoCAD's AcDbFace entity creating a 3 or 4 sided face.

Mixins

BasePart

Canonicals

Name Type Description
points list A list of three or four points describing the perimeter of the face.

Parameters

Name Type Description
visibles list A list of booleans that control the visibilty of each edge. The default is {True, True, True, True} which results in all of the edges being visible.

Example 1

Name: AFace_Ex01
Design: Basic Shape AcDrawingDocument
Child Name: myAFace
Child Design: :AFace
Name Type Supplied
points list {point(0,0,0), point(3,4,0), point(0,4,0)}
color string "red"

Example 2

Name: AFace_Ex02
Design: BasicShape AcDrawingDocument
Child Name: faceA
Child Design: :AFace
Name Type Supplied
points list {point(4,0,0), point(5,0,1), point(6,9,2), point(4,9,0)}
visibles list {True, False, True, True}
color string "orange"
Child Name: faceB
Child Design: :AFace
Name Type Supplied
points list {point(5,0,1), point(5,0,2), point(6,9,2)}
visibles list {True, True, True}
color string "dandelion"
Child Name: faceC
Child Design: :AFace
Name Type Supplied
points list {point(5,0,2), point(6,0,2), point(6.5,9,2), point(6,9,2)}
visibles list {True, True, True, False}
color string "jungle green"