<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Get clone position over spline for Spline Based Cloner&#x2F;Matrix]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Is it possible to re-create uniform position over spline for <em>clones</em> when both <code>Offset</code> and <code>Offset Variation</code> are defined:<br />
<img src="https://developers.maxon.net/forum/assets/uploads/files/1703268808421-c0f19a8b-88ee-4644-ae9b-17e727c1f39a-image.png" alt="c0f19a8b-88ee-4644-ae9b-17e727c1f39a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Currently trying to recreate with Python random.random(),<br />
but either I made expression, either python's random is totally different to Cinema's random</p>
]]></description><link>http://developers.maxon.net/forum/topic/15305/get-clone-position-over-spline-for-spline-based-cloner-matrix</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 00:21:37 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/15305.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Dec 2023 18:42:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Get clone position over spline for Spline Based Cloner&#x2F;Matrix on Wed, 27 Dec 2023 09:20:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/baca">@<bdi>baca</bdi></a>, sadly it is not possible to get the exact same random in Python than the one used internally for this feature. So the only way would be to actually clone some objects an retrieve their position as shown in <a href="https://github.com/PluginCafe/cinema4d_py_sdk_extended/blob/master/scripts/05_modules/mograph/read_modata_color_r16.py" target="_blank" rel="noopener noreferrer nofollow ugc">read_modata_color.py</a>. The previous example retrieve the color and not the position, so instead of retrieving the MODATA_COLOR, use the MODATA_MATRIX.</p>
<p dir="auto">Cheers,<br />
Maxime.</p>
]]></description><link>http://developers.maxon.net/forum/post/73425</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/73425</guid><dc:creator><![CDATA[m_adam]]></dc:creator><pubDate>Wed, 27 Dec 2023 09:20:57 GMT</pubDate></item></channel></rss>