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
How opaque the faces are, from 0 for invisible to 1 for solid
Hex 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
When true, the drawn meshes can be refreshed in place on later draws by passing the parent
back as jscadMesh
When true, the meshes are created but not shown until they are 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 a list of JSCAD solids or 2D shapes: colors, opacity, visibility, the two-sided rendering and the parent mesh to reuse when redrawing.