Skip to content

Commit

Permalink
Merge pull request #18466 from Ultimaker/CURA-9838_brim_location
Browse files Browse the repository at this point in the history
Cura 9838 brim location
  • Loading branch information
HellAholic authored Mar 8, 2024
2 parents f540619 + 66aeb3b commit 0149be1
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 16 deletions.
2 changes: 1 addition & 1 deletion plugins/3MFWriter/SettingsExportModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SettingsExportModel(QObject):
'adaptive_layer_height_enabled',
'brim_gap',
'support_offset',
'brim_outside_only',
'brim_location',
'magic_spiralize',
'slicing_tolerance',
'outer_inset_first',
Expand Down
2 changes: 1 addition & 1 deletion resources/definitions/erzay3d.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"acceleration_print": { "default_value": 1000 },
"adhesion_type": { "default_value": "skirt" },
"brim_outside_only": { "default_value": false },
"brim_location": { "default_value": "everywhere" },
"default_material_print_temperature": { "default_value": 220 },
"infill_sparse_density": { "default_value": 20 },
"ironing_flow": { "default_value": 7.0 },
Expand Down
25 changes: 16 additions & 9 deletions resources/definitions/fdmprinter.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -6069,26 +6069,33 @@
"settable_per_mesh": false,
"settable_per_extruder": true
},
"brim_outside_only":
"brim_location":
{
"label": "Brim Only on Outside",
"description": "Only print the brim on the outside of the model. This reduces the amount of brim you need to remove afterwards, while it doesn't reduce the bed adhesion that much.",
"type": "bool",
"default_value": true,
"label": "Brim Location",
"description": "Print a brim on the outside of the model, inside, or both. Depending on the model, this helps reducing the amount of brim you need to remove afterwards, while ensuring a proper bed adhesion.",
"type": "enum",
"options":
{
"outside": "Outside Only",
"inside": "Inside Only",
"everywhere": "Everywhere"
},
"default_value": "outside",
"enabled": "resolveOrValue('adhesion_type') == 'brim'",
"limit_to_extruder": "skirt_brim_extruder_nr",
"settable_per_mesh": false,
"settable_per_extruder": true
},
"brim_inside_margin":
{
"label": "Brim Inside Avoid Margin",
"description": "A part fully enclosed inside another part can generate an outer brim that touches the inside of the other part. This removes all brim within this distance from internal holes.",
"label": "Brim Avoid Margin",
"description": "A brim around a surface may touch an other surface where brim is not expected. This removes all brim within this distance from brimless surfaces.",
"unit": "mm",
"type": "float",
"default_value": 2.5,
"value": "line_width * 4",
"default_value": "1.6",
"minimum_value": "0",
"enabled": "resolveOrValue('adhesion_type') == 'brim' and any(extruderValues('brim_outside_only'))",
"enabled": "resolveOrValue('adhesion_type') == 'brim'",
"limit_to_extruder": "skirt_brim_extruder_nr",
"settable_per_mesh": false,
"settable_per_extruder": true
Expand Down
2 changes: 1 addition & 1 deletion resources/definitions/inat_base.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"minimum_value_warning": "100"
},
"adhesion_type": { "value": "'skirt'" },
"brim_outside_only": { "value": false },
"brim_location": { "value": "everywhere" },
"cool_fan_speed_min": { "value": "0.5*cool_fan_speed" },
"cool_min_layer_time_fan_speed_max": { "value": 10 },
"default_material_bed_temperature": { "maximum_value": "150" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ weight = 0
[values]
adhesion_type = brim
brim_line_count = 14
brim_outside_only = True
brim_location = outside
brim_width = 8
connect_infill_polygons = True
cool_fan_enabled = True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ weight = 0
[values]
adhesion_type = brim
brim_line_count = 14
brim_outside_only = True
brim_location = outside
brim_width = 8
connect_infill_polygons = True
cool_fan_enabled = True
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 @@ -124,7 +124,7 @@ adhesion_extruder_nr
skirt_line_count
brim_width
brim_line_count
brim_outside_only
brim_location

[dual]
prime_tower_enable
Expand Down
2 changes: 1 addition & 1 deletion resources/setting_visibility/expert.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ skirt_brim_minimal_length
brim_width
brim_gap
brim_line_count
brim_outside_only
brim_location
brim_smart_ordering
raft_margin
raft_smoothing
Expand Down

0 comments on commit 0149be1

Please sign in to comment.