Ага, а у нас оказывается код не в git, а в bazaar хостится.
Может двинем в github???
правда, я уже двинул... вопрос в том, переносить ли всю разработку туда?
ЗЫ дописал, а точнее переписал bender, теперь вроде работает... блин, три раза переписывал, пока нормально не получилось, а ведь програмка на две строчки... старею
...
Вот тут последняя версия:
https://github.com/cnc-club/gcodetools/tree/bender
Код вот такой получается:
Код: Выделить всё
(Header)
(Generated by gcodetools from Inkscape.)
(Using default header. To add your own header create file "header" in the output dir.)
M3
(Header end.)
G21 (All units in mm)
(Path start)
(Subpath start)
(Push 0 bend 0.0 degrees)
G01 X0 Y0.0
(Push 0.736790974657 bend 0.0 degrees)
G01 X0.736790974657 Y0.0
(Push 0.736790974657 bend 0.0 degrees)
G01 X0.736790974657 Y0.0
(Push 0.736790974657 bend 0.0 degrees)
G01 X0.736790974657 Y0.0
(Push 0 bend 90.0 degrees)
G01 X0 Y90.0
(Push 0.909504860847 bend 0.0 degrees)
G01 X0.909504860847 Y0.0
(Push 0.909504860847 bend 0.0 degrees)
G01 X0.909504860847 Y0.0
(Push 0 bend -90.0 degrees)
G01 X0 Y-90.0
(Push 0.91501807199 bend 0.0 degrees)
G01 X0.91501807199 Y0.0
(Push 0 bend -90.0 degrees)
G01 X0 Y-90.0
(Push 0.973813427888 bend 0.0 degrees)
G01 X0.973813427888 Y0.0
(Push 0.973813427888 bend 0.0 degrees)
G01 X0.973813427888 Y0.0
(Push 0.973813427888 bend 0.0 degrees)
G01 X0.973813427888 Y0.0
(Push 0 bend -90.0 degrees)
G01 X0 Y-90.0
(Push 0.883322399583 bend 0.0 degrees)
G01 X0.883322399583 Y0.0
(Push 0.883322399583 bend 0.0 degrees)
G01 X0.883322399583 Y0.0
(Push 0.883322399583 bend 0.0 degrees)
G01 X0.883322399583 Y0.0
(Push 0.883322399583 bend 0.0 degrees)
G01 X0.883322399583 Y0.0
(Push 0 bend -54.648173616 degrees)
G01 X0 Y-54.648173616
(Push 0.794776394659 bend -9.39467913682 degrees)
G01 X0.794776394659 Y-9.39467913682
(Push 0.794776394659 bend -8.99722732423 degrees)
G01 X0.794776394659 Y-8.99722732423
(Push 0 bend -0.372630156216 degrees)
G01 X0 Y-0.372630156216
(Push 0.840565908206 bend -8.82283991924 degrees)
G01 X0.840565908206 Y-8.82283991924
(Push 0.840565908206 bend -7.76444984752 degrees)
G01 X0.840565908206 Y-7.76444984752
(Push 0 bend 0.0 degrees)
G01 X0 Y0.0
(Push 0.828801342921 bend -8.27364474754 degrees)
G01 X0.828801342921 Y-8.27364474754
(Push 0.828801342921 bend -10.752868157 degrees)
G01 X0.828801342921 Y-10.752868157
(Push 0.828801342921 bend -13.0462208803 degrees)
G01 X0.828801342921 Y-13.0462208803
(Push 0.828801342921 bend -13.7825302162 degrees)
G01 X0.828801342921 Y-13.7825302162
(Push 0 bend -0.284725999162 degrees)
G01 X0 Y-0.284725999162
(Push 0.852466143781 bend -13.8701905078 degrees)
G01 X0.852466143781 Y-13.8701905078
(Push 0.852466143781 bend -12.4788062095 degrees)
G01 X0.852466143781 Y-12.4788062095
(Push 0.852466143781 bend -9.94371761558 degrees)
G01 X0.852466143781 Y-9.94371761558
(Push 0.852466143781 bend -7.56729566681 degrees)
G01 X0.852466143781 Y-7.56729566681
(Push 0 bend 0.0 degrees)
G01 X0 Y0.0
(Push 0.852591724192 bend -7.53652219778 degrees)
G01 X0.852591724192 Y-7.53652219778
(Push 0.852591724192 bend -9.94884646413 degrees)
G01 X0.852591724192 Y-9.94884646413
(Push 0.852591724192 bend -12.5253527433 degrees)
G01 X0.852591724192 Y-12.5253527433
(Push 0.852591724192 bend -13.9889462218 degrees)
G01 X0.852591724192 Y-13.9889462218
(Push 0 bend -0.00538453323842 degrees)
G01 X0 Y-0.00538453323842
(Push 0.829473373552 bend -13.7709579169 degrees)
G01 X0.829473373552 Y-13.7709579169
(Push 0.829473373552 bend -13.0878268133 degrees)
G01 X0.829473373552 Y-13.0878268133
(Push 0.829473373552 bend -10.8223042078 degrees)
G01 X0.829473373552 Y-10.8223042078
(Push 0.829473373552 bend -8.31348173246 degrees)
G01 X0.829473373552 Y-8.31348173246
(Push 0 bend -0.00128134927907 degrees)
G01 X0 Y-0.00128134927907
(Push 0.772177727557 bend -7.26831301346 degrees)
G01 X0.772177727557 Y-7.26831301346
(Push 0.772177727557 bend -8.09575227262 degrees)
G01 X0.772177727557 Y-8.09575227262
(Push 0 bend 0.108750677057 degrees)
G01 X0 Y0.108750677057
(Push 0.733374452452 bend -8.21124869511 degrees)
G01 X0.733374452452 Y-8.21124869511
(Push 0.733374452452 bend -8.76820244384 degrees)
G01 X0.733374452452 Y-8.76820244384
(Push 0 bend -57.764330072 degrees)
G01 X0 Y-57.764330072
(Push 0.592555192336 bend 0.0 degrees)
G01 X0.592555192336 Y0.0
(Push 0.592555192336 bend 0.0 degrees)
G01 X0.592555192336 Y0.0
(Push 0 bend -49.6960975428 degrees)
G01 X0 Y-49.6960975428
(Push 0.768959301873 bend 9.09439125986 degrees)
G01 X0.768959301873 Y9.09439125986
(Push 0.768959301873 bend 10.3541527547 degrees)
G01 X0.768959301873 Y10.3541527547
(Push 0 bend 0.00180078933464 degrees)
G01 X0 Y0.00180078933464
(Push 0.746411481016 bend 10.6691191718 degrees)
G01 X0.746411481016 Y10.6691191718
(Push 0.746411481016 bend 10.1838053369 degrees)
G01 X0.746411481016 Y10.1838053369
(Push 0 bend 0.000954334397836 degrees)
G01 X0 Y0.000954334397836
(Push 0.832550571254 bend 10.9607063821 degrees)
G01 X0.832550571254 Y10.9607063821
(Push 0.832550571254 bend 16.3477019426 degrees)
G01 X0.832550571254 Y16.3477019426
(Push 0.832550571254 bend 20.6420371561 degrees)
G01 X0.832550571254 Y20.6420371561
(Push 0 bend 0.207406600688 degrees)
G01 X0 Y0.207406600688
(Push 0.894525235612 bend 19.81421159 degrees)
G01 X0.894525235612 Y19.81421159
(Push 0.894525235612 bend 13.4227530777 degrees)
G01 X0.894525235612 Y13.4227530777
(Push 0.894525235612 bend 8.60500728638 degrees)
G01 X0.894525235612 Y8.60500728638
(Push 0 bend -0.000290930921232 degrees)
G01 X0 Y-0.000290930921232
(Push 0.892745557903 bend 8.64512776431 degrees)
G01 X0.892745557903 Y8.64512776431
(Push 0.892745557903 bend 13.4640294755 degrees)
G01 X0.892745557903 Y13.4640294755
(Push 0.892745557903 bend 19.7332439777 degrees)
G01 X0.892745557903 Y19.7332439777
(Push 0 bend 0.206691738221 degrees)
G01 X0 Y0.206691738221
(Push 0.832551294565 bend 20.6422242386 degrees)
G01 X0.832551294565 Y20.6422242386
(Push 0.832551294565 bend 16.3479490652 degrees)
G01 X0.832551294565 Y16.3479490652
(Push 0.832551294565 bend 10.9608794459 degrees)
G01 X0.832551294565 Y10.9608794459
(Push 0 bend 0.0 degrees)
G01 X0 Y0.0
(Push 0.529714311959 bend 5.05785801353 degrees)
G01 X0.529714311959 Y5.05785801353
(Push 0.529714311959 bend 7.03693483775 degrees)
G01 X0.529714311959 Y7.03693483775
(Push 0 bend 0.650431360467 degrees)
G01 X0 Y0.650431360467
(Push 0.895100676603 bend 17.4576913982 degrees)
G01 X0.895100676603 Y17.4576913982
(Subpath end)
(Path end)
(Footer)
M5
G00 X0.0000 Y0.0000
M2
(Using default footer. To add your own footer create file "footer" in the output dir.)
(end)