kopia lustrzana https://github.com/vilemduha/blendercam
Merge branch 'pppalain:master' into master
commit
3ecca5192c
|
@ -510,7 +510,7 @@ class camOperation(bpy.types.PropertyGroup):
|
|||
('IMAGE', 'Image', 'a')),
|
||||
description='Geometry source',
|
||||
default='OBJECT', update=updateOperationValid)
|
||||
cutter_typeb: EnumProperty(name='Cutter',
|
||||
cutter_type: EnumProperty(name='Cutter',
|
||||
items=(
|
||||
('END', 'End', 'end - flat cutter'),
|
||||
('BALLNOSE', 'Ballnose', 'ballnose cutter'),
|
||||
|
@ -523,18 +523,6 @@ class camOperation(bpy.types.PropertyGroup):
|
|||
('CUSTOM', 'Custom-EXPERIMENTAL', 'modelled cutter - not well tested yet.')),
|
||||
description='Type of cutter used',
|
||||
default='END', update=updateZbufferImage)
|
||||
|
||||
cutter_type: EnumProperty(name='Cutter',
|
||||
items=(
|
||||
('END', 'End', 'end - flat cutter'),
|
||||
('BALLNOSE', 'Ballnose', 'ballnose cutter'),
|
||||
('BULLNOSE', 'Bullnose', 'bullnose cutter ***placeholder **'),
|
||||
('VCARVE', 'V-carve', 'v carve cutter'),
|
||||
('BALLCONE', 'Ballcone', 'Ball with a Cone for Parallel - X'),
|
||||
('CYLCONE', 'Cylinder cone', 'Cylinder end with a Cone for Parallel - X'),
|
||||
('CUSTOM', 'Custom-EXPERIMENTAL', 'modelled cutter - not well tested yet.')),
|
||||
description='Type of cutter used',
|
||||
default='END', update=updateZbufferImage)
|
||||
cutter_object_name: bpy.props.StringProperty(name='Cutter object',
|
||||
description='object used as custom cutter for this operation',
|
||||
update=updateZbufferImage)
|
||||
|
|
|
@ -44,10 +44,7 @@ class CAM_CUTTER_Panel(CAMButtonsPanel, bpy.types.Panel):
|
|||
row.operator("render.cam_preset_cutter_add", text="", icon='ADD')
|
||||
row.operator("render.cam_preset_cutter_add", text="", icon='REMOVE').remove_active = True
|
||||
layout.prop(ao, 'cutter_id')
|
||||
if ao.strategy == "POCKET" or ao.strategy == "CUTOUT" :
|
||||
layout.prop(ao, 'cutter_typeb')
|
||||
else:
|
||||
layout.prop(ao, 'cutter_type')
|
||||
layout.prop(ao, 'cutter_type')
|
||||
if ao.cutter_type == 'VCARVE':
|
||||
layout.prop(ao, 'cutter_tip_angle')
|
||||
if ao.cutter_type == 'BALLCONE':
|
||||
|
|
Ładowanie…
Reference in New Issue