Jump to content
Ultimaker Community of 3D Printing Experts

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


backbone
 Share

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
     Share

    • Our picks

      • The Ultimaker Showcase — October 14. What's new?
        Your dear friends at Ultimaker have some exciting news and insights for you!
         
        • 0 replies
      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 8 replies
    ×
    ×
    • Create New...