06-27-2022, 07:52 AM
How do I assign the SPEED_MS variable to sys.argv [2] ??
Self.PRINT_E_NEW is assigned to sys.argv [1]
I want to read these two variables with sparks
I can't pass SPEED_MS to extuder speed I want to send two parameters, speed and quantity of filamant
Thank you
Self.PRINT_E_NEW is assigned to sys.argv [1]
I want to read these two variables with sparks
Code:
import sys
if len(sys.argv) > 1:
E_Value = float(sys.argv[1])
Code:
mport sys
if len(sys.argv) > 2:
e_value = float(sys.argv[2])
if f_value is None :
f_value = 0
I can't pass SPEED_MS to extuder speed I want to send two parameters, speed and quantity of filamant
Thank you