Script TS TypeScript Free

Drawing edge indexes on the solid

Drawing edge indexes on the solid picture
Author
matas
Created
Feb 21, 2024, 2:29:45 PM
Last edit
Feb 21, 2024, 5:13:31 PM

Edit scriptPreview

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 project
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 drawOpt = new Bit.Inputs.Draw.DrawOcctShapeOptions();
    drawOpt.drawEdgeIndexes = true;
    drawOpt.faceOpacity = 0.3;
    drawOpt.edgeOpacity = 0.3;
    drawOpt.edgeIndexHeight = 0.24

    bitbybit.draw.drawAnyAsync({
        entity: box,
        options: drawOpt
    });
}

start();

Plans and pricing

Choose your plan

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

EnterpriseB2BCustompricing

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

Learn moreContact us

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

All prices exclude applicable taxesView all plan details

Contact

Talk to us

Tell us what you are building or what is blocking you, through whichever channel suits you.