Jump to content

Plugin perso avec cura 4.4.0


jpw

Recommended Posts

Posted · Plugin perso avec cura 4.4.0

Bonjour

J'ai installé cura 4.4.0. J'ai voulu modifier un plugin (afficher les layers) pour traduire les messages en français en utilisant le bloc notes comme éditeur.

Maintenant, cura ne me propose plus ce plugin et je ne peux plus l'utiliser. Pourtant il est présent dans de dossier des plugins.

avec l'extension .py

Pourquoi?

Merci de votre aide.

  • Link to post
    Share on other sites

    Posted · Plugin perso avec cura 4.4.0

    Le plugin avait pris l'extension .txt (cachée). Après suppression de cette mauvaise extension, au lancement de cura, cura recrée le script avec l'extension .cpython-35.pyc dans le dossier __pycache__.

    Mais le plugin n'apparait toujours pas (plus) là ou il devrait apparaitre dans cura (Extensions ->Post-traitement->Modifier le G-Code->Ajouter un script).

    Une idée?

  • Link to post
    Share on other sites

    Posted · Plugin perso avec cura 4.4.0

    Euréka!

    Pour que le plugin apparaisse, il faut que, dans le script, les syntaxes soient identiques au niveau

    1)  du nom du script -   ex:       AffichecouchesurLCD.py

    2) dans le script, la class  - ex: class AffichecouchesurLCD(Script)

    3) dans la ligne key -    ex:      "key": "AffichecouchesurLCD",

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Introducing the UltiMaker Factor 4
        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
          • Like
        • 2 replies
      • UltiMaker Cura 5.7 stable released
        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. 
         
          • Like
        • 26 replies
    ×
    ×
    • Create New...