<?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>sherpa</title>
	<atom:link href="http://nickpisca.com/sherpa/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://nickpisca.com/sherpa</link>
	<description>Advanced automation techniques in the AEC and film industries.  If you want a question answered on this blog, email your inquiry to nickpisca@gmail.com</description>
	<lastBuildDate>Thu, 17 Jun 2010 07:59:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SPECULATIS workshop</title>
		<link>http://nickpisca.com/sherpa/?p=331</link>
		<comments>http://nickpisca.com/sherpa/?p=331#comments</comments>
		<pubDate>Thu, 17 Jun 2010 07:48:02 +0000</pubDate>
		<dc:creator>Nicholas Pisca</dc:creator>
				<category><![CDATA[Animations]]></category>
		<category><![CDATA[Digital]]></category>
		<category><![CDATA[Fabrication]]></category>
		<category><![CDATA[Practice]]></category>
		<category><![CDATA[Rendering]]></category>
		<category><![CDATA[Representation]]></category>
		<category><![CDATA[Rhinoscript]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Workshops]]></category>

		<guid isPermaLink="false">http://nickpisca.com/sherpa/?p=331</guid>
		<description><![CDATA[Hi all.  Sorry for the delay on posts recently, but there have been a lot of changes.
But back to the digital realm&#8230;
I just received a note from Carla and Ezio about their upcoming SPECULATIS workshop.  Here is a quick statement from them:
The deadline for applications for the SPECULATIS workshop has been extended to JUNE 25th, [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all.  Sorry for the delay on posts recently, but there have been a lot of changes.</p>
<p>But back to the digital realm&#8230;</p>
<p>I just received a note from Carla and Ezio about their upcoming <strong>SPECULATIS </strong>workshop.  Here is a quick statement from them:</p>
<blockquote><p>The deadline for applications for the SPECULATIS workshop has been extended to JUNE 25th, 2010!!<br />
To apply, contact: <a href="mailto:education@opolab.com" target="_blank">education@opolab.com</a></p>
<p><em>SPECULATIS is a workshop that introduces and explores techniques of algorithmic design and fabrication integrated with interactive components. The platform integrates seminars and construction of a design piece at natural scale &#8211; a working chandelier &#8211; as a means of investigating different techniques and potentials present in the intersection of morphological discovery through algorithmic processes, fabrication technologies, and interactivity modulation.<br />
The workshop will be held July 10-17th in Oporto, Portugal. Please find attached our advertising poster and press release. We thank you in advance for helping divulge this initiative.<br />
More info can be found at:<br />
<a href="http://speculatis.com/" target="_blank">http://speculatis.com/</a></em></p>
<p>For general information, questions: <a href="mailto:info@speculatis.com" target="_blank">info@speculatis.com</a><br />
For applications/registration: <a href="mailto:education@opolab.com" target="_blank">education@opolab.com</a></p></blockquote>
<p>This is a great opportunity for anyone in Portugal (or in Europe in general) who is interested in computational methodologies to get a first-hand experience with algorithmic and advance fabrication techniques.  Also, since it has been scheduled over the summer, it shouldn&#8217;t conflict with regular academic schedules.  So don&#8217;t hesitate to sign up.  <img src='http://nickpisca.com/sherpa/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_332" class="wp-caption aligncenter" style="width: 237px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2010/06/speculatis_poster_ns_sm_email.jpg"><img class="size-medium wp-image-332" title="poster_ns" src="http://nickpisca.com/sherpa/wp-content/uploads/2010/06/speculatis_poster_ns_sm_email-227x300.jpg" alt="SPECULATIS workshop" width="227" height="300" /></a><p class="wp-caption-text">SPECULATIS workshop</p></div>
]]></content:encoded>
			<wfw:commentRss>http://nickpisca.com/sherpa/?feed=rss2&amp;p=331</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custon Maya MEL Text File Procedures</title>
		<link>http://nickpisca.com/sherpa/?p=325</link>
		<comments>http://nickpisca.com/sherpa/?p=325#comments</comments>
		<pubDate>Mon, 08 Mar 2010 07:45:49 +0000</pubDate>
		<dc:creator>Nicholas Pisca</dc:creator>
				<category><![CDATA[Animations]]></category>
		<category><![CDATA[Digital]]></category>
		<category><![CDATA[MEL]]></category>
		<category><![CDATA[Rendering]]></category>
		<category><![CDATA[Representation]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Translators]]></category>
		<category><![CDATA[Maya]]></category>

		<guid isPermaLink="false">http://nickpisca.com/sherpa/?p=325</guid>
		<description><![CDATA[Recently, I&#8217;ve been using an outside file to do my Maya MEL rendering process.  There are some benefits to this technique.
First, you can always have a dedicated counter integer number no matter how many times you render a scripted sequence.  This is great when you are rendering a series of images, making changes to a [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve been using an outside file to do my Maya MEL rendering process.  There are some benefits to this technique.</p>
<p>First, you can always have a dedicated counter integer number no matter how many times you render a scripted sequence.  This is great when you are rendering a series of images, making changes to a model, then repeating the process.  When finished, you have a directory of a work-in-progress image sequence.</p>
<p>Another thing outside file data can be useful is to make changes to your MEL script as it runs.  As we all know, MEL scripts are not very good at allowing for manual modification in runtime.  Now we can have a bunch of environmental variables set by the user whenever they want.  It&#8217;s like having a slider in runtime.</p>
<p>One suggestion for all MEL script loops you may make is to set up a KILL.txt file.  Just in case you make an endless loop, have a conditional that always checks a simple 0 or 1 in the Kill text file.  This work around can save you a lot of time if you make the common mistake of not writing in a end conditional.</p>
<p>Lastly, among other multiple reasons for txt file controls, this is very useful for setting up standards for file saving, render image saving, and export saving directory strings.  It&#8217;s very annoying to put all your save locations across all MEL scripts.  This txt file technique can be saved in one location, thus allowing you to set up your project &#8220;set&#8221; and export paths quickly and without errors.</p>
<p>I made two functions, called <a href="http://www.nickpisca.com/BLAST/index.php?title=GetTopLineTXTFile" target="_blank">GetTopLineTXTFile</a> and <a href="http://www.nickpisca.com/BLAST/index.php?title=ChangeTopLineTXTFile" target="_blank">ChangeTopLineTXTFile</a>.  Now that I think about it, I probably should have followed standard Maya MEL command conventions and used SetTopLineTXTFile, but oh well.  It&#8217;s simple to use: make a text file, save the path, and install this MEL in your documents/maya/scripts folder.  Remember, MEL requires different &#8220;special&#8221; characters depending upon your operating system and string conventions.  In my example, I just used the double slash special character to force the final string to be a single slash.  There are different techniques for this, just make sure whatever you use will be compatible with MEL string objects.</p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code>
<div class='pre_container'>
<pre>int $YYY = GetTopLineTXTFile("c:\\mayacount.txt");
global proc int GetTopLineTXTFile(string $Path) {
//Nick Pisca 0001d, string $Path = "c:\\mayacount.txt";
string $exampleFileName = ( $Path );
string $s;
$fileId=`fopen $exampleFileName "r"`;
$s=`fread $fileId $s`;
fclose $fileId;
return $s;
}</pre>
</div>
<p></code></div>
</div>
<p>Here&#8217;s the second command:  (note, this will <strong>overwrite </strong>your text file.  Use this with caution because there is no undo.)</p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code>
<div class='pre_container'>
<pre>global proc ChangeTopLineTXTFile(string $Path, int $NewValue) {
//Nick Pisca 0001d, string $Path = "c:\\mayacount.txt";
//ChangeTopLineTXTFile "c:\\mayacount.txt" 3;
string $exampleFileName = ( $Path );
string $s;
$fileId=`fopen $exampleFileName "w"`;
string $ConvStr = string($NewValue);
fwrite $fileId $ConvStr;
fclose $fileId;
}</pre>
</div>
<p></code></div>
</div>
<p>Both of these functions have been on <a href="http://www.nickpisca.com/BLAST">my wiki</a> for a while.  Feel free to log on and add more functions and procedures if you like.</p>
<p>For some more standard techniques of multiple batch rendering (a name I gave for the process of batching the batch render sequence), take a look at Chapter 12 in <a title="YSYT - By Nick PIsca" href="http://www.lulu.com/content/paperback-book/ysyt/5781113" target="_blank">my book YSYT</a>.  Simple as it may appear, txt file modification from Maya may not be a task for a beginner.  Regardless, have fun coding.</p>
<div id="attachment_329" class="wp-caption aligncenter" style="width: 717px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2010/03/20100307_changetxtfile.PNG"><img class="size-full wp-image-329" title="20100307_changetxtfile" src="http://nickpisca.com/sherpa/wp-content/uploads/2010/03/20100307_changetxtfile.PNG" alt="Screencapture of Nick Pisca's Wiki, 2010" width="707" height="277" /></a><p class="wp-caption-text">Screencapture of Nick Pisca&#39;s Wiki, 2010</p></div>
]]></content:encoded>
			<wfw:commentRss>http://nickpisca.com/sherpa/?feed=rss2&amp;p=325</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PARAsite USC Blog Launched</title>
		<link>http://nickpisca.com/sherpa/?p=321</link>
		<comments>http://nickpisca.com/sherpa/?p=321#comments</comments>
		<pubDate>Sun, 07 Feb 2010 08:55:58 +0000</pubDate>
		<dc:creator>Nicholas Pisca</dc:creator>
				<category><![CDATA[Digital]]></category>
		<category><![CDATA[Practice]]></category>

		<guid isPermaLink="false">http://nickpisca.com/sherpa/?p=321</guid>
		<description><![CDATA[Big News.  Neil Leach and Roland Ritter et al have established a new blog documenting the new work coming out of USC.  This is very exciting because it will be a repository for advanced techniques in the fields of parametric and algorithmic research in architecture. The USC School of Architecture is quickly becoming the predominate [...]]]></description>
			<content:encoded><![CDATA[<p>Big News.  Neil Leach and Roland Ritter et al have established a new blog documenting the new work coming out of USC.  This is very exciting because it will be a repository for advanced techniques in the fields of parametric and algorithmic research in architecture. The USC School of Architecture is quickly becoming the predominate institution of new architectural and urban planning techniques for Los Angeles, and arguably in the US.  This site will showcase this great work.</p>
<p>I&#8217;ll be a part-time contributor to the site.  I have a feeling this blog will be receiving thousands of hits soon.  <img src='http://nickpisca.com/sherpa/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_322" class="wp-caption aligncenter" style="width: 879px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2010/02/20100206_Parasite.PNG"><img class="size-full wp-image-322" title="20100206_Parasite" src="http://nickpisca.com/sherpa/wp-content/uploads/2010/02/20100206_Parasite.PNG" alt="Parasite Screencapture on Feb 7, 2010" width="869" height="603" /></a><p class="wp-caption-text">Parasite Screencapture on Feb 7, 2010</p></div>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://nickpisca.com/sherpa/?feed=rss2&amp;p=321</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maya MEL Scripting File and Folder Recursion</title>
		<link>http://nickpisca.com/sherpa/?p=316</link>
		<comments>http://nickpisca.com/sherpa/?p=316#comments</comments>
		<pubDate>Sun, 31 Jan 2010 02:52:17 +0000</pubDate>
		<dc:creator>Nicholas Pisca</dc:creator>
				<category><![CDATA[Digital]]></category>
		<category><![CDATA[MEL]]></category>
		<category><![CDATA[Practice]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Translators]]></category>

		<guid isPermaLink="false">http://nickpisca.com/sherpa/?p=316</guid>
		<description><![CDATA[Maya has some simple file and folder query functions.  By setting up a simple recursive procedure, scripters can cycle through a directory and its respective subdirectories.  Then by utilizing the file extension filtering, you can extract the desired files to open and modify.
In this example, the required inputs are a string containing the full path [...]]]></description>
			<content:encoded><![CDATA[<p>Maya has some simple file and folder query functions.  By setting up a simple recursive procedure, scripters can cycle through a directory and its respective subdirectories.  Then by utilizing the file extension filtering, you can extract the desired files to open and modify.</p>
<p>In this example, the required inputs are a string containing the full path of the start directory.  Note, Maya is funny with slashes.  It uses the opposite slash than Window Explorer.  Also, the second input of the subroutine is a Boolean to control recursion.  A zero value just finds files in the root directory; a value of one finds all files and sub-folders.</p>
<div id="attachment_317" class="wp-caption aligncenter" style="width: 649px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100130_RecImportMEL.PNG"><img class="size-full wp-image-317" title="20100130_RecImportMEL" src="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100130_RecImportMEL.PNG" alt="Screencapture of MEL Recursion script by Nick Pisca, 0001d." width="639" height="296" /></a><p class="wp-caption-text">Screencapture of MEL Recursion script by Nick Pisca, 0001d.</p></div>
<p>Here&#8217;s a link to my wiki, containing this script:  <a title="CycleThruDir in Maya MEL Scripting" href="http://www.nickpisca.com/BLAST/index.php?title=CycleThruDir" target="_blank">http://www.nickpisca.com/BLAST/index.php?title=CycleThruDir</a></p>
<p>My suggestion is to use this code as an embedded custom script.  Save this file with a MEL extension and place it in your <em>&#8230;/maya/scripts/</em> directory.  Then whenever you access CycleThruDir in your codes, it will simplify the process.</p>
<p>For more information on strings and string-based functions, there is an entire chapter on this usage in <a title="Nick Pisca's MEL Scripting Book" href="http://www.lulu.com/content/paperback-buch/ysyt/5781113" target="_blank">YSYT &#8211; Maya MEL Basics for Designers</a>.</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://nickpisca.com/sherpa/?feed=rss2&amp;p=316</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Genotower project showed up on Death By Architecture</title>
		<link>http://nickpisca.com/sherpa/?p=312</link>
		<comments>http://nickpisca.com/sherpa/?p=312#comments</comments>
		<pubDate>Mon, 25 Jan 2010 04:23:10 +0000</pubDate>
		<dc:creator>Nicholas Pisca</dc:creator>
				<category><![CDATA[Digital]]></category>
		<category><![CDATA[Fabrication]]></category>
		<category><![CDATA[MEL]]></category>
		<category><![CDATA[Practice]]></category>
		<category><![CDATA[Rendering]]></category>
		<category><![CDATA[Representation]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Structures]]></category>
		<category><![CDATA[Evolo]]></category>
		<category><![CDATA[Genotower]]></category>
		<category><![CDATA[Maya]]></category>
		<category><![CDATA[Publications]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://nickpisca.com/sherpa/?p=312</guid>
		<description><![CDATA[Something I missed early last year, was the review of the book eVolo: Skyscraper for the XXI Century by Chris Warren, from Death by Architecture.  His overall critique of the book was positive, claiming it, with respect to the contemporary designer-architect, is &#8220;a good addition to the bookshelves.&#8221;  Notably, in his short series of shots [...]]]></description>
			<content:encoded><![CDATA[<p>Something I missed early last year, was <a title="Review by Chris Warren" href="http://www.deathbyarchitecture.com/viewFeature.html?id=66" target="_blank">the review of the book</a> <strong>eVolo: Skyscraper for the XXI Century</strong> by Chris Warren, from Death by Architecture.  His overall critique of the book was positive, claiming it, with respect to the contemporary designer-architect, is &#8220;a good addition to the bookshelves.&#8221;  Notably, in his short series of shots from the book was my Genotower (image number 3).</p>
<div id="attachment_313" class="wp-caption aligncenter" style="width: 310px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100124_DeathByArch.PNG"><img class="size-medium wp-image-313" title="20100124_DeathByArch" src="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100124_DeathByArch-300x206.PNG" alt="Screencapture of DBA site of photograph of the Evolo book which featured my Genotower project by Nick Pisca." width="300" height="206" /></a><p class="wp-caption-text">Screencapture of DBA site of photograph of the Evolo book which featured my Genotower project by Nick Pisca.</p></div>
<p><img src="file:///C:/DOCUME%7E1/Erika/LOCALS%7E1/Temp/moz-screenshot.png" alt="" /></p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://nickpisca.com/sherpa/?feed=rss2&amp;p=312</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Genotower showcased on new Evolo website</title>
		<link>http://nickpisca.com/sherpa/?p=306</link>
		<comments>http://nickpisca.com/sherpa/?p=306#comments</comments>
		<pubDate>Wed, 20 Jan 2010 06:03:25 +0000</pubDate>
		<dc:creator>Nicholas Pisca</dc:creator>
				<category><![CDATA[Animations]]></category>
		<category><![CDATA[Digital]]></category>
		<category><![CDATA[Fabrication]]></category>
		<category><![CDATA[MEL]]></category>
		<category><![CDATA[Practice]]></category>
		<category><![CDATA[Rendering]]></category>
		<category><![CDATA[Representation]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Structures]]></category>

		<guid isPermaLink="false">http://nickpisca.com/sherpa/?p=306</guid>
		<description><![CDATA[This was a pleasant surprise.  Back in 2006, I submitted my Genotower to the first evolo competition, where it didn&#8217;t place.  However, it was published in their book and now has been showcased as &#8220;Special Mention&#8221; on their new and improved website.
Here is the direct link to the write-up:  http://www.evolo.us/2009/12/01/the-genotower-05/#more-226
I&#8217;m not too thrilled that the [...]]]></description>
			<content:encoded><![CDATA[<p>This was a pleasant surprise.  Back in 2006, I submitted my Genotower to the first evolo competition, where it didn&#8217;t place.  However, it was published in their book and now has been showcased as &#8220;Special Mention&#8221; on their new and improved website.</p>
<p>Here is the direct link to the write-up:  <a title="GenoTower By Nick Pisca 2006" href="http://www.evolo.us/2009/12/01/the-genotower-05/#more-226" target="_blank">http://www.evolo.us/2009/12/01/the-genotower-05/#more-226</a></p>
<div id="attachment_307" class="wp-caption aligncenter" style="width: 607px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100119_evolo.PNG"><img class="size-full wp-image-307" title="20100119_evolo" src="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100119_evolo.PNG" alt="Genotower project by Nick Pisca 0001d (copyright 2006)" width="597" height="480" /></a><p class="wp-caption-text">Genotower project by Nick Pisca 0001d (copyright 2006)</p></div>
<div id="attachment_308" class="wp-caption aligncenter" style="width: 310px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100119_evolo2.PNG"><img class="size-medium wp-image-308" title="20100119_evolo2" src="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100119_evolo2-300x191.PNG" alt="Plan View Rendering of the Genotower by Nick Pisca 2006" width="300" height="191" /></a><p class="wp-caption-text">Plan View Rendering of the Genotower by Nick Pisca 2006</p></div>
<div id="attachment_309" class="wp-caption aligncenter" style="width: 310px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100119_evolo3.PNG"><img class="size-medium wp-image-309" title="20100119_evolo3" src="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100119_evolo3-300x169.PNG" alt="Portion of Building Section from the Genotower by Nick Pisca" width="300" height="169" /></a><p class="wp-caption-text">Portion of Building Section from the Genotower by Nick Pisca</p></div>
<p>I&#8217;m not too thrilled that the uncompressed, hi-res boards are up on the net for all to download and misuse, but I suppose it&#8217;s been long enough.  <img src='http://nickpisca.com/sherpa/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://nickpisca.com/sherpa/?feed=rss2&amp;p=306</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Rounding Vectors in MEL Scripting</title>
		<link>http://nickpisca.com/sherpa/?p=298</link>
		<comments>http://nickpisca.com/sherpa/?p=298#comments</comments>
		<pubDate>Tue, 19 Jan 2010 08:23:44 +0000</pubDate>
		<dc:creator>Nicholas Pisca</dc:creator>
				<category><![CDATA[Animations]]></category>
		<category><![CDATA[Digital]]></category>
		<category><![CDATA[Fabrication]]></category>
		<category><![CDATA[MEL]]></category>
		<category><![CDATA[Rendering]]></category>
		<category><![CDATA[Representation]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Translators]]></category>

		<guid isPermaLink="false">http://nickpisca.com/sherpa/?p=298</guid>
		<description><![CDATA[Here&#8217;s a simple code for getting the center of gravity or average center of several vectors.   This comes in handy when you are trying to find a centroid of a cluster of vertexes of polygons, control vertices of nurbs geometry, and/or map points of subdivision surfaces.
This acts as a fast, cheap way of getting the [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a simple code for getting the center of gravity or average center of several vectors.   This comes in handy when you are trying to find a centroid of a cluster of vertexes of polygons, control vertices of nurbs geometry, and/or map points of subdivision surfaces.</p>
<p>This acts as a fast, cheap way of getting the actual center of a worldspace collection of point vectors, instead of relying on the &#8220;.center&#8221; or &#8220;.translate&#8221; attribute.  Often, due to vertex manipulation or pivot point placement, &#8220;.center&#8221; and &#8220;.translate&#8221; may not accurately store the centroid of the object.  Also, those attributes only deal with a singular object, whereas a collection of vectors could return a centroid based on several objects, or more interestingly, several objects over time.</p>
<p>.</p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code>
<div class='pre_container'>
<pre>global proc vector ReturnNVectorCOG(vector $AllVecs[]) {
//Author Nick Pisca 0001d 2010
//$AllVecs[0]=&lt;&lt;0,0,0&gt;&gt;;$AllVecs[1]=&lt;&lt;1,-1,0&gt;&gt;;$AllVecs[2]=&lt;&lt;1,0,0&gt;&gt;;$AllVecs[3]=&lt;&lt;0,0,2&gt;&gt;;
vector $TempVec = &lt;&lt;0,0,0&gt;&gt;;
if (size($AllVecs) != 0 ) {
for ($i=0;$i&lt;size($AllVecs);$i++) {
$TempVec = $TempVec + $AllVecs[$i];
}
$TempVec = $TempVec / size($AllVecs);
}
return $TempVec;
}</pre>
</div>
<p></code></div>
</div>
<p>.</p>
<p>.</p>
<div id="attachment_299" class="wp-caption aligncenter" style="width: 310px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100118_Tri.PNG"><img class="size-medium wp-image-299" title="20100118_Tri" src="http://nickpisca.com/sherpa/wp-content/uploads/2010/01/20100118_Tri-300x177.PNG" alt="Nick Pisca MEL Multiple Topology Tests 2010 Copyright 0001d Pisca" width="300" height="177" /></a><p class="wp-caption-text">Nick Pisca MEL Multiple Topology Tests 2010 Copyright 0001d Pisca</p></div>
<p>This procedure is designed to handle a n-length array of vectors.  One place to make some enhancements to this code would be to handle a zero or one element array better.  I know my current use of this function is pretty limited and will always have more than three elements, but in the future, it should be expanded.  If your codes require this type of possible functionality, consider revising it to accommodate for such small arrays.   <img src='http://nickpisca.com/sherpa/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here is the link to the function on my 0001d BLAST wiki:  <a title="Return N Vector COG (MEL)" href="http://nickpisca.com/BLAST/index.php?title=ReturnNVectorCOG" target="_blank">http://nickpisca.com/BLAST/index.php?title=ReturnNVectorCOG</a></p>
<p>See also:  <a title="Return COG (MEL)" href="http://nickpisca.com/BLAST/index.php?title=ReturnCOG" target="_blank">http://nickpisca.com/BLAST/index.php?title=ReturnCOG</a></p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code>
<div class='pre_container'>
<pre>global proc vector ReturnCOG(vector $V1, vector $V2, vector $V3) {
//Author Nick Pisca 0001d 2010
//$V1 = &lt;&lt;0,0,0&gt;&gt;; $V2 = &lt;&lt;1,-1,0&gt;&gt;; $V3 = &lt;&lt;1,0,0&gt;&gt;
vector $TempVec = ($V1 + $V2 + $V3)/3;
return $TempVec;
}</pre>
</div>
<p></code></div>
</div>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<p><!--Session data--></p>
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://nickpisca.com/sherpa/?feed=rss2&amp;p=298</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intensive Fields Comments and Reception</title>
		<link>http://nickpisca.com/sherpa/?p=292</link>
		<comments>http://nickpisca.com/sherpa/?p=292#comments</comments>
		<pubDate>Fri, 18 Dec 2009 08:59:59 +0000</pubDate>
		<dc:creator>Nicholas Pisca</dc:creator>
				<category><![CDATA[Animations]]></category>
		<category><![CDATA[Digital]]></category>
		<category><![CDATA[Practice]]></category>
		<category><![CDATA[Rendering]]></category>
		<category><![CDATA[Representation]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Conferences]]></category>

		<guid isPermaLink="false">http://nickpisca.com/sherpa/?p=292</guid>
		<description><![CDATA[Hats off to Neil Leach, Roland Ritter, and Dean Ma for the best conference of 2009.  I was on the second panel responding to the mini-presentations on &#8220;Parametric Techniques.&#8221;  This consisted of myself, Marcos Novak, Tom Kovak, Roland Snooks, Marc Fornes, Casey Reas, and chaired by Warren Techentin.
My only criticism of the conference was the [...]]]></description>
			<content:encoded><![CDATA[<p>Hats off to Neil Leach, Roland Ritter, and Dean Ma for the best conference of 2009.  I was on the second panel responding to the mini-presentations on &#8220;Parametric Techniques.&#8221;  This consisted of myself, Marcos Novak, Tom Kovak, Roland Snooks, Marc Fornes, Casey Reas, and chaired by Warren Techentin.</p>
<div id="attachment_294" class="wp-caption aligncenter" style="width: 542px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2009/12/20091218_GR1.jpg"><img class="size-full wp-image-294" title="20091218_GR1" src="http://nickpisca.com/sherpa/wp-content/uploads/2009/12/20091218_GR1.jpg" alt="Screencapture of Intensive Fields Webfeed, captured by Gustavo Rincon." width="532" height="427" /></a><p class="wp-caption-text">Screencapture of Intensive Fields Webfeed, captured by Gustavo Rincon.</p></div>
<div id="attachment_295" class="wp-caption aligncenter" style="width: 542px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2009/12/20091218_GR2.jpg"><img class="size-full wp-image-295" title="20091218_GR2" src="http://nickpisca.com/sherpa/wp-content/uploads/2009/12/20091218_GR2.jpg" alt="Screencapture of the Parametric Techniques Panel on the Intensive Fields Webfeed, captured by Gustavo Rincon." width="532" height="425" /></a><p class="wp-caption-text">Screencapture of the Parametric Techniques Panel on the Intensive Fields Webfeed, captured by Gustavo Rincon.</p></div>
<p>My only criticism of the conference was the presented and discussed work was predominately &#8220;algorithmic,&#8221; rather than &#8220;parametric.&#8221;  Several respondents and speakers used these terms interchangeably, which to me as a computational and parametric designer was a severe transgression.</p>
<p>This is especially evident in the exhibited modes of urban planning and design, where parametric techniques are antiquated and predictable.  Countering Delanda&#8217;s lectures on the shift into new-materialism, parametric top-down strategies to planning appear more alien with each myopic stab of formalism.  These approaches were best exemplified in the uninspiring soft-renders of Schumaker&#8217;s urban fabrics, something better termed as &#8220;Blendshape Urbanism.&#8221;   By the loosest definition of parametric, these proposals ultimately manifest themselves as datum process.</p>
<p>Roland Snooks diplomatically mentioned near the end of his presentation that definitive parametric techniques for urbanism were investigated at Kokkugia, but due to the self-evident restrictions to top-down hierarchical digital processes, they were not utilized.  Frankly, and I mentioned this in my response, Parametric Urbanism is an oxymoron.  Parametric design is defined by two main components:  Static Topologies and Permanent Linked References.  These two characteristics have no relationship to the macrobial growth and development at a city scale, which are always multi-topological and references are constantly generated and broken.</p>
<p>So city behavior always lends itself to computational techniques.  The term &#8220;Algorithmic Urbanism&#8221; is inherently redundant.  Agent-based coding is and will be the preferred mode of urban planning simulation, analysis, and exploration.</p>
<p>Practitioners of these new digital philosophies need to address the difference between &#8220;querying&#8221; and &#8220;linking,&#8221; and also to make the distinction between &#8220;variable&#8221; and &#8220;parameters.&#8221;  Respectively, these terms along side &#8220;Algorithmic&#8221; and &#8220;Parametric,&#8221; were all used interchangeably.  Granted, the misuse of these terms is ambiguous and often undetectable, but these coupled words mean very different things.  And the age of idealism, misappropriation of software, and recursive definitions is drawing to a close.</p>
<p style="text-align: center;">~~</p>
<p>After participating in the amazing Intensive Fields Conference at USC, Dean Ma threw a great reception at his James Bond house.  The discussions continued for hours after the symposium.</p>
<div id="attachment_293" class="wp-caption aligncenter" style="width: 614px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2009/12/20091218_DeanMasReception.jpg"><img class="size-full wp-image-293" title="20091218_DeanMasReception" src="http://nickpisca.com/sherpa/wp-content/uploads/2009/12/20091218_DeanMasReception.jpg" alt="Intensive Fields Reception, image courtesy Luoya Tu." width="604" height="404" /></a><p class="wp-caption-text">Intensive Fields Reception, image courtesy Luoya Tu.</p></div>
<p>Once again, the conference was amazing and I&#8217;m glad that I was given the opportunity to participate.</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://nickpisca.com/sherpa/?feed=rss2&amp;p=292</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NOTICE!  Intensive Fields is being webcast.</title>
		<link>http://nickpisca.com/sherpa/?p=289</link>
		<comments>http://nickpisca.com/sherpa/?p=289#comments</comments>
		<pubDate>Sat, 12 Dec 2009 16:43:55 +0000</pubDate>
		<dc:creator>Nicholas Pisca</dc:creator>
				<category><![CDATA[Digital]]></category>
		<category><![CDATA[Practice]]></category>
		<category><![CDATA[Conferences]]></category>

		<guid isPermaLink="false">http://nickpisca.com/sherpa/?p=289</guid>
		<description><![CDATA[Quick note from Neil Leach:  Intensive Fields is being webcast.
Video Feed.


]]></description>
			<content:encoded><![CDATA[<p>Quick note from Neil Leach:  Intensive Fields is being webcast.</p>
<p><a href="http://arch-pubs.usc.edu/INTENSIVEFIELDS/" target="_blank">Video Feed</a>.</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://nickpisca.com/sherpa/?feed=rss2&amp;p=289</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>UPDATE: Intensive Fields Conference is moved to a larger auditorium.</title>
		<link>http://nickpisca.com/sherpa/?p=285</link>
		<comments>http://nickpisca.com/sherpa/?p=285#comments</comments>
		<pubDate>Tue, 08 Dec 2009 18:37:44 +0000</pubDate>
		<dc:creator>Nicholas Pisca</dc:creator>
				<category><![CDATA[Practice]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Symposiums]]></category>

		<guid isPermaLink="false">http://nickpisca.com/sherpa/?p=285</guid>
		<description><![CDATA[UPDATE:  Neil Leach informed me about the latest change in the Intensive Fields Conference:
&#8216;Due to the unprecedented interest in the conference, we understand that the venue has now changed to a larger auditorium, Taper Hall 101, and that a few more tickets have become available.&#8217;
You can find the location of Taper Hall here.
Also, you can [...]]]></description>
			<content:encoded><![CDATA[<p>UPDATE:  Neil Leach informed me about the latest change in the Intensive Fields Conference:</p>
<p>&#8216;Due to the unprecedented interest in the conference, we understand that the venue has now changed to a larger auditorium, Taper Hall 101, and that a few more tickets have become available.&#8217;</p>
<p>You can find the location of Taper Hall <a href="http://web-app.usc.edu/maps/#upc/" target="_blank">here</a>.</p>
<p>Also, you can find the line-up of individuals participating in the conference <a href="http://arch-pubs.usc.edu/INTENSIVEFIELDS/" target="_blank">here</a>.</p>
<div id="attachment_286" class="wp-caption aligncenter" style="width: 664px"><a href="http://nickpisca.com/sherpa/wp-content/uploads/2009/12/20091208_USCSYMP2.PNG"><img class="size-full wp-image-286" title="20091208_USCSYMP2" src="http://nickpisca.com/sherpa/wp-content/uploads/2009/12/20091208_USCSYMP2.PNG" alt="Intensive Fields Updates" width="654" height="1011" /></a><p class="wp-caption-text">Intensive Fields Updates</p></div>
<p>d</p>
]]></content:encoded>
			<wfw:commentRss>http://nickpisca.com/sherpa/?feed=rss2&amp;p=285</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
