Hello,

I've asked before but I'm still having some trouble understanding the nature
of edges in PythonOCC and OCC in general.  I am trying to discretize all of
the edges in an IGES model and generate (x, y, z) values for each curve.
I'd then like to print this to a file.  Basically, I want to discretize
every single edge of 3D object.

I have looked at: http://www.opencascade.org/org/forum/thread_9874/ and I
have looked at BRepAdaptor_Curve, BRepAdaptor_CompCurve,
CPnts_UniformDeflection and CPnts_AbscissaPoint. I found another post too at
http://www.opencascade.org/org/forum/thread_20706/ which seems to be almost
exactly what I want to do.

I'm assuming for curves (splines, circles, arcs, etc.) I'd want to use
CPnts_UniformDeflection, but I'm guessing this will fail on things that do
not have any deflections, such as lines.

Right now I'm converting the IGES file into one giant shape with
OneShape().  Can I still do it this way, or do I need to discretize the
edges before I make it a single shape?

One last (probably really stupid) question: What is the difference in
OpenCASCADE between a wire and an edge?

Thank you very much for any help.

Regards,

Benjamin P. L. Turner
[email protected]
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to