Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method(s) updates for 5.9 #19691

Merged
merged 34 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
35ccd63
Method printers: Adding new materials (Tough PLA, PETG, NylonCF, ABS)…
alanbjorklund Sep 26, 2024
e3f822b
Update resources/definitions/ultimaker_method_base.def.json
alanbjorklund Sep 27, 2024
df5c502
Applied printer-linter format
alanbjorklund Sep 27, 2024
077a922
Update resources/definitions/ultimaker_method_base.def.json
alanbjorklund Sep 27, 2024
ab44d87
Applied printer-linter format
alanbjorklund Sep 27, 2024
d095634
Update resources/definitions/ultimaker_method_base.def.json
alanbjorklund Sep 27, 2024
fd29ed6
Applied printer-linter format
alanbjorklund Sep 27, 2024
9a5e544
Update resources/definitions/ultimaker_method_base.def.json
alanbjorklund Sep 27, 2024
531c85f
Applied printer-linter format
alanbjorklund Sep 27, 2024
3557154
Corrected a typo in solid intent files, and removed redundant values …
alanbjorklund Sep 27, 2024
89066d1
removed more redundant values
alanbjorklund Sep 27, 2024
e086772
Update resources/definitions/ultimaker_method_base.def.json
alanbjorklund Sep 27, 2024
fb95341
Applied printer-linter format
alanbjorklund Sep 27, 2024
d5779ae
update GUIDs in FormatMaps.py
alanbjorklund Sep 27, 2024
bb9a4f8
Merge remote-tracking branch 'origin/PP-511-Method-5-9-Rebased' into …
alanbjorklund Sep 27, 2024
2532945
Update resources/definitions/ultimaker_method_base.def.json
alanbjorklund Sep 27, 2024
5577553
Applied printer-linter format
alanbjorklund Sep 27, 2024
5232149
remove redundant values from Tough PLA 175 quality file, standardize …
alanbjorklund Sep 27, 2024
64b21e1
Merge branch 'main' into PP-511-Method-5-9-Rebased
wawanbreton Sep 30, 2024
4f0c77e
Fix disallowed areas definition conflict
wawanbreton Oct 1, 2024
8e5a766
Applied printer-linter format
wawanbreton Oct 1, 2024
acd477d
Adjust Method XL build area
wawanbreton Oct 1, 2024
8e4b85e
Applied printer-linter format
wawanbreton Oct 1, 2024
85c7fed
update method extruder start gcode, exclude all generic materials
alanbjorklund Oct 1, 2024
d1b889b
Re-apply disallowed areas and build area fixes
wawanbreton Oct 2, 2024
c2c3419
Applied printer-linter format
wawanbreton Oct 2, 2024
88df128
Add warning when changing the MATERIAL-MAP list
wawanbreton Oct 2, 2024
6555f5c
Update ultimaker_method_extruder_left.def.json
pkuiper-ultimaker Oct 2, 2024
806a2be
Applied printer-linter format
pkuiper-ultimaker Oct 2, 2024
5561f65
Adjusted start GCode formula Method machines to ensure the fan speed …
pkuiper-ultimaker Oct 2, 2024
4ea8bfd
Update cura.json file to bundle the new material packages.
pkuiper-ultimaker Oct 2, 2024
fec3f3e
Merge branch 'main' into PP-511-Method-5-9-Rebased
wawanbreton Oct 2, 2024
2de9e73
Update setting_version for 5.9
wawanbreton Oct 2, 2024
aa22343
Merge branch 'main' into PP-511-Method-5-9-Rebased
HellAholic Oct 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions cura/PrinterOutput/FormatMaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ class FormatMaps:

# A map from the material-name in their native file-formats to some info, including the internal name we use.
MATERIAL_MAP = {
"abs": {"name": "ABS", "guid": "2780b345-577b-4a24-a2c5-12e6aad3e690"},
"abs": {"name": "ABS", "guid": "e0f1d581-cc6b-4e36-8f3c-3f5601ecba5f"},
"abs-cf10": {"name": "ABS-CF", "guid": "495a0ce5-9daf-4a16-b7b2-06856d82394d"},
"abs-wss1": {"name": "ABS-R", "guid": "88c8919c-6a09-471a-b7b6-e801263d862d"},
"asa": {"name": "ASA", "guid": "f79bc612-21eb-482e-ad6c-87d75bdde066"},
"nylon12-cf": {"name": "Nylon 12 CF", "guid": "3c6f2877-71cc-4760-84e6-4b89ab243e3b"},
"nylon": {"name": "Nylon", "guid": "283d439a-3490-4481-920c-c51d8cdecf9c"},
"nylon-cf": {"name": "Nylon CF", "guid": "17abb865-ca73-4ccd-aeda-38e294c9c60b"},
"nylon": {"name": "Nylon", "guid": "9475b03d-fd19-48a2-b7b5-be1fb46abb02"},
"pc": {"name": "PC", "guid": "62414577-94d1-490d-b1e4-7ef3ec40db02"},
"petg": {"name": "PETG", "guid": "69386c85-5b6c-421a-bec5-aeb1fb33f060"},
"petg": {"name": "PETG", "guid": "2d004bbd-d1bb-47f8-beac-b066702d5273"},
"pla": {"name": "PLA", "guid": "abb9c58e-1f56-48d1-bd8f-055fde3a5b56"},
"pva": {"name": "PVA", "guid": "add51ef2-86eb-4c39-afd5-5586564f0715"},
"wss1": {"name": "RapidRinse", "guid": "a140ef8f-4f26-4e73-abe0-cfc29d6d1024"},
Expand All @@ -44,7 +45,7 @@ class FormatMaps:
"cpe": {"name": "CPE", "guid": "da1872c1-b991-4795-80ad-bdac0f131726"},
"hips": {"name": "HIPS", "guid": "a468d86a-220c-47eb-99a5-bbb47e514eb0"},
"tpu": {"name": "TPU 95A", "guid": "19baa6a9-94ff-478b-b4a1-8157b74358d2"},
"im-pla": {"name": "Tough", "guid": "de031137-a8ca-4a72-bd1b-17bb964033ad"}
"im-pla": {"name": "Tough", "guid": "96fca5d9-0371-4516-9e96-8e8182677f3c"}
wawanbreton marked this conversation as resolved.
Show resolved Hide resolved
}

__inverse_printer_name: Optional[Dict[str, str]] = None
Expand Down
53 changes: 4 additions & 49 deletions resources/definitions/ultimaker_method.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,7 @@
"fabtotum_",
"fdplast_",
"filo3d_",
"generic_asa_175",
"generic_abs_175",
"generic_bvoh_175",
"generic_petg_175",
"generic_pla_175",
"generic_tough_pla_175",
"generic_pva_175",
"generic_cffpa_175",
"generic_cpe_175",
"generic_nylon_175",
"generic_hips_175",
"generic_pc_175",
"generic_tpu_175",
"generic_",
"goofoo_",
"ideagen3D_",
"imade3d_",
Expand All @@ -53,23 +41,22 @@
"ultimaker_absr_175",
"ultimaker_abscf_175",
"ultimaker_bvoh_175",
"ultimaker_petg_175",
"ultimaker_cffpa_175",
"ultimaker_cpe_175",
"ultimaker_nylon_175",
"ultimaker_hips_175",
"ultimaker_pc_175",
"ultimaker_tpu_175",
"ultimaker_tough_pla_175",
"ultimaker_rapidrinse_175",
"ultimaker_sr30",
"ultimaker_metallic_pla_175",
"verbatim_",
"Vertex_",
"volumic_",
"xyzprinting_",
"zyyx_pro_",
"octofiber_",
"fiberlogy_"
"fiberlogy_",
"ultimaker_metallic_pla_175"
],
"has_machine_materials": true,
"has_machine_quality": true,
Expand Down Expand Up @@ -98,39 +85,7 @@
"overrides":
{
"build_volume_temperature": { "maximum_value": "67" },
"machine_depth": { "default_value": 236.48 },
"machine_disallowed_areas":
{
"default_value": [
[
[-141.65, -118.11],
[141.65, -118.11],
[141.65, -94],
[-141.65, -94]
],
[
[-141.65, 118.37],
[141.65, 118.37],
[141.65, 94],
[-141.65, 94]
],
[
[-141.65, -118.11],
[-75, -118.11],
[-75, 118.37],
[-141.65, 118.37]
],
[
[75, -118.11],
[141.65, -118.11],
[141.65, 118.37],
[75, 118.37]
]
]
},
"machine_height": { "default_value": 196 },
"machine_name": { "default_value": "UltiMaker Method" },
"machine_width": { "default_value": 283.3 },
"prime_tower_position_x": { "value": "(150 / 2 + resolveOrValue('prime_tower_size') / 2) if resolveOrValue('machine_shape') == 'elliptic' else (150 - (resolveOrValue('prime_tower_base_size') if (resolveOrValue('adhesion_type') == 'raft' or resolveOrValue('prime_tower_brim_enable')) else 0) - max(max(extruderValues('travel_avoid_distance')) + max(extruderValues('support_offset')) + (extruderValue(skirt_brim_extruder_nr, 'skirt_brim_line_width') * extruderValue(skirt_brim_extruder_nr, 'skirt_line_count') * extruderValue(skirt_brim_extruder_nr, 'initial_layer_line_width_factor') / 100 + extruderValue(skirt_brim_extruder_nr, 'skirt_gap') if resolveOrValue('adhesion_type') == 'skirt' else 0) + (resolveOrValue('draft_shield_dist') if resolveOrValue('draft_shield_enabled') else 0), max(map(abs, extruderValues('machine_nozzle_offset_x'))), 1)) - (150 / 2 if resolveOrValue('machine_center_is_zero') else 0)" },
"prime_tower_position_y": { "value": "190 - prime_tower_size - (resolveOrValue('prime_tower_base_size') if (resolveOrValue('adhesion_type') == 'raft' or resolveOrValue('prime_tower_brim_enable')) else 0) - max(max(extruderValues('travel_avoid_distance')) + max(extruderValues('support_offset')) + (extruderValue(skirt_brim_extruder_nr, 'skirt_brim_line_width') * extruderValue(skirt_brim_extruder_nr, 'skirt_line_count') * extruderValue(skirt_brim_extruder_nr, 'initial_layer_line_width_factor') / 100 + extruderValue(skirt_brim_extruder_nr, 'skirt_gap') if resolveOrValue('adhesion_type') == 'skirt' else 0) + (resolveOrValue('draft_shield_dist') if resolveOrValue('draft_shield_enabled') else 0), max(map(abs, extruderValues('machine_nozzle_offset_y'))), 1) - (190 / 2 if resolveOrValue('machine_center_is_zero') else 0)" }
}
Expand Down
Loading