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

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

View File

@@ -0,0 +1,400 @@
( AXIS "splash g-code" )
( Not intended for actual milling )
#1=.1 (SH)
#2=.01 (CUT)
#3=.00015 (SCALE)
#4=60 (FEED)
G20
(Character: 'E') M1
F#4
G00 Z [.5+1536.00*#3] X [.75-2556.00*#3]
G01 Z [.5+1236.00*#3] X [.75-1482.00*#3]
G01 Z [.5+1327.00*#3] X [.75-1482.00*#3]
G01 Z [.5+1851.00*#3] X [.75-1594.00*#3]
G01 Z [.5+1930.19*#3] X [.75-1660.75*#3]
G01 Z [.5+2002.75*#3] X [.75-1749.00*#3]
G01 Z [.5+2068.69*#3] X [.75-1858.75*#3]
G01 Z [.5+2128.00*#3] X [.75-1990.00*#3]
G01 Z [.5+2199.00*#3] X [.75-1990.00*#3]
G01 Z [.5+1906.00*#3] X [.75-884.00*#3]
G01 Z [.5+1838.00*#3] X [.75-884.00*#3]
G01 Z [.5+1856.00*#3] X [.75-1051.00*#3]
G01 Z [.5+1791.00*#3] X [.75-1227.00*#3]
G01 Z [.5+1623.00*#3] X [.75-1324.00*#3]
G01 Z [.5+1343.00*#3] X [.75-1344.00*#3]
G01 Z [.5+1188.00*#3] X [.75-1344.00*#3]
G01 Z [.5+930.00*#3] X [.75-481.00*#3]
G01 Z [.5+896.00*#3] X [.75-312.00*#3]
G01 Z [.5+939.00*#3] X [.75-242.00*#3]
G01 Z [.5+1178.00*#3] X [.75-204.00*#3]
G01 Z [.5+1506.00*#3] X [.75-239.00*#3]
G01 Z [.5+1814.00*#3] X [.75-344.00*#3]
G01 Z [.5+1958.88*#3] X [.75-423.00*#3]
G01 Z [.5+2095.50*#3] X [.75-520.00*#3]
G01 Z [.5+2223.88*#3] X [.75-635.00*#3]
G01 Z [.5+2344.00*#3] X [.75-768.00*#3]
G01 Z [.5+2423.00*#3] X [.75-768.00*#3]
G01 Z [.5+2151.00*#3] X [.75-0.00*#3]
G01 Z [.5+-152.00*#3] X [.75-0.00*#3]
G01 Z [.5+-128.00*#3] X [.75-118.00*#3]
G01 Z [.5+170.00*#3] X [.75-193.00*#3]
G01 Z [.5+260.25*#3] X [.75-314.50*#3]
G01 Z [.5+341.00*#3] X [.75-527.00*#3]
G01 Z [.5+854.00*#3] X [.75-2243.00*#3]
G01 Z [.5+896.00*#3] X [.75-2469.00*#3]
G01 Z [.5+840.00*#3] X [.75-2583.00*#3]
G01 Z [.5+592.00*#3] X [.75-2624.00*#3]
G01 Z [.5+614.00*#3] X [.75-2742.00*#3]
G01 Z [.5+2746.00*#3] X [.75-2742.00*#3]
G01 Z [.5+2572.00*#3] X [.75-2028.00*#3]
G01 Z [.5+2496.00*#3] X [.75-2028.00*#3]
G01 Z [.5+2443.00*#3] X [.75-2310.00*#3]
G01 Z [.5+2347.50*#3] X [.75-2420.75*#3]
G01 Z [.5+2225.00*#3] X [.75-2497.00*#3]
G01 Z [.5+1784.00*#3] X [.75-2556.00*#3]
G01 Z [.5+1536.00*#3] X [.75-2556.00*#3]
(Character: 'M') M1
G00 Z [.5+4222.00*#3] X [.75-2742.00*#3]
G01 Z [.5+4424.00*#3] X [.75-873.00*#3]
G01 Z [.5+5726.00*#3] X [.75-2742.00*#3]
G01 Z [.5+6676.00*#3] X [.75-2742.00*#3]
G01 Z [.5+6652.00*#3] X [.75-2624.00*#3]
G01 Z [.5+6354.00*#3] X [.75-2542.00*#3]
G01 Z [.5+6259.50*#3] X [.75-2419.75*#3]
G01 Z [.5+6180.00*#3] X [.75-2217.00*#3]
G01 Z [.5+5680.00*#3] X [.75-517.00*#3]
G01 Z [.5+5632.00*#3] X [.75-279.00*#3]
G01 Z [.5+5692.00*#3] X [.75-162.00*#3]
G01 Z [.5+5928.00*#3] X [.75-118.00*#3]
G01 Z [.5+5910.00*#3] X [.75-0.00*#3]
G01 Z [.5+4546.00*#3] X [.75-0.00*#3]
G01 Z [.5+4570.00*#3] X [.75-118.00*#3]
G01 Z [.5+4895.00*#3] X [.75-199.00*#3]
G01 Z [.5+4992.00*#3] X [.75-320.00*#3]
G01 Z [.5+5073.00*#3] X [.75-521.00*#3]
G01 Z [.5+5588.00*#3] X [.75-2239.00*#3]
G01 Z [.5+4021.00*#3] X [.75-0.00*#3]
G01 Z [.5+3938.00*#3] X [.75-0.00*#3]
G01 Z [.5+3691.00*#3] X [.75-2282.00*#3]
G01 Z [.5+3168.00*#3] X [.75-516.00*#3]
G01 Z [.5+3136.00*#3] X [.75-336.00*#3]
G01 Z [.5+3205.00*#3] X [.75-178.00*#3]
G01 Z [.5+3443.00*#3] X [.75-118.00*#3]
G01 Z [.5+3423.00*#3] X [.75-0.00*#3]
G01 Z [.5+2524.00*#3] X [.75-0.00*#3]
G01 Z [.5+2542.00*#3] X [.75-118.00*#3]
G01 Z [.5+2790.00*#3] X [.75-179.00*#3]
G01 Z [.5+2921.75*#3] X [.75-317.75*#3]
G01 Z [.5+3011.00*#3] X [.75-516.00*#3]
G01 Z [.5+3600.00*#3] X [.75-2479.00*#3]
G01 Z [.5+3519.25*#3] X [.75-2553.25*#3]
G01 Z [.5+3447.00*#3] X [.75-2596.00*#3]
G01 Z [.5+3221.00*#3] X [.75-2624.00*#3]
G01 Z [.5+3245.00*#3] X [.75-2742.00*#3]
G01 Z [.5+4222.00*#3] X [.75-2742.00*#3]
(Character: 'C') M1
G00 Z [.5+9246.00*#3] X [.75-2806.00*#3]
G01 Z [.5+9046.00*#3] X [.75-1920.00*#3]
G01 Z [.5+8960.00*#3] X [.75-1920.00*#3]
G01 Z [.5+8920.50*#3] X [.75-2229.75*#3]
G01 Z [.5+8871.12*#3] X [.75-2350.69*#3]
G01 Z [.5+8802.00*#3] X [.75-2449.00*#3]
G01 Z [.5+8717.44*#3] X [.75-2525.56*#3]
G01 Z [.5+8620.75*#3] X [.75-2580.25*#3]
G01 Z [.5+8391.00*#3] X [.75-2624.00*#3]
G01 Z [.5+8117.50*#3] X [.75-2565.25*#3]
G01 Z [.5+7981.12*#3] X [.75-2491.81*#3]
G01 Z [.5+7845.00*#3] X [.75-2389.00*#3]
G01 Z [.5+7714.25*#3] X [.75-2255.94*#3]
G01 Z [.5+7594.00*#3] X [.75-2091.75*#3]
G01 Z [.5+7484.25*#3] X [.75-1896.44*#3]
G01 Z [.5+7385.00*#3] X [.75-1670.00*#3]
G01 Z [.5+7318.06*#3] X [.75-1474.56*#3]
G01 Z [.5+7270.25*#3] X [.75-1280.25*#3]
G01 Z [.5+7232.00*#3] X [.75-895.00*#3]
G01 Z [.5+7273.75*#3] X [.75-593.25*#3]
G01 Z [.5+7325.94*#3] X [.75-472.56*#3]
G01 Z [.5+7399.00*#3] X [.75-372.00*#3]
G01 Z [.5+7490.25*#3] X [.75-293.25*#3]
G01 Z [.5+7597.00*#3] X [.75-237.00*#3]
G01 Z [.5+7857.00*#3] X [.75-192.00*#3]
G01 Z [.5+8286.00*#3] X [.75-297.00*#3]
G01 Z [.5+8383.19*#3] X [.75-358.19*#3]
G01 Z [.5+8480.75*#3] X [.75-435.75*#3]
G01 Z [.5+8578.69*#3] X [.75-529.69*#3]
G01 Z [.5+8677.00*#3] X [.75-640.00*#3]
G01 Z [.5+8772.00*#3] X [.75-640.00*#3]
G01 Z [.5+8710.67*#3] X [.75-546.14*#3]
G01 Z [.5+8649.19*#3] X [.75-459.56*#3]
G01 Z [.5+8525.75*#3] X [.75-308.25*#3]
G01 Z [.5+8401.69*#3] X [.75-186.06*#3]
G01 Z [.5+8277.00*#3] X [.75-93.00*#3]
G01 Z [.5+8145.44*#3] X [.75-24.31*#3]
G01 Z [.5+7999.75*#3] X [.75--24.75*#3]
G01 Z [.5+7666.00*#3] X [.75--64.00*#3]
G01 Z [.5+7229.25*#3] X [.75-11.00*#3]
G01 Z [.5+7046.31*#3] X [.75-104.75*#3]
G01 Z [.5+6887.00*#3] X [.75-236.00*#3]
G01 Z [.5+6817.86*#3] X [.75-314.11*#3]
G01 Z [.5+6757.94*#3] X [.75-397.94*#3]
G01 Z [.5+6665.75*#3] X [.75-582.75*#3]
G01 Z [.5+6592.00*#3] X [.75-1021.00*#3]
G01 Z [.5+6650.75*#3] X [.75-1463.75*#3]
G01 Z [.5+6724.19*#3] X [.75-1677.44*#3]
G01 Z [.5+6827.00*#3] X [.75-1886.00*#3]
G01 Z [.5+6888.97*#3] X [.75-1986.53*#3]
G01 Z [.5+6957.38*#3] X [.75-2082.12*#3]
G01 Z [.5+7032.22*#3] X [.75-2172.78*#3]
G01 Z [.5+7113.50*#3] X [.75-2258.50*#3]
G01 Z [.5+7201.22*#3] X [.75-2339.28*#3]
G01 Z [.5+7295.38*#3] X [.75-2415.12*#3]
G01 Z [.5+7395.97*#3] X [.75-2486.03*#3]
G01 Z [.5+7503.00*#3] X [.75-2552.00*#3]
G01 Z [.5+7613.41*#3] X [.75-2611.53*#3]
G01 Z [.5+7723.62*#3] X [.75-2663.12*#3]
G01 Z [.5+7943.50*#3] X [.75-2742.50*#3]
G01 Z [.5+8381.00*#3] X [.75-2806.00*#3]
G01 Z [.5+8794.00*#3] X [.75-2727.00*#3]
G01 Z [.5+8971.00*#3] X [.75-2688.00*#3]
G01 Z [.5+9172.00*#3] X [.75-2806.00*#3]
G01 Z [.5+9246.00*#3] X [.75-2806.00*#3]
(Character: '2') M1
G00 Z [.5+10434.00*#3] X [.75-0.00*#3]
G01 Z [.5+9024.00*#3] X [.75-0.00*#3]
G01 Z [.5+9024.00*#3] X [.75-72.00*#3]
G01 Z [.5+9158.81*#3] X [.75-202.05*#3]
G01 Z [.5+9288.25*#3] X [.75-329.19*#3]
G01 Z [.5+9412.31*#3] X [.75-453.42*#3]
G01 Z [.5+9531.00*#3] X [.75-574.75*#3]
G01 Z [.5+9644.31*#3] X [.75-693.17*#3]
G01 Z [.5+9752.25*#3] X [.75-808.69*#3]
G01 Z [.5+9854.81*#3] X [.75-921.30*#3]
G01 Z [.5+9952.00*#3] X [.75-1031.00*#3]
G01 Z [.5+10027.56*#3] X [.75-1118.09*#3]
G01 Z [.5+10095.75*#3] X [.75-1199.88*#3]
G01 Z [.5+10210.00*#3] X [.75-1347.50*#3]
G01 Z [.5+10294.75*#3] X [.75-1473.88*#3]
G01 Z [.5+10350.00*#3] X [.75-1579.00*#3]
G01 Z [.5+10411.50*#3] X [.75-1769.50*#3]
G01 Z [.5+10432.00*#3] X [.75-1961.00*#3]
G01 Z [.5+10319.00*#3] X [.75-2255.00*#3]
G01 Z [.5+10192.75*#3] X [.75-2339.75*#3]
G01 Z [.5+10038.00*#3] X [.75-2368.00*#3]
G01 Z [.5+9785.50*#3] X [.75-2293.00*#3]
G01 Z [.5+9673.88*#3] X [.75-2199.25*#3]
G01 Z [.5+9572.00*#3] X [.75-2068.00*#3]
G01 Z [.5+9500.00*#3] X [.75-2101.00*#3]
G01 Z [.5+9554.75*#3] X [.75-2237.81*#3]
G01 Z [.5+9617.00*#3] X [.75-2357.25*#3]
G01 Z [.5+9686.75*#3] X [.75-2459.31*#3]
G01 Z [.5+9764.00*#3] X [.75-2544.00*#3]
G01 Z [.5+9881.38*#3] X [.75-2635.00*#3]
G01 Z [.5+10008.50*#3] X [.75-2700.00*#3]
G01 Z [.5+10292.00*#3] X [.75-2752.00*#3]
G01 Z [.5+10549.75*#3] X [.75-2708.25*#3]
G01 Z [.5+10660.44*#3] X [.75-2653.56*#3]
G01 Z [.5+10759.00*#3] X [.75-2577.00*#3]
G01 Z [.5+10839.94*#3] X [.75-2486.50*#3]
G01 Z [.5+10897.75*#3] X [.75-2389.00*#3]
G01 Z [.5+10944.00*#3] X [.75-2173.00*#3]
G01 Z [.5+10854.00*#3] X [.75-1773.00*#3]
G01 Z [.5+10797.06*#3] X [.75-1668.19*#3]
G01 Z [.5+10716.25*#3] X [.75-1550.75*#3]
G01 Z [.5+10611.56*#3] X [.75-1420.69*#3]
G01 Z [.5+10483.00*#3] X [.75-1278.00*#3]
G01 Z [.5+10347.81*#3] X [.75-1140.62*#3]
G01 Z [.5+10259.45*#3] X [.75-1054.41*#3]
G01 Z [.5+10157.25*#3] X [.75-956.50*#3]
G01 Z [.5+10041.20*#3] X [.75-846.91*#3]
G01 Z [.5+9911.31*#3] X [.75-725.62*#3]
G01 Z [.5+9767.58*#3] X [.75-592.66*#3]
G01 Z [.5+9690.52*#3] X [.75-521.79*#3]
G01 Z [.5+9610.00*#3] X [.75-448.00*#3]
G01 Z [.5+10121.00*#3] X [.75-448.00*#3]
G01 Z [.5+10466.00*#3] X [.75-512.00*#3]
G01 Z [.5+10561.75*#3] X [.75-608.00*#3]
G01 Z [.5+10651.00*#3] X [.75-768.00*#3]
G01 Z [.5+10743.00*#3] X [.75-768.00*#3]
G01 Z [.5+10434.00*#3] X [.75-0.00*#3]
(Character: ' ') M1
(Character: 'A') M1
G00 Z [.5+13720.00*#3] X [.75-842.00*#3]
G01 Z [.5+12909.00*#3] X [.75-842.00*#3]
G01 Z [.5+12745.00*#3] X [.75-653.00*#3]
G01 Z [.5+12535.00*#3] X [.75-445.00*#3]
G01 Z [.5+12439.00*#3] X [.75-322.00*#3]
G01 Z [.5+12416.00*#3] X [.75-237.00*#3]
G01 Z [.5+12475.00*#3] X [.75-155.00*#3]
G01 Z [.5+12672.00*#3] X [.75-118.00*#3]
G01 Z [.5+12672.00*#3] X [.75-0.00*#3]
G01 Z [.5+11826.00*#3] X [.75-0.00*#3]
G01 Z [.5+11846.00*#3] X [.75-115.00*#3]
G01 Z [.5+12038.00*#3] X [.75-186.00*#3]
G01 Z [.5+12174.50*#3] X [.75-296.75*#3]
G01 Z [.5+12261.12*#3] X [.75-381.19*#3]
G01 Z [.5+12360.00*#3] X [.75-485.00*#3]
G01 Z [.5+14294.00*#3] X [.75-2816.00*#3]
G01 Z [.5+14336.00*#3] X [.75-2816.00*#3]
G01 Z [.5+14336.00*#3] X [.75-552.00*#3]
G01 Z [.5+14336.00*#3] X [.75-360.00*#3]
G01 Z [.5+14367.00*#3] X [.75-176.00*#3]
G01 Z [.5+14526.00*#3] X [.75-118.00*#3]
G01 Z [.5+14506.00*#3] X [.75-0.00*#3]
G01 Z [.5+13343.00*#3] X [.75-0.00*#3]
G01 Z [.5+13365.00*#3] X [.75-115.00*#3]
G01 Z [.5+13561.00*#3] X [.75-142.00*#3]
G01 Z [.5+13670.00*#3] X [.75-247.00*#3]
G01 Z [.5+13720.00*#3] X [.75-528.00*#3]
G01 Z [.5+13720.00*#3] X [.75-842.00*#3]
G00 Z [.5+13760.00*#3] X [.75-1024.00*#3]
G01 Z [.5+13760.00*#3] X [.75-1937.00*#3]
G01 Z [.5+13045.00*#3] X [.75-1024.00*#3]
G01 Z [.5+13760.00*#3] X [.75-1024.00*#3]
(Character: 'X') M1
G00 Z [.5+15986.00*#3] X [.75-1274.00*#3]
G01 Z [.5+15565.00*#3] X [.75-2238.00*#3]
G01 Z [.5+15464.50*#3] X [.75-2444.50*#3]
G01 Z [.5+15385.00*#3] X [.75-2554.00*#3]
G01 Z [.5+15168.00*#3] X [.75-2633.00*#3]
G01 Z [.5+15168.00*#3] X [.75-2742.00*#3]
G01 Z [.5+16370.00*#3] X [.75-2742.00*#3]
G01 Z [.5+16347.00*#3] X [.75-2624.00*#3]
G01 Z [.5+16173.00*#3] X [.75-2584.00*#3]
G01 Z [.5+16128.00*#3] X [.75-2480.00*#3]
G01 Z [.5+16199.00*#3] X [.75-2241.00*#3]
G01 Z [.5+16442.00*#3] X [.75-1682.00*#3]
G01 Z [.5+16763.00*#3] X [.75-1982.00*#3]
G01 Z [.5+16885.81*#3] X [.75-2098.25*#3]
G01 Z [.5+16984.25*#3] X [.75-2199.00*#3]
G01 Z [.5+17058.31*#3] X [.75-2284.25*#3]
G01 Z [.5+17108.00*#3] X [.75-2354.00*#3]
G01 Z [.5+17152.00*#3] X [.75-2485.00*#3]
G01 Z [.5+17105.00*#3] X [.75-2581.00*#3]
G01 Z [.5+16954.00*#3] X [.75-2624.00*#3]
G01 Z [.5+16977.00*#3] X [.75-2742.00*#3]
G01 Z [.5+17856.00*#3] X [.75-2742.00*#3]
G01 Z [.5+17838.00*#3] X [.75-2633.00*#3]
G01 Z [.5+17656.00*#3] X [.75-2559.00*#3]
G01 Z [.5+17480.25*#3] X [.75-2425.50*#3]
G01 Z [.5+17359.56*#3] X [.75-2321.62*#3]
G01 Z [.5+17217.00*#3] X [.75-2193.00*#3]
G01 Z [.5+16501.00*#3] X [.75-1537.00*#3]
G01 Z [.5+16896.00*#3] X [.75-602.00*#3]
G01 Z [.5+16960.19*#3] X [.75-457.69*#3]
G01 Z [.5+17015.75*#3] X [.75-344.75*#3]
G01 Z [.5+17101.00*#3] X [.75-213.00*#3]
G01 Z [.5+17310.00*#3] X [.75-118.00*#3]
G01 Z [.5+17290.00*#3] X [.75-0.00*#3]
G01 Z [.5+16112.00*#3] X [.75-0.00*#3]
G01 Z [.5+16136.00*#3] X [.75-118.00*#3]
G01 Z [.5+16324.00*#3] X [.75-166.00*#3]
G01 Z [.5+16384.00*#3] X [.75-286.00*#3]
G01 Z [.5+16269.00*#3] X [.75-633.00*#3]
G01 Z [.5+16046.00*#3] X [.75-1133.00*#3]
G01 Z [.5+15547.00*#3] X [.75-675.00*#3]
G01 Z [.5+15440.88*#3] X [.75-575.94*#3]
G01 Z [.5+15359.50*#3] X [.75-495.75*#3]
G01 Z [.5+15271.00*#3] X [.75-392.00*#3]
G01 Z [.5+15232.00*#3] X [.75-267.00*#3]
G01 Z [.5+15288.00*#3] X [.75-163.00*#3]
G01 Z [.5+15471.00*#3] X [.75-118.00*#3]
G01 Z [.5+15448.00*#3] X [.75-0.00*#3]
G01 Z [.5+14508.00*#3] X [.75-0.00*#3]
G01 Z [.5+14528.00*#3] X [.75-118.00*#3]
G01 Z [.5+14710.00*#3] X [.75-183.00*#3]
G01 Z [.5+14808.38*#3] X [.75-246.12*#3]
G01 Z [.5+14917.50*#3] X [.75-326.50*#3]
G01 Z [.5+15037.38*#3] X [.75-424.12*#3]
G01 Z [.5+15168.00*#3] X [.75-539.00*#3]
G01 Z [.5+15986.00*#3] X [.75-1274.00*#3]
(Character: 'I') M1
G00 Z [.5+18040.00*#3] X [.75-2624.00*#3]
G01 Z [.5+18062.00*#3] X [.75-2742.00*#3]
G01 Z [.5+19386.00*#3] X [.75-2742.00*#3]
G01 Z [.5+19360.00*#3] X [.75-2624.00*#3]
G01 Z [.5+19085.00*#3] X [.75-2545.00*#3]
G01 Z [.5+18995.75*#3] X [.75-2424.50*#3]
G01 Z [.5+18918.00*#3] X [.75-2219.00*#3]
G01 Z [.5+18422.00*#3] X [.75-521.00*#3]
G01 Z [.5+18368.00*#3] X [.75-280.00*#3]
G01 Z [.5+18424.00*#3] X [.75-171.00*#3]
G01 Z [.5+18696.00*#3] X [.75-118.00*#3]
G01 Z [.5+18676.00*#3] X [.75-0.00*#3]
G01 Z [.5+17330.00*#3] X [.75-0.00*#3]
G01 Z [.5+17352.00*#3] X [.75-118.00*#3]
G01 Z [.5+17648.00*#3] X [.75-193.00*#3]
G01 Z [.5+17738.25*#3] X [.75-314.00*#3]
G01 Z [.5+17819.00*#3] X [.75-525.00*#3]
G01 Z [.5+18322.00*#3] X [.75-2231.00*#3]
G01 Z [.5+18368.00*#3] X [.75-2469.00*#3]
G01 Z [.5+18311.00*#3] X [.75-2582.00*#3]
G01 Z [.5+18040.00*#3] X [.75-2624.00*#3]
(Character: 'S') M1
G00 Z [.5+21404.00*#3] X [.75-2752.00*#3]
G01 Z [.5+21178.00*#3] X [.75-1856.00*#3]
G01 Z [.5+21112.00*#3] X [.75-1856.00*#3]
G01 Z [.5+21036.00*#3] X [.75-2191.00*#3]
G01 Z [.5+20942.50*#3] X [.75-2352.00*#3]
G01 Z [.5+20822.00*#3] X [.75-2471.00*#3]
G01 Z [.5+20683.50*#3] X [.75-2545.25*#3]
G01 Z [.5+20534.00*#3] X [.75-2570.00*#3]
G01 Z [.5+20272.00*#3] X [.75-2454.00*#3]
G01 Z [.5+20188.00*#3] X [.75-2331.25*#3]
G01 Z [.5+20160.00*#3] X [.75-2193.00*#3]
G01 Z [.5+20231.00*#3] X [.75-1910.00*#3]
G01 Z [.5+20355.50*#3] X [.75-1732.50*#3]
G01 Z [.5+20457.88*#3] X [.75-1614.88*#3]
G01 Z [.5+20587.00*#3] X [.75-1478.00*#3]
G01 Z [.5+20697.12*#3] X [.75-1365.31*#3]
G01 Z [.5+20787.50*#3] X [.75-1261.25*#3]
G01 Z [.5+20858.12*#3] X [.75-1165.81*#3]
G01 Z [.5+20909.00*#3] X [.75-1079.00*#3]
G01 Z [.5+20992.00*#3] X [.75-720.00*#3]
G01 Z [.5+20879.00*#3] X [.75-320.00*#3]
G01 Z [.5+20816.62*#3] X [.75-233.62*#3]
G01 Z [.5+20741.50*#3] X [.75-157.50*#3]
G01 Z [.5+20653.62*#3] X [.75-91.62*#3]
G01 Z [.5+20553.00*#3] X [.75-36.00*#3]
G01 Z [.5+20325.50*#3] X [.75--39.00*#3]
G01 Z [.5+20069.00*#3] X [.75--64.00*#3]
G01 Z [.5+19639.00*#3] X [.75--32.00*#3]
G01 Z [.5+19290.00*#3] X [.75-0.00*#3]
G01 Z [.5+19168.00*#3] X [.75--13.00*#3]
G01 Z [.5+19034.00*#3] X [.75--64.00*#3]
G01 Z [.5+18956.00*#3] X [.75--64.00*#3]
G01 Z [.5+19198.00*#3] X [.75-960.00*#3]
G01 Z [.5+19274.00*#3] X [.75-960.00*#3]
G01 Z [.5+19382.00*#3] X [.75-511.00*#3]
G01 Z [.5+19481.50*#3] X [.75-346.25*#3]
G01 Z [.5+19616.00*#3] X [.75-222.00*#3]
G01 Z [.5+19778.75*#3] X [.75-144.00*#3]
G01 Z [.5+19963.00*#3] X [.75-118.00*#3]
G01 Z [.5+20286.00*#3] X [.75-245.00*#3]
G01 Z [.5+20383.50*#3] X [.75-383.00*#3]
G01 Z [.5+20416.00*#3] X [.75-543.00*#3]
G01 Z [.5+20350.00*#3] X [.75-822.00*#3]
G01 Z [.5+20235.25*#3] X [.75-989.50*#3]
G01 Z [.5+20141.31*#3] X [.75-1098.38*#3]
G01 Z [.5+20023.00*#3] X [.75-1224.00*#3]
G01 Z [.5+19902.38*#3] X [.75-1354.06*#3]
G01 Z [.5+19801.50*#3] X [.75-1476.25*#3]
G01 Z [.5+19720.38*#3] X [.75-1590.56*#3]
G01 Z [.5+19659.00*#3] X [.75-1697.00*#3]
G01 Z [.5+19584.00*#3] X [.75-2020.00*#3]
G01 Z [.5+19641.75*#3] X [.75-2297.75*#3]
G01 Z [.5+19713.94*#3] X [.75-2421.44*#3]
G01 Z [.5+19815.00*#3] X [.75-2535.00*#3]
G01 Z [.5+19939.81*#3] X [.75-2629.94*#3]
G01 Z [.5+20082.25*#3] X [.75-2697.75*#3]
G01 Z [.5+20420.00*#3] X [.75-2752.00*#3]
G01 Z [.5+20871.00*#3] X [.75-2671.00*#3]
G01 Z [.5+21104.00*#3] X [.75-2624.00*#3]
G01 Z [.5+21208.00*#3] X [.75-2650.00*#3]
G01 Z [.5+21316.00*#3] X [.75-2752.00*#3]
G01 Z [.5+21404.00*#3] X [.75-2752.00*#3]
/G00 Z .45 X [.75+400*#3]
/G01 Z [.5+21000*#3]
/G01 X [.75+700*#3]
/G01 Z .45
/G01 X [.75+400*#3]
M02

200
share/axis/images/axis.ngc Normal file
View File

@@ -0,0 +1,200 @@
( AXIS "splash G-code" Not intended for actual milling )
( To run this code anyway you might have to Touch Off the Z axis)
( depending on your setup. As if you had some material in your mill... )
( Hint jog the Z axis down a bit then touch off )
( Also press the Toggle Skip Lines with "/" to see that part )
( If the program is too big or small for your machine, change the scale below )
( LinuxCNC 19/1/2012 2:13:51 PM )
#<depth>=2.0
#<scale>=1.0
G21 G90 G64 G40
G0 Z3.0
( engraving )
G17
M3 S10000
G0 X[1.75781*#<scale>] Y[0.5*#<scale>]
G1 F100.0 Z[-#<depth>]
G1 F400.0 X[5.95508*#<scale>] Y[20.54297*#<scale>]
G1 X[10.07031*#<scale>]
G1 X[6.58398*#<scale>] Y[3.84961*#<scale>]
G1 X[16.7832*#<scale>]
G1 X[16.08594*#<scale>] Y[0.5*#<scale>]
G1 X[1.75781*#<scale>]
G0 Z3.0
G0 X[18.72461*#<scale>]
G1 F100.0 Z[-#<depth>]
G1 F400.0 X[21.75977*#<scale>] Y[15.01953*#<scale>]
G1 X[25.68359*#<scale>]
G1 X[22.64844*#<scale>] Y[0.5*#<scale>]
G1 X[18.72461*#<scale>]
G0 Z3.0
G0 X[26.55859*#<scale>]
G1 F100.0 Z[-#<depth>]
G1 F400.0 X[29.59375*#<scale>] Y[15.01953*#<scale>]
G1 X[33.3125*#<scale>]
G1 X[32.92969*#<scale>] Y[13.13281*#<scale>]
G2 X[34.16342*#<scale>] Y[14.08624*#<scale>] I[8.82141*#<scale>] J[-10.13994*#<scale>]
G2 X[35.52734*#<scale>] Y[14.8418*#<scale>] I[4.53823*#<scale>] J[-6.58354*#<scale>]
G2 X[38.08398*#<scale>] Y[15.36133*#<scale>] I[2.53506*#<scale>] J[-5.9247*#<scale>]
G2 X[39.5966*#<scale>] Y[15.13543*#<scale>] I[0.06403*#<scale>] J[-4.74845*#<scale>]
G2 X[40.90039*#<scale>] Y[14.33594*#<scale>] I[-1.02874*#<scale>] J[-3.14049*#<scale>]
G2 X[41.7019*#<scale>] Y[13.08328*#<scale>] I[-2.33045*#<scale>] J[-2.37388*#<scale>]
G2 X[41.93945*#<scale>] Y[11.61523*#<scale>] I[-4.07102*#<scale>] J[-1.41199*#<scale>]
G2 X[41.76899*#<scale>] Y[10.15744*#<scale>] I[-10.17473*#<scale>] J[0.45091*#<scale>]
G2 X[41.48828*#<scale>] Y[8.7168*#<scale>] I[-39.45138*#<scale>] J[6.93932*#<scale>]
G1 X[39.7793*#<scale>] Y[0.5*#<scale>]
G1 X[35.85547*#<scale>]
G1 X[37.57813*#<scale>] Y[8.74414*#<scale>]
G3 X[37.79665*#<scale>] Y[9.84001*#<scale>] I[-62.81729*#<scale>] J[13.09579*#<scale>]
G3 X[37.96094*#<scale>] Y[10.94531*#<scale>] I[-9.6524*#<scale>] J[1.99958*#<scale>]
G3 X[37.50977*#<scale>] Y[12.12109*#<scale>] I[-1.54162*#<scale>] J[0.0829*#<scale>]
G3 X[36.2793*#<scale>] Y[12.55859*#<scale>] I[-1.13356*#<scale>] J[-1.23903*#<scale>]
G3 X[35.26888*#<scale>] Y[12.33731*#<scale>] I[0.05277*#<scale>] J[-2.65845*#<scale>]
G3 X[34.36523*#<scale>] Y[11.83398*#<scale>] I[1.956*#<scale>] J[-4.57455*#<scale>]
G3 X[32.71094*#<scale>] Y[9.91992*#<scale>] I[2.86418*#<scale>] J[-4.1474*#<scale>]
G3 X[32.13267*#<scale>] Y[8.21493*#<scale>] I[8.76492*#<scale>] J[-3.92328*#<scale>]
G3 X[31.72656*#<scale>] Y[6.46094*#<scale>] I[36.34493*#<scale>] J[-9.33906*#<scale>]
G1 X[30.48242*#<scale>] Y[0.5*#<scale>]
G1 X[26.55859*#<scale>]
G0 Z3.0
G0 X[26.09375*#<scale>] Y[16.98828*#<scale>]
G1 F100.0 Z[-#<depth>]
G1 F400.0 X[22.16992*#<scale>]
G1 X[22.9082*#<scale>] Y[20.54297*#<scale>]
G1 X[26.83203*#<scale>]
G1 X[26.09375*#<scale>] Y[16.98828*#<scale>]
G0 Z3.0
G0 X[46.14777*#<scale>] Y[12.78778*#<scale>]
G1 F100.0 Z[-#<depth>]
G1 F400.0 X[46.61523*#<scale>] Y[15.01953*#<scale>]
G1 X[50.53906*#<scale>]
G1 X[48.74805*#<scale>] Y[6.41992*#<scale>]
G3 X[48.55485*#<scale>] Y[5.46101*#<scale>] I[39.83359*#<scale>] J[-8.52447*#<scale>]
G3 X[48.41992*#<scale>] Y[4.49219*#<scale>] I[7.34343*#<scale>] J[-1.51652*#<scale>]
G3 X[48.88477*#<scale>] Y[3.41211*#<scale>] I[1.45252*#<scale>] J[-0.01493*#<scale>]
G3 X[50.07422*#<scale>] Y[2.96094*#<scale>] I[1.13093*#<scale>] J[1.18803*#<scale>]
G3 X[51.09961*#<scale>] Y[3.15234*#<scale>] I[-0.00663*#<scale>] J[2.87782*#<scale>]
G3 X[52.13867*#<scale>] Y[3.75391*#<scale>] I[-1.85377*#<scale>] J[4.40013*#<scale>]
G3 X[53.0957*#<scale>] Y[4.68359*#<scale>] I[-3.51724*#<scale>] J[4.57812*#<scale>]
G3 X[53.88867*#<scale>] Y[6.05078*#<scale>] I[-4.71119*#<scale>] J[3.64605*#<scale>]
G3 X[54.44922*#<scale>] Y[8.10156*#<scale>] I[-12.97687*#<scale>] J[4.64901*#<scale>]
G1 X[55.89844*#<scale>] Y[15.01953*#<scale>]
G1 X[59.82227*#<scale>]
G1 X[56.78711*#<scale>] Y[0.5*#<scale>]
G1 X[53.12305*#<scale>]
G1 X[53.5332*#<scale>] Y[2.46875*#<scale>]
G2 X[51.14513*#<scale>] Y[0.79202*#<scale>] I[-6.21919*#<scale>] J[6.3187*#<scale>]
G2 X[48.29688*#<scale>] Y[0.1582*#<scale>] I[-2.84268*#<scale>] J[6.05776*#<scale>]
G2 X[46.78426*#<scale>] Y[0.3841*#<scale>] I[-0.06403*#<scale>] J[4.74845*#<scale>]
G2 X[45.48047*#<scale>] Y[1.18359*#<scale>] I[1.02874*#<scale>] J[3.14049*#<scale>]
G2 X[44.68637*#<scale>] Y[2.45262*#<scale>] I[2.34744*#<scale>] J[2.35189*#<scale>]
G2 X[44.45508*#<scale>] Y[3.93164*#<scale>] I[4.23866*#<scale>] J[1.42044*#<scale>]
G2 X[44.63379*#<scale>] Y[5.43705*#<scale>] I[10.83187*#<scale>] J[-0.52256*#<scale>]
G2 X[44.91992*#<scale>] Y[6.92578*#<scale>] I[45.15644*#<scale>] J[-7.90718*#<scale>]
G1 X[46.14777*#<scale>] Y[12.78778*#<scale>]
G0 Z3.0
G0 X[61.99609*#<scale>] Y[15.01953*#<scale>]
G1 F100.0 Z[-#<depth>]
G1 F400.0 X[66.16602*#<scale>]
G1 X[68.28516*#<scale>] Y[10.87695*#<scale>]
G1 X[71.96289*#<scale>] Y[15.01953*#<scale>]
G1 X[76.73438*#<scale>]
G1 X[69.99414*#<scale>] Y[7.48633*#<scale>]
G1 X[73.6582*#<scale>] Y[0.5*#<scale>]
G1 X[69.48828*#<scale>]
G1 X[67.39648*#<scale>] Y[4.57422*#<scale>]
G1 X[63.78711*#<scale>] Y[0.5*#<scale>]
G1 X[58.97461*#<scale>]
G1 X[65.6875*#<scale>] Y[7.9375*#<scale>]
G1 X[61.99609*#<scale>] Y[15.01953*#<scale>]
G0 Z3.0
G0 X[78.12067*#<scale>] Y[11.80439*#<scale>]
G1 F100.0 Z[-#<depth>]
G2 F400.0 X[78.15861*#<scale>] Y[11.98873*#<scale>] I[14.86609*#<scale>] J[-2.96421*#<scale>]
G2 X[79.20898*#<scale>] Y[15.0332*#<scale>] I[13.03118*#<scale>] J[-2.79244*#<scale>]
G2 X[80.8214*#<scale>] Y[17.48665*#<scale>] I[10.09107*#<scale>] J[-4.87534*#<scale>]
G2 X[83.06445*#<scale>] Y[19.38086*#<scale>] I[7.26534*#<scale>] J[-6.32817*#<scale>]
G2 X[88.42383*#<scale>] Y[20.88477*#<scale>] I[5.2993*#<scale>] J[-8.5834*#<scale>]
G2 X[91.21708*#<scale>] Y[20.49528*#<scale>] I[0.10667*#<scale>] J[-9.44597*#<scale>]
G2 X[93.6875*#<scale>] Y[19.13477*#<scale>] I[-1.95281*#<scale>] J[-6.46904*#<scale>]
G2 X[95.32764*#<scale>] Y[16.9908*#<scale>] I[-4.27639*#<scale>] J[-4.97078*#<scale>]
G2 X[96.05273*#<scale>] Y[14.39063*#<scale>] I[-7.426*#<scale>] J[-3.47204*#<scale>]
G1 X[92.10156*#<scale>] Y[14.00781*#<scale>]
G3 X[91.68364*#<scale>] Y[15.38196*#<scale>] I[-5.83945*#<scale>] J[-1.02535*#<scale>]
G3 X[90.83008*#<scale>] Y[16.53711*#<scale>] I[-2.94269*#<scale>] J[-1.28147*#<scale>]
G3 X[89.65745*#<scale>] Y[17.15799*#<scale>] I[-2.02111*#<scale>] J[-2.39937*#<scale>]
G3 X[88.3418*#<scale>] Y[17.33008*#<scale>] I[-1.26203*#<scale>] J[-4.53327*#<scale>]
G3 X[85.14258*#<scale>] Y[16.29102*#<scale>] I[0.01526*#<scale>] J[-5.49164*#<scale>]
G3 X[83.72532*#<scale>] Y[14.83462*#<scale>] I[3.39082*#<scale>] J[-4.71749*#<scale>]
G3 X[82.77734*#<scale>] Y[13.03711*#<scale>] I[7.50088*#<scale>] J[-5.10456*#<scale>]
G3 X[81.88867*#<scale>] Y[8.63477*#<scale>] I[10.80218*#<scale>] J[-4.47143*#<scale>]
G3 X[82.12643*#<scale>] Y[6.67148*#<scale>] I[7.47758*#<scale>] J[-0.09047*#<scale>]
G3 X[83.03711*#<scale>] Y[4.91602*#<scale>] I[4.24649*#<scale>] J[1.08898*#<scale>]
G3 X[85.92188*#<scale>] Y[3.60352*#<scale>] I[2.82627*#<scale>] J[2.38541*#<scale>]
G3 X[88.84766*#<scale>] Y[4.64258*#<scale>] I[0.00074*#<scale>] J[4.63663*#<scale>]
G3 X[90.07896*#<scale>] Y[6.0293*#<scale>] I[-3.23186*#<scale>] J[4.10967*#<scale>]
G3 X[90.84375*#<scale>] Y[7.71875*#<scale>] I[-6.5029*#<scale>] J[3.96159*#<scale>]
G1 X[95.0*#<scale>] Y[7.08984*#<scale>]
G2 X[93.56373*#<scale>] Y[4.23114*#<scale>] I[-11.87256*#<scale>] J[4.17484*#<scale>]
G2 X[91.34961*#<scale>] Y[1.92188*#<scale>] I[-7.88363*#<scale>] J[5.34275*#<scale>]
G2 X[88.64367*#<scale>] Y[0.56922*#<scale>] I[-5.3138*#<scale>] J[7.24715*#<scale>]
G2 X[85.64844*#<scale>] Y[0.14453*#<scale>] I[-2.92298*#<scale>] J[9.84046*#<scale>]
G2 X[82.5341*#<scale>] Y[0.63758*#<scale>] I[-0.13266*#<scale>] J[9.24446*#<scale>]
G2 X[79.89258*#<scale>] Y[2.35938*#<scale>] I[2.19287*#<scale>] J[6.25138*#<scale>]
G2 X[78.25253*#<scale>] Y[5.37699*#<scale>] I[5.36449*#<scale>] J[4.87005*#<scale>]
G2 X[77.82813*#<scale>] Y[8.78516*#<scale>] I[12.16539*#<scale>] J[3.2454*#<scale>]
G2 X[78.12067*#<scale>] Y[11.80439*#<scale>] I[15.15864*#<scale>] J[0.05503*#<scale>]
G0 Z3.0
G0 X[98.14159*#<scale>] Y[7.6254*#<scale>]
G1 F100.0 Z[-#<depth>]
G1 F400.0 X[100.83789*#<scale>] Y[20.54297*#<scale>]
G1 X[104.69336*#<scale>]
G1 X[110.12109*#<scale>] Y[7.13086*#<scale>]
G1 X[112.92383*#<scale>] Y[20.54297*#<scale>]
G1 X[116.75195*#<scale>]
G1 X[112.56836*#<scale>] Y[0.5*#<scale>]
G1 X[108.72656*#<scale>]
G1 X[103.3125*#<scale>] Y[13.9668*#<scale>]
G1 X[100.49609*#<scale>] Y[0.5*#<scale>]
G1 X[96.6543*#<scale>]
G1 X[98.14159*#<scale>] Y[7.6254*#<scale>]
G0 Z3.0
G0 X[118.27432*#<scale>] Y[8.23889*#<scale>]
G1 F100.0 Z[-#<depth>]
G2 F400.0 X[118.26953*#<scale>] Y[8.78516*#<scale>] I[12.585*#<scale>] J[0.3835*#<scale>]
G2 X[118.60002*#<scale>] Y[11.98873*#<scale>] I[15.15864*#<scale>] J[0.05503*#<scale>]
G2 X[119.65039*#<scale>] Y[15.0332*#<scale>] I[13.03118*#<scale>] J[-2.79244*#<scale>]
G2 X[121.26281*#<scale>] Y[17.48665*#<scale>] I[10.09107*#<scale>] J[-4.87534*#<scale>]
G2 X[123.50586*#<scale>] Y[19.38086*#<scale>] I[7.26534*#<scale>] J[-6.32817*#<scale>]
G2 X[128.86523*#<scale>] Y[20.88477*#<scale>] I[5.2993*#<scale>] J[-8.5834*#<scale>]
G2 X[131.65849*#<scale>] Y[20.49528*#<scale>] I[0.10667*#<scale>] J[-9.44597*#<scale>]
G2 X[134.12891*#<scale>] Y[19.13477*#<scale>] I[-1.95281*#<scale>] J[-6.46904*#<scale>]
G2 X[135.76904*#<scale>] Y[16.9908*#<scale>] I[-4.27639*#<scale>] J[-4.97078*#<scale>]
G2 X[136.49414*#<scale>] Y[14.39063*#<scale>] I[-7.426*#<scale>] J[-3.47204*#<scale>]
G1 X[132.54297*#<scale>] Y[14.00781*#<scale>]
G3 X[132.12504*#<scale>] Y[15.38196*#<scale>] I[-5.83945*#<scale>] J[-1.02535*#<scale>]
G3 X[131.27148*#<scale>] Y[16.53711*#<scale>] I[-2.94269*#<scale>] J[-1.28147*#<scale>]
G3 X[130.09886*#<scale>] Y[17.15799*#<scale>] I[-2.02111*#<scale>] J[-2.39937*#<scale>]
G3 X[128.7832*#<scale>] Y[17.33008*#<scale>] I[-1.26203*#<scale>] J[-4.53327*#<scale>]
G3 X[125.58398*#<scale>] Y[16.29102*#<scale>] I[0.01526*#<scale>] J[-5.49164*#<scale>]
G3 X[124.16673*#<scale>] Y[14.83462*#<scale>] I[3.39082*#<scale>] J[-4.71749*#<scale>]
G3 X[123.21875*#<scale>] Y[13.03711*#<scale>] I[7.50088*#<scale>] J[-5.10456*#<scale>]
G3 X[122.33008*#<scale>] Y[8.63477*#<scale>] I[10.80218*#<scale>] J[-4.47143*#<scale>]
G3 X[122.56784*#<scale>] Y[6.67148*#<scale>] I[7.47758*#<scale>] J[-0.09047*#<scale>]
G3 X[123.47852*#<scale>] Y[4.91602*#<scale>] I[4.24649*#<scale>] J[1.08898*#<scale>]
G3 X[126.36328*#<scale>] Y[3.60352*#<scale>] I[2.82627*#<scale>] J[2.38541*#<scale>]
G3 X[129.28906*#<scale>] Y[4.64258*#<scale>] I[0.00074*#<scale>] J[4.63663*#<scale>]
G3 X[130.52037*#<scale>] Y[6.0293*#<scale>] I[-3.23186*#<scale>] J[4.10967*#<scale>]
G3 X[131.28516*#<scale>] Y[7.71875*#<scale>] I[-6.5029*#<scale>] J[3.96159*#<scale>]
G1 X[135.44141*#<scale>] Y[7.08984*#<scale>]
G2 X[134.00514*#<scale>] Y[4.23114*#<scale>] I[-11.87256*#<scale>] J[4.17484*#<scale>]
G2 X[131.79102*#<scale>] Y[1.92188*#<scale>] I[-7.88363*#<scale>] J[5.34275*#<scale>]
G2 X[129.08508*#<scale>] Y[0.56922*#<scale>] I[-5.3138*#<scale>] J[7.24715*#<scale>]
G2 X[126.08984*#<scale>] Y[0.14453*#<scale>] I[-2.92298*#<scale>] J[9.84046*#<scale>]
G2 X[122.9755*#<scale>] Y[0.63758*#<scale>] I[-0.13266*#<scale>] J[9.24446*#<scale>]
G2 X[120.33398*#<scale>] Y[2.35938*#<scale>] I[2.19287*#<scale>] J[6.25138*#<scale>]
G2 X[118.69393*#<scale>] Y[5.37699*#<scale>] I[5.36449*#<scale>] J[4.87005*#<scale>]
G2 X[118.27432*#<scale>] Y[8.23889*#<scale>] I[12.16539*#<scale>] J[3.2454*#<scale>]
G0 Z3.0
M5
M2

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
share/axis/images/close.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 B

View File

@@ -0,0 +1,5 @@
/* Created with The GIMP */
#define downarrow_width 9
#define downarrow_height 5
static unsigned char downarrow_bits[] = {
0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x38, 0x00, 0x10, 0x00 };

View File

@@ -0,0 +1,5 @@
/* Created with The GIMP */
#define leftarrow_width 5
#define leftarrow_height 9
static unsigned char leftarrow_bits[] = {
0x10, 0x18, 0x1c, 0x1e, 0x1f, 0x1e, 0x1c, 0x18, 0x10 };

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,5 @@
/* Created with The GIMP */
#define rightarrow_width 5
#define rightarrow_height 9
static unsigned char rightarrow_bits[] = {
0x01, 0x03, 0x07, 0x0f, 0x1f, 0x0f, 0x07, 0x03, 0x01 };

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

View File

@@ -0,0 +1,5 @@
/* Created with The GIMP */
#define uparrow_width 9
#define uparrow_height 5
static unsigned char uparrow_bits[] = {
0x10, 0x00, 0x38, 0x00, 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01 };

187
share/axis/tcl/accel.tcl Normal file
View File

@@ -0,0 +1,187 @@
# Nf Screen designer for Tk toolkit
# Copyright (C) 2004 Jeff Epler <jepler@unpythonic.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Each label, button, checkbutton, radiobutton, and menubutton can have
# an underlined accelerator key.
#
# To activate an accelerator key K, Alt+K is pressed.
#
# If only one item has this accelerator, then the associated widget
# is invoked. If the associated "widget" is a group of radio buttons,
# the next option is selected. For buttons, the associated widget is
# the button itself. For labels, the associated widget is intended
# to be the same as the widget selected by "label_button" (though the
# definition of label_hotkey is different)
#
# If more than one item has this accelerator, then focus is merely moved
# to the item.
proc make_accel { label underline } {
if {$underline == -1} {
regsub -all {([\\_])} $label {\\\1} label
return $label
}
set a [string range $label 0 [expr $underline-1]]
set b [string range $label $underline end]
regsub -all {([\\_])} $a {\\\1} a
regsub -all {([\\_])} $b {\\\1} b
return "${a}_${b}"
}
proc decode_accel { label } {
set index -1
if {[regexp {^([^\\_]|\\.)*_} $label match]} {
set index [expr [string length $match]-1]
set a [string range $label 0 [expr $index-1]]
set b [string range $label [expr $index+1] end]
regsub -all {\\(.)} $a {\1} a
regsub -all {\\(.)} $b {\1} b
set index [string length $a]
set label ${a}$b
return [list $index $label]
}
regsub -all {\\(.)} $label {\1} label
return [list -1 $label]
}
proc clear_accel_map {} {
global _accel _last_accel
catch { unset _accel }
set _last_accel {}
}
proc label_hotkey {w {activate 1}} {
set x [tk_focusNext $w]
set y [tk_focusNext $x]
set px [winfo parent $x]
set py [winfo parent $y]
if {$px == $py} {
# Next two choices are siblings
# must be a radiobutton
set idx -1
set spx [pack slaves $px]
foreach k $spx {
set v [$k cget -variable]
upvar \#0 $v val
if {[$k cget -value] == $val} {
set idx [lsearch $spx $k]
}
}
if {$activate} {
set idx [expr ($idx+1) % [llength $spx]]
} elseif {$idx == -1} {
set idx 0
}
set w [lindex $spx $idx]
} else {
set w $x
}
if {$activate} {
switch [winfo class $w] {
Button -
Checkbutton -
Radiobutton -
Menubutton {
$w invoke
}
Entry {
$w select 0 end
}
Combobox {
$w open
}
default {}
}
}
tkTabToWindow $w
}
proc see_accel {w k} {
global _accel _last_accel _last_widget
set w [winfo toplevel $w]
if {![info exists _accel($k,$w)]} { return 0 }
set accel $_accel($k,$w)
if {$k == $_last_accel} {
set idx [expr ([lsearch $accel $_last_widget]+1) % [llength $accel]]
} else {
set idx 0
}
set w [lindex $accel $idx]
set _last_accel $k
set _last_widget $w
set k [winfo class $w]
switch $k {
Button -
Menubutton -
Checkbutton -
Radiobutton {
if {[llength $accel] == 1} {
$w invoke
} else {
focus $w
}
}
Label {
label_hotkey $w [expr [llength $accel] == 1]
}
}
return 1
}
bind all <Alt-Key> [concat {if {[see_accel %W %A]} break;} [bind all <Alt-Key>]]
proc setup_menu_accel { path item label } {
set li [decode_accel $label]
set index [lindex $li 0]
set label [lindex $li 1]
$path entryconfigure $item -underline $index -label $label
}
proc setup_widget_accel { path label } {
set li [decode_accel $label]
set index [lindex $li 0]
set label [lindex $li 1]
$path configure -underline $index -text $label
if {$index != -1} {
global _accel
set char [string tolower [string index $label $index]]
set w [winfo toplevel $path]
lappend _accel($char,$w) $path
}
}
proc extract_text { label } {
set li [decode_accel $label]
lindex $li 1
}
proc sbind { tag seq body } {
catch { bind $tag $seq $body }
}
sbind all <Key-ISO_Left_Tab> { tkTabToWindow [tk_focusPrev %W] }
if {[info procs ::tk::TabToWindow] != {}} {
proc tkTabToWindow w [info body ::tk::TabToWindow]
}
clear_accel_map
# vim:sw=4:sts=4:

2300
share/axis/tcl/axis.tcl Normal file

File diff suppressed because it is too large Load Diff

2168
share/axis/tcl/combobox.tcl Normal file

File diff suppressed because it is too large Load Diff

261
share/axis/tcl/dialog.tcl Normal file
View File

@@ -0,0 +1,261 @@
# Nf Screen designer for Tk toolkit
# Copyright (C) 2004 Jeff Epler <jepler@unpythonic.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# dialog.tcl --
#
# This file defines the procedure nf_dialog, which creates a dialog
# box containing an image, a message, and one or more buttons.
#
# RCS: @(#) $Id$
#
# Copyright (c) 1992-1993 The Regents of the University of California.
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
proc patient_grab w {
set ret [catch { grab $w } res]
if {!$ret} { return }
set sei $::errorInfo
if {$res == "grab failed: another application has grab"
|| $res == "grab failed: window not viewable"} {
after 100
after idle patient_grab $w
} else {
error $ret $savedInfo
}
}
#
# nf_dialog:
#
# This procedure displays a dialog box, waits for a button in the dialog
# to be invoked, then returns the index of the selected button. If the
# dialog somehow gets destroyed, -1 is returned.
#
# Arguments:
# w - Window to use for dialog top-level.
#
# If it is a list, then it is of the form {w args}
# where args (different from the 'args' below) specify
# extra keyword arguments:
# -ext ...: show ... in a scrolling text area below the main
# text
# title - Title to display in dialog's decorative frame.
# text - Message to display in dialog.
# image - Image to display in dialog (empty string means none).
# default - Index of button that is to display the default ring
# (-1 means none).
# args - One or more strings to display in buttons across the
# bottom of the dialog box.
proc nf_dialog_default {t n i} {
for {set j 0} {$j < $n} {incr j} {
if {$i == $j} {
$t.button$j configure -default active
} else {
$t.button$j configure -default normal
}
}
}
proc nf_dialog {w title text image default args} {
global tkPriv tcl_platform
set pargs [lrange $w 1 end]
set w [lindex $w 0]
set ext {}
foreach {k v} $pargs {
switch -- $k {
-ext { set ext $v }
default { error "nf_dialog: unexpected positional argument $k $v" }
}
}
if {[llength $default] != 1} {
set accel $default
set default [lsearch $accel -2]
} else {
set accel {}
}
# 1. Create the top-level window and divide it into top
# and bottom parts.
catch {destroy $w}
toplevel $w -class Dialog
wm title $w $title
wm iconname $w Dialog
wm protocol $w WM_DELETE_WINDOW { }
wm resiz $w 0 0
# The following command means that the dialog won't be posted if
# [winfo parent $w] is iconified, but it's really needed; otherwise
# the dialog can become obscured by other windows in the application,
# even though its grab keeps the rest of the application from being used.
wm transient $w [winfo toplevel [winfo parent $w]]
if {![string compare $tcl_platform(platform) "macintosh"]} {
unsupported1 style $w dBoxProc
}
frame $w.bot
frame $w.top
if {[llength $args] == 1} {
pack $w.bot -side bottom -fill both
} else {
pack $w.bot -side bottom -fill none -anchor e -expand 1
}
pack $w.top -side top -fill both -expand 1
# 2. Fill the top part with image and message (use the option
# database for -wraplength and -font so that they can be
# overridden by the caller).
option add *Dialog.msg.wrapLength 7i widgetDefault
if {![string compare $tcl_platform(platform) "macintosh"]} {
option add *Dialog.msg.font system widgetDefault
} else {
option add *Dialog.msg.font {Times 12} widgetDefault
}
label $w.msg -justify left -text $text
pack $w.msg -in $w.top -side right -expand 1 -fill both -padx 3m -pady 3m
if {[string compare $image ""]} {
if {![string compare $tcl_platform(platform) "macintosh"] && ![string compare $image "error"]} {
set image "stop"
}
label $w.image -image [load_image std_$image]
pack $w.image -in $w.top -side left -padx 3m -pady 3m
}
if {$ext != {}} {
frame $w.ext
text $w.ext.t -yscrollcommand [list $w.ext.s set] -wrap word
scrollbar $w.ext.s -command [list $w.ext.t yview] -orient v
pack $w.ext.t -side left -fill both -expand 1
pack $w.ext.s -side left -fill y
$w.ext.t insert end $ext
$w.ext.t configure -state disabled
pack $w.ext -side top
}
# 3. Create a row of buttons at the bottom of the dialog.
set i 0
set l [llength $args]
foreach but $args {
button $w.button$i -text $but -command "set tkPriv(button) $i" \
-width 10 -height 1 -padx 0 -pady .25
set u [lindex $accel $i]
bind $w.button$i <FocusIn> [list nf_dialog_default $w $l $i]
if {$u == -3} {
bind $w <Escape> "$w.button$i flash; set tkPriv(button) $i"
}
bind $w.button$i <Return> {%W flash; %W invoke}
if {$u >= 0} {
set c [string index $but $u]
bind $w "[string tolower $c]" \
"$w.button$i flash; set tkPriv(button) $i"
$w.button$i configure -underline $u
}
grid $w.button$i -in $w.bot -column $i -row 0 -sticky ew -padx 3 -pady 3
grid columnconfigure $w.bot $i
set f [$w.button$i cget -font]
set bwidth [expr 9 * [font measure $f "0"]]
set twidth [font measure $f $but]
if {$twidth > $bwidth} {
$w.button$i configure -width 0 -padx .25m
}
incr i
}
# 4. Create a <Destroy> binding for the window that sets the
# button variable to -1; this is needed in case something happens
# that destroys the window, such as its parent window being destroyed.
bind $w <Destroy> {set tkPriv(button) -1}
# 5. Withdraw the window, then update all the geometry information
# so we know how big it wants to be, then center the window in the
# display and de-iconify it.
wm withdraw $w
update idletasks
set parent [winfo parent $w]
if {[winfo viewable $parent]} {
set x [expr {[winfo rootx $parent]+([winfo reqwidth $parent]-[winfo reqwidth $w])/2}]
set y [expr {[winfo rooty $parent]+([winfo reqheight $parent]-[winfo reqheight $w])/2}]
} else {
set x [expr {([winfo screenwidth $w]-[winfo reqwidth $w])/2}]
set y [expr {([winfo screenheight $w]-[winfo reqheight $w])/2}]
}
wm geom $w +$x+$y
wm deiconify $w
# 6. Set a grab and claim the focus too.
set oldFocus [focus]
set oldGrab [grab current $w]
if {[string compare $oldGrab ""]} {
set grabStatus [grab status $oldGrab]
}
patient_grab $w
if {$default >= 0} {
focus $w.button$default
} else {
focus $w
}
# 7. Wait for the user to respond, then restore the focus and
# return the index of the selected button. Restore the focus
# before deleting the window, since otherwise the window manager
# may take the focus away so we can't redirect it. Finally,
# restore any grab that was in effect.
tkwait variable tkPriv(button)
catch {focus $oldFocus}
catch {
# It's possible that the window has already been destroyed,
# hence this "catch". Delete the Destroy handler so that
# tkPriv(button) doesn't get reset by it.
bind $w <Destroy> {}
destroy $w
}
if {[string compare $oldGrab ""]} {
if {[string compare $grabStatus "global"]} {
grab $oldGrab
} else {
grab -global $oldGrab
}
}
return $tkPriv(button)
}
# vim:sw=4:sts=4:

108
share/axis/tcl/sb.tcl Normal file
View File

@@ -0,0 +1,108 @@
# Nf Screen designer for Tk toolkit
# Copyright (C) 2004 Jeff Epler <jepler@unpythonic.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
namespace eval ::sb {}
proc ::sb::arrow_size_vertical {w} {
set xx [expr [::sb::_$w cget -bd]+1]
for {set i [expr [::sb::_$w cget -bd]+1]} {1} {incr i} {
set part [::sb::_$w identify $xx $i]
if {$part != "arrow1"} { return $i }
}
}
proc ::sb::arrow_size_horizontal {w} {
set yy [expr [::sb::_$w cget -bd]+1]
for {set i [expr [::sb::_$w cget -bd]+1]} {1} {incr i} {
set part [::sb::_$w identify $i $yy]
if {$part != "arrow1"} { return $i }
}
}
image create bitmap ::sb::uparrow -file $imagedir/uparrow.xbm
image create bitmap ::sb::downarrow -file $imagedir/downarrow.xbm
image create bitmap ::sb::leftarrow -file $imagedir/leftarrow.xbm
image create bitmap ::sb::rightarrow -file $imagedir/rightarrow.xbm
bind ::sb::nicer <Configure> { ::sb::nicer_config %W }
proc ::sb::nicer_sb {w} {
bindtags $w [concat ::sb::nicer [bindtags $w]]
::sb::_$w configure -bd 0 -highlightt 0
::sb::nicer_config $w
}
proc ::sb::nicer_config {w} {
set o [::sb::_$w cget -orient]
if {![winfo exists ${w}._arrow1]} {
button ${w}._arrow1
}
if {![winfo exists ${w}._arrow2]} {
button ${w}._arrow2
}
if {[string match "v*" $o]} {
set sz [::sb::arrow_size_vertical $w]
set width [winfo width $w]
${w}._arrow1 config -image ::sb::uparrow -takefocus 0 -highlightt 0 \
-anchor center
${w}._arrow2 config -image ::sb::downarrow -takefocus 0 -highlightt 0 \
-anchor center
place ${w}._arrow1 -x 0 -y 0 \
-width $width -height $sz
place ${w}._arrow2 -x 0 -y [expr [winfo height $w]-$sz] \
-width $width -height $sz
} else {
set sz [::sb::arrow_size_horizontal $w]
set height [winfo height $w]
${w}._arrow1 config -image ::sb::leftarrow -takefocus 0 -highlightt 0 \
-anchor center
${w}._arrow2 config -image ::sb::rightarrow -takefocus 0 -highlightt 0 \
-anchor center
place ${w}._arrow1 -x 0 -y 0 \
-width $sz -height $height
place ${w}._arrow2 -x [expr [winfo width $w]-$sz] -y 0 \
-width $sz -height $height
}
foreach b {
<1> <B1-Leave> <ButtonRelease-1> <B1-Enter> <Leave> <Enter>
} {
bind ${w}._arrow1 $b [subst -nocommands {
event generate $w $b \
-x [expr %x+[winfo x %W]] \
-y [expr %y+[winfo y %W]]
}]
bind ${w}._arrow2 $b [subst -nocommands {
event generate $w $b \
-x [expr %x+[winfo x %W]] \
-y [expr %y+[winfo y %W]]
}]
}
}
proc ::sb::install {} {
rename ::scrollbar ::sb::real_scrollbar
proc ::scrollbar { path args } {
eval [concat ::sb::real_scrollbar $path $args]
rename $path ::sb::_$path
proc $path { args } [subst -nocommands {
set ret [eval [concat ::sb::_$path \$args]]
::sb::nicer_config $path
set ret
}]
::sb::nicer_sb $path
set path
}
}

View File

@@ -0,0 +1,65 @@
# This is a component of AXIS, a front-end for emc
# Copyright 2004 Jeff Epler <jepler@unpythonic.net> and
# Chris Radek <chris@timeguy.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
proc make_color { c d } {
if {![catch {winfo rgb . $c}]} {
set d $c
}
proc $c {} [list return $d]
}
make_color systemwindowtext #000000
make_color systembuttonface #d9d9d9
make_color systemdisabledtext #a3a3a3
make_color systembuttonhighlight #ececec
make_color systemhighlight #08246b
make_color systemhighlighttext #ffffff
make_color systemwindow #ffffff
proc control {path args} { eval [concat frame $path $args -class Control] }
proc vspace {path args} { eval [concat frame $path $args -class Vspace] }
proc hspace {path args} { eval [concat frame $path $args -class Hspace] }
proc vrule {path args} { eval [concat frame $path $args -class Vrule] }
proc hrule {path args} { eval [concat frame $path $args -class Hrule] }
proc tab {path args} { eval [concat frame $path] }
proc find_image {name} {
set initial [string index $name 0]
foreach p $::imagedir {
set q [file join $p ${name}.png]
if {[file exists $q]} { return $q }
set q [file join $p $initial ${name}.png]
if {[file exists $q]} { return $q }
set q [file join $p ${name}.gif]
if {[file exists $q]} { return $q }
set q [file join $p $initial ${name}.gif]
if {[file exists $q]} { return $q }
}
error "Image $name does not exist"
}
proc load_image { name {img ""}} {
if {$img == ""} { set img icon_$name }
if {[lsearch [image names] $img] != -1} { return $img }
set file [find_image $name]
image create photo $img -file $file
return $img
}