Fillet specific corners 2d wire

Fillet specific corners 2d wire script details
Author
matas
Type
Typescript logo image
typescript
App Version
0.14.4
Visibility
public
Date Created
Feb 22, 2024, 8:27:45 AM
Last Edit Date
Feb 22, 2024, 8:44:59 AM

Script Details

The 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, radiusList: [0.1, 0.3], indexes: [1, 3] }); bitbybit.draw.drawAnyAsync({ entity: squareFillet }); } start();