<?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[List of selected edges]]></title><description><![CDATA[<p dir="auto">Hello,<br />
For a polygon with selected edges, I would like to obtain the list of these edges as a list of pairs of point indices.<br />
This list would appear, for example, as follows:</p>
<p dir="auto"><strong>&lsqb;&lsqb;3,8],[2,5],[12,6],[5,14],[16,12],...]</strong></p>
]]></description><link>http://developers.maxon.net/forum/topic/16438/list-of-selected-edges</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 16:45:03 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/16438.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Aug 2026 11:27:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to List of selected edges on Thu, 13 Aug 2026 11:05:52 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/kantronin">@<bdi>Kantronin</bdi></a>,</p>
<p dir="auto">you might want to look at <a href="https://github.com/Maxon-Computer/Cinema-4D-Python-API-Examples/blob/master/scripts/04_3d_concepts/modeling/geometry/geometry_polgyon_edges_2024.0.py" target="_blank" rel="noopener noreferrer nofollow ugc">geometry_polgyon_edges_2024.0.py</a>, it should answer all your questions.</p>
<p dir="auto">The TLDR is: full-edge maps as you hint at in your posting do exist in Cinema via helper functions, but they are often also not very useful. Internally, Cinema is operating as any other DCC application with the concept of what is often called a "half-edge" data structure. So, when you have the two polygons <code>A</code> and <code>B</code>:</p>
<pre><code class="language-txt">  a---b---e
  | A | B |
  d---c---f
</code></pre>
<p dir="auto">Which share an edge over the vertices <code>b</code> and <code>c</code>, this is actually two edges and not one, due to how normals work. For both polygons to have a normal facing in the same direction, they must have opposite winding orders, which means that the edge <code>b-c</code> is actually two edges: <code>b-&gt;c</code> and <code>c-&gt;b</code>. So, <code>A</code> could for example index the edge as <code>bc</code>, and <code>B</code> as <code>cb</code>. The example goes into more detail with this.</p>
<p dir="auto">Cheers,<br />
Ferdinand</p>
]]></description><link>http://developers.maxon.net/forum/post/77313</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/77313</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Thu, 13 Aug 2026 11:05:52 GMT</pubDate></item></channel></rss>