Script
Parametric Cube

- Author
- matas
- Created
- Jan 25, 2024, 9:41:12 PM
- Last edit
- Jan 25, 2024, 9:43:34 PM
Project
Getting Started Demos TypeScript
This project contains demo scripts for TypeScript Monaco editor that are used as examples in the "Getting Started" section of the documentation.
View full projectScript 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();
