Provide options without default values
Optionalmesh: JSCADEntityOptionalopacity: numberOptionalcolours: string | string[]Optionalupdatable: booleanOptionalhidden: booleanOptionaljscadMesh: TOptionaldrawTwoSided: booleanOptionalbackFaceColour: stringOptionalbackFaceOpacity: numberThe solid or flat 2D shape to draw; it is converted to mesh data on the way
How opaque the faces are, from 0 for invisible to 1 for solid
Hex color of the faces; a list uses its first entry. An entity colored with colors.colorize
keeps its own color instead
When true, the drawn mesh can be refreshed in place on later draws by passing it back as
jscadMesh
When true, the mesh is created but not shown until it is made visible
When true, the back of every face is drawn as well, in backFaceColour, which helps to see
face orientation
Hex color of the back faces, the side the face normal points away from; used only when
drawTwoSided is true
How opaque the back faces are, from 0 to 1; used only when drawTwoSided is true
The options
draw.drawAnyAsyncpasses on when the entity is one JSCAD solid or 2D shape: color, opacity, visibility, the two-sided rendering and the mesh to reuse when redrawing.