Variable fillets on specific edges

Variable fillets on specific edges script details
Author
matas
Type
Typescript logo image
typescript
App Version
0.14.4
Visibility
public
Date Created
Feb 21, 2024, 3:13:34 PM
Last Edit Date
Feb 21, 2024, 5:13:33 PM

Script Details

The Code
const start = async () => { const boxOpt = new Bit.Inputs.OCCT.BoxDto(); boxOpt.width = 5; boxOpt.length = 8; boxOpt.height = 10; const box = await bitbybit.occt.shapes.solid.createBox(boxOpt); const filleted = await bitbybit.occt.fillets.filletEdges({ shape: box, radiusList: [1, 2, 0.3], indexes: [1, 2, 3] }) bitbybit.draw.drawAnyAsync({ entity: filleted, }); } start();