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

Program Event or Function Call for 3D Printing Extruder Control

#13
Code:
import sys
if len(sys.argv) > 1:
E_Value = float(sys.argv[1])

code_E = 'G1 E ' + str(E_Value)

f_value = None

#检查如果我们运行this program inside another program and passing arguments
import sys
if len(sys.argv) > 1:

f_value = float(sys.argv[2])

if f_value is None :
f_value = 0

f_transform = f_value * 60 * 1.5676 # mm/s in mm/min und adaptation for line crossection Q to fed filament Q/pi*(2.85/2)²

code_f = ' G2 F' + str(f_value)

The script reports an error
How to output information about the variable extruder speed and the amount of filament


Attached Files Thumbnail(s)



Messages In This Thread
RE: Program Event or Function Call for 3D Printing Extruder Control - byrobo1973- 06-26-2022,上午10:51



Users browsing this thread:
1 Guest(s)