<?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>@improved &#187; scripting</title>
	<atom:link href="http://improved.ro/blog/tag/scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://improved.ro/blog</link>
	<description>[a,e]</description>
	<lastBuildDate>Fri, 09 Dec 2011 16:06:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>[GH] SuperConnect</title>
		<link>http://improved.ro/blog/2011/06/superconnect/</link>
		<comments>http://improved.ro/blog/2011/06/superconnect/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 18:11:26 +0000</pubDate>
		<dc:creator>Dimitrie Andrei Stefanescu</dc:creator>
				<category><![CDATA[grasshopper]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dimitrie]]></category>
		<category><![CDATA[fabrication]]></category>
		<category><![CDATA[grasshopper3d]]></category>
		<category><![CDATA[parametric modelling]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[stefanescu]]></category>

		<guid isPermaLink="false">http://improved.ro/blog/?p=1077</guid>
		<description><![CDATA[A nifty little tool for creating connectors between pretty much any kind of planar surfaces which intersect themselves at the edges. What it basically does is to output in a ordered structure the intersecting faces (as tree branches) and their intersection line. From there on you can continue to build up your own connectors however [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-medium wp-image-1078" title="superConnect" src="http://improved.ro/wp/wp-content/uploads/improved//2011/06/superConnect-590x417.jpg" alt="" width="590" height="417" /></p>
<p>A nifty little tool for creating connectors between pretty much any kind of <em>planar </em>surfaces which intersect themselves at the edges.</p>
<p>What it basically does is to output in a ordered structure the intersecting faces (as tree branches) and their intersection line. From there on you can continue to build up your own connectors however you like.</p>
<p>The example file contains the Grasshopper definition, Connector-Notch Script and an example Rhino file. Read below for more.<span id="more-1077"></span></p>
<p><em><strong>The workflow is as follows:</strong></em></p>
<ol>
<li>Select the faces you want to make the connectors for and input them into the Grasshopper definition.</li>
<li>Bake on separate layers the offset faces and the connectors.</li>
<li>Run the script provided and provide the necessary inputs in the correct order (connectors, faces and material thickness).</li>
<li>Enjoy.</li>
</ol>
<p><strong><em>Troubleshooting:</em></strong></p>
<p>There will be errors. They always are. Here&#8217;s how and where to look for them:</p>
<ul>
<li>Faces might actually not intersect, even if they seem so. To check, manually select the faces causing problems and use Rhino to detect their intersection (type intersect). Sometimes things are not as it seems.</li>
<li>If the radius of a connector exceeds the faces&#8217;s size, the script will go berserk. Try reducing the connector radius and things should start looking up. You can also improve the script to use adaptive connector radii in respect with the face size.</li>
<li>If the material thickness is too big or too small, geometry will start crashing.</li>
<li>Cull faces which are too small &#8211; you might have a little face somewhere which is 0.0004 m^2 and causing problems.</li>
<li>Check the units you&#8217;re working on. The definition&#8217;s parameters are set for meters.</li>
<li>Otherwise, you can email me. Take note that this is a free, spare-time, no-guarantee, as-is service &#8211; don&#8217;t send me three emails just in case i didn&#8217;t get the first one <img src='http://improved.ro/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p><em><strong>Download: <a href="http://improved.ro/wp/wp-content/uploads/improved//2011/06/110615-SuperConnect.zip">110615 SuperConnect.zip</a> (2.21 mb)</strong></em><br />
<img class="aligncenter size-full wp-image-1087" title="examples" src="http://improved.ro/wp/wp-content/uploads/improved//2011/06/examples1.jpg" alt="" width="590" height="588" /></p>
<div id="attachment_1097" class="wp-caption aligncenter" style="width: 600px"><a href="http://improved.ro/wp/wp-content/uploads/improved//2011/06/superConnect-example-preview.jpg"><img class="size-full wp-image-1097" title="superConnect-example-preview" src="http://improved.ro/wp/wp-content/uploads/improved//2011/06/superConnect-example-preview.jpg" alt="" width="590" height="428" /></a><p class="wp-caption-text">SuperConnect working in real-life (spoiler for the future)</p></div>
]]></content:encoded>
			<wfw:commentRss>http://improved.ro/blog/2011/06/superconnect/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Grasshopper Boids/Agents</title>
		<link>http://improved.ro/blog/2009/10/grasshopper-boidsagents/</link>
		<comments>http://improved.ro/blog/2009/10/grasshopper-boidsagents/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 13:46:48 +0000</pubDate>
		<dc:creator>Dimitrie Andrei Stefanescu</dc:creator>
				<category><![CDATA[grasshopper]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[boids]]></category>
		<category><![CDATA[computational]]></category>
		<category><![CDATA[dimitrie]]></category>
		<category><![CDATA[geometry]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[rhino]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://dimitrie.wordpress.com/?p=446</guid>
		<description><![CDATA[Call them what you will, but there&#8217;s been a huge hype about them some time ago. Grasshopper&#8217;s scripting capabilites are now a huge super cool feature, especially if you&#8217;re coding in visual studio (c#) and then pasting the shit or making dlls. I did this some time ago when i suddenly realized that you can [...]]]></description>
			<content:encoded><![CDATA[<p>Call them what you will, but there&#8217;s been a huge hype about them some time ago.</p>
<p>Grasshopper&#8217;s scripting capabilites are now a huge super cool feature, especially if you&#8217;re coding in visual studio (c#) and then pasting the shit or making dlls. I did this some time ago when i suddenly realized that you can declare your own static variables inside scripting nodes (and these guys hold up their values during the updating procedure). And the vector math is already there too.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/R7cEvMYDn5M" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/R7cEvMYDn5M"></embed></object></p>
<p>This is an implementation based on <a href="http://www.red3d.com/cwr/index.html">Craig Reynolds</a>&#8216;s neurons, and a little bit on Daniel Shiffman&#8217;s processing example (which was updated and used some time ago for <a href="http://dimitrie.wordpress.com/circulation-study/">this</a>.</p>
<p>Now, if somebody will be nice and implement some collision detection&#8230;</p>
<p>PS: <span style="text-decoration: line-through;">I will upload the def. soonish (i have to clean it up a bit first).</span> <span style="text-decoration: line-through;">Ok i didn&#8217;t clean it up; here&#8217;s the <a href="http://dl.transfer.ro/boidsT-6caa78020.zip">link</a>.</span><span style="text-decoration: line-through;"> </span></p>
<p><span style="text-decoration: line-through;">Here&#8217;s a new 10 day link: <a href="http://dl.transfer.ro/boidsT-Transfer_RO-16Nov-ad56f6.zip">http://dl.transfer.ro/boidsT-Transfer_RO-16Nov-ad56f6.zip</a></span></p>
<p>Final link, stable and sound: <a href="http://improved.ro/Grasshopper/boidsTCAV.zip">http://improved.ro/Grasshopper/boidsTCAV.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://improved.ro/blog/2009/10/grasshopper-boidsagents/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>


