3D Print Toolbox: Add hollow out #105194

Merged
Mikhail Rachinskiy merged 9 commits from usfreitas/blender-addons:hollow into main 2024-03-18 12:24:30 +01:00
Showing only changes of commit fe33b8edf2 - Show all commits

View File

@ -909,6 +909,9 @@ class MESH_OT_print3d_hollow(Operator):
# Generate offset surface
if self.offset_direction == 'INSIDE':
newverts, newquads = levelset.convertToQuads(-self.offset)
if newquads.size == 0:
self.report({"ERROR"}, "Make sure target mesh has closed surface and offset value is less than half of target thickness")
return {'FINISHED'}
else:
newverts, newquads = levelset.convertToQuads(self.offset)