Parametric Cube

Parametric Cube script details
Author
matas
Type
Typescript logo image
typescript
App Version
0.14.0
Visibility
public
Date Created
Jan 25, 2024, 9:41:12 PM
Last Edit Date
Jan 25, 2024, 9:43:34 PM

Script Details

The Code
const start = async () => { const size = 10; const cubeOptions = new Bit.Inputs.OCCT.CubeDto(); cubeOptions.size = size; const cube = await bitbybit.occt.shapes.solid.createCube(cubeOptions); bitbybit.draw.drawAnyAsync({ entity: cube }); } start();