OpenCascade

https://dev.opencascade.org/doc/overview/html/occ_logo.png

KeyNotes
WhatOpenCASCADE
Wherehttp://www.opencascade.org/
http://www.opencascade.com/
ContactSee website
Updated 08/11/2023
DescriptionA geometric modeling SDK which includes data structure modeling algorithms, and a shape viewer.
ReleasesNotes
7.8.0---

Description

GS 2012-06-11: OpenCascade (OCC) embeds Tcl-Tk in a tool called DRAW [L1 ]. it can prototype applications and visualize 2D/3D objects.

https://dev.opencascade.org/doc/overview/html/overview_draw.png

IMG_occ_drill

OpenCascade also relies on Tcl for its testing framework.

Examples

Creation of a pyramid with texture orange plastic and with bevelled edges. Image is saved in a gif file.

pload ALL
vinit
wedge w 20 20 20 10 10 10
explode w e
blend p w 10 w_1 w_2 w_3 w_4 w_5 w_6 w_7 w_8
vdisplay p
vsetdispmode p 1
vsetmaterial p SHINY_PLASTIC
vsetcolor p ORANGE
vfit
vdump pyramide.gif

Creation of a Bézier curve which builds a lathe around Z axis in wireframe visualisation. The object is saved in IGES file.

pload ALL
axo
beziercurve b 4 0 0 1 0 4 2 0 4 4 0 2 5
revsurf s b 0 0 0 0 0 1
erase b
fit
datadir.
brepiges s lathe.iges