Jump to content

How to change default behavior of print button on Cura 13.06


nsa666

Recommended Posts

Posted · How to change default behavior of print button on Cura 13.06

Hello,

Great Update. It is somehow possible to change the default print button behavior from "save GCode.." to "Print with USB.." like it was on 13.04?

 

  • Link to post
    Share on other sites

    Posted · How to change default behavior of print button on Cura 13.06

    You can always do "right mouse button" -> "print with usb"

    But if you think there is a problem somewhere, then some more information then "help, it's not working!" is better, as you know, that gives me something to work with. Else, I can only say "works for me"

     

  • Link to post
    Share on other sites

    Posted · How to change default behavior of print button on Cura 13.06

    I am sorry. Accedentialy pressed the post button.

    in function showPrintWindow (line 166)

     


    if button == 1:
    if machineCom.machineIsConnected():
    printWindow.printFile(self._gcodeFilename)

    the second if allways delivers false even if the printer is connected. I will look at detection code now.

     

  • Link to post
    Share on other sites

    Posted · How to change default behavior of print button on Cura 13.06

    i think i found the bug.

    in machineCom.py line 30:

     


    try:
    key=_winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,"HARDWARE\\DEVICEMAP\\SERIALCOMM")
    i=0
    while True:
    values = _winreg.EnumValue(key, i)
    if not forAutoDetect or 'USBSER' in values[0]:
    baselist+=[values[1]]
    i+=1
    except:

    the reg key looks like:

    com-portsjksyv.png

    The forAutoDetect is True and 'USBSER' is false. The list remains empty. The detection fails. Removing the "not" in front of forAutoDetect seems to help. but i don't know what side effects it has.

     

  • Link to post
    Share on other sites

    Posted · How to change default behavior of print button on Cura 13.06

    Are you using an Ultimaker?

     

  • Link to post
    Share on other sites

    Posted · How to change default behavior of print button on Cura 13.06

    Unfortunatly no. I am using RepRapPro Huxley (Melzi-based).

    Edit: I'm using Windows 8 and the printer is connected to COM9

     

  • Link to post
    Share on other sites

    Posted · How to change default behavior of print button on Cura 13.06

    Ah, look, there is the issue. The auto-detection-serial code assumes that you have an USB-serial device. Apparently Melzi electronics is using a different driver.

    However, I knew this would happen. There is no real issue here, except that you manually need to configure the proper serial port in the preferences, then the auto-detection checks for that serial port instead of finding an USB-Serial device.

    (Note, I have a plan to improve none-Ultimaker support. But I have to do that mostly in my free time. There are a lot of RepRap variations, and the first one I will look at will be the PrintrBot, as I can easy access one)

     

  • Link to post
    Share on other sites

    Posted · How to change default behavior of print button on Cura 13.06

    manually configure port does not help in this case.

     


    if platform.system() == "Windows":
    return port in serialList(True)

    the serialList() return value remains empty. or should i change the True to False?

     

  • Link to post
    Share on other sites

    Posted · How to change default behavior of print button on Cura 13.06

    Ah, yes, fixing that now!

     

  • Link to post
    Share on other sites

    Posted · How to change default behavior of print button on Cura 13.06

    Thank You. It works now. Great software.

     

  • 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.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
        • 18 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...