Jump to content

Cura 15.04.03 - Buchstabe für Extruder-Achse ändern möglich?


MichaF

Recommended Posts

Posted · Cura 15.04.03 - Buchstabe für Extruder-Achse ändern möglich?

Hallo Community,

ich bin hier neu und grüße euch alle.

Kurz zu meinem Drucker: es ist eigentlich eine 4-Achsen CNC-Fräse mit Mach3 als Steurengssoftware, ich habe die Mashine um 3D Druck-option erweitert. Eine Achse war noch frei und zwar B-Achse. Diese habe ich dann mit Extruder belegt.

Jetzt ist die Frage: was muss ich einstellen, damit Cura mir den Extruder als "B" ausgibt? Ich habe diese Einstellung nirgends gefunden. Als Drucker habe ich "andere" und im nächstem Fenster "Benutzerdefiniert" ausgesucht.

Ich schreibe hier absichtlich nicht zu viele Informationen, damit man sich auf eigentliche Frage konzentrieren kann, wenn aber weiter Informationen zu Beantwortung notwendig sind - sagt mir bitte welche, die kommen dann!

MFG

Michael

  • Link to post
    Share on other sites

    Posted · Cura 15.04.03 - Buchstabe für Extruder-Achse ändern möglich?

    I would be a custom written script. And I've not written anything like that for version 15.x of Cura, only Cura 2.x

    If I am understanding correctly, you would want the g-code:

    G1 X90.6 Y13.8 E22.4

    to change to:

    G1 X90.6 Y13.8 B22.4

    as an example. correct?

  • Link to post
    Share on other sites

    Posted · Cura 15.04.03 - Buchstabe für Extruder-Achse ändern möglich?

    Ich habe das mit "suchen und ersetzen" im normalem Texteditor bis jetzt paar mal gemacht, aber ich habe gehofft, es geht komfortabler.

  • Link to post
    Share on other sites

    Posted · Cura 15.04.03 - Buchstabe für Extruder-Achse ändern möglich?

    I'm looking at some of the version 15.x plugins. They look pretty straightforward. Give me 24hrs and I should have something for your to try...

  • Link to post
    Share on other sites

    Posted (edited) · Cura 15.04.03 - Buchstabe für Extruder-Achse ändern möglich?

    Here's your plugin. Place it in the C:\Program Files (x86)\Cura_15.nn.n\plugins folder and restart Cura:

    #Name: NozzleB
    #Info: Replace Extruder 'E' designator with 'B'
    #Depend: GCode
    #Type: postprocess
    __copyright__ = "Written by Da Hai Zhu - No copyright. Use as you wish. Caveat Emptor"
    import re
    from Cura.util import profile
    # Read the ENTIRE g-code file into memory
    with open(filename, "r") as f:
       lines = f.readlines()
    with open(filename, "w") as f:
       for lIndex in xrange(len(lines)):
           line = lines[lIndex]
           if ("G0" in line or "G1" in line) and ("E" in line) :
               line = re.sub("E","B",line)
           f.write(line+'\r\n')
    

    Python is persnickety, so if you have problems with this running via copy/paste from this screen, download it here:

    http://bitman.org/dahai/NozzleB.zip

    Let me know how it goes!

    Edited by Guest
  • Link to post
    Share on other sites

    Posted · Cura 15.04.03 - Buchstabe für Extruder-Achse ändern möglich?

    Hallo, vielen Dank, das hat funktioniert!!

    Ich habe aber noch in Cura unter "Erweiterungen" die "NozzleB" auswählen müssen. Und ich habe noch eine Kleinigkeit nicht gesagt: Cura hat mir den Extruder nicht als "E", sondern als "A" immer ausgegeben. Ich habe aber den Script problemlos anpassen können - sind ja nur paar Zeilen.

    Sieht jetz so aus:

    #Name: NozzleB

    #Info: Replace Extruder 'A' designator with 'B'

    #Depend: GCode

    #Type: postprocess

    __copyright__ = "Written by Da Hai Zhu - No copyright. Use as you wish. Caveat Emptor"

    import re

    from Cura.util import profile

    # Read the ENTIRE g-code file into memory

    with open(filename, "r") as f:

    lines = f.readlines()

    with open(filename, "w") as f:

    for lIndex in xrange(len(lines)):

    line = lines[lIndex]

    if ("G0" in line or "G1" in line) and ("A" in line) :

    line = re.sub("A","B",line)

    f.write(line+'\r\n')

    Nochmals vielen Dank, sehr gute Hilfe!!

    Schönes Wochende!

  • 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 Universal Cura Projects in the UltiMaker Cura 5.7 beta
        Strap in for the first Cura release of 2024! This 5.7 beta release brings new material profiles as well as cloud printing for Method series printers, and introduces a powerful new way of sharing print settings using printer-agnostic project files! Also, if you want to download the cute dinosaur card holder featured below, it was specially designed for this release and can be found on Thingiverse! 
          • Like
        • 10 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...