Correspondence between parallel wires

Hi,

I have got a wire, and with BRepOffsetAPI_MakeOffset function I have got another similar wire.

Because of my needs I have to relate a vertex of the original wire with the vertex/vertexes of the parallel wire to copy some attributes on them.

I can explore both wires, of course, but it is difficult to know which one goes with the other.

So, is there any functionality provided by OCC to make it easier?

Thanks

Roman Lygin's picture

Hi arkoala,

Try BRepOffsetAPI_MakeOffset::Generated(). This is one of the methods - Generated(), Modified(), IsDeleted() - inherited from BRepBuilderAPI_MakeShape that usually provides history of modifications.

Hope this helps.
Roman

---
opencascade.blogspot.com - the Open CASCADE blog