Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

13
nc_files/involute.py Normal file
View File

@@ -0,0 +1,13 @@
from math import *
print("G20 F60")
print("G64 P0.001")
print("G0 X0 Y0 Z0")
a=.1
for i in range(100):
t = i/10.
x = a * (cos(t) + t * sin(t))
y = a * (sin(t) - t * cos(t))
print("G1 X%f Y%f" % (x,y))
print("M2")