Have you tried using GEOMAlgo_Builder?
aBuilder = GEOMAlgo_Builder()
user_shapes = [donut, box]
for aShape in user_shapes:
aBuilder.AddShape(aShape)
aBuilder.Perform()
aBuilder should also have methods Generated, Modified, IsDeleted.
aBuilder.Shape() will have faces you are looking for.
Best regards,
Milos
On Sun, Jun 16, 2013 at 8:39 AM, Pablo Mosteiro <[email protected]> wrote:
> I need to cut a solid in half and then have "access" to the plane in each
> solid that was generated by the cut. For instance, suppose the solid is a
> donut and I'm cutting it in half diametrically. I need "access" to the two
> circles that are formed by the cutting plane.
>
> By "access" I mean know their location so that I can do something like draw
> dots on them.
>
> Currently I'm making the cut by defining a box that is half the size of the
> original object and taking the common volume using BRepAlgoAPI_Common
> But then I don't have any knowledge of what are the planes generated by
> this
> cut.
>
> Is anyone familiar with this? Can you give help, please?
>
> Thanks!
>
> Pablo
>
>
> _______________________________________________
> Pythonocc-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/pythonocc-users
>
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users