Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strange Standard_ConstructionError #4

Open
hmeyer opened this issue Dec 28, 2011 · 2 comments
Open

strange Standard_ConstructionError #4

hmeyer opened this issue Dec 28, 2011 · 2 comments

Comments

@hmeyer
Copy link

hmeyer commented Dec 28, 2011

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```
@jay3sh
Copy link
Owner

jay3sh commented Dec 30, 2011

The error happens inside OCC. I do see such errors occasionally, but don't know the cause.

@hmeyer
Copy link
Author

hmeyer commented Dec 30, 2011

Could you please help me creating a minimal example which reproduces this
error? Than I try to escalate to python-occ.
Am 30.12.2011 03:25 schrieb "Jayesh Salvi" <
reply@reply.github.com

:

The error happens inside OCC. I do see such errors occasionally, but don't
know the cause.


Reply to this email directly or view it on GitHub:
https://github.com/jayesh3/cadmium/issues/4#issuecomment-3309083

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants