Skip to content

strange Standard_ConstructionError  #4

Description

@hmeyer

please look at this:

import sys
sys.path.append('./src')
from cadmium import *
u = Box(62,62,100, center=True) + Sphere(19).translate(-31,-31,-31)```

when run with current HEAD, I get:
```Traceback (most recent call last):
  File "examples/fail.py", line 5, in <module>
    u = Box(62,62,100, center=True) + Sphere(19).translate(-31,-31,-31)
  File "./src/cadmium/solid.py", line 50, in __add__
    union = BRepAlgoAPI_Fuse(self.shape, other.shape).Shape()
  File "/usr/lib/pymodules/python2.7/OCC/BRepAlgoAPI.py", line 222, in __init__
    _BRepAlgoAPI.BRepAlgoAPI_Fuse_swiginit(self,_BRepAlgoAPI.new_BRepAlgoAPI_Fuse(*args))
RuntimeError: Standard_ConstructionError```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions