Difference between revisions of "Python Geometry"

From BRL-CAD
(Requirements)
m
Line 1: Line 1:
 
python-brlcad is an on-going effort to wrap BRL-CAD functionality with python code (see References).
 
python-brlcad is an on-going effort to wrap BRL-CAD functionality with python code (see References).
  
The project is in it's early development stage, the source code allows
+
The project is in its early development stage, the source code allows
 
for now the scripting (read/modify/write) of only a selected set of
 
for now the scripting (read/modify/write) of only a selected set of
 
primitives using libwdb.
 
primitives using libwdb.

Revision as of 13:27, 3 March 2014

python-brlcad is an on-going effort to wrap BRL-CAD functionality with python code (see References).

The project is in its early development stage, the source code allows for now the scripting (read/modify/write) of only a selected set of primitives using libwdb.

To complete the goal of this GSOC task, the rest of the primitives which is not yet implemented would need to be done:

ARS, BINUNIF, BOT, BREP, CLINE, DSP, EBM, GRIP, HALF, HF, METABALL, NURB, PG, SUBMODEL, SUPERELL, VOL, PNTS, ANNOTATION, HRT, CONSTRAINT

The following primitives are already wrapped, and can serve as example for the rest:

ARBN, ARB, EHY, ELL, ELL, EPA, ETO, EXTRUDE, HYP, PIPE, PARTICLE, REVOLVE, RHC, RPC, SKETCH, TGC, REC, TOR, COMBINATION

References

Requirements

  • Familiarity with C;
  • Strong familiarity with python