NameError: name 'logging' is not defined
gumyr opened this issue · comments
With cadquery patched with cq_warehouse.extensions, if cq_warehouse.extensions is not imported, a "NameError: name 'logging' is not defined" error occurs.
Quick fix is to import cq_warehouse.extensions into your model.
Fixed by mocking logging:
class logging:
def debug(self):
pass
def warn(self):
pass
in the patched version of occ_impl/shapes.py - the only one with logging.