Skip to content

Commit

Permalink
Merge branch 'main' into PP-552-Metallic-PLA
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton authored Jan 27, 2025
2 parents 5ecfa59 + 6157310 commit caa944e
Show file tree
Hide file tree
Showing 10 changed files with 197 additions and 96 deletions.
2 changes: 1 addition & 1 deletion UltiMaker-Cura.spec.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ app = BUNDLE(
coll,
name='{{ display_name }}.app',
icon={{ icon }},
bundle_identifier={{ osx_bundle_identifier }} + "_" + '{{ display_name }}'.replace(" ", "_") + "_" {{ short_version }},
bundle_identifier={{ osx_bundle_identifier }} + "_" + '{{ display_name }}'.replace(" ", "_"),
version={{ version }},
info_plist={
'CFBundleDisplayName': '{{ display_name }}',
Expand Down
2 changes: 1 addition & 1 deletion packaging/MacOS/build_macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def create_dmg(filename: str, dist_path: str, source_path: str, app_name: str) -
parser.add_argument("--app_name", required = True, type = str, help = "Filename of the .app that will be contained within the dmg/pkg")
args = parser.parse_args()

cura_version = args.cura_conan_version.split("/")[-1]
cura_version = args.cura_conan_version.replace("+","-") # + is not allowed for bundle identifier

app_name = f"{args.app_name}.app"

Expand Down
4 changes: 2 additions & 2 deletions plugins/MachineSettingsAction/MachineSettingsPrinterTab.qml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Item

settingStoreIndex: propertyStoreIndex

labelText: catalog.i18nc("@label", "Y min")
labelText: catalog.i18nc("@label", "Y min ( '-' towards back)")
labelFont: base.labelFont
labelWidth: base.labelWidth
controlWidth: base.controlWidth
Expand Down Expand Up @@ -254,7 +254,7 @@ Item
settingKey: "machine_head_with_fans_polygon"
settingStoreIndex: propertyStoreIndex

labelText: catalog.i18nc("@label", "Y max")
labelText: catalog.i18nc("@label", "Y max ( '+' towards front)")
labelFont: base.labelFont
labelWidth: base.labelWidth
controlWidth: base.controlWidth
Expand Down
182 changes: 99 additions & 83 deletions resources/definitions/fdmprinter.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@
"RepRap (RepRap)": "RepRap",
"UltiGCode": "Ultimaker 2",
"Griffin": "Griffin",
"Cheetah": "Griffin+Cheetah",
"Makerbot": "Makerbot",
"BFB": "Bits from Bytes",
"MACH3": "Mach3",
Expand Down Expand Up @@ -461,7 +462,7 @@
"machine_head_with_fans_polygon":
{
"label": "Machine Head & Fan Polygon",
"description": "The shape of the print head. These are coordinates relative to the position of the print head, which is usually the position of its first extruder. The dimensions left and in front of the print head must be negative coordinates.",
"description": "The dimensions of the print head used to determine 'Safe Model Distance' when printing 'One at a Time'. These numbers relate to the centerline of the first extruder nozzle. Left of the nozzle is 'X Min' and must be negative. Rear of the nozzle is 'Y Min' and must be negative. X Max (right) and Y Max (front) are positive numbers. Gantry height is the dimension from the build plate to the X gantry beam.",
"type": "polygon",
"default_value": [
[-20, 10],
Expand Down Expand Up @@ -4412,6 +4413,21 @@
"settable_per_mesh": false,
"settable_per_extruder": true
},
"retraction_combing_avoid_distance":
{
"label": "Inside Travel Avoid Distance",
"description": "The distance between the nozzle and already printed outer walls when travelling inside a model.",
"unit": "mm",
"type": "float",
"default_value": 0,
"value": "machine_nozzle_size * 1.5",
"minimum_value": "0",
"minimum_value_warning": "machine_nozzle_size * 0.5",
"maximum_value_warning": "machine_nozzle_size * 10",
"enabled": "resolveOrValue('retraction_combing') != 'off'",
"settable_per_mesh": false,
"settable_per_extruder": true
},
"travel_retract_before_outer_wall":
{
"label": "Retract Before Outer Wall",
Expand Down Expand Up @@ -7485,6 +7501,88 @@
"enabled": "retraction_enable and extruders_enabled_count > 1",
"settable_per_mesh": false,
"settable_per_extruder": true
},
"interlocking_enable":
{
"label": "Generate Interlocking Structure",
"description": "At the locations where models touch, generate an interlocking beam structure. This improves the adhesion between models, especially models printed in different materials.",
"type": "bool",
"enabled": "extruders_enabled_count > 1",
"default_value": false,
"resolve": "(extruders_enabled_count > 1) and any(extruderValues('interlocking_enable'))",
"settable_per_mesh": false,
"settable_per_extruder": false
},
"interlocking_beam_width":
{
"label": "Interlocking Beam Width",
"description": "The width of the interlocking structure beams.",
"type": "float",
"unit": "mm",
"enabled": "extruders_enabled_count > 1 and resolveOrValue('interlocking_enable')",
"default_value": 0.8,
"value": "2 * wall_line_width_0",
"minimum_value": "min_odd_wall_line_width",
"maximum_value": "min(0.5 * machine_width, 0.5 * machine_depth)",
"maximum_value_warning": "max(extruderValues('wall_line_width_0')) * 6",
"settable_per_mesh": true,
"settable_per_extruder": true
},
"interlocking_orientation":
{
"label": "Interlocking Structure Orientation",
"description": "The height of the beams of the interlocking structure, measured in number of layers. Less layers is stronger, but more prone to defects.",
"unit": "\u00b0",
"type": "float",
"enabled": "extruders_enabled_count > 1 and resolveOrValue('interlocking_enable')",
"default_value": 22.5,
"minimum_value": "0",
"maximum_value": "360",
"resolve": "min(extruderValues('interlocking_orientation'))",
"settable_per_mesh": false,
"settable_per_extruder": false
},
"interlocking_beam_layer_count":
{
"label": "Interlocking Beam Layer Count",
"description": "The height of the beams of the interlocking structure, measured in number of layers. Less layers is stronger, but more prone to defects.",
"type": "int",
"enabled": "extruders_enabled_count > 1 and resolveOrValue('interlocking_enable')",
"default_value": 2,
"minimum_value": "1",
"maximum_value_warning": "50",
"resolve": "max(extruderValues('interlocking_beam_layer_count'))",
"settable_per_mesh": false,
"settable_per_extruder": false
},
"interlocking_depth":
{
"label": "Interlocking Depth",
"description": "The distance from the boundary between models to generate interlocking structure, measured in cells. Too few cells will result in poor adhesion.",
"type": "int",
"enabled": "extruders_enabled_count > 1 and resolveOrValue('interlocking_enable')",
"default_value": 2,
"minimum_value": "1",
"maximum_value": "10",
"maximum_value_warning": "5",
"resolve": "max(extruderValues('interlocking_depth'))",
"settable_per_mesh": false,
"settable_per_extruder": false
},
"interlocking_boundary_avoidance":
{
"label": "Interlocking Boundary Avoidance",
"description": "The distance from the outside of a model where interlocking structures will not be generated, measured in cells.",
"type": "int",
"enabled": "extruders_enabled_count > 1 and resolveOrValue('interlocking_enable')",
"default_value": 2,
"minimum_value": "0",
"minimum_value_warning": "resolveOrValue('interlocking_depth')",
"maximum_value": "10",
"maximum_value_warning": "5",
"resolve": "max(extruderValues('interlocking_boundary_avoidance'))",
"settable_per_mesh": false,
"settable_per_extruder": false
}
}
},
Expand Down Expand Up @@ -7907,88 +8005,6 @@
"settable_per_mesh": true,
"settable_per_extruder": false
},
"interlocking_enable":
{
"label": "Generate Interlocking Structure",
"description": "At the locations where models touch, generate an interlocking beam structure. This improves the adhesion between models, especially models printed in different materials.",
"type": "bool",
"enabled": "extruders_enabled_count > 1",
"default_value": false,
"resolve": "(extruders_enabled_count > 1) and any(extruderValues('interlocking_enable'))",
"settable_per_mesh": false,
"settable_per_extruder": false
},
"interlocking_beam_width":
{
"label": "Interlocking Beam Width",
"description": "The width of the interlocking structure beams.",
"type": "float",
"unit": "mm",
"enabled": "extruders_enabled_count > 1 and resolveOrValue('interlocking_enable')",
"default_value": 0.8,
"value": "2 * wall_line_width_0",
"minimum_value": "min_odd_wall_line_width",
"maximum_value": "min(0.5 * machine_width, 0.5 * machine_depth)",
"maximum_value_warning": "max(extruderValues('wall_line_width_0')) * 6",
"settable_per_mesh": true,
"settable_per_extruder": true
},
"interlocking_orientation":
{
"label": "Interlocking Structure Orientation",
"description": "The height of the beams of the interlocking structure, measured in number of layers. Less layers is stronger, but more prone to defects.",
"unit": "\u00b0",
"type": "float",
"enabled": "extruders_enabled_count > 1 and resolveOrValue('interlocking_enable')",
"default_value": 22.5,
"minimum_value": "0",
"maximum_value": "360",
"resolve": "min(extruderValues('interlocking_orientation'))",
"settable_per_mesh": false,
"settable_per_extruder": false
},
"interlocking_beam_layer_count":
{
"label": "Interlocking Beam Layer Count",
"description": "The height of the beams of the interlocking structure, measured in number of layers. Less layers is stronger, but more prone to defects.",
"type": "int",
"enabled": "extruders_enabled_count > 1 and resolveOrValue('interlocking_enable')",
"default_value": 2,
"minimum_value": "1",
"maximum_value_warning": "50",
"resolve": "max(extruderValues('interlocking_beam_layer_count'))",
"settable_per_mesh": false,
"settable_per_extruder": false
},
"interlocking_depth":
{
"label": "Interlocking Depth",
"description": "The distance from the boundary between models to generate interlocking structure, measured in cells. Too few cells will result in poor adhesion.",
"type": "int",
"enabled": "extruders_enabled_count > 1 and resolveOrValue('interlocking_enable')",
"default_value": 2,
"minimum_value": "1",
"maximum_value": "10",
"maximum_value_warning": "5",
"resolve": "max(extruderValues('interlocking_depth'))",
"settable_per_mesh": false,
"settable_per_extruder": false
},
"interlocking_boundary_avoidance":
{
"label": "Interlocking Boundary Avoidance",
"description": "The distance from the outside of a model where interlocking structures will not be generated, measured in cells.",
"type": "int",
"enabled": "extruders_enabled_count > 1 and resolveOrValue('interlocking_enable')",
"default_value": 2,
"minimum_value": "0",
"minimum_value_warning": "resolveOrValue('interlocking_depth')",
"maximum_value": "10",
"maximum_value_warning": "5",
"resolve": "max(extruderValues('interlocking_boundary_avoidance'))",
"settable_per_mesh": false,
"settable_per_extruder": false
},
"support_skip_some_zags":
{
"label": "Break Up Support In Chunks",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[general]
definition = ultimaker_sketch_sprint
name = Visual
version = 4

[metadata]
intent_category = visual
is_experimental = True
material = ultimaker_pla_175
quality_type = draft
setting_version = 24
type = intent
variant = 0.4mm

[values]
acceleration_roofing = 1500
acceleration_wall_0_roofing = 1500
acceleration_wall_x_roofing = 1500
cool_min_temperature = 220.0
hole_xy_offset = 0.2
hole_xy_offset_max_diameter = 3
inset_direction = inside_out
line_width = 0.4
material_final_print_temperature = =material_print_temperature
material_initial_print_temperature = =material_print_temperature
material_print_temperature = 220
min_bead_width = 0.34
min_wall_line_width = 0.34
roofing_line_width = 0.35
roofing_monotonic = False
roofing_pattern = lines
skin_monotonic = False
skin_outline_count = 0
skin_overlap = 25
small_feature_max_length = 25
small_feature_speed_factor = 40
small_hole_max_size = 4.5
small_skin_width = 4
speed_roofing = 100
wall_line_width_x = 0.4
z_seam_type = back

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[general]
definition = ultimaker_sketch_sprint
name = Visual
version = 4

[metadata]
intent_category = visual
is_experimental = True
material = ultimaker_tough_pla_175
quality_type = draft
setting_version = 24
type = intent
variant = 0.4mm

[values]
acceleration_roofing = 1500
acceleration_wall_0_roofing = 1500
acceleration_wall_x_roofing = 1500
cool_min_temperature = 220.0
hole_xy_offset = 0.2
hole_xy_offset_max_diameter = 3
inset_direction = inside_out
line_width = 0.4
material_final_print_temperature = =material_print_temperature
material_initial_print_temperature = =material_print_temperature
material_print_temperature = 220
min_bead_width = 0.34
min_wall_line_width = 0.34
roofing_line_width = 0.35
roofing_monotonic = False
roofing_pattern = lines
skin_monotonic = False
skin_outline_count = 0
skin_overlap = 25
small_feature_max_length = 25
small_feature_speed_factor = 40
small_hole_max_size = 4.5
small_skin_width = 4
speed_roofing = 100
wall_line_width_x = 0.4
z_seam_type = back

4 changes: 2 additions & 2 deletions resources/qml/Preferences/GeneralPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -669,12 +669,12 @@ UM.PreferencesPage
{
width: childrenRect.width
height: childrenRect.height
text: catalog.i18nc("@info:tooltip", "Should the Y axis of the translate toolhandle be flipped?")
text: catalog.i18nc("@info:tooltip", "Should the Y axis of the translate toolhandle be flipped? This will only affect model's Y coordinate, all other settings such as machine Printhead settings are unaffected and still behave as before.")

UM.CheckBox
{
id: flipToolhandleYCheckbox
text: catalog.i18nc("@option:check", "Flip toolhandle Y axis")
text: catalog.i18nc("@option:check", "Flip model's toolhandle Y axis (restart required)")
checked: boolCheck(UM.Preferences.getValue("tool/flip_y_axis_tool_handle"))
onCheckedChanged: UM.Preferences.setValue("tool/flip_y_axis_tool_handle", checked)
}
Expand Down
2 changes: 1 addition & 1 deletion resources/setting_visibility/advanced.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ prime_tower_mode
prime_tower_position_x
prime_tower_position_y
prime_tower_brim_enable
interlocking_enable

[meshfix]

Expand All @@ -144,7 +145,6 @@ magic_spiralize
smooth_spiralized_contours

[experimental]
interlocking_enable
conical_overhang_enabled
support_conical_enabled
adaptive_layer_height_enabled
Expand Down
1 change: 1 addition & 0 deletions resources/setting_visibility/basic.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ adhesion_extruder_nr
prime_tower_enable
prime_tower_position_x
prime_tower_position_y
interlocking_enable

[meshfix]

Expand Down
Loading

0 comments on commit caa944e

Please sign in to comment.