kopia lustrzana https://github.com/vilemduha/blendercam
fix shapelyToCoords function
this functin didn't support LineString yetpull/25/head
rodzic
6b2592084d
commit
7cb8902d88
|
|
@ -327,6 +327,10 @@ def shapelyToCoords(anydata):
|
|||
seq=[]
|
||||
for linestring in p:
|
||||
seq.append(linestring.coords)
|
||||
elif p.type=='LineString':
|
||||
seq=[]
|
||||
seq.append(p.coords)
|
||||
|
||||
elif p.type=='MultiPoint':
|
||||
return;
|
||||
elif p.type=='GeometryCollection':
|
||||
|
|
|
|||
|
|
@ -3153,7 +3153,6 @@ def getPath3axis(context, operation):
|
|||
lines = shapely.ops.linemerge(ledges)
|
||||
#shapelyToCurve('test',lines,0)
|
||||
chunks.extend( shapelyToChunks(lines,0))
|
||||
|
||||
#segments=[]
|
||||
#processEdges=filteredEdgs.copy()
|
||||
#chunk=camPathChunk([])
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue