Script: Fillet specific corners 2d wire

Fillet specific corners 2d wire picture
Type
Typescript logo indicatortypescript
Author
matas
Date Created
Feb 22, 2024, 9:27:45 AM
Last Edit Date
Feb 22, 2024, 9:44:59 AM

Project Information

This project contains demo scripts for TypeScript Monaco editor that are used as examples in the "Getting Started" section of the documentation.

View Full Project

Script 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();
Plans & Pricing

Choose Your Plan

Editor plans for 3D development, API keys for server-side CAD algorithms

B2B

ENTERPRISE

Custom pricing

Custom software development, dedicated servers & CAD automation at scale.

CAD Automation & Software
  • Custom software development
  • Cloud CAD automation pipelines
  • 3D configurators (STEP & GLTF)
  • Batch export jobs
  • Custom algorithms & deployment
Infrastructure & Support
  • Custom compute allocation
  • Dedicated / VPS server tenants
  • Long-running computation jobs
  • Custom upload limits & overage
  • SLA & premium support