kopia lustrzana https://github.com/vilemduha/blendercam
removed experimental strategies
rodzic
8a414ce329
commit
c07310f059
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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)):
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue