kopia lustrzana https://github.com/vilemduha/blendercam
duplicate points bugfix
rodzic
85a846fecc
commit
35f33964e1
|
@ -63,7 +63,9 @@ def _internalXyDistanceTo(ourpoints,theirpoints,cutoff):
|
|||
|
||||
# for building points - stores points as lists for easy insert /append behaviour
|
||||
class camPathChunkBuilder:
|
||||
def __init__(self,inpoints=[], startpoints=None, endpoints=None, rotations=None):
|
||||
def __init__(self,inpoints=None, startpoints=None, endpoints=None, rotations=None):
|
||||
if inpoints==None:
|
||||
inpoints=[]
|
||||
self.points=inpoints
|
||||
self.startpoints=startpoints
|
||||
self.endpoints=endpoints
|
||||
|
|
|
@ -760,7 +760,15 @@ async def getPath3axis(context, operation):
|
|||
for p in slicepolys.geoms:
|
||||
poly = poly.union(p) # polygversion TODO: why is this added?
|
||||
nchunks = shapelyToChunks(p, z)
|
||||
print("---------------------")
|
||||
for x in nchunks:
|
||||
print(" *",x.count())
|
||||
print("---------------------")
|
||||
nchunks = limitChunks(nchunks, o, force=True)
|
||||
print("---------------------")
|
||||
for x in nchunks:
|
||||
print(" #",x.count())
|
||||
print("---------------------")
|
||||
lastchunks.extend(nchunks)
|
||||
slicechunks.extend(nchunks)
|
||||
if len(slicepolys.geoms) > 0:
|
||||
|
|
Ładowanie…
Reference in New Issue