Jump to content

UM3 how to use x-fields in the cluster-api/v1/print_jobs API?


backbone

Recommended Posts

Posted · UM3 how to use x-fields in the cluster-api/v1/print_jobs API?

Hello all,

I am trying to send a file to UM3 using cluster-api/print_jobs

cluster-api/v1/print_jobs/

 

In this API, there is an optional input field called x-Fields.

I assume i can use it in order to send info about the printing job file, like limitations for material or extruder type, temperature range and others..

is this correct? how can i use it? in case that  x-Fields is not the right way, is there some other way to do it?

 

in general i see that x-Fields is optional for other APIs as well, where do i get more detailed documentation about using x-Fileds in these various APIs?

it seems that gcode slicing files that were saved from cura, can include such info on them. but i need to find a way to control other files as well (not created from Cura), so i need some way to pass those options to the printer

 

  • Link to post
    Share on other sites

    Posted · UM3 how to use x-fields in the cluster-api/v1/print_jobs API?

     

    3 hours ago, backbone said:

    it seems that gcode slicing files that were saved from cura, can include such info on them. but i need to find a way to control other files as well (not created from Cura)

     

    regarding x-Fields: i have no idea, i guess it's undocumented for a reason...

    Anyway: the printer reads the mentioned (meta-) data from the gcode header only (AFAIK).

    That means: if you want to send gcode files from other sources, you have to add appropriate header (comment) lines at the beginning of the file. Simplify3D - for example - does it with a post processing script.

  • Link to post
    Share on other sites

    Posted · UM3 how to use x-fields in the cluster-api/v1/print_jobs API?
    1 minute ago, tinkergnome said:

    you have to add appropriate header (comment) lines at the beginning of the file. Simplify3D - for example - does it with a post processing script.

     

    Thanks!

    Unfortunately, I will not be the one to create the files for print, or neither will i be able to control them. thats why i am trying to go around and try the x-Fields.

     

  • Link to post
    Share on other sites

    • 1 month later...
    Posted · UM3 how to use x-fields in the cluster-api/v1/print_jobs API?

    If you are forwarding gcode files from a web portal, you can certainly prepend information to the files you send (look first if it has the info already). 

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