[http://www.opencascade.org/ex/stimg/logo2.gif]
%|Key|Notes|%
&|What|OpenCASCADE|&
&|Where|http://www.opencascade.org/<
>http://www.opencascade.com/|&
&|Contact|See website|&
&|Updated| 11/2006 |&
&|Description|A geometric modeling SDK which includes data structure modeling algorithms, and a shape viewer.|&
%|Releases|Notes|%
&|6.1.x|---|&
----
[GS] (20120611) OpenCascade (OCC) embeds Tcl-Tk in a tool called DRAW.
it can prototype applications and visualize 2D/3D objects.
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
<> Mathematics | Graphics