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

Create TestPrinterExtruderTrains.py #19037

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HellAholic
Copy link
Contributor

Description

Test that validates every printer is pointing to either an extruder definition or inherits from a printer with an extruder definition.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Printer definition file(s)
  • Translations

How Has This Been Tested?

  • Test A
  • Test B

Test Configuration:

  • Operating System:

Checklist:

@HellAholic HellAholic marked this pull request as draft May 7, 2024 09:52
@casperlamboo
Copy link
Contributor

yza8p5b4ig661

Comment on lines +66 to +67
if file in ["fdmprinter.def.json", "fdmextruder.def.json"]:
continue
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of skipping checks for fdmprinter.def.json and fdmextruder.def.json we can also check if the visible is set to true. Only visible definitions will be presented in the front-end.

https://github.com/Ultimaker/Cura/blob/main/resources/definitions/fdmprinter.def.json#L11C1-L11C26

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.

None yet

2 participants