<?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: How to place a MESH object in a specific position in Archicad? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/How-to-place-a-MESH-object-in-a-specific-position-in-Archicad/m-p/357114#M1244</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gdl.Graphisoft.com/gdl-basics/coordinates-and-transformations" target="_blank" rel="noopener"&gt;Here is some help on how transformations work in GDL&lt;/A&gt;. Generally movement and rotation can be exchanged, but the actual values have be different to arrive in the same place. A specific point can be reached in infinite ways, it is up to you to find a suitable common framework in your script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Sep 2022 15:44:20 GMT</pubDate>
    <dc:creator>Peter Baksa</dc:creator>
    <dc:date>2022-09-26T15:44:20Z</dc:date>
    <item>
      <title>How to place a MESH object in a specific position in Archicad?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-place-a-MESH-object-in-a-specific-position-in-Archicad/m-p/356108#M1243</link>
      <description>&lt;P&gt;I am creating a Road Junction where there are two GDL objects are used. The first one is a PRISM object, to create the free shape of the junction. Another is a MESH object to create a transition between the road and the junction.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Partha02_7-1663319836119.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/29786i58F2352FF94F8F4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Partha02_7-1663319836119.png" alt="Partha02_7-1663319836119.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, four transition objects are needed to place in the four junction heads.&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="431"&gt;
&lt;TABLE width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Fig: The junction after the transition object is placed&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Partha02_8-1663319836126.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/29784i3A2D973355CC0C97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Partha02_8-1663319836126.png" alt="Partha02_8-1663319836126.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this above-mentioned shape, to place the transition objects I have to use ADDX, ADDY, and ROTZ commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, if to place the bottom transition object the commands are –&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Partha02_9-1663319836127.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/29785iDB8947DB2ACE9D07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Partha02_9-1663319836127.png" alt="Partha02_9-1663319836127.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similarly right –&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Partha02_10-1663319836128.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/29790i239D455EE4BB5143/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Partha02_10-1663319836128.png" alt="Partha02_10-1663319836128.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For top –&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Partha02_11-1663319836130.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/29788i870EB1D962288D25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Partha02_11-1663319836130.png" alt="Partha02_11-1663319836130.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And lastly for the left –&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Partha02_12-1663319836132.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/29787iE58EF76485E98797/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Partha02_12-1663319836132.png" alt="Partha02_12-1663319836132.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here, as you can see for the Top transition we need to perform ADD command first then ROTZ command and in the Left transition, we need to perform ROTZ first and ADD command last. But if we perform ROTZ first in Top transition it won’t work and similarly with Left transition. And also sometimes we need to ADD (+ve) values(Right transition) and sometimes (-ve) values (Left transition).&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="577"&gt;
&lt;TABLE width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;Fig: If the ROTZ command is after the ADD command in Left Transition&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Partha02_13-1663319836151.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/29791iC73D8425D692C110/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Partha02_13-1663319836151.png" alt="Partha02_13-1663319836151.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My questions are –&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Why do different positions of ROTZ values have different results? I want a general position so that I can put some type of logic in it to perform every other transition.&lt;/LI&gt;
&lt;LI&gt;As I’ve already mentioned I am using the MESH object to create the transitions. Is there any way that I can place the MESH object to a specific position in this case the beginning position of a specific line?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:15:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-place-a-MESH-object-in-a-specific-position-in-Archicad/m-p/356108#M1243</guid>
      <dc:creator>Partha02</dc:creator>
      <dc:date>2024-09-24T08:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to place a MESH object in a specific position in Archicad?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-place-a-MESH-object-in-a-specific-position-in-Archicad/m-p/357114#M1244</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gdl.Graphisoft.com/gdl-basics/coordinates-and-transformations" target="_blank" rel="noopener"&gt;Here is some help on how transformations work in GDL&lt;/A&gt;. Generally movement and rotation can be exchanged, but the actual values have be different to arrive in the same place. A specific point can be reached in infinite ways, it is up to you to find a suitable common framework in your script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 15:44:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-place-a-MESH-object-in-a-specific-position-in-Archicad/m-p/357114#M1244</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2022-09-26T15:44:20Z</dc:date>
    </item>
  </channel>
</rss>

