Script: Chamfer all edges

Chamfer all edges picture
Type
Typescript logo indicatortypescript
Author
matas
Date Created
Feb 23, 2024, 12:37:38 PM
Last Edit Date
Feb 23, 2024, 4:02:27 PM

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 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 chamfered = await bitbybit.occt.fillets.chamferEdges({
        shape: box,
        distance: 1,
    })

    bitbybit.draw.drawAnyAsync({
        entity: chamfered,
    });
}

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