Provide options without default values
Optionalmeshes: JSCADEntity[]Optionalopacity: numberOptionalcolours: string | string[]Optionalupdatable: booleanOptionalhidden: booleanOptionaljscadMesh: TOptionaldrawTwoSided: booleanOptionalbackFaceColour: stringOptionalbackFaceOpacity: numberOptionalmeshesThe solids or flat 2D shapes to draw, each becoming a child of one parent mesh
OptionalopacityHow opaque the faces are, from 0 for invisible to 1 for solid
OptionalcoloursHex color of the faces; a list with one entry per entity colors each in turn, any other list uses its first entry. Colorized entities keep their own color
OptionalupdatableWhen true, the drawn meshes can be refreshed in place on later draws by passing the parent
back as jscadMesh
OptionalhiddenWhen true, the meshes are created but not shown until they are made visible
OptionaldrawWhen true, the back of every face is drawn as well, in backFaceColour, which helps to see
face orientation
OptionalbackHex color of the back faces, the side the face normal points away from; used only when
drawTwoSided is true
OptionalbackHow opaque the back faces are, from 0 to 1; used only when drawTwoSided is true
The options
draw.drawAnyAsyncpasses on when the entity is a list of JSCAD solids or 2D shapes: colors, opacity, visibility, the two-sided rendering and the parent mesh to reuse when redrawing.