Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Program Event or Function Call for 3D Printing Extruder Control

#14
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

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


Messages In This Thread
RE: Program Event or Function Call for 3D Printing Extruder Control - byrobo1973- 06-27-2022, 07:52 AM



Users browsing this thread:
1 Guest(s)