removed experimental strategies

pull/182/head
Alain Pelletier 2021-04-30 22:28:54 -03:00 zatwierdzone przez GitHub
rodzic 8a414ce329
commit c07310f059
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 10 dodań i 11 usunięć

Wyświetl plik

@ -405,14 +405,14 @@ def getStrategyList(scene, context):
('WATERLINE', 'Waterline - Roughing -below zero', 'Waterline paths - constant z below zero'),
('CURVE', 'Curve to Path', 'Curve object gets converted directly to path')
]
if use_experimental:
items.extend([('MEDIAL_AXIS', 'Medial axis - EXPERIMENTAL',
'Medial axis, must be used with V or ball cutter, for engraving various width shapes with a single stroke '),
('PROJECTED_CURVE', 'Projected curve - EXPERIMENTAL', 'project 1 curve towards other curve')])
# if use_experimental:
# items.extend([('MEDIAL_AXIS', 'Medial axis - EXPERIMENTAL',
# 'Medial axis, must be used with V or ball cutter, for engraving various width shapes with a single stroke '),
# ('PENCIL', 'Pencil - EXPERIMENTAL','Pencil operation - detects negative corners in the model and mills only those.'),
# ('CRAZY', 'Crazy path - EXPERIMENTAL', 'Crazy paths - dont even think about using this!'),
# ('PROJECTED_CURVE', 'Projected curve - EXPERIMENTAL', 'project 1 curve towards other curve')])
return items
#('PENCIL', 'Pencil - EXPERIMENTAL','Pencil operation - detects negative corners in the model and mills only those.'),
#('CRAZY', 'Crazy path - EXPERIMENTAL', 'Crazy paths - dont even think about using this!'),
class camOperation(bpy.types.PropertyGroup):

Wyświetl plik

@ -267,9 +267,9 @@ def pocket(o):
prest = p.buffer(-o.cutter_diameter / 2, o.circle_detail)
while not p.is_empty:
nchunks = shapelyToChunks(p, o.min.z)
print("nchunks")
#print("nchunks")
pnew = p.buffer(-o.dist_between_paths, o.circle_detail)
print("pnew")
#print("pnew")
# caused a bad slow down
# if o.dist_between_paths > o.cutter_diameter / 2.0:
@ -291,7 +291,6 @@ def pocket(o):
nchunks = limitChunks(nchunks, o)
chunksFromCurve.extend(nchunks)
print(i)
parentChildDist(lastchunks, nchunks, o)
lastchunks = nchunks

Wyświetl plik

@ -1356,13 +1356,13 @@ def getObjectOutline(radius, o, Offset): # FIXME: make this one operation indep
i = 0
# print(polygons, polygons.type)
for p1 in polygons: # sort by size before this???
print(p1.type, len(polygons))
#print(p1.type, len(polygons))
i += 1
if radius > 0:
p1 = p1.buffer(radius * offset, resolution=o.circle_detail)
outlines.append(p1)
print(outlines)
#print(outlines)
if o.dont_merge:
outline = sgeometry.MultiPolygon(outlines)
# for ci in range(0,len(p)):