[brlcad-devel] Scripting TGMs: Which Method Is Preferred?
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Tom B. <tom...@gm...> - 2011-01-04 19:21:44
|
As I see it now, I can script (automate) the building of a BRL-CAD TGM in several ways, three of which are: 1. List mged commands in a file and source the file into mged $ mged -c tgm.g < source-file 2. Write BRL-CAD TCL commands into a BRLCAD ascii file and convert the target with: $ asc2g tgm.asc tgm.g 3. Create a native BRL-CAD .g file via the library API. Between methods 1 and 2, are there any pros or cons such that one method is preferred? Thanks, -Tom Thomas M. Browder, Jr. Niceville, Florida USA |