Skip to content

Commit c4a4a3f

Browse files
committed
ADD: catch if there is a hole, it stops
1 parent a928f89 commit c4a4a3f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/gh/diffCheck/diffCheck/df_joint_detector.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ def run(self) :
101101
break
102102

103103
if is_hole:
104+
# TODO: for future development get rid of error
105+
raise NotImplementedError("Hole detected, not implemented yet.")
104106
self._holes.append(b)
105107
elif is_cut:
106108
self._cuts.append(b)

src/gh/diffCheck/diffCheck_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
:param i_export_dir: directory to export the xml
2020
:param i_dump: whether to dump the xml
2121
"""
22-
# data_faces = diffCheck.df_joint_detector.JointDetector(i_breps[0]).run()
22+
# o_joints = diffCheck.df_joint_detector.JointDetector(i_breps[0]).run()
2323
# beams
2424
beams = []
2525
for brep in i_breps:

0 commit comments

Comments
 (0)