WOK

WOK (Workshop Organization Kit) is Open CASCADE development environment, which allows a large numbers of developers to work on a variety of products simultaneously. Within the framework of this environment developers can produce multiple versions of products for various hardware and software platforms, including versions corresponding to specific marketing requirements. At the same time WOK enables to reuse software components with a maximum possible effect. In other words, WOK is designed to facilitate industrial scale development.

 

Moreover WOK allows to work with CDL (component definition language), which is the Open CASCADE programming platform. Some components, which CDL enables you to create, are specific to the Open CASCADE application architecture.

 

Remarks:

 

Wok installation

 

Pre-Requesites

This version of Wok requires at least Tcl 8.3.
(Hereinafter we assume you have downloaded this)

 

Installation

 

1. cd $CASROOT/../wok/site

2. Copy the contents of the file tclshrc_Wok from this directory to .tclshrc or .wishrc depending on the shell you want to use.

3. To build the initial wok entities structure, start $CASROOT/../wok/site/wokinit.csh

4. Open $CASROOT/../wok/lib/CSF.edl and if necessary redefine the following variables according to your system configuration

CSF_WOKHOME - path to your wok folder (for example /xxx/$CASROOT/../wok folder)

CSF_CXX_COMPILER - your cxx compiler

CSF_C_COMPILER - your c compiler

CSF_F77_COMPILER - your f77 compiler

CSF_LINKER - your linker

CSF_JavaHome - path to Java installed on your system

CSF_TCL_HOME - path to Tcl/Tk installed on your system

CSF_X11_INCLUDE - path to X11 headers

CSF_OPENGL_INCLUDE -path to OpenGl headers

X11_LIB - path to X11 libraries

5. To start wok, use the $CASROOT/../wok/site/wok.csh file

6. To create wok dependencies structure , make

> wokcd ros

> wprocess -o

 

1. cd $CASROOT \..\Wok\site

2. To build the initial wok entities structure, start $CASROOT \..\wok\site\wokinit.bat

3. Open $CASROOT \..\wok\lib\CSF.edl and if necessary redefine the following variables according to your system configuration

CSF_WOKHOME - path to your wok folder (for example \xxx\ $CASROOT\..\wok folder)

CSF_CXX_COMPILER - your cxx compiler

CSF_C_COMPILER - your c compiler

CSF_F77_COMPILER - your f77 compiler

CSF_LINKER - your linker

CSF_LibraryHeaderLib - path to MS Visual Studio libraries

CSF_JavaHome - path to Java installed on your system

CSF_TCL_HOME - path to Tcl/Tk installed on your system

4. To start wok, use the OCC\Wok\WOK item of the Programs menu

5. To create wok dependencies structure , make

> wokcd ros

> wprocess -o

 

By default all the required initializations are done by the tcl init file. It sets the location where Wok will find or create the entities structure. This location is pointed to by the environment variable ( or MS Dos variable ) named WOK_ROOTADMDIR. If you want to address to previous Wok workbenches (say those created with the OCC4.0 version) set the variable WOK_ROOTADMDIR to the corresponding one.

Note: The directory pointed to by WOK_ROOTADMDIR contains at least 3 files: ATLIST, DEFAULT.edl, WOKSESSION.edl.

 

 

See also

User's Guide (WOK)

User's Guide (CDL)