Update gcodepath.py

pull/179/head
Alain Pelletier 2021-03-12 13:50:28 -04:00 zatwierdzone przez GitHub
rodzic fc78f4c597
commit f9c82c0dda
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -541,7 +541,7 @@ def getPath3axis(context, operation):
pathSamples = chunksRefine(pathSamples, o)
elif o.strategy == 'PENCIL':
prepareArea(o)
getAmbient(o)
utils.getAmbient(o)
pathSamples = getOffsetImageCavities(o, o.offset_image)
# for ch in pathSamples:
# for i,p in enumerate(ch.points):
@ -607,7 +607,7 @@ def getPath3axis(context, operation):
strategy.chunksToMesh(chunks, o)
elif o.strategy == 'WATERLINE' and o.use_opencamlib:
getAmbient(o)
utils.getAmbient(o)
chunks = []
oclGetWaterline(o, chunks)
chunks = limitChunks(chunks, o)
@ -640,7 +640,7 @@ def getPath3axis(context, operation):
layerstepinc = 0
slicesfilled = 0
getAmbient(o)
utils.getAmbient(o)
# polyToMesh(o.ambient,0)
for h in range(0, nslices):
layerstepinc += 1