This is an experimental work-in-progress web-page opening Draw Harness application from Open CASCADE Technology (or OCCT) directly in the browser as a WebAssembly module.
The page is generated from the following git repository (see project readme for more details):
https://github.com/gkv311/occt-draw
Draw Harness application is built as WebAssembly module,
from OCCT source code with statically linked MODELING
, XDE
, and VISUALIZATION
plugins.
Although plugins are statically linked, you should use conventional command pload
for loading specific commands
(use pload ALL
to load all commands and help
to list available commands).
Console interface is based on xterm.js library and support an interactive input of Draw Harness commands as well as Tcl scripting.
OCCT 3D Viewer content can be seen within a dedicated WebGL canvas
(see commands pload VISUALIZATION
, vinit
, vdisplay
, vglinfo
and others;
shortcut help v*
might be helpful to list most visualization commands).
Draw Harness is an open-source Tcl command interpreter used to test and demonstrate Open CASCADE Technology (OCCT) modeling libraries.
Draw Harness provides a set of manually written Tcl commands utilizing OCCT functionality, providing a natural environment for interactive input.
Draw Harness allows:
Draw Harness can be used on a wide range of platforms, including Windows, macOS, Linux, and even directly in the browser as WebAssembly module (this project is a live DEMO of the latter)!
See also the Draw Harness User Guide.
Open CASCADE Technology (OCCT) is an open source full-scale 3D geometry library. Striving to be one of the best free cad software kernels, OCCT is widely used for the development of specialized programs dealing with the following engineering and mechanical domains: 3D modeling (CAD), manufacturing (CAM), numerical simulation (CAE), measurement equipment (CMM) and quality control (CAQ). Since its publication in 1999 as an open source CAD software kernel, OCCT has been successfully used in numerous projects ranging from building and construction to aerospace and automotive.
Please visit official site for more information:
https://dev.opencascade.org