Adding points
Points should be stored in the points
key of the object passed to your part's
draft method. The constructor for points is available in the Point
key. You
can destructure them for easy access.
- Code
- Preview
- X-Ray
function draftPart = ({
Point,
points,
part
}) {
points.demo = new Point(0,0).addText('hi')
return part
}