<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>python.rhino3d.com</title>
		<link>http://python.rhino3d.com/</link>
		<description>This is a discussion forum powered by vBulletin. To find out about vBulletin, go to http://www.vbulletin.com/ .</description>
		<language>en</language>
		<lastBuildDate>Fri, 24 May 2013 02:09:36 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://python.rhino3d.com/images/misc/rss.png</url>
			<title>python.rhino3d.com</title>
			<link>http://python.rhino3d.com/</link>
		</image>
		<item>
			<title>Get all layers?</title>
			<link>http://python.rhino3d.com/threads/1392-Get-all-layers?goto=newpost</link>
			<pubDate>Wed, 22 May 2013 10:40:35 GMT</pubDate>
			<description>Hi All, 
 
Hoping someone can point out a direction for this. 
 
Am trying to cycle through all the layers in the rhino model and in each layer, to...</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
Hoping someone can point out a direction for this.<br />
<br />
Am trying to cycle through all the layers in the rhino model and in each layer, to join the meshes.<br />
<br />
so far, <div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">rhinoscriptsyntax.GetLayer (title=&quot;Select Layer&quot;, layer=None, show_new_button=False, show_set_current=False)</code><hr />
</div>  might work, but requires manually selecting the layers. <br />
<br />
any ideas? <br />
<br />
Thanks in advance...</div>

 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>llennardd</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1392-Get-all-layers</guid>
		</item>
		<item>
			<title>How to create point arrays following the edges</title>
			<link>http://python.rhino3d.com/threads/1391-How-to-create-point-arrays-following-the-edges?goto=newpost</link>
			<pubDate>Tue, 21 May 2013 12:37:40 GMT</pubDate>
			<description>Hi, 
I would like to create point array on a free form surface which depend on edges. 
The example geometry is shown in geometry.png. 
 
If I use the...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I would like to create point array on a free form surface which depend on edges.<br />
The example geometry is shown in geometry.png.<br />
<br />
If I use the surface domain and evaluate points on the surface domain, for example:<br />
<br />
    for i in range(rows):<br />
        s = u[0] + ((u[1]-u[0])/(rows-1))*i<br />
        for j in range(cols):<br />
            t = v[0] + ((v[1]-v[0])/(cols-1))*j<br />
            # find the points on the surface using the surface domain u v coord<br />
            pt = rs.EvaluateSurface(srf, s, t) <br />
<br />
I get the points along the nurbs surfaces as in Fig. geometry2.png. What I need is a (mostly rectangle) array of points, which follow the edges of the geometry as in Fig. geometry3.png<br />
<br />
1- in U V domain, and<br />
2- equidistant in x and y directions projected to the surface (not in U V domain.)<br />
<br />
Thanks in advance,</div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/png.gif" alt="File Type: png" />
	<a href="http://python.rhino3d.com/attachment.php?attachmentid=583&amp;d=1369139654">geometry.png</a> 
(77.2 KB)
</li> <li>
	<img class="inlineimg" src="/png.gif" alt="File Type: png" />
	<a href="http://python.rhino3d.com/attachment.php?attachmentid=584&amp;d=1369139665">geometry2.png</a> 
(106.9 KB)
</li> <li>
	<img class="inlineimg" src="/png.gif" alt="File Type: png" />
	<a href="http://python.rhino3d.com/attachment.php?attachmentid=585&amp;d=1369139774">geometry3.png</a> 
(98.0 KB)
</li> 
			</ul>
			</fieldset>
	

	

	</div>
 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>ceyhunco</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1391-How-to-create-point-arrays-following-the-edges</guid>
		</item>
		<item>
			<title>Using time.sleep() function in GH Python component?</title>
			<link>http://python.rhino3d.com/threads/1389-Using-time.sleep()-function-in-GH-Python-component?goto=newpost</link>
			<pubDate>Thu, 16 May 2013 22:59:50 GMT</pubDate>
			<description>I went onto an interesting topic (http://www.grasshopper3d.com/forum/topics/pulse-to-do-a-reset) at grasshopper forum. 
And tried to see if that...</description>
			<content:encoded><![CDATA[<div>I went onto an interesting <a href="http://www.grasshopper3d.com/forum/topics/pulse-to-do-a-reset" target="_blank" rel="nofollow">topic</a> at grasshopper forum.<br />
And tried to see if that problem could be solved in the following way:<br />
<br />
When &quot;x&quot; input plug of GH component changes, the &quot;a&quot; output plug should generate &quot;True&quot; and after half of a second &quot;False&quot;.<br />
<br />
This is the code I used:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">python Code:</div>
	<div class="geshi_highlight">
  <div dir="ltr" style="text-align:left;"><div class="python"><ol><div class="de1"><span class="kw1">import</span> <span class="kw3">time</span></div><div class="de1">&nbsp;</div><div class="de1"><span class="kw1">if</span> <span class="kw2">len</span><span class="br0">&#40;</span>x<span class="br0">&#41;</span>&gt;<span class="nu0">1</span>:</div><div class="de1">&nbsp; &nbsp; a = <span class="kw2">True</span></div><div class="de1">&nbsp; &nbsp; <span class="kw3">time</span>.<span class="me1">sleep</span><span class="br0">&#40;</span><span class="nu0">0</span>.<span class="nu0">5</span><span class="br0">&#41;</span></div><div class="de1">&nbsp; &nbsp; a = <span class="kw2">False</span></div><div class="de1"><span class="kw1">else</span>:</div><div class="de1">&nbsp; &nbsp; a = <span class="kw2">False</span> </div></ol></div></div></div>
</div><br />
But this code always ouputs &quot;False&quot; no matter what happens with the condition. Never &quot;True&quot;.<br />
I even tried adding a grasshopper &quot;Record&quot; component onto the &quot;a&quot; output plug - still always get the &quot;False&quot;.<br />
<br />
What am I missing here, an is this solution completely incorrect?<br />
<br />
I attached the whole .gh definition.<br />
<br />
Thank you for the reply.</div>


	<div style="padding:10px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/gh.gif" alt="File Type: gh" />
	<a href="http://python.rhino3d.com/attachment.php?attachmentid=582&amp;d=1368745071">sleep_function.gh</a> 
(2.6 KB)
</li> 
			</ul>
		</fieldset>
	

	</div>
 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>djordje</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1389-Using-time.sleep()-function-in-GH-Python-component</guid>
		</item>
		<item>
			<title>Automating Rhino with IronPython</title>
			<link>http://python.rhino3d.com/threads/1388-Automating-Rhino-with-IronPython?goto=newpost</link>
			<pubDate>Thu, 16 May 2013 00:47:26 GMT</pubDate>
			<description><![CDATA[Here's a fun one.  If you have IronPython installed (on Windows), you can use it to automate Rhino 
 
This is a sample I whipped up...]]></description>
			<content:encoded><![CDATA[<div>Here's a fun one.  If you have IronPython installed (on Windows), you can use it to automate Rhino<br />
<br />
This is a sample I whipped up<br />
<a href="https://gist.github.com/sbaer/5587540" target="_blank" rel="nofollow">https://gist.github.com/sbaer/5587540</a></div>

 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>Steve Baer</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1388-Automating-Rhino-with-IronPython</guid>
		</item>
		<item>
			<title>_python_Editor_problem</title>
			<link>http://python.rhino3d.com/threads/1387-_python_Editor_problem?goto=newpost</link>
			<pubDate>Tue, 14 May 2013 10:46:24 GMT</pubDate>
			<description>Hi there, 
 
I have a problem with my python editor in Rhinoceros 5. I was trying to install numpy and scipy and accidentally I removed all the path...</description>
			<content:encoded><![CDATA[<div>Hi there,<br />
<br />
I have a problem with my python editor in Rhinoceros 5. I was trying to install numpy and scipy and accidentally I removed all the path directories from the editor options menu. Now, when I am trying to load my editor by typing _editpythonscript nothing is showing up. Does anybody know how to get my editor back? It tried to _runpythonscript and I get a message saying &quot;ScopeStorage&quot; object has no attribute sciptcontext.</div>

 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>ger</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1387-_python_Editor_problem</guid>
		</item>
		<item>
			<title>Unroll results of _UnrollSrf command versus rs.UnrollSurface()</title>
			<link>http://python.rhino3d.com/threads/1385-Unroll-results-of-_UnrollSrf-command-versus-rs.UnrollSurface()?goto=newpost</link>
			<pubDate>Mon, 13 May 2013 12:40:31 GMT</pubDate>
			<description><![CDATA[Hi Steve, 
i attached a slightly double curved surface that i used to debug this. 
Somehow I'm getting different results unrolling the surfaces with...]]></description>
			<content:encoded><![CDATA[<div>Hi Steve,<br />
i attached a slightly double curved surface that i used to debug this.<br />
Somehow I'm getting different results unrolling the surfaces with the script command and unrolling it via the commandline. In general, rs.UnrollSurface() yields worse results, when comparing the surface areas of the unrolled geometry to the original. The testfile is in meters, when I change the file units to mm, the result is much better.<br />
How can I get the precise result in my meter-file? I tried changing document tolerances, but this didn't seem to affect the results of the script command. For now, I will use the commandline, but it would be nice, to get the rs-function to work properly.<br />
<br />
Here's the code I used to unroll and compare surface areas:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Python Code:</div>
	<div class="geshi_highlight">
  <div dir="ltr" style="text-align:left;"><div class="python"><ol><div class="de1"><span class="kw1">import</span> rhinoscriptsyntax as rs</div><div class="de1">&nbsp;</div><div class="de1">strID = <span class="st0">"73350afd-2fbc-4fea-9237-364476ef7081"</span></div><div class="de1">&nbsp;</div><div class="de1">strCommand = <span class="st0">"_UnrollSrf _SelID "</span> + strID + <span class="st0">" _Enter"</span></div><div class="de1">rs.<span class="me1">Command</span><span class="br0">&#40;</span>strCommand<span class="br0">&#41;</span></div><div class="de1">srfUnrollCommand = rs.<span class="me1">LastCreatedObjects</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span></div><div class="de1">srfUnrollScript = rs.<span class="me1">UnrollSurface</span><span class="br0">&#40;</span>strID<span class="br0">&#41;</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span></div><div class="de1">&nbsp;</div><div class="de1">numAreaOriginal = rs.<span class="me1">SurfaceArea</span><span class="br0">&#40;</span>strID<span class="br0">&#41;</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span></div><div class="de1"><span class="kw1">print</span><span class="br0">&#40;</span><span class="kw2">str</span><span class="br0">&#40;</span>numAreaOriginal<span class="br0">&#41;</span><span class="br0">&#41;</span> + <span class="st0">" Area original surface"</span></div><div class="de1">numAreaCommand = rs.<span class="me1">SurfaceArea</span><span class="br0">&#40;</span>srfUnrollCommand<span class="br0">&#41;</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span></div><div class="de1"><span class="kw1">print</span><span class="br0">&#40;</span><span class="kw2">str</span><span class="br0">&#40;</span>numAreaCommand<span class="br0">&#41;</span><span class="br0">&#41;</span> + <span class="st0">" Area command surface"</span></div><div class="de1">numAreaScript = rs.<span class="me1">SurfaceArea</span><span class="br0">&#40;</span>srfUnrollScript<span class="br0">&#41;</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span></div><div class="de1"><span class="kw1">print</span><span class="br0">&#40;</span><span class="kw2">str</span><span class="br0">&#40;</span>numAreaScript<span class="br0">&#41;</span><span class="br0">&#41;</span> + <span class="st0">" Area script surface"</span> </div></ol></div></div></div>
</div></div>


	<div style="padding:10px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/3dm.gif" alt="File Type: 3dm" />
	<a href="http://python.rhino3d.com/attachment.php?attachmentid=581&amp;d=1368448662">unroll_test_units=meters.3dm</a> 
(173.2 KB)
</li> 
			</ul>
		</fieldset>
	

	</div>
 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>Muster</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1385-Unroll-results-of-_UnrollSrf-command-versus-rs.UnrollSurface()</guid>
		</item>
		<item>
			<title><![CDATA[question about list and Ienumerates[Type]]]></title>
			<link>http://python.rhino3d.com/threads/1384-question-about-list-and-Ienumerates-Type?goto=newpost</link>
			<pubDate>Sun, 12 May 2013 15:54:00 GMT</pubDate>
			<description><![CDATA[Hi all. 
When I call the method Rhino.Brep.CreateFromLoft(Ienumerate[curves],start,end,lofttype,bool closed),  
I passed in a curve[Acturally...]]></description>
			<content:encoded><![CDATA[<div>Hi all.<br />
When I call the method Rhino.Brep.CreateFromLoft(Ienumerate[curves],start,end,lofttype,bool closed), <br />
I passed in a curve[Acturally nurbscurve[type]] list to Ienumerate[curves], then I got error. It said got list, expect Ienumerates[Curve]. What's wrong?  How can I correctly call this method? Any difference between these two kinds of arguments?<br />
Any reply is appreciated.</div>

 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>stjackin</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1384-question-about-list-and-Ienumerates-Type</guid>
		</item>
		<item>
			<title>Layout View list</title>
			<link>http://python.rhino3d.com/threads/1383-Layout-View-list?goto=newpost</link>
			<pubDate>Fri, 10 May 2013 18:43:04 GMT</pubDate>
			<description><![CDATA[Is there way to get a list of Layout views?  I don't seem to see anything, but could be overlooking it.]]></description>
			<content:encoded><![CDATA[<div>Is there way to get a list of Layout views?  I don't seem to see anything, but could be overlooking it.</div>

 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>djnelson75</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1383-Layout-View-list</guid>
		</item>
		<item>
			<title>questions on Rhino Python in Komodo</title>
			<link>http://python.rhino3d.com/threads/1382-questions-on-Rhino-Python-in-Komodo?goto=newpost</link>
			<pubDate>Thu, 09 May 2013 23:10:02 GMT</pubDate>
			<description><![CDATA[I just switched to a mac recently, and i'm curious to know if anyone has been working with komodo as their python editor?? and if so, how do you run...]]></description>
			<content:encoded><![CDATA[<div>I just switched to a mac recently, and i'm curious to know if anyone has been working with komodo as their python editor?? and if so, how do you run your codes to check if their working? or even check what are in your variables?? i feel rather blind right now.... any help would be appreciated.<br />
<br />
Peter.</div>

 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>Panguyen</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1382-questions-on-Rhino-Python-in-Komodo</guid>
		</item>
		<item>
			<title>get object color in python grasshopper</title>
			<link>http://python.rhino3d.com/threads/1381-get-object-color-in-python-grasshopper?goto=newpost</link>
			<pubDate>Thu, 09 May 2013 15:20:54 GMT</pubDate>
			<description>How do i get an objects color in python grasshopper..The VB version is quite simple, but i cant translate to python in a proper way. 
 
Finding the...</description>
			<content:encoded><![CDATA[<div>How do i get an objects color in python grasshopper..The VB version is quite simple, but i cant translate to python in a proper way.<br />
<br />
Finding the objects attributes is what i cant figure out right.<br />
<br />
Any clues?<br />
<br />
Thanks!<br />
<br />
<br />
<br />
Dim obj As Rhino.DocObjects.RhinoObject = doc.Objects.Find(id)<br />
<br />
    If (obj Is Nothing) Then<br />
      col = Color.Transparent<br />
    Else<br />
      col = obj.Attributes.ObjectColor<br />
    End If</div>

 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>Thiru</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1381-get-object-color-in-python-grasshopper</guid>
		</item>
		<item>
			<title>Hosting a Script In the Cloud?</title>
			<link>http://python.rhino3d.com/threads/1380-Hosting-a-Script-In-the-Cloud?goto=newpost</link>
			<pubDate>Thu, 09 May 2013 01:09:24 GMT</pubDate>
			<description>Hi All, 
 
My classmates and I developed a script that links to a twitter account. When that account receives a mention, it generates geometry based...</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
My classmates and I developed a script that links to a twitter account. When that account receives a mention, it generates geometry based on the text in the mention, and then tweets a picture of that geometry.<br />
<br />
The only problem right now is that I need to have my laptop running Rhino and the script 24/7 for it to work. I'd like to find a place to host this (hopefully inexpensively) so it can be active all of the time without me needing to sacrifice my machine. The potential problems I see are that the cloud system must have Rhino 5, and we would need to install some python libraries that we edited to get it to work properly. <br />
<br />
Any suggestions? Thanks!<br />
<br />
-Joe</div>

 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>ptlkoutjoe</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1380-Hosting-a-Script-In-the-Cloud</guid>
		</item>
		<item>
			<title>Plug-in enable/disable with RhinoCommon?</title>
			<link>http://python.rhino3d.com/threads/1379-Plug-in-enable-disable-with-RhinoCommon?goto=newpost</link>
			<pubDate>Mon, 06 May 2013 17:27:27 GMT</pubDate>
			<description>As the Rhinoscriptsyntax EnablePlugIn (True/False) method is currently not implemented in Python: is there a way to load/disable a plug-in via...</description>
			<content:encoded><![CDATA[<div>As the Rhinoscriptsyntax EnablePlugIn (True/False) method is currently not implemented in Python: is there a way to load/disable a plug-in via RhinoCommmon?  I found Rhino.PlugIns.PlugIn.LoadPlugIn - which seems to be one-way - will load only.  I know there is no unloading of plug-ins, so I am looking for a way to disable a loaded plug-in....<br />
<br />
Thx,<br />
--Mitch</div>

 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>Mitch</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1379-Plug-in-enable-disable-with-RhinoCommon</guid>
		</item>
		<item>
			<title>Printing with comma?</title>
			<link>http://python.rhino3d.com/threads/1378-Printing-with-comma?goto=newpost</link>
			<pubDate>Mon, 06 May 2013 01:09:01 GMT</pubDate>
			<description>I went to a strange glitch. 
Here is the code I am executing in RhinoPython Editor: 
 
for number in range(5): 
    print number, 
Interestingly...</description>
			<content:encoded><![CDATA[<div>I went to a strange glitch.<br />
Here is the code I am executing in RhinoPython Editor:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">python Code:</div>
	<div class="geshi_highlight">
  <div dir="ltr" style="text-align:left;"><div class="python"><ol><div class="de1"><span class="kw1">for</span> number <span class="kw1">in</span> <span class="kw2">range</span><span class="br0">&#40;</span><span class="nu0">5</span><span class="br0">&#41;</span>:</div><div class="de1">&nbsp; &nbsp; <span class="kw1">print</span> number, </div></ol></div></div></div>
</div><br />
Interestingly nothing appears in the console.<br />
But when I remove the &quot;comma&quot;:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">python Code:</div>
	<div class="geshi_highlight">
  <div dir="ltr" style="text-align:left;"><div class="python"><ol><div class="de1"><span class="kw1">for</span> number <span class="kw1">in</span> <span class="kw2">range</span><span class="br0">&#40;</span><span class="nu0">5</span><span class="br0">&#41;</span>:</div><div class="de1">&nbsp; &nbsp; <span class="kw1">print</span> number </div></ol></div></div></div>
</div><br />
 I get the desired result (printing the range function array in the same line) along with the new (expected) array in each line:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">0 1 2 3 4 0<br />
1<br />
2<br />
3<br />
4</code><hr />
</div> Why is this happening?<br />
<br />
Thank you.</div>

 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>djordje</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1378-Printing-with-comma</guid>
		</item>
		<item>
			<title>XMLRPC Server</title>
			<link>http://python.rhino3d.com/threads/1377-XMLRPC-Server?goto=newpost</link>
			<pubDate>Sun, 05 May 2013 23:21:06 GMT</pubDate>
			<description>Hi, 
I am trying to call some functions which is defined in Rhino.Python, from an external application via XMLRPC. It is OK when XMLRPC is used as...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I am trying to call some functions which is defined in Rhino.Python, from an external application via XMLRPC. It is OK when XMLRPC is used as client in Rhino, but when i try to open XMLRPC as server, Rhino crashes.<br />
<br />
This is the code I have used.<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">import xmlrpclib<br />
from SimpleXMLRPCServer import SimpleXMLRPCServer<br />
<br />
def is_even(n):<br />
&nbsp; &nbsp; return n%2 == 0<br />
<br />
server = SimpleXMLRPCServer((&quot;127.0.0.1&quot;, 8000))<br />
print &quot;Listening on port 8000...&quot;<br />
server.register_function(is_even, &quot;is_even&quot;)<br />
server.serve_forever()</code><hr />
</div> <a href="https://ironpython-test.readthedocs.org/en/latest/library/xmlrpclib.html" target="_blank" rel="nofollow">https://ironpython-test.readthedocs....xmlrpclib.html</a></div>

 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>grafikcanavari</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1377-XMLRPC-Server</guid>
		</item>
		<item>
			<title>Recursive branching help</title>
			<link>http://python.rhino3d.com/threads/1376-Recursive-branching-help?goto=newpost</link>
			<pubDate>Sun, 05 May 2013 02:27:26 GMT</pubDate>
			<description>This is a branching recursive script. There are two lines drawn from the start point (sPt)(user input) to the closet points in the point field...</description>
			<content:encoded><![CDATA[<div>This is a branching recursive script. There are two lines drawn from the start point (sPt)(user input) to the closet points in the point field (sortedPts)(user input as myPts). I want the two closest points to replace the start point for the recursion, and am having trouble moving the points from one list to another. Any Ideas?<br />
<br />
<br />
<br />
Thank you.</div>


	<div style="padding:10px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/py.gif" alt="File Type: py" />
	<a href="http://python.rhino3d.com/attachment.php?attachmentid=580&amp;d=1367720798">BradenCaldwell_CrackingScript.py</a> 
(2.0 KB)
</li> 
			</ul>
		</fieldset>
	

	</div>
 ]]></content:encoded>
			<category domain="http://python.rhino3d.com/forums/1-RhinoPython">RhinoPython</category>
			<dc:creator>bcaldwell</dc:creator>
			<guid isPermaLink="true">http://python.rhino3d.com/threads/1376-Recursive-branching-help</guid>
		</item>
	</channel>
</rss>
