Repo for testing occt + emacs +org-babel. The goal is to enable loading the environment for passing TCL scripts to OCCT from org-mode.
This should allow the generation of fairly simple shapes with simple operations – but anything more complex than fillets with edge specification or simple boolean operations will probably require code that’s unmaintainable. The idea behind the workflow is to use OCCT to parametrically produce simple models which can be imported into other CAD programs.
Either use buffer-env
or guix shell -Df guix.scm
to establish the
environment.
Run ls -al $GUIX_ENVIRONMENT
after loading guix shell
to see what’s there.
- $GUIX_ENVIRONMENT/bin/custom_gcc_64.sh
- $GUIX_ENVIRONMENT/bin/custom.sh
- $GUIX_ENVIRONMENT/bin/DRAWEXE
- $GUIX_ENVIRONMENT/bin/draw.sh
- $GUIX_ENVIRONMENT/bin/env.sh
- The
DRAWEXE
application basically is the test harness. - See Draw Test Harness in docs and Doxygen for Draw class.
Running draw.sh
starts a console and the GUI. To do so, it loads the env.sh
,
custom.sh
, and custom_gcc_64.sh
scripts, in order. In the console or GUI,
you’ll need to run pload ALL
to load all (some?) functionality.
NOTE: either some environment details are not being properly loaded. e.g. some GUI interactions are not enabled. Perhaps some packages are missing from the
guix.scm
propagated inputs.
TCL commands are entered into the console.
Draw general commands
- pload
- load script/module
- help
- get help on commands
- help help
- get help on help
- spy
- record TCL macros into a file
Commands for loading IGES/STEP files
This will be more interesting if data is loaded from a file
- beziercurve
- bsplinecurve
The docs mention that =$CASROOT/src/