menu
Apps
Projects
3D Models
School
Docs
Pricing
Blog
Start
B2B
Drawing edge indexes on the solid
launch
remove_red_eye
Author
matas
Type
typescript
App Version
0.14.4
Visibility
public
Date Created
Feb 21, 2024, 2:29:45 PM
Last Edit Date
Feb 21, 2024, 5:13:31 PM
Script Details
The Code
download
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();
FREE
CONFIGURE BASIC 3D MODELS
USE CORE 3D ALGORITHMS
HOST SMALL TEST ASSETS
UNLIMITED PUBLIC PROJECTS
SILVER
CONFIGURE COMPLEX 3D MODELS
USE COMPLEX 3D ALGORITHMS
HOST MID SIZE ASSETS
OPTIMAL PRIVATE PROJECTS
GOLD
CONFIGURE ADVANCED 3D MODELS
USE ADVANCED 3D ALGORITHMS
HOST LARGE ASSETS
UNLIMITED PRIVATE PROJECTS
Bit by bit developers
Edit Script
Direct Preview
Download Script