UltiMaker uses functional, analytical and tracking cookies. Tracking cookies enhance your experience on our website and may also collect your personal data outside of Ultimaker websites. If you agree with the use of tracking cookies, click “I agree, continue browsing”. You can withdraw your consent at any time. If you do not consent with the use of tracking cookies, click “Refuse”. You can find more information about cookies on our Privacy and Cookie Policy page.
Posted
· Advice to update a "Tool" Qml plugin file
As usual @fieldOfView your analyse is very acurate. Yes I feal this PyQt6 import not very elegant. But if there is no other simple solution... I will use the french expression : Choose between the plague and the cholera ... I will take the plague
Thanks for your feedback ...
And it's not because I update my plugins that I will make them available on the marketplace. I think I'm still waiting for a stable version of Cura 😄
We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more.
Recommended Posts
Cuq 202
As usual with me : it's not clean but it's working ... Any advice for a better or more elegant solution ?
Link to post
Share on other sites
ahoeben 1,955
If you dislike the unused import, you could use the Cura version instead:
cura_version = Version(Application.getInstance().getVersion()) tool_panel_path = "resources/qml/MeasureTool.qml" if cura_version < Version("5.0.0") and cura_version.getMajor() > 0: tool_panel_path = "resources/qml_qt5/MeasureTool.qml"
But then you need to import UM.Version and UM.Application. Choose your poison.
(good to see that you have decided to update your plugins afterall)
Link to post
Share on other sites
Cuq 202
As usual @fieldOfView your analyse is very acurate. Yes I feal this PyQt6 import not very elegant. But if there is no other simple solution... I will use the french expression : Choose between the plague and the cholera ... I will take the plague
Thanks for your feedback ...
And it's not because I update my plugins that I will make them available on the marketplace. I think I'm still waiting for a stable version of Cura 😄
Link to post
Share on other sites