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

Read info abouy abrasive material and high-flow nozzle #55

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

fiksupojka
Copy link
Collaborator

Adding two more values for Connect metadata, both of them are in slicer metadata, so slicer metadata reading had to be added to file scan when reading data for Connect



def filter_connect_metadata(output: dict) -> dict:
all_metadata = {**output['print'], **output['printer']}
all_metadata = {**output['print'], **output['printer'], **output['slicer']}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neříkali, že nám ty trysky přijdají do těch printer metadat?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jasně že jo, jsem pitiomej, díky!

@@ -144,7 +144,8 @@ def read_metadata(gcodefile: FILEWrapper, type: str = 'printer'):
"support_material", "ironing", "quiet_percent_present",
"quiet_left_present", "quiet_change_in_present", "normal_percent_present",
"normal_left_present", "normal_change_in_present", "layer_info_present",
"max_layer_z", "objects_info", "extruder_colour"]
"max_layer_z", "objects_info", "extruder_colour", "filament_abrasive",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nepřidáš to ještě do testů?

@fiksupojka fiksupojka merged commit 3db61e4 into main Sep 3, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants