kopia lustrzana https://github.com/vilemduha/blendercam
Merge 0d33ddb3c5
into af0db869c9
commit
5a31fbf69d
|
@ -43,10 +43,10 @@ class AddPresetCamOperation(AddPresetBase, Operator):
|
|||
|
||||
preset_defines = [
|
||||
"from pathlib import Path",
|
||||
"bpy.ops.scene.cam_operation_add()",
|
||||
"if '__file__' in globals(): bpy.ops.scene.cam_operation_add()",
|
||||
"scene = bpy.context.scene",
|
||||
"o = scene.cam_operations[scene.cam_active_operation]",
|
||||
"o.name = f'OP_{o.object_name}_{scene.cam_active_operation + 1}_{Path(__file__).stem}'",
|
||||
"if '__file__' in globals(): o.name = f'OP_{o.object_name}_{scene.cam_active_operation + 1}_{Path(__file__).stem}'",
|
||||
]
|
||||
|
||||
preset_values = [
|
||||
|
@ -117,10 +117,10 @@ class AddPresetCamOperation(AddPresetBase, Operator):
|
|||
"o.strategy",
|
||||
"o.update_z_buffer_image_tag",
|
||||
"o.stepdown",
|
||||
"o.path_object_name",
|
||||
# "o.path_object_name",
|
||||
"o.pencil_threshold",
|
||||
"o.geometry_source",
|
||||
"o.object_name",
|
||||
# "o.geometry_source",
|
||||
# "o.object_name",
|
||||
"o.parallel_angle",
|
||||
"o.output_header",
|
||||
"o.gcode_header",
|
||||
|
|
Ładowanie…
Reference in New Issue