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

      • UltiMaker Cura 5.8 beta released
        Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
          • Like
        • 1 reply
      • 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
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...