Script
Fillet all corners 2d wire

- Author
- matas
- Created
- Feb 22, 2024, 8:25:03 AM
- Last edit
- Feb 22, 2024, 8:30:43 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 squareOpt = new Bit.Inputs.OCCT.SquareDto();
const square = await bitbybit.occt.shapes.wire.createSquareWire(squareOpt);
const squareFillet = await bitbybit.occt.fillets.fillet2d({
shape: square,
radius: 0.25
});
bitbybit.draw.drawAnyAsync({
entity: squareFillet
});
}
start();
