Script: Parametric Cube

Parametric Cube picture
Type
Typescript logo indicatortypescript
Author
matas
Date Created
Jan 25, 2024, 10:41:12 PM
Last Edit Date
Jan 25, 2024, 10:43:34 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 size = 10;
    const cubeOptions = new Bit.Inputs.OCCT.CubeDto();
    cubeOptions.size = size;
    const cube = await bitbybit.occt.shapes.solid.createCube(cubeOptions);

    bitbybit.draw.drawAnyAsync({
        entity: cube
    });
}

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