Difference between revisions of "Python Geometry"

From BRL-CAD
(Created page with "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 fo...")
 
(References)
 
(4 intermediate revisions by 2 users not shown)
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.
  
To complete the goal of this GSOC task, the rest of the primitives which is not yet implemented would need to be done:
+
To complete the goal of this GSOC task, the rest of the primitives which are 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
 
ARS, BINUNIF, BOT, BREP, CLINE, DSP, EBM, GRIP, HALF, HF, METABALL, NURB, PG, SUBMODEL, SUPERELL, VOL, PNTS, ANNOTATION, HRT, CONSTRAINT
Line 15: Line 15:
 
=References=
 
=References=
  
* https://github.com/kanzure/python-brlcad
+
* https://github.com/kanzure/python-brlcad
 +
* https://github.com/nmz787/python-brlcad-tcl
  
 
=Requirements=
 
=Requirements=
  
* Familiarity with C;
+
* Familiarity with C;
* Strong familiarity with python
+
* Strong familiarity with python

Latest revision as of 12:42, 25 March 2018

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 are 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[edit]

Requirements[edit]

  • Familiarity with C;
  • Strong familiarity with python