Thanks, Mark and Jelle. This is the minimal example:

from OCC.GEOMAlgo import GEOMAlgo_Builder, GEOMAlgo_Splitter
from OCC.gp import *
from OCC.BRepPrimAPI import *

box1 = BRepPrimAPI_MakeBox(gp_Pnt(0,0,0),gp_Pnt(1,1,1)).Shape()
box2 = BRepPrimAPI_MakeBox(gp_Pnt(0,0,0),gp_Pnt(2,2,2)).Shape()
user_shapes = [box1, box2]

aB = GEOMAlgo_Builder()
for aShape in user_shapes:
    aB.AddShape(aShape)
aB.Perform()

This results in Segmentation fault 11, plus a popup window saying:
Python quit unexpectedly while using the libTKBRep.6.dylib plug-in.

Exactly the same happens when GEOMAlgo_Splitter is used.

Best regards,
Milos


On Tue, Jun 25, 2013 at 4:53 PM, jelle feringa <jelleferi...@gmail.com>wrote:

>
> Anybody else having problems with GEOMAlgo_Builder in alpha2 on Mac Os X?
>> It segfaults on me on Perform(). Visualization and SMESH working fine :-)
>>
>
> Can you please make a minimal example?
>
> Thanks,
>
> -jelle
>
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org
> https://mail.gna.org/listinfo/pythonocc-users
>
>
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to