<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rainbowlazer &#187; Linux</title>
	<atom:link href="http://rainbowlazer.com/category/os/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://rainbowlazer.com</link>
	<description>art, design &#38; new media technotes</description>
	<lastBuildDate>Tue, 21 Jun 2011 01:38:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Open Source CNC Toolpathing Workflow</title>
		<link>http://rainbowlazer.com/3d/2d-3d/open-source-cnc-toolpathing/</link>
		<comments>http://rainbowlazer.com/3d/2d-3d/open-source-cnc-toolpathing/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 01:38:10 +0000</pubDate>
		<dc:creator>Chris Reilly</dc:creator>
				<category><![CDATA[2D->3D]]></category>
		<category><![CDATA[3D Modeling/Scanning]]></category>
		<category><![CDATA[CNC Fabrication]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://rainbowlazer.com/?p=653</guid>
		<description><![CDATA[




An overview of free &#038; open-source toolpathing for the DIYLILCNC. Turn a raster image into a G-Code engraving pattern with GIMP, Inkscape, Pycam and EMC2 in Ubuntu. 
]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-9738136468704557";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066cc";
google_color_text = "000000";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p><iframe width="425" height="349" src="http://www.youtube.com/embed/wI7uj-6KgyE?rel=0" frameborder="0" allowfullscreen></iframe></p>
<p>An overview of free &#038; open-source toolpathing for the DIYLILCNC. Turn a raster image into a G-Code engraving pattern with GIMP, Inkscape, Pycam and EMC2 in Ubuntu. </p>
]]></content:encoded>
			<wfw:commentRss>http://rainbowlazer.com/3d/2d-3d/open-source-cnc-toolpathing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DIY 3-axis CNC Mill/Enhanced Machine Controller</title>
		<link>http://rainbowlazer.com/3d/rhino/diy-3-axis-cnc-millenhanced-machine-controller/</link>
		<comments>http://rainbowlazer.com/3d/rhino/diy-3-axis-cnc-millenhanced-machine-controller/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 02:12:20 +0000</pubDate>
		<dc:creator>Chris Reilly</dc:creator>
				<category><![CDATA[CNC Fabrication]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rapid Prototyping]]></category>
		<category><![CDATA[Rhino]]></category>

		<guid isPermaLink="false">http://rainbowlazer.com/?p=44</guid>
		<description><![CDATA[This project has moved! Check out the latest version of the DIYLILCNC, complete with free plans and CAD files!
Taylor and I have been working on a DIY 3-axis CNC mill over the last few months. I&#8217;m posting this mostly to brag :), but also as an excuse to do some documenting on the process that [...]]]></description>
			<content:encoded><![CDATA[<p>This project has moved! Check out the latest version of the <a href="http://www.diylilcnc.org" target="_blank">DIYLILCNC</a>, complete with free plans and CAD files!</p>
<p><span style="text-decoration: line-through;"><a href="http://www.taylorhokanson.com/" target="_blank">Taylor</a> and I have been working on a <a href="http://www.instructables.com/id/How-to-Make-a-Three-Axis-CNC-Machine-Cheaply-and-/" target="_blank">DIY 3-axis CNC mill</a> over the last few months. I&#8217;m posting this mostly to brag :), but also as an excuse to do some documenting on the process that might be useful to others. We&#8217;ll keep posting as things progress.</span></p>

<a href='http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_complete_assembly.jpg' rel='shadowbox[post-44];player=img;' title='rainbowlazer_dot_com_cnc_complete_assembly'><img width="150" height="150" src="http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_complete_assembly-150x150.jpg" class="attachment-thumbnail" alt="Complete Assembly" title="rainbowlazer_dot_com_cnc_complete_assembly" /></a>
<a href='http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_cutswood2.jpg' rel='shadowbox[post-44];player=img;' title='rainbowlazer_dot_com_cnc_cutswood2'><img width="150" height="150" src="http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_cutswood2-150x150.jpg" class="attachment-thumbnail" alt="Milling Hardwood" title="rainbowlazer_dot_com_cnc_cutswood2" /></a>
<a href='http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_assmbyl2.jpg' rel='shadowbox[post-44];player=img;' title='rainbowlazer_dot_com_cnc_assmbyl2'><img width="150" height="150" src="http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_assmbyl2-150x150.jpg" class="attachment-thumbnail" alt="More Assembly" title="rainbowlazer_dot_com_cnc_assmbyl2" /></a>
<a href='http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_assmbyl.jpg' rel='shadowbox[post-44];player=img;' title='rainbowlazer_dot_com_cnc_assmbyl'><img width="150" height="150" src="http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_assmbyl-150x150.jpg" class="attachment-thumbnail" alt="Assembly" title="rainbowlazer_dot_com_cnc_assmbyl" /></a>
<a href='http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_case_connect.jpg' rel='shadowbox[post-44];player=img;' title='rainbowlazer_dot_com_cnc_case_connect'><img width="150" height="150" src="http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_case_connect-150x150.jpg" class="attachment-thumbnail" alt="Cable Connections" title="rainbowlazer_dot_com_cnc_case_connect" /></a>
<a href='http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_cable_connect.jpg' rel='shadowbox[post-44];player=img;' title='rainbowlazer_dot_com_cnc_cable_connect'><img width="150" height="150" src="http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_cable_connect-150x150.jpg" class="attachment-thumbnail" alt="Cable Connections" title="rainbowlazer_dot_com_cnc_cable_connect" /></a>
<a href='http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_enclosure_base.jpg' rel='shadowbox[post-44];player=img;' title='rainbowlazer_dot_com_cnc_enclosure_base'><img width="150" height="150" src="http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_enclosure_base-150x150.jpg" class="attachment-thumbnail" alt="Base Construction" title="rainbowlazer_dot_com_cnc_enclosure_base" /></a>
<a href='http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_dremel_mount.jpg' rel='shadowbox[post-44];player=img;' title='rainbowlazer_dot_com_cnc_dremel_mount'><img width="150" height="150" src="http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_dremel_mount-150x150.jpg" class="attachment-thumbnail" alt="3D Printed Dremel Mount" title="rainbowlazer_dot_com_cnc_dremel_mount" /></a>
<a href='http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_enclosure_constunt.jpg' rel='shadowbox[post-44];player=img;' title='rainbowlazer_dot_com_cnc_enclosure_constunt'><img width="150" height="150" src="http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_cnc_enclosure_constunt-150x150.jpg" class="attachment-thumbnail" alt="Constructing the Enclosure" title="rainbowlazer_dot_com_cnc_enclosure_constunt" /></a>
<a href='http://rainbowlazer.com/wp-content/uploads/2009/01/LILCNC.jpg' rel='shadowbox[post-44];player=img;' title='LILCNC'><img width="150" height="150" src="http://rainbowlazer.com/wp-content/uploads/2009/01/LILCNC-150x150.jpg" class="attachment-thumbnail" alt="New Redesign - No Side Drilling!" title="LILCNC" /></a>

<p><span style="text-decoration: line-through;"><a href="http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_lil_cnc.mov" rel="shadowbox[post-44]">Some video of testing</a></span></p>
<p><span style="text-decoration: line-through;"><a href="http://www.instructables.com/id/How-to-Make-a-Three-Axis-CNC-Machine-Cheaply-and-/" target="_blank">The original plans</a> use 1/2&#8243; MDF for all the panels. We decided to go with with clear acrylic for the visual effect. Also, we were able to use a laser cutter for most of the cutting to the edges are nice and clean.  The downside is the brittle nature of acrylic, which likes to crack when drilled from the edge (and this design requires a lot of that).  <strong> </strong></span></p>
<p><span style="text-decoration: line-through;"><strong>CONTROLLER &amp; CONFIGURATION </strong></span></p>
<p><span style="text-decoration: line-through;"><strong> </strong> We&#8217;re using linux-based <a href="http://www.linuxcnc.org/" target="_blank">Enhanced Machine Controller</a> to run the mill, with a modified version of the standard stepper configuration. Here&#8217;s our <a href="http://rainbowlazer.com/wp-content/uploads/2009/01/stepper.zip">EMC configuration files</a>. So far, I&#8217;ve been really pleased with the performance. It was trial-and-error figuring out the scaling&#8211; I ended up attaching a pencil to a dremel collet, then manually jogging each axis until I could draw a one-inch line in each direction. The scaling factors I came up with are: 520 for X and Y, and 16000 for Z, and that&#8217;s with quarter stepping set on the hardware controller board.</span></p>
<p><span style="text-decoration: line-through;">We kept getting a &#8220;<a title="http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Following_Error" href="http://" target="_blank">Joint 2 Following error</a>,&#8221; indicating that the z-axis was losing its position. I found that this was happening only when using  <a href="http://www.linuxcnc.org/docs/html/gcode_main.html#sec:G0:-Rapid-Linear" target="_blank">G00</a> (rapid-positioning) codes. I&#8217;m still a little unclear as to whether we need to even worry about positioning in this case, but for now I&#8217;m just replacing G00 codes in my toolpaths with <a href="http://www.linuxcnc.org/docs/html/gcode_main.html#sec:G1:-Linear-Motion" target="_blank">G01</a> (linear motion). It&#8217;s a little slower, but for now the error is not happening anymore. See Feed Speeds for the permanent fix.</span></p>
<p><span style="text-decoration: line-through;"><strong>TOOLPATHS</strong></span></p>
<p><span style="text-decoration: line-through;">We use <a href="http://www.rhino3d.com/" target="_blank">Rhino3D</a> and <a href="http://www.mecsoft.com/index.shtml" target="_blank">RhinoCam</a> to generate our toolpaths. I&#8217;ve found that a number of different post-processors to work just fine, but mostly we&#8217;re using .NCD&#8217;s out of habit.</span></p>
<p><span style="text-decoration: line-through;"><strong>FEED SPEEDS </strong></span></p>
<p><span style="text-decoration: line-through;">There doesn&#8217;t seem to be a way to directly set the feed and plunge speeds in EMC. The NCD post-processor defaults the feed speed to 3.7 and the plunge speed to 7.3 and the units are inches per minute. So we&#8217;ve been doing a search and replace in the post-processed files setting plunge to 14 and feed to 10 (this is easier than going back to RhinoCam to re-generate the toolpath with new feed speeds). </span><span style="text-decoration: line-through;">We also then modified the MAX_FEED_OVERRIDE setting in the  stepper_inch.ini file to 3, meaning we can increase the feed override up to 300%. We now limit the max override to 150%, and more deliberately set feed and plunge speeds in RhinoCam, under the Feeds &amp; Speeds tab &#8212; these vary depending on material.</span></p>
<p><span style="text-decoration: line-through;"><strong>ERRORS</strong></span></p>
<p><span style="text-decoration: line-through;">We kept getting a &#8220;Joint 2 following error&#8221; while testing, and found&#8211;after consulting the <a href="http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Following_Error" target="_blank">EMC documentation wiki</a>&#8211;that changing the FERROR setting to 5.0 and the MIN_FERROR to 1.0 (that&#8217;s percent) for all axes in stepper_inch.ini alleviated this error. There&#8217;s the potential with increasing the FERROR settings of losing some accuracy, but that&#8217;s not our main concern at this point.</span></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-9738136468704557";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066cc";
google_color_text = "000000";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://rainbowlazer.com/3d/rhino/diy-3-axis-cnc-millenhanced-machine-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://rainbowlazer.com/wp-content/uploads/2009/01/rainbowlazer_dot_com_lil_cnc.mov" length="4851188" type="video/quicktime" />
		</item>
		<item>
		<title>WinRestart: Applescript Mini-App for Automatically Restarting Boot Camp in the Windows/Linux Partition</title>
		<link>http://rainbowlazer.com/scripting-programming/applescript-application-for-restarting-boot-camp-in-the-windows-partition/</link>
		<comments>http://rainbowlazer.com/scripting-programming/applescript-application-for-restarting-boot-camp-in-the-windows-partition/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 15:37:14 +0000</pubDate>
		<dc:creator>Chris Reilly</dc:creator>
				<category><![CDATA[Boot Camp]]></category>
		<category><![CDATA[Dual Boot]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Scripting & Programming]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://rainbowlazer.com/?p=26</guid>
		<description><![CDATA[If you&#8217;re like me, you use Boot Camp to run both Windows/Linux and OS X on your Intel Mac. It&#8217;s truly a great setup, especially if you use a one-extra-partition setup (I use MacDrive on the Windows side) to share the same documents between all OS&#8217;s, and Thunderbird and Firefox sharing the same profiles to [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me, you use <a href="http://www.apple.com/macosx/features/bootcamp.html" target="_blank">Boot Camp</a> to run both Windows/Linux and OS X on your Intel Mac. It&#8217;s truly a great setup, especially if you use a one-extra-partition setup (I use <a href="http://www.mediafour.com/products/macdrive/" target="_blank">MacDrive</a> on the Windows side) to share the same documents between all OS&#8217;s, and <a href="http://www.mozilla.com/en-US/thunderbird/" target="_blank">Thunderbird</a> and <a href="http://www.mozilla.com/en-US/firefox/" target="_blank">Firefox</a> <a href="http://kb.mozillazine.org/Profile_Manager" target="_blank">sharing the same profiles</a> to get to all your email, bookmarks and preferences from any OS.</p>
<p>The only downside to this setup is having to reboot every time I  switch OS&#8217;s. Boot Camp only allows one partition to be the default startup disk. I keep my default set to OSX, since that&#8217;s what I use most. But if I want to reboot in Windows or Linux, I have to sit and wait while I hold down &#8216;alt&#8217; and the Boot Camp bootloader comes up. I would rather spend this time staring out the window, or getting up for coffee.</p>
<p><strong>That&#8217;s why <a href="http://www.rainbowlazer.com/wp-content/uploads/2008/03/WinRestart.app.zip">WinRestart</a> is awesome.</strong></p>
<p>WinRestart is a [painfully] simple two lines of Applescript (thanks to <a href="http://www.taylorhokanson.com/1/hokanson/" target="_blank">Taylor</a> for the code) that passes a shell script to the Terminal, using the <a href="http://developer.apple.com/documentation/Darwin/Reference/Manpages/man8/bless.8.html" target="_blank">bless</a> command. This sets your Windows/Linux partition to be the boot disk on the next restart only. WinRestart is saved as an application, which means you can keep it in your Dock. Just click to launch, and you&#8217;re on your way to automatic restart heaven!</p>
<p>After downloading and extracting WinRestart, open it up in the Script Editor (Applications -&gt; AppleScript -&gt; Script Editor.app) and change the name of the boot volume to your alternate partition. For example, if your Linux partition is named &#8216;linuxpartition,&#8217; you would change the default Untitled:</p>
<p align="center">do shell script &#8220;bless -mount /Volumes/<strong>Untitled</strong>/&#8230; privileges</p>
<p>to &#8216;linuxpartition&#8217; (no quotes, though):</p>
<p align="center">do shell script &#8220;bless -mount /Volumes/<strong>linuxpartition</strong>/&#8230; privileges</p>
<p align="center"><a title="Set the name of your Alternate Partition" href="http://rainbowlazer.com/wp-content/uploads/2008/03/picture-22.png" rel="shadowbox[post-26];player=img;"><img src="http://rainbowlazer.com/wp-content/uploads/2008/03/picture-22.thumbnail.png" alt="Set the name of your Alternate Partition" /></a></p>
<p align="left"><strong>UPDATE:</strong> Andy writes with this tip about using WinRestart with an NTFS partition:</p>
<blockquote><p><em>I just wanted to thank you for your WinRestart post on rainbowlazer.  It was pretty much exactly the information I wanted &#8212; however, using a NTFS partition for boot camp did cause some problems with using bless.</em></p>
<p><em>Bless seems to require statfs, when you use it with the &#8211;mount option, which apparently isn&#8217;t supported with MacFuse/NTFS-3G.  Instead [of bless -mount /Volumes/Untitled/ -legacy -setBoot -nextonly], the following bless command worked great for me:</em></p>
<p><em>bless &#8211;device /dev/disk0s3 &#8211;legacy &#8211;setBoot &#8211;nextonly</em></p></blockquote>
<p align="left"><strong>Thanks for the input, Andy!</strong></p>
<p align="left"><strong>UPDATE:</strong> Tim writes with this tip about adapting WinRestart to work with System Events to prompt saving of open documents before restart:</p>
<blockquote><p><em>Thanks for developing the WinRestart application.  I wanted to comment that I have used it a lot and have found it really helpful.  I made a version of the script that might suit most users a little better though, maybe you would like to post it as an alternative.</p>
<p>do shell script &#8220;bless -mount /Volumes/Your_Volume_Here/ -legacy -setBoot -nextonly&#8221; password &#8220;Your_User_Password_Here&#8221; with administrator privileges<br />
tell application &#8220;System Events&#8221;<br />
   restart<br />
end tell</p>
<p>It doesn&#8217;t ask for a password and lets you save unsaved documents/close programs.</p>
<p>For users of this, I also recommend turning off the startup screen in the WinStart File menu.</p>
<p>Many Thanks Again,</p>
<p>Tim</em></p></blockquote>
<p align="left"><strong>Thanks for the tip, Tim! <br />The addition of your password in plaintext is a little iffy in my opinion, but if you&#8217;re not worried about it then it&#8217;s a good time-saver.</strong></p>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://rainbowlazer.com/scripting-programming/applescript-application-for-restarting-boot-camp-in-the-windows-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

