Experimenting with Draw Test Harness

 

Running Draw

 

under UNIX:

Draw[1]> prompt appears in the command window

 

 

under Windows:

Draw[1]> prompt appears in the command window

 

 

Creating your first geometric objects

  1. In the command window, type axo to create an axonometric view

  2. Type box b -10 -10 -10 20 20 20 to create a cube b of size 20, parallel to the X Y Z axis and centered on the origin. The cube will be displayed in the axonometric view in wireframe mode

  3. Type fit to fill the viewer with the cube

  4. Type pcylinder c 2 30 to create a cylinder c of radius 2 and height 30.The cylinder will be displayed in addition to the cube

 

Manipulating the view

  1. Type clear to erase the view

  2. Type donly c to display the cylinder only

  3. Type donly b to display the cube only

  4. Type hlr hlr b to display the cube in the hidden line removal mode

 

Running demonstration files

  1. Type cd ../.. to return to the root directory

  2. Type cd src/DrawResources to reach the DrawResources directory

  3. Type source "Available Demo File" to run the demonstration provided with Open CASCADE

  4. The following demonstration files are available:

 

Getting Help

  1. Type help to see all available commands

  2. Type help command-name to find out the arguments for a given command

 

See also

Draw Test Harness