Creates a new drawing with some corners chamfered, as specified by the radius and the corner finder function
Optionalfilter: (c: CornerFinderFn) => CornerFinderFnCreates a new drawing with some corners filleted, as specified by the radius and the corner finder function
Optionalfilter: (c: CornerFinderFn) => CornerFinderFnGet the axis-aligned 2D bounding box of this drawing.
Return a human-readable string representation of the drawing.
Approximate the drawing curves for a target format (currently only 'svg').
Create an independent deep copy of this drawing.
Offset the drawing contour by a signed distance (positive = outward).
Punch the drawing's profile as a hole through a 3D shape on the given face.
Serialize the drawing to a JSON string for persistence or transfer.
Project this drawing onto a 3D face surface with the given scale mode.
Project this drawing onto a 3D plane, producing a Sketch or Sketches.
Project this drawing onto a named plane at an optional origin.
OptionalinputPlane: PlaneNameOptionalorigin: number | PointInputExport the drawing as a complete SVG string.
Optionalmargin: numberReturn the SVG <path> d attribute strings for this drawing.
Return the SVG viewBox attribute string for this drawing.
Translate the drawing by horizontal and vertical distances.
Immutable wrapper around a 2D shape (Blueprint, CompoundBlueprint, or Blueprints).
A Drawing can be transformed (translate, rotate, scale, mirror), combined with Boolean operations (cut, fuse, intersect), filleted/chamfered, serialized, and ultimately projected onto a 3D plane via
sketchOnPlane.Example