@ -39,12 +39,12 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
entities = dxfutil.GetIndex(entities)
|
entities = dxfutil.GetIndex(entities)
|
||||||
|
/*
|
||||||
for _, e := range entities {
|
for _, e := range entities {
|
||||||
fmt.Printf("%2d %2s %4s Xs %f Ys %f Xe %f Ye %f\n",
|
fmt.Printf("%2d %2s %4s Xs %f Ys %f Xe %f Ye %f\n",
|
||||||
e.Index, e.G, e.G0, e.Xs, e.Ys, e.Xe, e.Ye)
|
e.Index, e.G, e.G0, e.Xs, e.Ys, e.Xe, e.Ye)
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
dxfutil.GenGcode(entities, iniMap["SAVEAS"])
|
dxfutil.GenGcode(entities, iniMap["SAVEAS"])
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SAVEAS=/home/john/linuxcnc/nc_files/output.ngc
|
SAVEAS=/home/john/linuxcnc/nc_files/output.ngc
|
||||||
TOLERANCE=0.0000001
|
TOLERANCE=0.0001
|
||||||
|
Reference in New Issue
Block a user