Skip to main content

Class: Sketches

Constructors

constructor

new Sketches(sketches)

Parameters

NameType
sketches(Sketch | CompoundSketch)[]

Defined in

sketches/Sketches.ts:12

Properties

sketches

sketches: (Sketch | CompoundSketch)[]

Defined in

sketches/Sketches.ts:10

Methods

extrude

extrude(extrusionDistance, extrusionConfig?): AnyShape

Parameters

NameType
extrusionDistancenumber
extrusionConfigObject
extrusionConfig.extrusionDirection?Point
extrusionConfig.extrusionProfile?ExtrusionProfile
extrusionConfig.origin?Point
extrusionConfig.twistAngle?number

Returns

AnyShape

Defined in

sketches/Sketches.ts:38


faces

faces(): AnyShape

Returns

AnyShape

Defined in

sketches/Sketches.ts:23


revolve

revolve(revolutionAxis?, config?): AnyShape

Parameters

NameType
revolutionAxis?Point
config?Object
config.origin?Point

Returns

AnyShape

Defined in

sketches/Sketches.ts:58


wires

wires(): AnyShape

Returns

AnyShape

Defined in

sketches/Sketches.ts:16