Interface: SketchInterface
Defined in: sketches/lib.ts:6
Methods
extrude()
extrude(extrusionDistance, extrusionConfig?): Shape3D;
Defined in: sketches/lib.ts:29
Extrudes the sketch to a certain distance.(along the default direction and origin of the sketch).
You can define another extrusion direction or origin,
It is also possible to twist extrude with an angle (in degrees), or to give a profile to the extrusion (the endFactor will scale the face, and the profile will define how the scale is applied (either linarly or with a s-shape).
Parameters
extrusionDistance
number
extrusionConfig?
extrusionDirection?
extrusionProfile?
origin?
twistAngle?
number
Returns
face()
face(): Face;
Defined in: sketches/lib.ts:10
Transforms the lines into a face. The lines should be closed.
Returns
loftWith()
loftWith(
otherSketches,
loftConfig,
returnShell?): Shape3D;
Defined in: sketches/lib.ts:49
Loft between this sketch and another sketch (or an array of them)
You can also define a startPoint
for the loft (that will be placed
before this sketch) and an endPoint
after the last one.
You can also define if you want the loft to result in a ruled surface.
Note that all sketches will be deleted by this operation
Parameters
otherSketches
SketchInterface
| SketchInterface
[]
loftConfig
returnShell?
boolean
Returns
revolve()
revolve(revolutionAxis?, config?): Shape3D;
Defined in: sketches/lib.ts:16
Revolves the drawing on an axis (defined by its direction and an origin (defaults to the sketch origin)