Script
Local Asset STEP Import

- Author
- matas
- Created
- Jan 24, 2024, 9:01:47 PM
- Last edit
- Feb 22, 2024, 8:14:17 AM
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 file = await bitbybit.asset.getLocalFile({
fileName: "KukaRobot"
}) as File;
const shape = await bitbybit.occt.io.loadSTEPorIGES({
assetFile: file,
adjustZtoY: true,
});
bitbybit.draw.drawAnyAsync({
entity: shape
})
}
start();
