<p>I'm making a hybrid 3D printer and circuit etching (CNC milling) machine that can both 3D print and etch prototype circuit boards. I'll be using Marlin firmware with an Arduino Mega &amp; RepRap 1.4 board. It will have a 3D printer head and a milling head side by side. I'd like to have it be able to read both .gbr (for circuit etching) and .gcode (for 3D printing) files. How should I configure Marlin to read both types?</p>

[{'answer_id': 10616, 'author': 'Davo', 'author_id': 4922, 'author_profile': 'https://3dprinting.stackexchange.com/users/4922', 'pm_score': 2, 'selected': False, 'text': '<p>You can use both .gcode and .gbr files one one machine. We do it where I work.</p>\n\n<p>However, when we make prototype circuit boards, we don\'t print them; we acquire circuit board blanks, and then we either:</p>\n\n<ol>\n<li><p>Use a diode laser to burn off the top layer of garolite for isolation traces, then do a chemical dip to remove that copper, then another laser burn to expose pads for surface mount components; or</p></li>\n<li><p>Use a spindle tool to remove the top layer of garolite where needed for pads, as well as mill through the copper layer for isolation traces.</p></li>\n</ol>\n\n<p>We have not found a printable material that has the conductivity we want in a circuit board.</p>\n\n<p>Source: I work for <a href="http://hyrel3d.com" rel="nofollow noreferrer">Hyrel 3D</a></p>\n\n<p><a href="https://i.stack.imgur.com/Gk8gV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Gk8gV.png" alt="enter image description here"></a></p>\n\n<p>Note: we don\'t use Marlin on Arduino, we use in-house firmware on STM32F429 boards. </p>\n'}, {'answer_id': 10620, 'author': 'Fernando Baltazar', 'author_id': 4454, 'author_profile': 'https://3dprinting.stackexchange.com/users/4454', 'pm_score': 0, 'selected': False, 'text': '<p>Well, I\'m Using pronterface to send the gcode to print the traces of my PCB with an ink pen (sharpie); since the parameter in the Marlin-Rep rap1.4 is configured to fast print, So I can easily send the code just setting the origin or Zero to print on any area of the printer. </p>\n\n<p>To set the new Zero just use the code G92, for example we need to print in the middle of the printer, so just move the spindle to that position and set G92 X0 Y0, then andjust the Z height then set G92 Z0. for your milling add a Z secure travel to avoid collide with the surface and or mechanical clamps</p>\n\n<p>This video shows a <a href="https://www.youtube.com/watch?v=arTFvzyqAwE&amp;t=49s" rel="nofollow noreferrer">PCB print</a> in the 3Dprinter, so for the milling process will be the same. The video shows also the process making the holes on the CNC; I didn\'t do in the 3d printer because in that time I hadn\'t a dremel support. </p>\n\n<p>Also Tech2C teach how you can configure the whole printer, just <a href="https://www.youtube.com/watch?v=6ipcdhXetHY&amp;t=5s" rel="nofollow noreferrer">follow this link</a></p>\n\n<p>So, be happy milling in your 3d printer</p>\n\n<blockquote>\n  <p><strong>Note:</strong> for gbrl files I haven\'t tested but you can try to read and send\n  your code thru this program (<em>pronterface</em>) probably you cand get some\n  messages like "uknown code" just like <strong><em>gcode sender</em></strong> does while trying\n  to send codes for laser etching (old versions).</p>\n</blockquote>\n'}]
['https://3dprinting.stackexchange.com/questions/10610', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/17054/']