-disabling some experiments for now

- a bit of work on fixing ramp out.
pull/4/head
vilda.novak@gmail.com 2014-09-24 17:41:05 +00:00
rodzic 61de613d9e
commit 25a1d937cb
2 zmienionych plików z 60 dodań i 58 usunięć

Wyświetl plik

@ -245,8 +245,9 @@ class camOperation(bpy.types.PropertyGroup):
('CARVE','Carve', 'Pocket operation'),
('CURVE','Curve to Path - EXPERIMENTAL', 'Curve object gets converted directly to path'),
('PENCIL','Pencil - EXPERIMENTAL', 'Pencil operation - detects negative corners in the model and mills only those.'),
('DRILL','Drill', 'Drill operation'),('CRAZY','Crazy path - EXPERIMENTAL', 'Crazy paths - dont even think about using this!'),
('MEDIAL_AXIS','Medial axis', 'Medial axis, must be used with V or ball cutter, for engraving various width shapes with a single stroke ')
('DRILL','Drill', 'Drill operation'),
#('CRAZY','Crazy path - EXPERIMENTAL', 'Crazy paths - dont even think about using this!'),
#('MEDIAL_AXIS','Medial axis', 'Medial axis, must be used with V or ball cutter, for engraving various width shapes with a single stroke ')
),
description='Strategy',
default='PARALLEL',

Wyświetl plik

@ -309,6 +309,7 @@ class camPathChunk:
if o.ramp_out:
zstart=o.maxz
zend=ch.points[-1][2]
if zend<zstart:#again, sometimes a chunk could theoretically end above the starting level.
stepdown=zstart-zend
estlength=(zstart-zend)/tan(o.ramp_out_angle)