File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010* .stl
1111* .obj
12+ * .vtk
1213* .ipynb
1314* .nrrd
1415
Original file line number Diff line number Diff line change 171171 "source" : [
172172 " # Find the non-manifold edges\n " ,
173173 " mender = EdgeMender(mesh)\n " ,
174- " mender.repair(shift_distance=0.1 if shift else 0.0)\n " ,
174+ " mender.repair(shift_distance=0.1 if shift.value else 0.0)\n " ,
175175 " remaining_non_manifold_edges = mender.find_non_manifold_edges()[2]\n " ,
176176 " \n " ,
177177 " # Print the repaired mesh information\n " ,
178- " print(f\" Volume: {mesh.volume}\" + (\" (WARNING: Shift applied)\" if shift else \"\" ))\n " ,
178+ " print(f\" Volume: {mesh.volume}\" + (\" (WARNING: Shift applied)\" if shift.value else \"\" ))\n " ,
179179 " print(f\" Watertight: {mesh.is_watertight}\" )\n " ,
180180 " print(f\" Remaining non-manifold edges: {len(remaining_non_manifold_edges)}\" )\n " ,
181181 " \n " ,
You can’t perform that action at this time.
0 commit comments