Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Fixed a small bug, hopefully didn't introduce any more.
At some point this will be replaced with a script that does, clip, erase, symmetrical difference, etc, which is currently being tested
  • Loading branch information
Dan-Patterson authored Sep 10, 2023
1 parent 5af1993 commit 3a82fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arcpro_npg/npg/npg/npg_clip_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def _bits_(i0, i1, in_, seen_):
p_a = _bits_(j_p, pN, pinside, p_seen)
sub.extend(pl_n[p_a])
# sub.append(pl_n[pN]) # commented out 2023-03-19 for E, d0_
elif i_c == 0 and cnt == len(inCinP) - 2: # last slice
elif i_c == 0 and cnt == len(inCinP) - 1: # last slice was -1
c_a = _bits_(i_p, cN, cinside, c_seen)
sub.extend(cl_n[c_a])
sub.append(cl_n[i_c])
Expand Down

0 comments on commit 3a82fd2

Please sign in to comment.