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

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