Thanks, Thomas and Jelle!
 
 
 >
What is the exact problem you need to fix regarding the wires

you mention? Perhaps you can have a look at how ShapeFix works by

looking at the samples/Level1/TopologyLocalOperations/local_feautures.py

. I had some wire ordering issues which are easy to fix.



 
Basically, I need to make sure that I get the wires in the correct order,
and i need to get the outerwire first.  If i have a face, i can use
BRepTool:Outwire and this is easy.  I also need to offset the wires in a
face later on, which is easy with a face but not as easy with only a
compound of wires.  
 
I also found that ShapeAnalysis:WireOrder uses points instead of curves-- so
I could not understand how to reorder wires that have curves. I will look at
the above code to see if i can use it, as it is very clear that
BRepAlgo_Section is much faster

 
>>For now, you have to add the line 'bc.Destroy()' (you can remove all
additinal *.Delete lines). You can have a look to the
/samples/Level2/Concurreny/parallel_slicer.py code: it's a tweak already in
use in this sample. When the fix is commited to the subversion repository,
this will be automatically handled by pythonOCC. 

I will try this and test memory performance--thank you! And, my bad for not
having looked more closely at parallel_slicer to see this!
 
 
As always thanks for your help. When my tool is servicable, i will post it.
i may actually ask for your permission to commit it to the samples section.
I am planning on making a modified version of interactiveviewer as the basis
for my application, but then adding slicing choices into it.
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to