<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>Comments on: Introducing Magnet Controller</title>
	<atom:link href="http://www.torabiarchitect.com/blog/?feed=rss2&#038;p=295" rel="self" type="application/rss+xml" />
	<link>http://www.torabiarchitect.com/blog/?p=295</link>
	<description>Digital Architecture &#38; Technology</description>
	<lastBuildDate>Fri, 24 Aug 2012 16:17:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>By: ali</title>
		<link>http://www.torabiarchitect.com/blog/?p=295&#038;cpage=1#comment-10805</link>
		<dc:creator><![CDATA[ali]]></dc:creator>
		<pubDate>Fri, 12 Aug 2011 20:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.torabiarchitect.com/blog/?p=295#comment-10805</guid>
		<description><![CDATA[Thanks for your comment,good suggestion
it&#039;s now part of curve controller in version 2.1
looking for more comments ;-)]]></description>
		<content:encoded><![CDATA[<p>Thanks for your comment,good suggestion<br />
it&#8217;s now part of curve controller in version 2.1<br />
looking for more comments 😉</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonahhawk</title>
		<link>http://www.torabiarchitect.com/blog/?p=295&#038;cpage=1#comment-8695</link>
		<dc:creator><![CDATA[jonahhawk]]></dc:creator>
		<pubDate>Wed, 06 Jul 2011 07:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.torabiarchitect.com/blog/?p=295#comment-8695</guid>
		<description><![CDATA[Any chance you will include a &quot;Closest point on curve&quot; controller?

I&#039;m sure you have it figured out. But here is my method in a scripted controller for Radius2
RING = Ring object
CURVE = splineShape in Scene
RANGE = Cust Atrib on the curve object but could be any value of course.

(
rad2 = 0.0
param = nearestPathParam CURVE 1 RING.pos
paramPos = pathInterp CURVE 1 param
dist = distance RING.pos paramPos
maxVal = 1.0
rad2 = if dist &lt;= RANGE then dist/RANGE else maxVal
return rad2
)]]></description>
		<content:encoded><![CDATA[<p>Any chance you will include a &#8220;Closest point on curve&#8221; controller?</p>
<p>I&#8217;m sure you have it figured out. But here is my method in a scripted controller for Radius2<br />
RING = Ring object<br />
CURVE = splineShape in Scene<br />
RANGE = Cust Atrib on the curve object but could be any value of course.</p>
<p>(<br />
rad2 = 0.0<br />
param = nearestPathParam CURVE 1 RING.pos<br />
paramPos = pathInterp CURVE 1 param<br />
dist = distance RING.pos paramPos<br />
maxVal = 1.0<br />
rad2 = if dist &lt;= RANGE then dist/RANGE else maxVal<br />
return rad2<br />
)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
