Hi Dan,
Something that is perhaps of interest to you is that pythonOCC
supports the pickling protocol too.
So, you can dump & load TopoDS_* objects too.
Cheers,
-jelle
On Jul 5, 2009, at 4:21 PM, Dan Falck wrote:
> Hi Thomas,
>
> Thanks for the link. Thank you for the wonderful project too!
Hi Thomas,
Thanks for the link. Thank you for the wonderful project too!
Dan
Thomas Paviot wrote:
>
> Hi Dan,
>
> A 'DataExchange' folder has recently been added in the subversion
> trunk. The STEP.py module gives access to STEP import/export (as well
> as STEP_OCAF export).
>
> Here is the li
2009/7/5 Dan Falck
> I figured the syntax out by reading some of the source from HeeksCAD.
> Here's my simple example:
>
> #!/usr/bin/env python
>
> from OCC.STEPControl import *
> from OCC.BRepPrimAPI import *
> from OCC.BRepBuilderAPI import *
>
> #just make a simple box
> S = BRepPrimAPI_MakeB
I figured the syntax out by reading some of the source from HeeksCAD.
Here's my simple example:
#!/usr/bin/env python
from OCC.STEPControl import *
from OCC.BRepPrimAPI import *
from OCC.BRepBuilderAPI import *
#just make a simple box
S = BRepPrimAPI_MakeBox(150,200,110).Shape()
st= STEPContr