untested cleanup

This commit is contained in:
Lukas Cremer
2026-02-03 21:28:22 +01:00
parent 9fe02d248f
commit b421b199ca
327 changed files with 373 additions and 6683 deletions

16
generators/refac/Kleber.py Executable file
View File

@@ -0,0 +1,16 @@
import sys
import os
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), '..'))
from Command import *
from Program import *
class Kleber:
def __init__(self):
self.out='IN;SP1;'
def hpgl(self,w,h,d):
dist=1.05
for i in range(w):
for j in range(h):
self.out+=('PU'+str(dist*(i*2*d+d))+','+str(dist*(j*2*d+d))+';CI'+str(d)+';')