<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>arch 571 design scripting &#124; fall 2009 &#124; Istanbul Bilgi University</title>
	<atom:link href="http://arch571.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://arch571.wordpress.com</link>
	<description>Graduate Program in Architectural Design</description>
	<lastBuildDate>Wed, 17 Feb 2010 12:40:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='arch571.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>arch 571 design scripting &#124; fall 2009 &#124; Istanbul Bilgi University</title>
		<link>http://arch571.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://arch571.wordpress.com/osd.xml" title="arch 571 design scripting &#124; fall 2009 &#124; Istanbul Bilgi University" />
	<atom:link rel='hub' href='http://arch571.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Final Submissions</title>
		<link>http://arch571.wordpress.com/2010/02/17/final-submissions/</link>
		<comments>http://arch571.wordpress.com/2010/02/17/final-submissions/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 12:40:26 +0000</pubDate>
		<dc:creator>onuryucegun</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://arch571.wordpress.com/?p=214</guid>
		<description><![CDATA[begum tirpanci + hande cigerli ebru ulu + burcu arkut ramadan atasayan + seniha unal + merve cakir fazil efe ilgen + filiz sahin nur cikla + nazli tumerdem + tugce gulec<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=214&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>begum tirpanci + hande cigerli<br />
<a href="http://arch571.files.wordpress.com/2010/02/pafta1-copy-small.jpg"><img src="http://arch571.files.wordpress.com/2010/02/pafta1-copy-small.jpg?w=497&#038;h=331" alt="" title="PAFTA1 copy small" width="497" height="331" class="aligncenter size-full wp-image-215" /></a><a href="http://arch571.files.wordpress.com/2010/02/pafta2-copy-small.jpg"><img src="http://arch571.files.wordpress.com/2010/02/pafta2-copy-small.jpg?w=497&#038;h=331" alt="" title="PAFTA2 copy small" width="497" height="331" class="aligncenter size-full wp-image-216" /></a></p>
<p>ebru ulu + burcu arkut<br />
<a href="http://arch571.files.wordpress.com/2010/02/0796_01-copy.jpg"><img src="http://arch571.files.wordpress.com/2010/02/0796_01-copy.jpg?w=497&#038;h=248" alt="" title="0796_01 copy" width="497" height="248" class="aligncenter size-full wp-image-218" /></a><a href="http://arch571.files.wordpress.com/2010/02/0796_02-copy.jpg"><img src="http://arch571.files.wordpress.com/2010/02/0796_02-copy.jpg?w=497&#038;h=248" alt="" title="0796_02 copy" width="497" height="248" class="aligncenter size-full wp-image-219" /></a></p>
<p>ramadan atasayan + seniha unal + merve cakir<br />
<a href="http://arch571.files.wordpress.com/2010/02/seniha_merve_ramadan_0-copy.jpg"><img src="http://arch571.files.wordpress.com/2010/02/seniha_merve_ramadan_0-copy.jpg?w=497&#038;h=434" alt="" title="seniha_merve_ramadan_0 copy" width="497" height="434" class="aligncenter size-full wp-image-220" /></a><a href="http://arch571.files.wordpress.com/2010/02/seniha_merve_ramadan_1-copy.jpg"><img src="http://arch571.files.wordpress.com/2010/02/seniha_merve_ramadan_1-copy.jpg?w=497&#038;h=434" alt="" title="seniha_merve_ramadan_1 copy" width="497" height="434" class="aligncenter size-full wp-image-221" /></a><a href="http://arch571.files.wordpress.com/2010/02/seniha_merve_ramadan_2-copy.jpg"><img src="http://arch571.files.wordpress.com/2010/02/seniha_merve_ramadan_2-copy.jpg?w=497&#038;h=434" alt="" title="seniha_merve_ramadan_2 copy" width="497" height="434" class="aligncenter size-full wp-image-222" /></a></p>
<p>fazil efe ilgen + filiz sahin<br />
<a href="http://arch571.files.wordpress.com/2010/02/efe-filiz-final-copy.jpg"><img src="http://arch571.files.wordpress.com/2010/02/efe-filiz-final-copy.jpg?w=497&#038;h=343" alt="" title="efe-filiz-final copy" width="497" height="343" class="aligncenter size-full wp-image-223" /></a></p>
<p>nur cikla + nazli tumerdem + tugce gulec<br />
<a href="http://arch571.files.wordpress.com/2010/02/20100118-algae-nurnazlitugce-copy.jpg"><img src="http://arch571.files.wordpress.com/2010/02/20100118-algae-nurnazlitugce-copy.jpg?w=497&#038;h=994" alt="" title="20100118-algae-nurnazlitugce copy" width="497" height="994" class="aligncenter size-full wp-image-224" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arch571.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arch571.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arch571.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arch571.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arch571.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arch571.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arch571.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arch571.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arch571.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arch571.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arch571.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arch571.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arch571.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arch571.wordpress.com/214/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=214&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arch571.wordpress.com/2010/02/17/final-submissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/034ec038110555e029b1532d0de69fbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">onuryucegun</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2010/02/pafta1-copy-small.jpg" medium="image">
			<media:title type="html">PAFTA1 copy small</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2010/02/pafta2-copy-small.jpg" medium="image">
			<media:title type="html">PAFTA2 copy small</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2010/02/0796_01-copy.jpg" medium="image">
			<media:title type="html">0796_01 copy</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2010/02/0796_02-copy.jpg" medium="image">
			<media:title type="html">0796_02 copy</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2010/02/seniha_merve_ramadan_0-copy.jpg" medium="image">
			<media:title type="html">seniha_merve_ramadan_0 copy</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2010/02/seniha_merve_ramadan_1-copy.jpg" medium="image">
			<media:title type="html">seniha_merve_ramadan_1 copy</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2010/02/seniha_merve_ramadan_2-copy.jpg" medium="image">
			<media:title type="html">seniha_merve_ramadan_2 copy</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2010/02/efe-filiz-final-copy.jpg" medium="image">
			<media:title type="html">efe-filiz-final copy</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2010/02/20100118-algae-nurnazlitugce-copy.jpg" medium="image">
			<media:title type="html">20100118-algae-nurnazlitugce copy</media:title>
		</media:content>
	</item>
		<item>
		<title>randomMemberSelection [class 20100113]</title>
		<link>http://arch571.wordpress.com/2010/01/13/randommemberselection-class-20100113/</link>
		<comments>http://arch571.wordpress.com/2010/01/13/randommemberselection-class-20100113/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 09:08:52 +0000</pubDate>
		<dc:creator>onuryucegun</dc:creator>
				<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://arch571.wordpress.com/?p=212</guid>
		<description><![CDATA[script below randomly selects members within a group of objects and puts them into another layer. Option Explicit 'Script written by 'Script copyrighted by 'Script version Wednesday, January 13, 2010 10:58:41 AM Call Main() Sub Main() Dim allMem allMem = rhino.getobjects("select the objects") Dim i Dim flag For i = 0 To UBound (allMem) flag [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=212&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>script below randomly selects members within a group of objects and puts them into another layer.</p>
<pre>
Option Explicit
'Script written by
'Script copyrighted by
'Script version Wednesday, January 13, 2010 10:58:41 AM

Call Main()
Sub Main()
	Dim allMem
	allMem = rhino.getobjects("select the objects")
	Dim i
	Dim flag
	For i = 0 To UBound (allMem)
		flag = Rnd()
		If flag &lt; 0.25 Then
			Rhino.ObjectLayer allMem(i), &quot;Layer 03&quot;
		End If
	Next
End Sub
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arch571.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arch571.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arch571.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arch571.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arch571.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arch571.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arch571.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arch571.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arch571.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arch571.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arch571.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arch571.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arch571.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arch571.wordpress.com/212/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=212&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arch571.wordpress.com/2010/01/13/randommemberselection-class-20100113/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/034ec038110555e029b1532d0de69fbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">onuryucegun</media:title>
		</media:content>
	</item>
		<item>
		<title>skyScraper &#124; Stage01 &#124; Concepts</title>
		<link>http://arch571.wordpress.com/2009/12/29/skyscraper-stage01-concepts/</link>
		<comments>http://arch571.wordpress.com/2009/12/29/skyscraper-stage01-concepts/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 16:08:33 +0000</pubDate>
		<dc:creator>onuryucegun</dc:creator>
				<category><![CDATA[Submissions]]></category>

		<guid isPermaLink="false">http://arch571.wordpress.com/?p=204</guid>
		<description><![CDATA[efe + filiz efe + filiz hande + begum merve + seniha + ramadan ebru + burcu<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=204&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>efe + filiz<br />
<a href="http://arch571.files.wordpress.com/2009/12/efe-filiz-20091229_1.jpg"><img src="http://arch571.files.wordpress.com/2009/12/efe-filiz-20091229_1.jpg?w=497&#038;h=702" alt="" title="efe-filiz-20091229_1" width="497" height="702" class="aligncenter size-full wp-image-205" /></a><br />
efe + filiz<br />
<a href="http://arch571.files.wordpress.com/2009/12/efe-filiz-20091229_2.jpg"><img src="http://arch571.files.wordpress.com/2009/12/efe-filiz-20091229_2.jpg?w=497&#038;h=703" alt="" title="efe-filiz-20091229_2" width="497" height="703" class="aligncenter size-full wp-image-206" /></a><br />
hande + begum<br />
<a href="http://arch571.files.wordpress.com/2009/12/hande_begum.jpg"><img src="http://arch571.files.wordpress.com/2009/12/hande_begum.jpg?w=497&#038;h=355" alt="" title="hande_begum" width="497" height="355" class="aligncenter size-full wp-image-207" /></a><br />
merve + seniha + ramadan<br />
<a href="http://arch571.files.wordpress.com/2009/12/merveseniharamadan.jpg"><img src="http://arch571.files.wordpress.com/2009/12/merveseniharamadan.jpg?w=497&#038;h=312" alt="" title="merveSenihaRamadan" width="497" height="312" class="aligncenter size-full wp-image-208" /></a><br />
ebru + burcu<br />
<a href="http://arch571.files.wordpress.com/2009/12/prop_ebruburcu02.jpg"><img src="http://arch571.files.wordpress.com/2009/12/prop_ebruburcu02.jpg?w=497&#038;h=248" alt="" title="prop_ebruburcu02" width="497" height="248" class="aligncenter size-full wp-image-209" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arch571.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arch571.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arch571.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arch571.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arch571.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arch571.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arch571.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arch571.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arch571.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arch571.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arch571.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arch571.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arch571.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arch571.wordpress.com/204/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=204&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arch571.wordpress.com/2009/12/29/skyscraper-stage01-concepts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/034ec038110555e029b1532d0de69fbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">onuryucegun</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2009/12/efe-filiz-20091229_1.jpg" medium="image">
			<media:title type="html">efe-filiz-20091229_1</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2009/12/efe-filiz-20091229_2.jpg" medium="image">
			<media:title type="html">efe-filiz-20091229_2</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2009/12/hande_begum.jpg" medium="image">
			<media:title type="html">hande_begum</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2009/12/merveseniharamadan.jpg" medium="image">
			<media:title type="html">merveSenihaRamadan</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2009/12/prop_ebruburcu02.jpg" medium="image">
			<media:title type="html">prop_ebruburcu02</media:title>
		</media:content>
	</item>
		<item>
		<title>surface Offset+Connection</title>
		<link>http://arch571.wordpress.com/2009/12/29/surface-offsetconnection/</link>
		<comments>http://arch571.wordpress.com/2009/12/29/surface-offsetconnection/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 16:03:47 +0000</pubDate>
		<dc:creator>onuryucegun</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://arch571.wordpress.com/?p=200</guid>
		<description><![CDATA[Option Explicit 'Script written by onur yuce gun 'Script copyrighted by 'Script version Tuesday, December 15, 2009 10:28:40 AM Dim uNum Dim vNum Call Main() Sub Main() Dim mySrf Dim mySrf1 uNum = Rhino.GetInteger ("enter u division number",10) vNum = Rhino.GetInteger ("enter v division number",20) mySrf = rhino.GetObject("select surface") mySrf1 = rhino.OffsetSurface (mySrf,16) rhino.EnableRedraw False [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=200&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://arch571.files.wordpress.com/2009/12/thickness.jpg"><img src="http://arch571.files.wordpress.com/2009/12/thickness.jpg?w=497&#038;h=261" alt="" title="thickness" width="497" height="261" class="aligncenter size-full wp-image-201" /></a></p>
<pre>
	Option Explicit
	'Script written by onur yuce gun
	'Script copyrighted by
	'Script version Tuesday, December 15, 2009 10:28:40 AM
Dim uNum
Dim vNum

	Call Main()
Sub Main()
	Dim mySrf
	Dim mySrf1
	uNum = Rhino.GetInteger ("enter u division number",10)
	vNum = Rhino.GetInteger ("enter v division number",20)
	mySrf = rhino.GetObject("select surface")
	mySrf1 = rhino.OffsetSurface (mySrf,16)
	rhino.EnableRedraw False
	'get the surface points from the first function
	Dim srfPt
	Dim srfPt1
	srfPt =	uvPts(mySrf,uNum,vNum)
	srfPt1 =	uvPts(mySrf1,uNum,vNum)
	'create xBrace on the uv grid
	Dim xBr
	Dim xBr1
	xBr = xBrace(srfPt)
	xBr1 = xBrace(srfPt1)
	'create sub syrface
	Dim sSrf
	'sSrf = subSrf(srfPt)
	Dim i,j
	For i = 0 To uNum
		For j = 0 To vNum
			rhino.AddLine srfPt(i,j),srfPT1(i,j)
		Next
	Next

	rhino.EnableReDraw True
End Sub
Function uvPts(srf, uDiv, vDiv)
	'find the surface domain
	Dim srfDomU
	Dim srfDomV
	srfDomU = Rhino.SurfaceDomain(srf,0)
	srfDomV = Rhino.SurfaceDomain(srf,1)
	'define parameter variables
	Dim parU
	Dim parV
	Dim parUV
	'all points array
	Dim allPt
	ReDim allPt (uDiv,vDiv)
	'counters
	Dim i,j
	For i = 0 To uDiv
		For j = 0 To vDiv
			parU = (srfDomU(1)/uDiv)*i
			parV = (srfDomV(1)/vDiv)*j
			parUV = Array(parU,parV)
			allPt(i,j) = Rhino.EvaluateSurface (srf, parUV)
			rhino.AddPoint allPt(i,j)
		Next
	Next
	uvPts = allPt
End Function
Function xBrace(ptArray)
	rhino.AddLayer "xBrace"
	Dim m
	Dim n
	Dim a1
	Dim a2
	For m = 0 To uNum-1
		For n = 0 To vNum-1
			a1 = rhino.AddLine (ptArray(m,n), ptArray(m+1,n+1))
			a2 = rhino.AddLine (ptArray(m+1,n), ptArray(m,n+1))
			rhino.ObjectLayer a1, "xBrace"
			rhino.ObjectLayer a2, "xBrace"
		Next
	Next
End Function
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arch571.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arch571.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arch571.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arch571.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arch571.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arch571.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arch571.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arch571.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arch571.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arch571.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arch571.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arch571.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arch571.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arch571.wordpress.com/200/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=200&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arch571.wordpress.com/2009/12/29/surface-offsetconnection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/034ec038110555e029b1532d0de69fbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">onuryucegun</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2009/12/thickness.jpg" medium="image">
			<media:title type="html">thickness</media:title>
		</media:content>
	</item>
		<item>
		<title>surface Components-2 [class 20091215]</title>
		<link>http://arch571.wordpress.com/2009/12/17/surface-components-2-class-20091215/</link>
		<comments>http://arch571.wordpress.com/2009/12/17/surface-components-2-class-20091215/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 19:28:21 +0000</pubDate>
		<dc:creator>onuryucegun</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://arch571.wordpress.com/?p=194</guid>
		<description><![CDATA[this script includes functions that add X-braces and triangular surfaces as surface components Option Explicit 'Script written by onur yuce gun 'Script copyrighted by 'Script version Tuesday, December 15, 2009 10:28:40 AM Dim uNum Dim vNum Call Main() Sub Main() Dim mySrf uNum = Rhino.GetInteger ("enter u division number",10) vNum = Rhino.GetInteger ("enter v division [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=194&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>this script includes functions that add X-braces and triangular surfaces as surface components</p>
<p><a href="http://arch571.files.wordpress.com/2009/12/animation.gif"><img src="http://arch571.files.wordpress.com/2009/12/animation.gif?w=497&#038;h=263" alt="" title="animation" width="497" height="263" class="aligncenter size-full wp-image-195" /></a></p>
<pre>
Option Explicit
'Script written by onur yuce gun
'Script copyrighted by
'Script version Tuesday, December 15, 2009 10:28:40 AM
Dim uNum
Dim vNum

Call Main()
Sub Main()
	Dim mySrf
	uNum = Rhino.GetInteger ("enter u division number",10)
	vNum = Rhino.GetInteger ("enter v division number",10)
	mySrf = rhino.GetObject("select surface")
	rhino.EnableRedraw False
	'get the surface points from the first function
	Dim srfPt
	srfPt =	uvPts(mySrf,uNum,vNum)
	'create xBrace on the uv grid
	Dim xBr
	xBr = xBrace(srfPt)
	'create sub syrface
	Dim sSrf
	sSrf = subSrf(srfPt)
	rhino.EnableReDraw True
End Sub
Function uvPts(srf, uDiv, vDiv)
	'find the surface domain
	Dim srfDomU
	Dim srfDomV
	srfDomU = Rhino.SurfaceDomain(srf,0)
	srfDomV = Rhino.SurfaceDomain(srf,1)
	'define parameter variables
	Dim parU
	Dim parV
	Dim parUV
	'all points array
	Dim allPt
	ReDim allPt (uDiv,vDiv)
	'counters
	Dim i,j
	For i = 0 To uDiv
		For j = 0 To vDiv
			parU = (srfDomU(1)/uDiv)*i
			parV = (srfDomV(1)/vDiv)*j
			parUV = Array(parU,parV)
			allPt(i,j) = Rhino.EvaluateSurface (srf, parUV)
			rhino.AddPoint allPt(i,j)
		Next
	Next
	uvPts = allPt
End Function
Function xBrace(ptArray)
	rhino.AddLayer "xBrace"
	Dim m
	Dim n
	Dim a1
	Dim a2
	For m = 0 To uNum-1
		For n = 0 To vNum-1
			a1 = rhino.AddLine (ptArray(m,n), ptArray(m+1,n+1))
			a2 = rhino.AddLine (ptArray(m+1,n), ptArray(m,n+1))
			rhino.ObjectLayer a1, "xBrace"
			rhino.ObjectLayer a2, "xBrace"
		Next
	Next
End Function
Function subSrf(ptArray)
	rhino.AddLayer "subSrf",RGB(20,210,200)
	rhino.AddLayer "subSrf_Off", RGB(100,10,200)
	Dim m
	Dim n
	Dim allSubSrf
	ReDim allSubSrf(uNum-1,vNum-1)
	For m = 0 To uNum-1
		For n = 0 To vNum-1
			allSubSrf(m,n) = rhino.AddSrfPt (Array(ptArray(m,n), ptArray(m+1,n),ptArray(m+1,n+1)))
			rhino.ObjectLayer allSubSrf(m,n),"subSrf"
			rhino.OffsetSurface allSubSrf(m,n),-1.5
			rhino.ObjectLayer rhino.firstObject,"subSrf_off" 'the last object created in the scene.
		Next
	Next
	subSrf = allSubSrf
End Function
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arch571.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arch571.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arch571.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arch571.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arch571.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arch571.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arch571.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arch571.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arch571.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arch571.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arch571.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arch571.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arch571.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arch571.wordpress.com/194/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=194&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arch571.wordpress.com/2009/12/17/surface-components-2-class-20091215/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/034ec038110555e029b1532d0de69fbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">onuryucegun</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2009/12/animation.gif" medium="image">
			<media:title type="html">animation</media:title>
		</media:content>
	</item>
		<item>
		<title>surface Components [class 20091208/11]</title>
		<link>http://arch571.wordpress.com/2009/12/12/surface-components-class-2009120811/</link>
		<comments>http://arch571.wordpress.com/2009/12/12/surface-components-class-2009120811/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 16:17:36 +0000</pubDate>
		<dc:creator>onuryucegun</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://arch571.wordpress.com/?p=188</guid>
		<description><![CDATA[this script is pretty much same with the one in the previous post. the additional function &#8220;cell&#8221; adds a cellular component on the surface. Option Explicit 'Script written by onur yuce gun 'Script copyrighted by 'Script version Friday, December 11, 2009 11:25:09 AM Call Main() Sub Main() rhino.AddLayer "border" rhino.AddLayer "cell" 'get input surface Dim [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=188&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>this script is pretty much same with the one in the previous post.<br />
the additional function &#8220;cell&#8221; adds a cellular component on the surface.</p>
<p><a href="http://arch571.files.wordpress.com/2009/12/cell03-copy.jpg"><img src="http://arch571.files.wordpress.com/2009/12/cell03-copy.jpg?w=497&#038;h=238" alt="" title="cell03 copy" width="497" height="238" class="aligncenter size-full wp-image-191" /></a><br />
<a href="http://arch571.files.wordpress.com/2009/12/cell04-copy.jpg"><img src="http://arch571.files.wordpress.com/2009/12/cell04-copy.jpg?w=497&#038;h=231" alt="" title="cell04 copy" width="497" height="231" class="aligncenter size-full wp-image-192" /></a></p>
<pre>
	Option Explicit
	'Script written by onur yuce gun
	'Script copyrighted by
	'Script version Friday, December 11, 2009 11:25:09 AM

	Call Main()
Sub Main()
	rhino.AddLayer "border"
	rhino.AddLayer "cell"
	'get input surface
	Dim srf
	srf = Rhino.GetObject("select surface",8)
	'get the division numbers for U and v directions
	Dim uRes
	Dim vRes
	uRes = rhino.GetInteger ("enter u division number",10)
	vRes = rhino.GetInteger ("enter v division number",10)
	'call the function to evaluate the surface
	Dim uvPt
	uvPt = srfPt(srf, uRes, vRes)

	Dim m
	Dim n
	Dim myCell
	For m = 0 To uRes-1
		For n = 0 To vRes-1
			'cell is the fucntion defined at the bottom of the code
			myCell = cell(uvPt(m,n),uvPt(m+1,n),uvPt(m+1,n+1),uvPt(m,n+1),floor((m+n)/4)+4 )
		Next
	Next

End Sub
Function srfPt(iSrf, iUNum, iVNum) 'inputs
	'define domain variables
	Dim domU_iSrf
	Dim domV_iSrf
	'find surface domain
	domU_iSrf = Rhino.SurfaceDomain (iSrf,0)
	domV_iSrf = Rhino.SurfaceDomain (iSrf,1)
	'define uv parameter variables
	Dim uParam
	Dim vParam
	Dim uvParam
	'define variable For surface points
	Dim pt
	'convert pt into an array
	ReDim pt(iuNum, ivNum)
	Dim i,j
	For i = 0 To iuNum
		For j = 0 To ivNum
			uParam = (domU_iSrf(1)/iuNum)*i
			vParam = (domV_iSrf(1)/ivNum)*j
			uvParam = Array(uParam,vParam)
			pt(i,j) = rhino.EvaluateSurface (iSrf, uvParam)
			rhino.AddPoint pt(i,j)
		Next
	Next
	srfPt = pt
End Function
'this function creates a cell
Function cell(pt1,pt2,pt3,pt4,cellDiv)
	Dim border
	border = rhino.AddPolyline (Array(pt1,pt2,pt3,pt4,pt1))
	rhino.ObjectLayer border, "border"
	Dim divPts
	divPts = Rhino.DivideCurve (border, cellDiv)

	'rhino.Print UBound(divPts)
	ReDim Preserve divPts(cellDiv)
	divPts(cellDiv) = divPts(0)

	Dim cellCrv
	cellCrv = rhino.addCurve (divPts)
	rhino.ObjectLayer cellCrv, "cell"
End Function
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arch571.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arch571.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arch571.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arch571.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arch571.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arch571.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arch571.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arch571.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arch571.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arch571.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arch571.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arch571.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arch571.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arch571.wordpress.com/188/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=188&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arch571.wordpress.com/2009/12/12/surface-components-class-2009120811/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/034ec038110555e029b1532d0de69fbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">onuryucegun</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2009/12/cell03-copy.jpg" medium="image">
			<media:title type="html">cell03 copy</media:title>
		</media:content>

		<media:content url="http://arch571.files.wordpress.com/2009/12/cell04-copy.jpg" medium="image">
			<media:title type="html">cell04 copy</media:title>
		</media:content>
	</item>
		<item>
		<title>evaluate Surface: UV grid [class 20091208/11]</title>
		<link>http://arch571.wordpress.com/2009/12/12/evaluate-surface-uv-grid-class-2009120811/</link>
		<comments>http://arch571.wordpress.com/2009/12/12/evaluate-surface-uv-grid-class-2009120811/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 16:08:46 +0000</pubDate>
		<dc:creator>onuryucegun</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://arch571.wordpress.com/2009/12/12/evaluate-surface-uv-grid-class-2009120811/</guid>
		<description><![CDATA[script below evaluates a surface and creates a UV point grid on it. Option Explicit 'Script written by onur yuce gun 'Script copyrighted by 'Script version Friday, December 11, 2009 11:25:09 AM Call Main() Sub Main() 'get input surface Dim srf srf = Rhino.GetObject("select surface",8) 'get the division numbers for U and v directions Dim [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=186&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>script below evaluates a surface and creates a UV point grid on it.</p>
<pre>
Option Explicit
'Script written by onur yuce gun
'Script copyrighted by
'Script version Friday, December 11, 2009 11:25:09 AM

Call Main()
Sub Main()
	'get input surface
	Dim srf
	srf = Rhino.GetObject("select surface",8)
	'get the division numbers for U and v directions
	Dim uRes
	Dim vRes
	uRes = rhino.GetInteger ("enter u division number",10)
	vRes = rhino.GetInteger ("enter v division number",10)
	'call the function to evaluate the surface
	Dim uvPt
	uvPt = srfPt(srf, uRes, vRes)
End Sub
Function srfPt(iSrf, iUNum, iVNum) 'inputs
	'define domain variables
	Dim domU_iSrf
	Dim domV_iSrf
	'find surface domain
	domU_iSrf = Rhino.SurfaceDomain (iSrf,0)
	domV_iSrf = Rhino.SurfaceDomain (iSrf,1)
	'define uv parameter variables
	Dim uParam
	Dim vParam
	Dim uvParam
	'define variable For surface points
	Dim pt
	'convert pt into an array
	ReDim pt(iuNum, ivNum)
	'evaluate the surface
	'at given parameters
	'to generate a UV grid
	Dim i,j
	For i = 0 To iuNum
		For j = 0 To ivNum
			uParam = (domU_iSrf(1)/iuNum)*i
			vParam = (domV_iSrf(1)/ivNum)*j
			uvParam = Array(uParam,vParam)
			pt(i,j) = rhino.EvaluateSurface (iSrf, uvParam)
			rhino.AddPoint pt(i,j)
		Next
	Next
	srfPt = pt
End Function
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arch571.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arch571.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arch571.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arch571.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arch571.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arch571.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arch571.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arch571.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arch571.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arch571.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arch571.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arch571.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arch571.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arch571.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=186&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arch571.wordpress.com/2009/12/12/evaluate-surface-uv-grid-class-2009120811/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/034ec038110555e029b1532d0de69fbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">onuryucegun</media:title>
		</media:content>
	</item>
		<item>
		<title>evaluate Curve [class 20091208/11]</title>
		<link>http://arch571.wordpress.com/2009/12/12/184/</link>
		<comments>http://arch571.wordpress.com/2009/12/12/184/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 15:59:11 +0000</pubDate>
		<dc:creator>onuryucegun</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://arch571.wordpress.com/2009/12/12/184/</guid>
		<description><![CDATA[you can mark/find points on a curve at a given parameter by using it&#8217;s domain. curve domain could be though as the &#8220;(mathematical) definition space&#8221; of the curve. Option Explicit 'Script written by onur yuce gun 'Script copyrighted by 'Script version Friday, December 11, 2009 10:54:39 AM Call Main() Sub Main() 'get the curve Dim [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=184&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>you can mark/find points on a curve at a given parameter by using it&#8217;s domain.<br />
curve domain could be though as the &#8220;(mathematical) definition space&#8221; of the curve.</p>
<pre>
Option Explicit
'Script written by onur yuce gun
'Script copyrighted by
'Script version Friday, December 11, 2009 10:54:39 AM

Call Main()
Sub Main()
	'get the curve
	Dim crv
	crv = rhino.Getobject ("select curve")
	'find the curve domain
	'(refer to rhinoscript help file
	Dim domCrv
	domCrv = rhino.CurveDomain (crv)
	'evaluate the curve at a given parameter
	Dim pt
	pt = Rhino.EvaluateCurve (crv,domCrv(1)*0.5)
	rhino.addPoint pt
End Sub
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arch571.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arch571.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arch571.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arch571.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arch571.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arch571.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arch571.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arch571.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arch571.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arch571.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arch571.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arch571.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arch571.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arch571.wordpress.com/184/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=184&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arch571.wordpress.com/2009/12/12/184/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/034ec038110555e029b1532d0de69fbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">onuryucegun</media:title>
		</media:content>
	</item>
		<item>
		<title>arithmetic Mean, one liner [class 20091208/11]</title>
		<link>http://arch571.wordpress.com/2009/12/12/arithmetic-mean-one-liner-class-2009120811/</link>
		<comments>http://arch571.wordpress.com/2009/12/12/arithmetic-mean-one-liner-class-2009120811/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 15:53:32 +0000</pubDate>
		<dc:creator>onuryucegun</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://arch571.wordpress.com/?p=182</guid>
		<description><![CDATA[Option Explicit 'Script written by onur yuce gun 'Script copyrighted by 'Script version Friday, December 11, 2009 10:21:04 AM Call Main() Sub Main() 'call the function rhino.Print calcMean(26,8) End Sub Function calcMean(num1,num2) Dim sum sum = num1 + num2 calcMean = sum/2 End Function<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=182&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>
Option Explicit
'Script written by onur yuce gun
'Script copyrighted by
'Script version Friday, December 11, 2009 10:21:04 AM

Call Main()
Sub Main()
	'call the function
	rhino.Print calcMean(26,8)
End Sub
Function calcMean(num1,num2)
	Dim sum
	sum = num1 + num2
	calcMean = sum/2
End Function
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arch571.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arch571.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arch571.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arch571.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arch571.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arch571.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arch571.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arch571.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arch571.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arch571.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arch571.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arch571.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arch571.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arch571.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=182&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arch571.wordpress.com/2009/12/12/arithmetic-mean-one-liner-class-2009120811/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/034ec038110555e029b1532d0de69fbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">onuryucegun</media:title>
		</media:content>
	</item>
		<item>
		<title>arithmetic Mean [class 20091208/11]</title>
		<link>http://arch571.wordpress.com/2009/12/12/arithmetic-mean-class-2009120811/</link>
		<comments>http://arch571.wordpress.com/2009/12/12/arithmetic-mean-class-2009120811/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 14:18:19 +0000</pubDate>
		<dc:creator>onuryucegun</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://arch571.wordpress.com/?p=179</guid>
		<description><![CDATA[Option Explicit 'Script written by onur yuce gun 'Script copyrighted by 'Script version Friday, December 11, 2009 10:21:04 AM Call Main() Sub Main() Dim integer1 Dim integer2 'get two numbers as user input integer1 = rhino.GetInteger ("enter the first integer") integer2 = rhino.GetInteger ("enter the second integer") Dim result 'call the calcMean function result = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=179&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>
Option Explicit
'Script written by onur yuce gun
'Script copyrighted by
'Script version Friday, December 11, 2009 10:21:04 AM

Call Main()
Sub Main()
	Dim integer1
	Dim integer2
	'get two numbers as user input
	integer1 = rhino.GetInteger ("enter the first integer")
	integer2 = rhino.GetInteger ("enter the second integer")
	Dim result
	'call the calcMean function
	result = calcMean(integer1,integer2)
	rhino.Print result
End Sub
'function below gets two numbers
'and RETURNS the arithmetic mean of these numbers
Function calcMean(num1,num2)
	Dim sum
	sum = num1 + num2
	calcMean = sum/2
End Function
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arch571.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arch571.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arch571.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arch571.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arch571.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arch571.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arch571.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arch571.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arch571.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arch571.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arch571.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arch571.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arch571.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arch571.wordpress.com/179/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arch571.wordpress.com&amp;blog=9806103&amp;post=179&amp;subd=arch571&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arch571.wordpress.com/2009/12/12/arithmetic-mean-class-2009120811/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/034ec038110555e029b1532d0de69fbf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">onuryucegun</media:title>
		</media:content>
	</item>
	</channel>
</rss>
