<?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: Railing axis rotation in Modeling</title>
    <link>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/369841#M164764</link>
    <description>&lt;P&gt;Railing Settings =&amp;gt; Railing =&amp;gt; Segment =&amp;gt; Segment Settings =&amp;gt; Segment Slanting&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2023 01:16:07 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2023-02-07T01:16:07Z</dc:date>
    <item>
      <title>Railing axis rotation</title>
      <link>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/369834#M164762</link>
      <description>&lt;P&gt;Hi, prodigies,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an idea how to rotate the railing along the reference line (similar to beam axis rotation)? I've combined the snow barrier using the railing tool, which works okay until I need to modify&amp;nbsp;the inclination to adjust to the roof object.&lt;/P&gt;&lt;P&gt;Does anybody know a better and more efficient way how to model similar roof components?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-02-06 at 22.58.01.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/34107i046D3127A42B1BCB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-02-06 at 22.58.01.png" alt="Screenshot 2023-02-06 at 22.58.01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Romas&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 12:30:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/369834#M164762</guid>
      <dc:creator>RVS</dc:creator>
      <dc:date>2023-05-09T12:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Railing axis rotation</title>
      <link>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/369841#M164764</link>
      <description>&lt;P&gt;Railing Settings =&amp;gt; Railing =&amp;gt; Segment =&amp;gt; Segment Settings =&amp;gt; Segment Slanting&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 01:16:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/369841#M164764</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-02-07T01:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Railing axis rotation</title>
      <link>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/369876#M164770</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;The Segment looks slanted, but the custom inner and node posts (created as a Railing post object) are still vertical. Generic posts work okay.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/56046iB2249F004B22F5FA/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screenshot 2023-02-07 at 16.53.11.png" title="Screenshot 2023-02-07 at 16.53.11.png" /&gt;</description>
      <pubDate>Tue, 07 Feb 2023 15:00:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/369876#M164770</guid>
      <dc:creator>RVS</dc:creator>
      <dc:date>2023-02-07T15:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Railing axis rotation</title>
      <link>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/369904#M164778</link>
      <description>&lt;P&gt;If you know a tiny bit of GDL you could script your own railing post.&lt;/P&gt;
&lt;P&gt;You'll need to derive the slanting angle however by yourself. It is given implicitly through a vector stored in the global "RAILINGPOST_TOP_COORD".&lt;/P&gt;
&lt;P&gt;With a tiny bit of trigonometry the angle is easy to get and can be forwarded to a "ROTY" command:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;tri_a = RAILINGPOST_TOP_COORD[1]
tri_b = RAILINGPOST_TOP_COORD[3]
tri_c = sqr(tri_a^2 + tri_b^2)
alpha = acs((tri_b^2 + tri_c^2 - tri_a^2)/(2*tri_b*tri_c))

roty alpha
!/*.... your geometry comes here */!&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 20:37:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/369904#M164778</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-02-07T20:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Railing axis rotation</title>
      <link>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/369919#M164781</link>
      <description>&lt;P&gt;Hi, to be honest, programming and GDL scripting is not my area&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to add this code to the 3D tab?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 22:20:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/369919#M164781</guid>
      <dc:creator>RVS</dc:creator>
      <dc:date>2023-02-07T22:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Railing axis rotation</title>
      <link>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/370051#M164834</link>
      <description>&lt;P&gt;Yes, this would come into the 3D script. But if you're not familiar with coding in GDL it might be a bit hard to do everything correctly &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 18:30:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/Railing-axis-rotation/m-p/370051#M164834</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-02-08T18:30:20Z</dc:date>
    </item>
  </channel>
</rss>

