<?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>TechPaladin Printing &#187; Software</title>
	<atom:link href="http://techpaladin.com/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://techpaladin.com</link>
	<description></description>
	<lastBuildDate>Wed, 28 Mar 2012 23:25:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Nathaniel&#8217;s guide to high-detail printing</title>
		<link>http://techpaladin.com/2011/12/21/nathaniels-guide-to-high-detail-printing/</link>
		<comments>http://techpaladin.com/2011/12/21/nathaniels-guide-to-high-detail-printing/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 16:41:58 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://techpaladin.com/?p=916</guid>
		<description><![CDATA[A lot of people have asked me recently how I make extremely high-detail prints, such as this little gnome house: Using a better firmware (Marlin) and a gcode generator that creates more sensible paths (Slic3r) are the first two things you absolutely must do. Without using both Slic3r and Marlin, you&#8217;ll struggle to print your [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of people have asked me recently how I make extremely high-detail prints, such as <a href="http://www.thingiverse.com/thing:3943">this little gnome house</a>:</p>
<div style="text-align:center;"><img src="http://techpaladin.com/wp-content/uploads/2011/11/adorable-gnome-house.jpg" alt="adorable gnome house.jpg" border="2" width="700" height="683" /></div>
<p>Using a better firmware (Marlin) and a gcode generator that creates more sensible paths (Slic3r) are the first two things you absolutely must do. Without using both Slic3r and Marlin, you&#8217;ll struggle to print your perimeters at more than about 25 mm/sec without seeing severe blobbing on corners and arcs. Let&#8217;s assume you&#8217;ve followed my advice in <a href="http://techpaladin.com/2011/11/21/getting-all-the-pieces-to-fit-together/">Getting all the pieces to fit together</a> and you&#8217;re using Marlin and Slic3r. Excellent! Let&#8217;s get started.</p>
<h3>Low layer height</h3>
<p>Layer height is the primary setting that determines the surface detail of your print. The lower the layer height, the greater the &#8220;resolution&#8221; of the print. A 0.3 mm layer height will display visible  layers, while at 0.2 mm layer height, the layers will begin to appear smooth with certain filament colors. The gnome house above was printed at 0.2 mm layer height in silver PLA, which is very forgiving of surface blemishes. Black PLA is similar, and translucent blue PLA is even more forgiving, but white PLA needs lower layers and perfect layer alignment before they need to disappear; 0.15 mm layer heights and below, usually.</p>
<p>As for your nozzle diameter, the truth is, the relationship between your nozzle diameter and your layer height is a very loose one. A bigger nozzle lets you print with a slightly higher layer height, but doesn&#8217;t really constrain you that much when you want to decrease it. This is because the nozzle diameter merely determines the width of the extrusion that comes out of it. Even a fairly wide extrusion should react fine to being smooshed down on top of the previous layer. To sum up:</p>
<p>Larger nozzle (0.5 and above):</p>
<ul>
<li>Taller (and more visible) layers possible</li>
<li>Greater maximum speed is possible</li>
</ul>
<p>Smaller nozzle (0.35 to 0.4)</p>
<ul>
<li>Shorter layers (< 0.1 mm ) possible</li>
<li>More contour on extremely short layers possible</li>
</ul>
<p>One thing I&#8217;ll mention is that I do not recommend a 0.25 mm nozzle. That small of an opening makes it a real challenge to print quickly, and can lead to jams. I really like a 0.35 mm nozzle. I can get great high-detail prints, but I&#8217;m also able to print infill at 120 mm/sec without the extrusion getting too sparse. If I go much faster than that, though, I can see it start to string out. A 0.4 or even 0.5 mm nozzle would be better for higher speeds than that, but my focus is maximizing speed <em>given a certain quality I want to achieve,</em> so I&#8217;m more than happy to sacrifice a bit of potential infill speed so I can get the benefits of a lower potential layer height. Perimeters, of course, are printed much slower than 120 mm/sec to ensure good surface detail and layer alignment. Which leads me to…</p>
<h3>Only maximize speed for the desired quality</h3>
<p>In the beginning, I was so excited about pushing my printer faster than I sacrificed quality to ramp up the speed, going as fast as 65 mm/sec for the perimeters on <a href="http://www.thingiverse.com/derivative:15407">this building</a>. Now I know better. It&#8217;s far more sensible to pick a desired quality level and then maximize the speed without diminishing the quality.</p>
<p>Once you have a desired quality (say, 0.15 mm layers), you can set about increasing the speed until you start to see diminished surface quality. The exact speed you can achieve for your target quality will vary from machine to machine, so you&#8217;ll need to do some experimentation. Here are some tips:</p>
<ul>
<li><strong>Print hollow if you can.</strong> This really saves time and filament, and more models than you think can be printed without any infill at all. The real challenge is for models with flat tops; those flats need good bridges. But that&#8217;s not too hard if you make sure to keep your number of solid layers at 3 or more.</li>
<li><strong>Print infill faster than perimeters.</strong> After all, nobody sees the infill! If you can&#8217;t print hollow, you can increase the infill speed all the way until the extrusion get stringy and begins to lose its structural integrity. For me, with PLA and a 0.35 mm nozzle, this is about 120 mm/sec.</li>
<li><strong>Don&#8217;t print infill for every layer.</strong> Again, if you can&#8217;t print hollow, this is another good alternative. Skeinforge calls this &#8220;Skin&#8221;, but Slic3r uses the &#8220;Print infill every n layers&#8221; setting. Make this 2 or even 3 if your layer height is really low or you have a big nozzle.</li>
<li><strong>For PLA, use a fan.</strong> PLA needs more time to cool than ABS, so the faster you go and the hotter your nozzle, the more imperative it is that you use a fan to cool the extrusion after it hits the previous layer.</li>
<li><strong>Increase your first layer speed by moving the nozzle closer to the build platform.</strong> The only reason you need to go slow for the first layer is to ensure good adhesion. You can also get this by moving the nozzle closer to the platform, ensuring that the extrusion is really smooshed down. But don&#8217;t go too close or it can be tough to get the print off the platform!</li>
</ul>
<p>Once you&#8217;ve got good prints with all that, there&#8217;s an additional piece of the puzzle that lets you increase the speed even more: a rigid frame. No matter how you slice it, the Prusa Mendel isn&#8217;t an especially rigid machine along its X axis. The faster I go, the more I can see the frame triangles wobbling back and forth. That won&#8217;t do! There are band-aids such as <a href="http://www.thingiverse.com/thing:14606">this brace</a> but a better design is really needed. That design is the MendelMax. I&#8217;ve finished my MendelMax&#8217;s <a href="http://techpaladin.com/2011/12/07/mendelmax-build-frame-part-1/">frame</a> and <a href="http://techpaladin.com/2011/12/11/mendelmax-build-x-and-z-axes/">axes</a>, and the thing is rock solid. Even at very high speeds, I just don&#8217;t see it bending or wobbling at all. So get yourself a MendelMax!</p>
]]></content:encoded>
			<wfw:commentRss>http://techpaladin.com/2011/12/21/nathaniels-guide-to-high-detail-printing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting all the pieces to fit together</title>
		<link>http://techpaladin.com/2011/11/21/getting-all-the-pieces-to-fit-together/</link>
		<comments>http://techpaladin.com/2011/11/21/getting-all-the-pieces-to-fit-together/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 07:07:15 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://techpaladin.com/?p=770</guid>
		<description><![CDATA[This whole DIY 3D printing thing is pretty awesome, but I&#8217;m convinced that it can be even more awesome. Today, we generate gcode with generators that are kinda slow and clunky, and we use firmwares that are good enough but limit your speed. The reason for my relative blogging absence over the last two weeks [...]]]></description>
			<content:encoded><![CDATA[<p>This whole DIY 3D printing thing is pretty awesome, but I&#8217;m convinced that it can be even more awesome. Today, we generate gcode with generators that are kinda slow and clunky, and we use firmwares that are good enough but limit your speed. The reason for my relative blogging absence over the last two weeks has been due to some hardcore en-awesome-ification; I&#8217;ve been seeing if I can do better. It&#8217;s taken two weeks of learning and tweaking, but I&#8217;ve gotten pretty far.</p>
<h3>Marlin</h3>
<p>The most important piece of my puzzle is the firmware, which interprets the gcode into movements on the printer. Even if you sent the printer awesome gcode, if your firmware can&#8217;t handle it or does odd things with it, the results will be less than satisfying. I believe this picture will illustrate the differences between the Sprinter (the most common firmware) and Marlin. I&#8217;ve written about Marlin before, but here are two <a href="http://www.thingiverse.com/thing:10752">Yoda heads</a> (both printed with identical gcode), the one on the left printed with Sprinter, and the one on the right printed with Marlin:</p>
<p><center><img src="http://farm7.static.flickr.com/6110/6351413558_0122c3d7be_z.jpg" border="2"/></center></p>
<p>Observe the Sprinter print&#8217;s rough, frosty appearance. That frosted appearance is caused by the constant fast-slow-fast-slow sequence it follows due to the curves (which are really just a series of short lines after all) and lack of movement planning. The constant, minute motion also causes the extruder to vibrate quite terribly, even at fairly slow speeds (? 30 mm/sec). This not only slows it down, but reduces precision since the nozzle may be a few fractions of a millimeter off from where it&#8217;s supposed to be at any particular time. Marlin, by contrast, can plan its moves so it doesn&#8217;t have to slow down to draw each individual line segment, resulting in a smoother surface sheen and more consistent layers. Also notice how the Marlin print is unfinished, because a communication error killed the print mid-way through. This error, which <a href="https://github.com/ErikZalm/Marlin-non-gen6/issues/7">I&#8217;ve reported</a>, was totally preventing me from completing large prints with Marlin. Over the last few days, I&#8217;ve been working with the developer Erik Zalm to feed him information so he can fix it. It turns out that my Sanguinololu electronics are just too limited and were hitting a number of edge cases. Erik&#8217;s made some affordances for us Sanguinololu users, but <a href="http://en.wikipedia.org/wiki/PID_controller">PID temperature control</a> has to remain disabled due to lack of memory.</p>
<p>I now recommend RAMPS rather than Sanguinololu due to the better system specs. It&#8217;s really only gonna be about $40 or $50 more expensive, but it&#8217;s totally worth it. Firmwares aren&#8217;t getting any smaller or less-full-featured.</p>
<p>…But at least Marlin is working again with my Sanguinololu thanks to Erik&#8217;s labors! Here are the final results; again, Sprinter on the left and Marlin on the right:</p>
<div style="text-align:center;"><img src="http://techpaladin.com/wp-content/uploads/2011/11/sprinter-vs-marlin.jpg" alt="sprinter vs marlin.jpg" border="2" width="700" height="415" /></div>
<h3>Slic3r</h3>
<p>Next up, once you have a good firmware with movement planning, you need to send it better gcode. And one of the best gcode generator out there is <a href="http://slic3r.org/">Slic3r</a>. Despite its extreme newness, Slic3r is quickly gaining acceptance in the RepRap community. When you compare it to our old standbys Skeinforge and SFACT, Slicer operates much faster, requires far, far less calibration and experimentation to get your settings right, and generates nice clean gcode even at very low layer heights, which I&#8217;ve found that Skeinforge struggles with.</p>
<p>It&#8217;s also full of bugs that make it not <em>quite</em> ready for prime time. But I can see the writing on the wall; Slic3r is destined to be our gcode generator, and I can&#8217;t wait for that day to arrive. To that effect, I&#8217;ve been doing a lot of work to test Slic3r with hard prints to find bugs. You can see a number of them on my desk here:</p>
<div style="text-align:center;"><img src="http://techpaladin.com/wp-content/uploads/2011/11/state-of-the-desk.jpg" alt="state of the desk.jpg" border="2" width="750" height="521" /></div>
<p>I&#8217;ve found the <a href="http://www.thingiverse.com/thing:10485">Vanderbilt Mansion</a> (which you can see a several of above) to be a great print quality torture test, especially at very low layer heights. It&#8217;s got lots of details, straight walls, curved walls, slopes, domes,  and subtle bridges. It will really show you what your printer has trouble with. I still don&#8217;t have a copy of it I&#8217;m sufficiently happy with that I&#8217;m willing to put online, but I&#8217;m getting there. It&#8217;s a <em>tough</em> print. Here are all the bugs ones I found trying to print that object and others:</p>
<p><a href="https://github.com/alexrj/Slic3r/issues/64">https://github.com/alexrj/Slic3r/issues/64</a><br />
<br/><a href="https://github.com/alexrj/Slic3r/issues/59">https://github.com/alexrj/Slic3r/issues/59</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/55">https://github.com/alexrj/Slic3r/issues/55</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/49">https://github.com/alexrj/Slic3r/issues/49</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/48">https://github.com/alexrj/Slic3r/issues/48</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/47">https://github.com/alexrj/Slic3r/issues/47</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/46">https://github.com/alexrj/Slic3r/issues/46</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/45">https://github.com/alexrj/Slic3r/issues/45</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/44">https://github.com/alexrj/Slic3r/issues/44</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/41">https://github.com/alexrj/Slic3r/issues/41</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/37">https://github.com/alexrj/Slic3r/issues/37</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/35">https://github.com/alexrj/Slic3r/issues/35</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/34">https://github.com/alexrj/Slic3r/issues/34</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/33">https://github.com/alexrj/Slic3r/issues/33</a><br />
<br /><a href="https://github.com/alexrj/Slic3r/issues/32">https://github.com/alexrj/Slic3r/issues/32</a></p>
<p>Many are already fixed! Alex has released a new version of Slic3r that&#8217;s most excellent, and it includes lots of neat features, such as new infill patterns and a more tolerant parser. And my previous post about how cool Slic3r is has been <a href="http://slic3r.org/2011/11/2-the-birth-of-a-slic3r-community">featured on the homepage</a>!</p>
<p>Here are prints that I&#8217;ve done with the new version. This is a <a href="http://www.thingiverse.com/thing:12673">SimCity capitol building</a>:</p>
<div style="text-align:center;"><img src="http://techpaladin.com/wp-content/uploads/2011/11/simcity-capitol.jpeg" alt="simcity capitol.jpeg" border="2" width="700" height="595" /></div>
<p>Nothing super fancy, just a standard 0.3mm layer print, but Slic3r generated its gcode in about 45 seconds, and I think it came out great.</p>
<p>And here&#8217;s a print that I&#8217;m very, very proud of:</p>
<div style="text-align:center;"><img src="http://techpaladin.com/wp-content/uploads/2011/11/adorable-gnome-house.jpg" alt="adorable gnome house.jpg" border="2" width="700" height="683" /></div>
<p>It&#8217;s one of <a href="http://www.thingiverse.com/thing:3943">Whyst&#8217;s adorable little gnome houses</a>, and I printed it with exactly the same settings as the capitol building except for changing two things: I reduced the layer height from 0.3 mm to 0.15 mm, and I told it to only draw infill every other layer. That&#8217;s it. If you still need any more proof that Slic3r is awesome, I don&#8217;t know what to tell you!</p>
]]></content:encoded>
			<wfw:commentRss>http://techpaladin.com/2011/11/21/getting-all-the-pieces-to-fit-together/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Marlin rocks a little less still totally rocks</title>
		<link>http://techpaladin.com/2011/10/27/marlin-rocks-a-little-less/</link>
		<comments>http://techpaladin.com/2011/10/27/marlin-rocks-a-little-less/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 00:43:32 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://techpaladin.com/?p=727</guid>
		<description><![CDATA[Update: This was a case of PEBKAC. The problem had nothing to do with Marlin in the end. I&#8217;d been merrily printing things at blazing speed (such as this SimCity 2000 building) and I&#8217;ve been really happy with Marlin&#8217;s ability to not only print faster, but smoother at the same time. Unfortunately, I&#8217;ve run into [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update: This was <a href="http://techpaladin.com/2011/10/30/marlins-reputation-remains-intact-also-a-cool-figurine/">a case of PEBKAC</a>. The problem had nothing to do with Marlin in the end. </strong></p>
<p>I&#8217;d been merrily printing things at blazing speed (such as <a href="http://www.thingiverse.com/derivative:15407">this SimCity 2000 building</a>) and I&#8217;ve been really happy with Marlin&#8217;s ability to not only print faster, but smoother at the same time. Unfortunately, I&#8217;ve run into what I believe to be a reproducible bug in the firmware. I have a 3 or so hour print, and after a while, the printer abruptly starts printing each layer farther off to the right:</p>
<p><center><img src="http://farm7.static.flickr.com/6223/6287669722_aec42b1548_z.jpg" border="2"/></center></p>
<p>I&#8217;m using Replicatorg of course, and after printing the same model three times (second and third printed with a different gcode file after re-skeining), the same thing happens in the same place at the same time. I checked out the gcode in Skeinlayer and it&#8217;s fine; it&#8217;s definitely not telling the printer to make the mess shown above!</p>
<p>I&#8217;ll mention at this point that I changed Marlin&#8217;s baud rate to 115200 to get it to work with Replicatorg. Yeah, yeah, I&#8217;m a bad person and all that. I decided to try printing the same gcode file with Pronterface, keeping the 115200 baud rate to see if it was my fiddling with the baud rate or Replicatorg. With Pronterface, it exhibited the exact same problem, albeit it started messing up immediately rather than waiting two hours (how considerate!). I then returned the baud rate to the normal 250000 and printed the same gcode file with Pronterface once again and got the exact same result as when I printed that file at 115200 baud. So it&#8217;s definitely the firmware&#8217;s fault.</p>
<p>I&#8217;ve <a href="http://forums.reprap.org/read.php?147,103735">asked the Marlin devs</a> for help, but in the meantime, it&#8217;s back to Sprinter once again…</p>
]]></content:encoded>
			<wfw:commentRss>http://techpaladin.com/2011/10/27/marlin-rocks-a-little-less/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Marlin rocks</title>
		<link>http://techpaladin.com/2011/10/23/marlin-rocks/</link>
		<comments>http://techpaladin.com/2011/10/23/marlin-rocks/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 15:54:56 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://techpaladin.com/?p=723</guid>
		<description><![CDATA[It turned out that getting Marlin to work with Replicatorg was drop-dead simple. All I needed to do was change the baud rate in the firmware to match the baud rate listed in the reprap.xml config file. Duh! In the past I tried changing the baud rate in the config to match what was in [...]]]></description>
			<content:encoded><![CDATA[<p>It turned out that getting Marlin to work with Replicatorg was drop-dead simple. All I needed to do was change the baud rate in the firmware to match the baud rate listed in the reprap.xml config file. Duh! In the past I tried changing the baud rate in the config to match what was in the firmware, but that didn&#8217;t work for some reason. Altering the baud rate in the firmware is the way to go. And that&#8217;s it; it just works. And the result?</p>
<p><em>It&#8217;s a goddamn print monster.</em></p>
<p>My Prusa is now buttery smooth. There&#8217;s just no other way to describe it. No more jerky movements; no more bubbles on corners; Marlin makes your extruder carriage seem like it&#8217;s floating on a cloud. The printer&#8217;s every movement becomes not only more graceful, but quieter. My Prusa is truly near silent now. While playing music at a low volume, I literally can&#8217;t hear the printer when it&#8217;s printing not 18 inches from my head. The loudest noise now is the faint squeak of threaded rod against M8 nut when it changes layers.</p>
<p>Don&#8217;t take it from me; see for yourself:</p>
<p><center><br />
<iframe width="560" height="315" src="http://www.youtube.com/embed/Q_G9pv4r5Cc" frameborder="2" allowfullscreen></iframe><br />
</center></p>
<p>You&#8217;re gonna have to turn up the sound to hear anything, even with the camera about 8 inches away. That&#8217;s a <a href="http://www.thingiverse.com/thing:8581">Weighted Storage Cube</a> being printed at 50 mm/sec for perimeters and 100 mm/sec for infill. I&#8217;m sure in practice it&#8217;s not quite reaching those speeds due to the small size of the object, but just look at that extruder zip around!</p>
<p>For even more awesome, grab <a href="http://www.thingiverse.com/thing:12781">this improved reprap.xml file</a> for Replicatorg, made by ccotter247. Apparently, there was an easier way to get the extruder motor controllable from the Replicatorg control panel: remove the steper_axis variable from the machine config. Between that and my fix, this should Just Work™ in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://techpaladin.com/2011/10/23/marlin-rocks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>First Replicatorg patch</title>
		<link>http://techpaladin.com/2011/10/19/first-replicatorg-patch/</link>
		<comments>http://techpaladin.com/2011/10/19/first-replicatorg-patch/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 04:51:40 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://techpaladin.com/?p=713</guid>
		<description><![CDATA[I submitted my first patch (or &#8220;pull request&#8221; in git-parlance) to Replicatorg to fix issue #4 that I wrote about in this earlier post. As usual, the most challenging part was actually figuring out what part of the code was being called where, i.e. just what in the heck is going on. Once I got [...]]]></description>
			<content:encoded><![CDATA[<p>I submitted <a href="https://github.com/makerbot/ReplicatorG/pull/240">my first patch</a> (or &#8220;pull request&#8221; in git-parlance) to Replicatorg to fix issue #4 that <a href="http://techpaladin.com/2011/10/05/replicatorg/">I wrote about in this earlier post</a>. As usual, the most challenging part was actually figuring out what part of the code was being called where, i.e. just what in the heck is going on. Once I got a handle on the flow, it was really quite a simple fix; in fact, somebody had even left a comment in the code basically saying &#8220;hey, I think this will break things&#8221;:</p>
<pre>
// TODO: Reverted to separate commands for enable + extrude + disable. <strong>This probably breaks 5D</strong>
machine.runCommand(new replicatorg.drivers.commands.EnableMotor());
machine.runCommand(new replicatorg.drivers.commands.Delay(extrudeTime*1000));
machine.runCommand(new replicatorg.drivers.commands.DisableMotor());
</pre>
<p>Yeah, you&#8217;re darn right it breaks 5D! That&#8217;s the driver used for RepRap machines, so of course the functionality didn&#8217;t work. I special-cased in working behavior for the 5D driver, since no other drivers seem to exhibit the problem:</p>
<pre>
// Reverted to one single command for RepRap5D driver
if (machine.getDriver().getDriverName().equals("RepRap5D")) {
  machine.runCommand(new replicatorg.drivers.commands.EnableMotor(extrudeTime*1000));
} else {
  machine.runCommand(new replicatorg.drivers.commands.EnableMotor());
  machine.runCommand(new replicatorg.drivers.commands.Delay(extrudeTime*1000));
  machine.runCommand(new replicatorg.drivers.commands.DisableMotor());
}
</pre>
<p>I think this change will really benefit RepRap users. Replicatorg will be a real first-class host app lacking no major functionality.</p>
]]></content:encoded>
			<wfw:commentRss>http://techpaladin.com/2011/10/19/first-replicatorg-patch/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Marlin&#8217;s working again</title>
		<link>http://techpaladin.com/2011/10/19/marlins-working-again/</link>
		<comments>http://techpaladin.com/2011/10/19/marlins-working-again/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 02:49:03 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://techpaladin.com/?p=711</guid>
		<description><![CDATA[Turns out there&#8217;s a relatively easy solution to Marlin&#8217;s connectivity problems on Sanguinololu boards: in Marlin.pde, change BUFSIZE from 8 to 4. Now it works like a charm and you can turn your perimeter federate back up to 50 mm/sec and your infill feed rate basically as high as you want. I&#8217;ve only gone as [...]]]></description>
			<content:encoded><![CDATA[<p>Turns out there&#8217;s a relatively easy solution to <a href="http://techpaladin.com/2011/10/02/two-issues-two-solutions/">Marlin&#8217;s connectivity problems on Sanguinololu boards</a>: in Marlin.pde, change BUFSIZE from 8 to 4. Now it works like a charm and you can turn your perimeter federate back up to 50 mm/sec and your infill feed rate basically as high as you want. I&#8217;ve only gone as high as 100 mm/sec but it looks like it go even higher. Now my next step is to get Replicatorg to support Marlin so I can use it for my stable setup…</p>
]]></content:encoded>
			<wfw:commentRss>http://techpaladin.com/2011/10/19/marlins-working-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replicatorg!</title>
		<link>http://techpaladin.com/2011/10/05/replicatorg/</link>
		<comments>http://techpaladin.com/2011/10/05/replicatorg/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 02:12:25 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://techpaladin.com/?p=676</guid>
		<description><![CDATA[I managed to get Replicatorg working with my Prusa tonight. In some ways it was easier than I thought it was going to be. Here&#8217;s what you need to know: Upgrade to the latest Replicatorg, available at replicat.org Replicatorg doesn&#8217;t support SFACT, so you gotta make a real Skeinforge profile. Make one, if you don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I managed to get <a href="http://replicat.org/">Replicatorg</a> working with my Prusa tonight. In some ways it was easier than I thought it was going to be. Here&#8217;s what you need to know:</p>
<ol>
<li>Upgrade to the latest Replicatorg, available at <a href="http://replicat.org/" title="http://replicat.org/">replicat.org</a></li>
<li>Replicatorg doesn&#8217;t support SFACT, so you gotta make a real Skeinforge profile. Make one, if you don&#8217;t already have one. You can <a href="http://www.techpaladin.com/wp-content/uploads/2011/10/PLA_high_detail_slow_speed.zip">grab mine</a> if you&#8217;d like. One important thing I had to do was disable the Export plugin&#8217;s suffix option or else Replicatorg wouldn&#8217;t automatically load in newly-created gcode files. I&#8217;ve <a href="http://replicatorg.lighthouseapp.com/projects/66325/tickets/226-feature-request-sfact-support#ticket-226-1">filed a ticket for SFACT support</a>, unlikely though it may be.</li>
<li>The reprap.xml file in Replicatorg/Machines usually needs some tweaking. I needed to set the <tt>e_steps_per_mm</tt> values for each axis to match what I had configured in my firmware. The build platform size needed a few adjustments, too. You can <a href="http://www.techpaladin.com/wp-content/uploads/2011/10/reprap.xml">have mine</a>.</li>
<li>Manipulating the extruder motor with the control panel doesn&#8217;t work. Since the motor behaves as expected while printing, I think it&#8217;s fair to say that this is a bug. I&#8217;ve <a href="http://replicatorg.lighthouseapp.com/projects/66325/tickets/225-cant-control-prusas-extruder-via-control-panel-works-fine-during-a-print#ticket-225-1">filed a ticket</a>.
</ol>
<p>Other than that, it pretty much all works. Now it&#8217;s back to calibrating and recalibrating with the new Skeinforge profile.</p>
]]></content:encoded>
			<wfw:commentRss>http://techpaladin.com/2011/10/05/replicatorg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What an amazing machine</title>
		<link>http://techpaladin.com/2011/09/30/what-an-amazing-machine/</link>
		<comments>http://techpaladin.com/2011/09/30/what-an-amazing-machine/#comments</comments>
		<pubDate>Sat, 01 Oct 2011 04:43:33 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://techpaladin.com/?p=660</guid>
		<description><![CDATA[My Prusa is finished and printing. And man has it been a rush. I&#8217;ve been truly amazed by how my new machine required no calibration to start producing beautiful prints. Now, I didn&#8217;t say &#8220;very little calibration&#8221;, or &#8220;almost no calibration&#8221;, I said that it didn&#8217;t require any at all. Feeling ambitious, my very first [...]]]></description>
			<content:encoded><![CDATA[<p>My Prusa is finished and printing. And man has it been a rush. I&#8217;ve been truly amazed by how my new machine required no calibration to start producing beautiful prints. Now, I didn&#8217;t say &#8220;very little calibration&#8221;, or &#8220;almost no calibration&#8221;, I said that it didn&#8217;t require any at all. Feeling ambitious, my very first print was a gigantic starfish. However, it had a peculiar problem: each layer was a little more skewed to the right than the last one:</p>
<div style="text-align:center;"><img src="http://techpaladin.com/wp-content/uploads/2011/09/warped-starfish.jpg" alt="warped-starfish.jpg" border="2" width="600" height="445" /></div>
<p>Eventually I figured out the issue: the filament, which was mounted on a spool to the right of the printer, was hampering the extruder carriage&#8217;s leftward movement by pulling it to the right. Solution: put the filament spool behind the printer, and problem solved. So this wasn&#8217;t actually a problem with the printer itself at all! After that, I printed another starfish that looked near-perfect.</p>
<p>I just don&#8217;t know what to say. This printer has absolutely shattered my expectations. I was thinking that it would be my &#8220;project&#8221; printer to hack on while the Makerbot did all the work; instead it&#8217;s proven itself to operate better in almost every way.</p>
<p>The layer alignment is perfect. Filament reversal is perfect. There are no strings or blobs on the exterior of the pieces. I haven&#8217;t even begun to push it yet, and I&#8217;ve gotten the Prusa to print more than twice as fast as I&#8217;ve ever gotten out of the Makerbot. On top of all this, the machine is very nearly silent. My wife and I watched a movie while the Prusa was printing not ten feet away in the same room and it disappeared into the background noise. Here, see for yourself:</p>
<p><center><iframe width="560" height="315" src="http://www.youtube.com/embed/b84v1NbteTU" frameborder="2" allowfullscreen></iframe></center></p>
<p>Compare this to the racket my Thing-O-Matic makes while printing:</p>
<p><center><iframe width="560" height="315" src="http://www.youtube.com/embed/xzwTo7Xb9bc" frameborder="2" allowfullscreen></iframe></center></p>
<p>My only disappointment so far has been Pronterface (not a typo, sadly), the host software that seems to be most common. It&#8217;s pretty bad. Its interface is a mess and it lacks most of the features of Replicatorg, the program that my Makerbot uses. Luckily, it doesn&#8217;t seem like too much of daunting task to get Replicatorg to work with the Prusa, so that&#8217;s going to be my big weekend task.</p>
]]></content:encoded>
			<wfw:commentRss>http://techpaladin.com/2011/09/30/what-an-amazing-machine/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Quick tip</title>
		<link>http://techpaladin.com/2011/08/14/quick-tip/</link>
		<comments>http://techpaladin.com/2011/08/14/quick-tip/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 20:44:26 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[3D printing]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://techpaladin.com/?p=593</guid>
		<description><![CDATA[In Replicatorg&#8217;s &#8220;Motherboard Onboard Preferences&#8221; dialog box, increasing the &#8220;Z home offset&#8221; value puts the extruder nozzle closer to the build surface.]]></description>
			<content:encoded><![CDATA[<p>In Replicatorg&#8217;s &#8220;Motherboard Onboard Preferences&#8221; dialog box, <strong>increasing</strong> the &#8220;Z home offset&#8221; value puts the extruder nozzle <strong>closer</strong> to the build surface.</p>
]]></content:encoded>
			<wfw:commentRss>http://techpaladin.com/2011/08/14/quick-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This is my shocked face</title>
		<link>http://techpaladin.com/2010/07/05/this-is-my-shocked-face/</link>
		<comments>http://techpaladin.com/2010/07/05/this-is-my-shocked-face/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 16:16:32 +0000</pubDate>
		<dc:creator>Nathaniel</dc:creator>
				<category><![CDATA[Big Brother]]></category>
		<category><![CDATA[Freedom]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Stoopid]]></category>

		<guid isPermaLink="false">http://techpaladin.com/?p=512</guid>
		<description><![CDATA[Apparently the NSA with all of its billions of dollars of equipment, internet trawling, and email-sniffing were outwitted by these two-bit Russian spies for years. Ahh, I love it when my tax dollars fund unconstitutional, liberty-destroying surveillance regimes that don&#8217;t even work!]]></description>
			<content:encoded><![CDATA[<p>Apparently the NSA with all of its billions of dollars of equipment, internet trawling, and email-sniffing were <a href="http://arstechnica.com/tech-policy/news/2010/07/how-even-the-dumbest-russian-spies-outwit-the-nsa.ars?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss">outwitted by these two-bit Russian spies for years</a>. Ahh, I love it when my tax dollars fund unconstitutional, liberty-destroying surveillance regimes that don&#8217;t even work!</p>
]]></content:encoded>
			<wfw:commentRss>http://techpaladin.com/2010/07/05/this-is-my-shocked-face/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

