Gcode decrease values

I’m starting at Rhino + Grasshopper. i would like to know how do i decrease the values ​​when extracting the Gcode for 3d printing.

You may want to round the numbers to a certain number of decimal places. You can do this using the expression component, python or scaling the value rounding and changing units back.

1 Like

Using the Format component instead, would be a sound alternative:

It gives you overall more flexibility, and allows you to specify the number of decimal places.

Here is how it works:
{<input number>:0.<hash for each decimal number>}

1 Like