Giter Site home page Giter Site logo

Comments (10)

fieldOfView avatar fieldOfView commented on July 23, 2024 1

It doesn't work, but that is not because the PostProcessingPlugin loads before your plugin, but because the PostProcessingPlugin does not use the resource search paths correctly :-(

https://github.com/Ultimaker/Cura/blob/4.8/plugins/PostProcessingPlugin/PostProcessingPlugin.py#L145
Instead of using getStoragePath, it should be using getAllPathsForType. Oh well, it was worth the try.

from calibration-shapes.

nallath avatar nallath commented on July 23, 2024 1

I just merged the PR.

from calibration-shapes.

5axes avatar 5axes commented on July 23, 2024

Unfortunatly no it doesn't work. Your solution is correct but as the PostProcessingPlugin is launched before my custom plugin, even if the code is correct the scripts are not loaded byt the PostProcessingPlugin via the function : def loadScripts(self, path: str) -> None:

2021-01-18 14:36:53,431 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin PostProcessingPlugin
...
2021-01-18 14:36:54,382 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin SimpleShapes

from calibration-shapes.

nallath avatar nallath commented on July 23, 2024

Whoops, that's our bad :(

from calibration-shapes.

fieldOfView avatar fieldOfView commented on July 23, 2024

It just might be my bad ;-)

nallath/PostProcessingPlugin@12d4d17#diff-29915b71ed69033c978493b7def0019f64e3064ac80c4ab127d74ac5d3c3628bR159

from calibration-shapes.

fieldOfView avatar fieldOfView commented on July 23, 2024

Here's a fix: Ultimaker/Cura#9147

from calibration-shapes.

nallath avatar nallath commented on July 23, 2024

It just might be my bad ;-)

nallath/PostProcessingPlugin@12d4d17#diff-29915b71ed69033c978493b7def0019f64e3064ac80c4ab127d74ac5d3c3628bR159

Well, we were still paying you at that time, so it's our fault :P

from calibration-shapes.

fieldOfView avatar fieldOfView commented on July 23, 2024

Nope, this was a year and 2 days after my last day on the team... But it was your fault for not spotting it in the review ofcourse. It is always your fault.

from calibration-shapes.

nallath avatar nallath commented on July 23, 2024

It is always your fault.

Damn right! :D

from calibration-shapes.

5axes avatar 5axes commented on July 23, 2024

Ok I have modified the source code V1.3.0. Don't need to use the Copy scripts function anymore. Have been removed from the menu thanks for your help @nallath and @fieldOfView

from calibration-shapes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.