jayesh3/cadmium — Issue #4: strange Standard_ConstructionError 
Author: hmeyer
Created: 2011-12-28 23:00:52+00:00
State: open

please look at this:
'''#!/usr/bin/python

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 8, in
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'''