X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-CMAE-Analysis: v=2.4 cv=Po5W0yA3 c=1 sm=1 tr=0 ts=62aaac65 a=+cj0cO56Fp8x7EdhTra87A==:117 a=J4J24TJ1bNPoBoMyZHbo1g==:17 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=gQX1269ULFhLm4Thdby34LUHVW0=:19 a=IkcTkHD0fZMA:10 a=JPEYwPQDsx4A:10 a=LRgjuh57OPSE8KLkoQkA:9 a=QEXdDO2ut3YA:10 a=gFE-7FYHWvNzGF8b5qNZ:22 X-SECURESERVER-ACCT: glimrick AT epilitimus DOT com To: geda-user ailing list From: "Glenn (glimrick AT epilitimus DOT com) [via geda-user AT delorie DOT com]" Subject: [geda-user] pcb- gcode export Message-ID: Date: Wed, 15 Jun 2022 20:06:15 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2plcpnl0121.prod.iad2.secureserver.net X-AntiAbuse: Original Domain - delorie.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - epilitimus.com X-Get-Message-Sender-Via: a2plcpnl0121.prod.iad2.secureserver.net: authenticated_id: glimrick AT epilitimus DOT com X-Authenticated-Sender: a2plcpnl0121.prod.iad2.secureserver.net: glimrick AT epilitimus DOT com X-Source: X-Source-Args: X-Source-Dir: X-CMAE-Envelope: MS4xfKBj4vjtabda2PA1YGiI45EUF693YGf4NN+ct0Nu1y1I1jntmpK2h0gY69oUGJLaaFdOZ5pB+oDWmDrO12lpWGHAWeqtt7q4uH279fDt2YkdR8rFzbyP GHfThihcVctxyG3IPPEpXlu6l2JPABmge8T9CrN+JZdQejdftvWT+QattHtp+2ppG4cxXgvg78+RK9giNxzF4XlRzThgIMsUZDwsFSYBzbCDoBW/MeArjqBT Reply-To: geda-user AT delorie DOT com How hard would it be to make the gcode prefix/postfix code optionally loaded from a file? My situation is that my super cheap pcb router doesn't support bits of the prefix (G64 & M7) and I would like to have some custom postfix code in each gcode file (Moves to a safe location essentially) but the prefix and postfix code are hard coded into the binary. So unless I am missing something my options are: 1. hand edit each gcode file (already getting old) 2. Hack the source code (hid/gcode/gcode.c) to make it what I want - which is what I am probably going to do 3. Beg for a feature. So consider this me begging, low priority, as I said I will probably just fix my local copy. But I thought it worth mentioning in case someone is feeling bored.  I don't know gtk and don't feel motivated enough to learn it just for this. My approach would be a check box and text box on the gcode export dialog. If the checkbox is checked the text box is a file that contains the pre/postfix code. And since I am begging it would be nice if the export settings were saved so they don't have to be reentered every time. Okay I'm done now. running 4.2.2