Jump to content
OUPS65

G-code custom formula in the CURA start code

Recommended Posts

Posted · G-code custom formula in the CURA start code

He,

I print with 0.2 and 0.15 nozzles with CURA 4.0.0. The few cool filament remaining in the nozzle at start tends to generate on  the next print an under-extrusion or worse a clogging. I eliminate this problem  by extruding -before each new print- 5cms at the first layer temperature + 15 °c.

In the same spirit, I fully retract the filament at the end of each print : G1 E-160 F600 … again with an extrudeur T° set at first layer temperature +15°.

It works perfectly and I have no more worries.

I set both higher T° manually in my start/end g_codes but have to update them  at each first layer T° change (filament change).

In the start/end g_code, the formula  M104 S {material_print_temperature_layer_0}  to obtain a T ° equal to the first layer T° defined in CURA 4.0.0 profile works fine.

But how to increase it by + 15 ° ?

I tried unsuccessfully various formulas: M104 S{material_print_temperature_layer_0 + 15} or M104 S {material_print_temperature_layer_0    +15}, or M104 S{(material_print_temperature_layer_0) +15} or M104 S {material_print_temperature_layer_0 * 1.1}

None works.

Any suggestion ?

Many tks

Philippe

Share this post


Link to post
Share on other sites
Posted · G-code custom formula in the CURA start code

You can not do arithmetic in Gcode snippets in Cura, sorry.

Share this post


Link to post
Share on other sites
Posted · G-code custom formula in the CURA start code

Tks for your answer.

kind regards

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 98 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!