<?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>anoved.net &#187; bricksmith</title>
	<atom:link href="http://anoved.net/tag/bricksmith/feed/" rel="self" type="application/rss+xml" />
	<link>http://anoved.net</link>
	<description></description>
	<lastBuildDate>Thu, 09 Feb 2012 22:41:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Using LDView to make it easier to add parts to your LDraw library</title>
		<link>http://anoved.net/2010/04/using-ldview-to-make-it-easier-to-add-parts-to-your-ldraw-library/</link>
		<comments>http://anoved.net/2010/04/using-ldview-to-make-it-easier-to-add-parts-to-your-ldraw-library/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 19:46:53 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bricksmith]]></category>
		<category><![CDATA[LDraw]]></category>
		<category><![CDATA[ldview]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://anoved.net/?p=2146</guid>
		<description><![CDATA[A common concern among LDraw users is how to add new parts to their libraries. Often, &#8220;in-progress&#8221; versions of desired parts are available in the LDraw.org Parts Tracker (get involved!), but downloading and installing them manually can be tedious. If you don&#8217;t want to download every unofficial part, you can let LDView download and install the [...]]]></description>
			<content:encoded><![CDATA[<p>A common concern among <a href="http://www.ldraw.org/">LDraw</a> users is how to add new parts to their libraries. Often, &#8220;in-progress&#8221; versions of desired parts are available in the <a href="http://www.ldraw.org/library/tracker/">LDraw.org Parts Tracker</a> (<a href="http://www.brothers-brick.com/2010/03/15/volunteering-for-ldraw/">get involved!</a>), but downloading and installing them manually can be tedious. If you don&#8217;t want to download <em><a href="http://www.ldraw.org/modules.php?op=modload&amp;name=News&amp;file=article&amp;sid=14&amp;mode=thread&amp;order=1&amp;thold=0">every</a></em><a href="http://www.ldraw.org/modules.php?op=modload&amp;name=News&amp;file=article&amp;sid=14&amp;mode=thread&amp;order=1&amp;thold=0"> unofficial part</a>, you can let <a href="http://ldview.sourceforge.net/">LDView</a> download and install the parts you want for you.</p>
<p>First, identify the number of a needed part. Let&#8217;s suppose it&#8217;s <a href="http://peeron.com/inv/sets/8968-1">this brick</a>:</p>
<p><a href="http://anoved.net/media/2010/04/peeron-inventory-listing.png"><img title="Identify the new part number" src="http://anoved.net/media/2010/04/peeron-inventory-listing.png" alt="" width="680" height="105" /></a></p>
<p>It&#8217;s not yet in the official part library, but an unofficial version of 60475 <a href="http://www.ldraw.org/cgi-bin/ptdetail.cgi?s=60475">is in the LDraw.org parts tracker</a>. You can download the unofficial part and its prerequisites manually, or you can create a dummy model that requires it, and let LDView retrieve the files you. Here&#8217;s how.</p>
<p>Create a file consisting of a single reference to the desired part, <em>60745.dat</em>:</p>
<pre>1 71 0 0 0 1 0 0 0 1 0 0 0 1 60475.dat</pre>
<p>Let&#8217;s call it <em>download.ldr</em>. Next time you want to download a new part, just change the highlighted part number (or add a new line for the new part; it doesn&#8217;t matter how the parts are positioned):</p>
<p><a href="http://anoved.net/media/2010/04/textwrangler-edit-file.png"><img title="Enter the number of the new part in the dummy file" src="http://anoved.net/media/2010/04/textwrangler-edit-file.png" alt="" width="680" height="197" /></a></p>
<p>LDView can download missing parts automatically. First, make sure &#8220;Automatically check ldraw.org for missing parts&#8221; is checked in the &#8220;Updates&#8221; tab of LDView Preferences:</p>
<p><a href="http://anoved.net/media/2010/04/ldview-check-for-updates.png"><img class="alignnone size-full wp-image-2159" title="LDView preferences" src="http://anoved.net/media/2010/04/ldview-check-for-updates.png" alt="" width="614" height="302" /></a></p>
<p>Next, open <em>download.ldr</em> in LDView. If it&#8217;s already open, reload it. (This will happen instantly if you&#8217;ve selected &#8220;Auto-update immediately&#8221; from the File → Polling menu.) When LDView loads the model, it will attempt to retrieve any missing parts from the parts tracker. After a moment, your new part should appear:</p>
<p><a href="http://anoved.net/media/2010/04/ldview-loaded-part.png"><img title="Reload the dummy file in LDView to retrieve the new part" src="http://anoved.net/media/2010/04/ldview-loaded-part.png" alt="" width="680" height="373" /></a></p>
<p>The new part (and any prerequisite sub-parts or primitives) will be added to your library:</p>
<p><a href="http://anoved.net/media/2010/04/finder-downloaded-part.png"><img title="New part file is downloaded to library" src="http://anoved.net/media/2010/04/finder-downloaded-part.png" alt="" width="680" height="329" /></a></p>
<p>To use your new part in <a href="http://bricksmith.sourceforge.net/">Bricksmith</a>, click &#8220;Reload Parts&#8221; in the &#8220;Parts&#8221; tab of Bricksmith Preferences:</p>
<p><a href="http://anoved.net/media/2010/04/bricksmith-reload-library.png"><img title="Reload library in Bricksmith preferences" src="http://anoved.net/media/2010/04/bricksmith-reload-library.png" alt="" width="488" height="314" /></a></p>
<p>The new part will now be available in the Bricksmith Parts Browser:</p>
<p><img class="alignnone size-full wp-image-2152" title="New part now available in Bricksmith part browser" src="http://anoved.net/media/2010/04/bricksmith-browser.png" alt="" width="682" height="328" /></p>
<p>So, the point is that if you want to use a part that&#8217;s not yet in your library, just paste the part number in <em>download.ldr</em>, open it in LDView, and reload your parts library in Bricksmith.</p>
]]></content:encoded>
			<wfw:commentRss>http://anoved.net/2010/04/using-ldview-to-make-it-easier-to-add-parts-to-your-ldraw-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LSynth 3.1 for Mac OS X</title>
		<link>http://anoved.net/2009/11/lsynth-3-1-for-mac-os-x/</link>
		<comments>http://anoved.net/2009/11/lsynth-3-1-for-mac-os-x/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 19:45:21 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bricksmith]]></category>
		<category><![CDATA[LDraw]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://anoved.net/?p=1270</guid>
		<description><![CDATA[I have compiled a Mac OS X version of LSynth 3.1, the recently released update to the program that synthesizes LDraw code for flexible LEGO parts. Download LSynth 3.1 for Mac OS X 10.5+ (Universal Binary; 85 KB) This download includes the lsynthcp executable as well as the configuration file (.zip) and the constraint parts (.zip) available at Willy [...]]]></description>
			<content:encoded><![CDATA[<p>I have compiled a Mac OS X version of <a href="http://lsynth.sourceforge.net/">LSynth 3.1</a>, the <a href="http://news.lugnet.com/cad/?n=16627">recently released</a> update to the program that synthesizes LDraw code for flexible LEGO parts.</p>
<p><strong><a href="http://anoved.net/files/LSynth_3_1_Mac.zip">Download LSynth 3.1 for Mac OS X 10.5+</a> (Universal Binary; 85 KB)</strong></p>
<p>This download includes the <code>lsynthcp</code> executable as well as the <a href="http://www.holly-wood.it/files/lsynth/LSynth_mpd_3-1.zip">configuration file</a> (.zip) and the <a href="http://www.holly-wood.it/files/lsynth/Constraints_3-1.zip">constraint parts</a> (.zip) available at Willy Tschager&#8217;s <a href="http://www.holly-wood.it/lsynth/tutorial-en.html">installation tutorial page</a> for MLCad users (which contains some useful information for all LSynth users).</p>
<p><strong>Important Compatibility Note</strong>: The executable in the above download may only work with Mac OS X 10.5 (Leopard) or greater. <a href="http://lsynth.sf.net/lsynth_3_1_osx.zip">Click here</a> to download a version of <code>lsynthcp</code> that should also be compatible with Mac OS X 10.4 (Tiger), provided by current LSynth developer Don Heyse. Thanks, Don!</p>
<h2>Installation</h2>
<p>Copy the LSynth constraint parts to the <code>parts/</code> or <code>Unofficial/parts/</code> directory of your LDraw part library. Keep the <code>lsynth.mpd</code> configuration file in the same directory as the <code>lsynthcp</code> executable. LSynth is not integrated with Bricksmith, so you can keep these files wherever you prefer. You will need to use the command line to run LSynth.</p>
<h2>Usage</h2>
<p>To use LSynth, you manually place constraint parts at key locations such as the endpoints of a hose. Then you input the LDraw file to <code>lsynthcp</code>, which generates a duplicate file containing all the hose segments, chain links, etc. necessary to represent the flexible part described by the constraints.</p>
<p>For example, here is the <a href="http://www.holly-wood.it/files/lsynth/RUBBER_BAND-Constraints.zip">RUBBER_BAND-Constraints.ldr</a> file from Willy&#8217;s excellent page of <a href="http://www.holly-wood.it/lsynth/examples-en.html">LSynth examples</a>:</p>
<p><a href="http://anoved.net/media/2009/11/rubberbandconstraints.png"><img class="alignnone size-medium wp-image-1276" title="rubberbandconstraints" src="http://anoved.net/media/2009/11/rubberbandconstraints-300x190.png" alt="rubberbandconstraints" width="300" height="190" /></a></p>
<p>With the file in same directory as <code>lsynthcp</code> and <code>lsynth.mpd</code>, run the following command:</p>
<pre>./lsynthcp RUBBER_BAND-Constraints.ldr Rubber_band_output.ldr</pre>
<p>Here is the output:</p>
<p><a href="http://anoved.net/media/2009/11/rubberbandconstraintsoutput.png"><img class="alignnone size-medium wp-image-1277" title="rubberbandconstraintsoutput" src="http://anoved.net/media/2009/11/rubberbandconstraintsoutput-300x190.png" alt="rubberbandconstraintsoutput" width="300" height="190" /></a></p>
<p>For more detailed information about using LSynth, peruse Willy&#8217;s <a href="http://www.holly-wood.it/lsynth/troubleshooting-en.html">troubleshooting page</a> and the pages linked above.</p>
<h2>Notes</h2>
<p>Here are the minor modifications I made to compile the <a href="http://sourceforge.net/projects/lsynth/files/lsynth/LSynth_3_1_src.zip/download">LSynth 3.1 source package</a> for Mac OS X:</p>
<ol>
<li>Edit the comment on Line 69 of <code>lsynthcp.c</code> to begin with slashes (<code>//</code>) instead of backslashes (<code>\\</code>).</li>
<li>Append &#8220;<code>-arch i386 -arch ppc</code>&#8221; to lines 3 and 17 of <code>makefile</code> to enable Universal Binary support.</li>
</ol>
<p>The <code>make</code> command is sufficient to compile the program.</p>
<p>This release supersedes the <a href="http://anoved.net/2007/04/lsynth-service/">LSynth Service</a> I made a few years ago.</p>
]]></content:encoded>
			<wfw:commentRss>http://anoved.net/2009/11/lsynth-3-1-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bricksmith Custom Categories</title>
		<link>http://anoved.net/2008/06/bricksmith-custom-categories/</link>
		<comments>http://anoved.net/2008/06/bricksmith-custom-categories/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 15:55:00 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[bricksmith]]></category>
		<category><![CDATA[LDraw]]></category>
		<category><![CDATA[LEGO]]></category>

		<guid isPermaLink="false">http://anoved.net/2008/06/bricksmith-custom-categories/</guid>
		<description><![CDATA[Here is a hack to add new categories to the Bricksmith part browser. The part catalog is normally organized into categories based on the type of each part (such as brick, plate, or tile). However, if you&#8217;re building a model based on a real set, it&#8217;s just as useful to present the parts from that [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a hack to add new categories to the <a href="http://bricksmith.sourceforge.net/">Bricksmith</a> part browser. The part catalog is normally organized into categories based on the type of each part (such as brick, plate, or tile). However, if you&#8217;re building a model based on a real set, it&#8217;s just as useful to present the parts from that set in one category.</p>
<h3>Adding a category from a Peeron inventory</h3>
<p>To create a category consisting of the parts from set <a href="http://peeron.com/inv/sets/4891-1">4891</a>, enter <strong>4891</strong> and click <strong>Peeron Inventory</strong>:</p>
<p><a href="http://anoved.net/images/bsc/bsc-peeron.png"><img src="http://anoved.net/images/bsc/bsc-peeron-small.png" alt="Screenshot: Naming a category based on a Peeron inventory" title="" /></a></p>
<p>The script will retrieve the corresponding list of parts and populate a new category containing them:</p>
<p><a href="http://anoved.net/images/bsc/peeron-category.png"><img src="http://anoved.net/images/bsc/peeron-category-small.png" alt="Screenshot: Browsing a category retrieved from Peeron" title="" /></a></p>
<h3>Adding a category from a file</h3>
<p>To create a category based on an arbitrary group of parts, save a list of part file names, like this:</p>
<pre><code>3005.dat
3004.dat
3003.dat
3001.dat
</code></pre>
<p>Then enter a name for your category and click <strong>From File</strong>. You&#8217;ll be prompted to select the list you just created.</p>
<p><a href="http://anoved.net/images/bsc/bsc-file.png"><img src="http://anoved.net/images/bsc/bsc-file-small.png" alt="Screenshot: Naming a category to be loaded from a file" title="" /></a></p>
<p>The script will add the listed parts to the named category:</p>
<p><a href="http://anoved.net/images/bsc/file-category.png"><img src="http://anoved.net/images/bsc/file-category-small.png" alt="Screenshot: Browsing a category loaded from a file" title="" /></a></p>
<h3>Limitations</h3>
<p>The script is awfully slow. AppleScript&#8217;s property list commands are not well suited for making many changes.</p>
<p>Parts listed in the file or inventory which are not already present in your part library will not be included in the category.</p>
<p>New categories are not visible until you restart Bricksmith. (I recommend quitting Bricksmith before running the script anyway.) Custom categories are lost when you reload the part list from Bricksmith&#8217;s <strong>Parts</strong> preferences.</p>
<p>No feedback is provided while the script is running.</p>
<p>Errors are not handled particularly well.</p>
<p>Mac OS X 10.5 is required.</p>
<p>It&#8217;s really slow.</p>
<h3>Download</h3>
<p><a href="http://anoved.net/files/bsc/bsc.app.zip">Bricksmith Catalog Custom Categories</a> 26.4 KB</p>
]]></content:encoded>
			<wfw:commentRss>http://anoved.net/2008/06/bricksmith-custom-categories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

