Draw Test Harness

 

Draw is a command interpreter based on TCL and a graphical system used for testing and demonstrating OCCT modeling libraries.

 

Draw can be used interactively to create, display and modify objects such as curves, surfaces and topological shapes.

 

image\draw.gif

 

Scripts can be written to customize Draw and perform tests. New types of objects and new commands can be added using C++ programming language.

Draw contains:

You can add new custom test harness commands to Draw in order to test or demonstrate a new functionality, which you are developing.

 

Currently DRAW Test Harness is a single executable called DRAWEXE.

Commands grouped in toolkits can be loaded at run-time thereby implementing dynamically loaded plug-ins. Thus you can work only with the commands that suit your needs adding the commands dynamically without leaving the Test Harness session.

Declaration of available plug-ins is done through special resource file(s). The pload command loads the plug-in in accordance with the specified resource file and activates the commands implemented in the plug-in.

The whole process of using the plug-in mechanism as well as the instructions for extending Test Harness is described in the User's Guide.

 

Remarks:

The DRAWEXE executable is delivered with the installation procedure on Windows platform only.

To start it, launch DRAWEXE executable from Open CASCADE Technology\Test Harness\Draw Test Harness item of the Start\Programs menu.