<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dynamic Polyline base code object - VERSION 2 in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249984#M4466</link>
    <description>&lt;BLOCKQUOTE&gt;Hmooslechner wrote:&lt;BR /&gt;
Thougt also about rotating at the nodes, but its not possible with the normal tube-command. Maybe Graphisoft could add an extension for the tube with the possibilities of rotating the profiles on nodes in the future?
&lt;/BLOCKQUOTE&gt;

TUBE already has the ability to rotate the cross-section at each point on the path.&lt;BR /&gt;
&lt;BR /&gt;
Here is a quick example...&lt;BR /&gt;

&lt;PRE&gt;TUBE 4, 18, 16+32,
-2.0, 0.0, 0,
0.0, 0.0, 0,
0.0, 0.4, 0,
-2.0, 0.4, 0,

-1, 0, 0, 0,
0, 0, 0, 5,
4, 0, 0.1, 10,
6, 0, 0.15, 15,
6+4*sin(15), 4 - 4*cos(15), 0.2, 20,
6+4*sin(30), 4 - 4*cos(30), 0.25, 25,
6+4*sin(45), 4 - 4*cos(45), 0.3, 30,
6+4*sin(60), 4 - 4*cos(60), 0.35, 35,
6+4*sin(75), 4 - 4*cos(75), 0.4, 40,
10, 4, 0.45, 45,
6+4*sin(105), 4 - 4*cos(105), 0.5, 40,
6+4*sin(120), 4 - 4*cos(120), 0.55, 35,
6+4*sin(135), 4 - 4*cos(135), 0.6, 30,
6+4*sin(150), 4 - 4*cos(150), 0.65, 25,
6+4*sin(165), 4 - 4*cos(165), 0.7, 15,
6, 8, 0.75, 10,
0, 8, 1, 5,
-1, 8, 1, 0&lt;/PRE&gt;

&lt;BR /&gt;
Barry.</description>
    <pubDate>Mon, 12 Oct 2020 01:07:58 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2020-10-12T01:07:58Z</dc:date>
    <item>
      <title>Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249973#M4455</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello everyone.&lt;BR /&gt;&lt;BR /&gt;Almost seven years now from the polyline object. Wow. I've seen some awesome objects created with that. Congratulations to all of you who have taken a plunge into understanding GDL and that old object, and used it to create amazing things and shared them with the rest of us.&lt;BR /&gt;&lt;BR /&gt;I've had these "version 2" objects for years now. Made them, thought of things to do with them, got busy living and working, used them in a couple of objects for me, and forgot about them.&lt;BR /&gt;&lt;BR /&gt;I tried to simplify the main polyline functions as much as I could, so building upon them was easier. Still couldn't solve the "z" coordinate issue when removing points but it really is no big deal (i think).&lt;BR /&gt;&lt;BR /&gt;The main goal at the time was to add arcs, but to be done over the simplified script. So... the library has a few objects:&lt;BR /&gt;&lt;STRONG&gt;* &lt;/STRONG&gt;Two objects with the main functions. The difference with these is the way the script is written. One has separate x, y and z arrays, the other one has only one XYZ array. Would depend on your liking to use either one.&lt;BR /&gt;&lt;STRONG&gt;* &lt;/STRONG&gt;A version 2 Dynamic Polyline, that includes arcs. This was a challenge and a nightmare. Dealing with the way GDL creates arcs is really something, and then realizing there would be ellipses, projected and rotated spherical and polar coordinates involved, was frightening. I just couldn't figure out some other arc examples on how they were done with simpler code. Mine was the result of extensive trigonometry research of long forgotten things. Has two type of arcs: based on floor plan projection (which yields helices in 3D) or based on the segment's 3D rotation (which yields ellipses in floor plan). It was not easy, but quite satisfying to achieve.&lt;BR /&gt;&lt;STRONG&gt;* &lt;/STRONG&gt;A dynamic multi-polyline object. This one doesn't have arcs (my brain would have died), but has the ability to have many polylines in a single object. It is not using MACRO calls to load the basic functions. I saw this way of using the polyline object to have and use more than one poyline, and wanted to see if I could solve it within the same object. Perhaps you might find good use for this one, despite missing arc code.&lt;BR /&gt;&lt;BR /&gt;I really hope you find these useful, either to build and share more objects, or just to learn a few things that might help you. They are shared using this &lt;A href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener"&gt;license&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Thank you everyone.&lt;BR /&gt;&lt;BR /&gt;Enjoy!&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Sep 2022 20:54:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249973#M4455</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2022-09-26T20:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249974#M4456</link>
      <description>Super fun stuff. Cant wait to see what you did!</description>
      <pubDate>Sat, 06 Jun 2020 18:12:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249974#M4456</guid>
      <dc:creator>SenecaDesignLLC</dc:creator>
      <dc:date>2020-06-06T18:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249975#M4457</link>
      <description>Thank you for sharing!&lt;BR /&gt;
&lt;BR /&gt;
Just one question, one of your objects is protected by password, is it volontary? &lt;BR /&gt;
The object link to a Attribution-ShareAlike 4.0 International licence.&lt;BR /&gt;
&lt;BR /&gt;
(It is the Dynamic Polyline ER LK Report Length)</description>
      <pubDate>Mon, 08 Jun 2020 13:00:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249975#M4457</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2020-06-08T13:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249976#M4458</link>
      <description>&lt;BLOCKQUOTE&gt;Mathias wrote:&lt;BR /&gt;Thank you for sharing!&lt;BR /&gt;
&lt;BR /&gt;
Just one question, one of your objects is protected by password, is it volontary? &lt;BR /&gt;
The object link to a Attribution-ShareAlike 4.0 International licence.&lt;BR /&gt;
&lt;BR /&gt;
(It is the Dynamic Polyline ER LK Report Length)&lt;/BLOCKQUOTE&gt;

Hi.&lt;BR /&gt;
I remember I shared the locked object for length measuring purposes only. It is basically the polyline object but with two added length parameters: list2DLength and list3DLength; with some code in master script after this section&lt;BR /&gt;
!---LENGTH-----&lt;BR /&gt;
!_______________&lt;BR /&gt;

&lt;PRE&gt;!---LISTING LENGTH---	20170323-01-Added listing parameters
PARAMETERS list2DLength = fullLength[1][get2D]
PARAMETERS list3DLength = fullLength[1][get3D]
LOCK "list2DLength"
LOCK "list3DLength"
!_______________________________________________________________&lt;/PRE&gt;

That's it.&lt;BR /&gt;
Best regards.</description>
      <pubDate>Mon, 08 Jun 2020 16:14:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249976#M4458</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2020-06-08T16:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249977#M4459</link>
      <description>Thank you so much.&lt;BR /&gt;
&lt;BR /&gt;
You are my idol  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Sat, 04 Jul 2020 10:54:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249977#M4459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-04T10:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249978#M4460</link>
      <description>@sinceV6&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot for sharing the scripts with us ... anyhow, I couldn't revise them in detail until now, so I will put my questions and comments whenever I fond something that I find interesting.</description>
      <pubDate>Mon, 06 Jul 2020 22:51:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249978#M4460</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2020-07-06T22:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249979#M4461</link>
      <description>&lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;Tip 01: Optimisation&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
The midpoint coordinate component that you used:&lt;BR /&gt;
Midpoint = Pt01 + ((Pt02 - pt01) / 2)&lt;BR /&gt;
&lt;BR /&gt;
Its optimised version is:&lt;BR /&gt;
Midpoint = (Pt01 + Pt02) * 0.5</description>
      <pubDate>Tue, 07 Jul 2020 14:25:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249979#M4461</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2020-07-07T14:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249980#M4462</link>
      <description>I want to point you at my last polyline-Object on the foundation of sinceV6:&lt;BR /&gt;
&lt;BR /&gt;
It "curves" between all edges with bezier-curves - also in the Z-Axes (and now graphisoft  should make an export for mario-cart!   &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_mrgreen.gif" style="display : inline;" /&gt; )&lt;BR /&gt;
&lt;BR /&gt;
had no time to make an Engish-Version, but you should get the points.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://bimcomponents.com/GSM/Details/24075" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="https://bimcomponents.com/GSM/Details/24075" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;https://bimcomponents.com/GSM/Details/24075&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;https://bimcomponents.com/GSM/Details/24075&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;IFRAME width="640" height="360" src="https://www.youtube.com/embed/R6cjzbg4Pt8" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""&gt;&lt;/IFRAME&gt;&lt;BR /&gt;
&lt;BR /&gt;
Profile-manager - profiles are used to follow the 3D-Polyline-Curve</description>
      <pubDate>Fri, 09 Oct 2020 04:53:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249980#M4462</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2020-10-09T04:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249981#M4463</link>
      <description>&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Now THIS is mind boggling!&lt;BR /&gt;
Simply amazing Hmooslechner.&lt;BR /&gt;
Thanks for all your GDL contributions.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Just one question (And if the answer is yes, then this is a revolution):  Is it possible to do rotation on the axis of the profile for individual nodes?  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_mrgreen.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 09 Oct 2020 09:09:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249981#M4463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-09T09:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249982#M4464</link>
      <description>Thougt also about rotating at the nodes, but its not possible with the normal tube-command. Maybe Graphisoft could add an extension for the tube with the possibilities of rotating the profiles on nodes in the future?</description>
      <pubDate>Fri, 09 Oct 2020 14:33:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249982#M4464</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2020-10-09T14:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249983#M4465</link>
      <description>I was afraid of that.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;    You were almost creating the perfect road tool for Archicad.&lt;BR /&gt;
Roads need rotation along the axis to compensate centrifuge forces.&lt;BR /&gt;
Yes.  The Tube command needs this upgrade urgently.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_rolleyes.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 09 Oct 2020 14:54:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249983#M4465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-09T14:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249984#M4466</link>
      <description>&lt;BLOCKQUOTE&gt;Hmooslechner wrote:&lt;BR /&gt;
Thougt also about rotating at the nodes, but its not possible with the normal tube-command. Maybe Graphisoft could add an extension for the tube with the possibilities of rotating the profiles on nodes in the future?
&lt;/BLOCKQUOTE&gt;

TUBE already has the ability to rotate the cross-section at each point on the path.&lt;BR /&gt;
&lt;BR /&gt;
Here is a quick example...&lt;BR /&gt;

&lt;PRE&gt;TUBE 4, 18, 16+32,
-2.0, 0.0, 0,
0.0, 0.0, 0,
0.0, 0.4, 0,
-2.0, 0.4, 0,

-1, 0, 0, 0,
0, 0, 0, 5,
4, 0, 0.1, 10,
6, 0, 0.15, 15,
6+4*sin(15), 4 - 4*cos(15), 0.2, 20,
6+4*sin(30), 4 - 4*cos(30), 0.25, 25,
6+4*sin(45), 4 - 4*cos(45), 0.3, 30,
6+4*sin(60), 4 - 4*cos(60), 0.35, 35,
6+4*sin(75), 4 - 4*cos(75), 0.4, 40,
10, 4, 0.45, 45,
6+4*sin(105), 4 - 4*cos(105), 0.5, 40,
6+4*sin(120), 4 - 4*cos(120), 0.55, 35,
6+4*sin(135), 4 - 4*cos(135), 0.6, 30,
6+4*sin(150), 4 - 4*cos(150), 0.65, 25,
6+4*sin(165), 4 - 4*cos(165), 0.7, 15,
6, 8, 0.75, 10,
0, 8, 1, 5,
-1, 8, 1, 0&lt;/PRE&gt;

&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 12 Oct 2020 01:07:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249984#M4466</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-10-12T01:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249985#M4467</link>
      <description>Now- its getting interesting. Didnt know/understand that and ignored it until now.  - thanks. Lets look what we can make with it..... stay tuned.</description>
      <pubDate>Mon, 12 Oct 2020 08:39:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249985#M4467</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2020-10-12T08:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249986#M4468</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;TUBE already has the ability to rotate the cross-section at each point on the path.&lt;/BLOCKQUOTE&gt;
Yes Barry.  This is the thing! Perhaps this is a solution for Hmooslechner's object.
&lt;BLOCKQUOTE&gt;Hmooslechner wrote:&lt;BR /&gt;Now- its getting interesting. Didnt know/understand that and ignored it until now. - thanks. Lets look what we cam make with it..... stay tuned.&lt;/BLOCKQUOTE&gt;
Thanks Hmooslechner...  and may the force be with you. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 12 Oct 2020 09:02:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249986#M4468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-12T09:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249987#M4469</link>
      <description>I dont know how i could miss this possibilities till now, but it seems to be a kind of ignorance..&lt;BR /&gt;
&lt;BR /&gt;
May the 4th be with me - hope it doesnt take that long.. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_mrgreen.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
After some tries - It seems pretty simple, but for me it is hours of work already. &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Whats to do:&lt;BR /&gt;
&lt;BR /&gt;
2 possibilities: &lt;BR /&gt;
&lt;BR /&gt;
to apply profile - rotations on each edge extra with editable hotspots&lt;BR /&gt;
or&lt;BR /&gt;
rotate profiles on each edge at once with one command at all.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Make it on each edge is a bit easier, because you don't have to proof on wich side is the smaller angle and the user has to apply it on each edge extra in 3D (maybe in 2D-projected sections? similar to the length- sectioning)&lt;BR /&gt;
&lt;BR /&gt;
A step aside: in Austria, streets are build nearly without rotating the profiles to keep the driven speeds down...&lt;BR /&gt;
They are rotated just to keep the water floating away but not for getting higher curve-speeds.&lt;BR /&gt;
&lt;BR /&gt;
Normally, streets are constructed with clothoid for road curves and my bezier-solution is some kind of "nearby miss" already. So this logic of the bezier-curves could also be taken for raising-falling of the profile-rotation on the Edges.</description>
      <pubDate>Tue, 13 Oct 2020 05:22:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249987#M4469</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2020-10-13T05:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249988#M4470</link>
      <description>The rotation of TUBE can become very hard to control when the path isn't close to planar.&lt;BR /&gt;
This might not be a problem for a road, but be aware that's why you won't get the rotations exactly.&lt;BR /&gt;
I wouldn't recommend it to make a tool that generates road sections for construction - only for visualisation.&lt;BR /&gt;
&lt;BR /&gt;
We developed a macro called "gravity_tube" that allows easier control of the rotation by defining vectors that the rotations are relative to. An example is here: &lt;A href="http://gdl.graphisoft.com/forums/topic/tube-twisting/#post-3848" target="_blank"&gt;&lt;LINK_TEXT text="http://gdl.graphisoft.com/forums/topic/ ... #post-3848"&gt;http://gdl.graphisoft.com/forums/topic/tube-twisting/#post-3848&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
For Grasshopper users there is a "Sweep" object on BIMComponents that allows extruding a profile along a space curve: &lt;A href="https://helpcenter.graphisoft.com/knowledgebase/87306/" target="_blank"&gt;https://helpcenter.graphisoft.com/knowledgebase/87306/&lt;/A&gt; . It can be used without GH with a fixed number of four nodes, you can try it to get a feel of the geometry with the rotations. One important thing is that the sections at the nodes can be skewed, their x and y won't always be perpendicular.</description>
      <pubDate>Tue, 13 Oct 2020 08:41:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249988#M4470</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2020-10-13T08:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249989#M4471</link>
      <description>Thanks Peter and Hmooslechner.&lt;BR /&gt;
&lt;BR /&gt;
@ Peter Baksa&lt;BR /&gt;
The node rotation reference plan is in the bisector of the angle defined by two segments axis, right?&lt;BR /&gt;
I can see that the geometry gets much distortions with rotations.  Does the "Gravity Tube" totally eliminates them?&lt;BR /&gt;
&lt;BR /&gt;
I see the profile node rotation as a must, as in many practical situations, roads always have this characteristic.  But perhaps someone here on the forum with solid background in civil engineer could give some feedback. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_idea.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 13 Oct 2020 09:50:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249989#M4471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-13T09:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249990#M4472</link>
      <description>&lt;BLOCKQUOTE&gt;Braza wrote:&lt;BR /&gt;
The node rotation reference plane is in the bisector of the angle defined by two segments axis, right?&lt;BR /&gt;
I can see that the geometry gets much distortions with rotations.  Does the "Gravity Tube" totally eliminates them?
&lt;/BLOCKQUOTE&gt;

Yes, the tricky part is the direction of the 0° direction on that plane. It is the projection of the Z axis to the plane, but sometimes is flipped 180° so the tube is less twisted. Sometimes this flipping is not needed for the model, but it can't be controlled intuitively.&lt;BR /&gt;
gravity_tube solves this issue by letting you define the axis that is projected onto the plane, and never doing the extra flip.&lt;BR /&gt;
&lt;BR /&gt;
The distortion of the TUBE remains the same if it is very twisted. That is because the faces between the nodes are planar, keeping a low polygon count.</description>
      <pubDate>Tue, 13 Oct 2020 14:33:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249990#M4472</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2020-10-13T14:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249991#M4473</link>
      <description>a little look in the recent tries to get it working:  &lt;BR /&gt;
&lt;BR /&gt;
&lt;IFRAME width="640" height="360" src="https://www.youtube.com/embed/stNRlIlrldY" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""&gt;&lt;/IFRAME&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://www.youtube.com/watch?v=stNRlIlrldY" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="https://www.youtube.com/watch?v=stNRlIlrldY" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;https://www.youtube.com/watch?v=stNRlIlrldY&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;https://www.youtube.com/watch?v=stNRlIlrldY&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Its defenitly possible, but there is some cosmetic work to do..&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
There is another problem with streets: in curved sections, they usually are broader than in straigt directions - sections.  Here the tube-command comes to its "boarders". The trailing-curve comes into the topic.</description>
      <pubDate>Tue, 13 Oct 2020 15:13:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249991#M4473</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2020-10-13T15:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object - VERSION 2</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249992#M4474</link>
      <description>Btw, there is an undocumented Registry Key under
&lt;PRE&gt;HKEY_CURRENT_USER\Software\GRAPHISOFT\ARCHICAD\ARCHICAD &amp;lt;version&amp;gt;\GSModeler\Better GDL Tube Triangulation&lt;/PRE&gt;

Maybe Peter can shed some light onto this one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 13 Oct 2020 16:00:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object-VERSION-2/m-p/249992#M4474</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2020-10-13T16:00:19Z</dc:date>
    </item>
  </channel>
</rss>

