<?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>Thema "Betreff: GDL" in Programmierung</title>
    <link>https://community.graphisoft.com/t5/Programmierung/GDL/m-p/631822#M7864</link>
    <description>&lt;P&gt;Ich habe einfach in Dein Script folgendes geschrieben (ohne DIM):&lt;/P&gt;
&lt;P&gt;zzyzx = RAILINGPOST_TOP_COORD[3]&lt;/P&gt;</description>
    <pubDate>Sun, 22 Sep 2024 13:45:30 GMT</pubDate>
    <dc:creator>Jochen Suehlo</dc:creator>
    <dc:date>2024-09-22T13:45:30Z</dc:date>
    <item>
      <title>GDL</title>
      <link>https://community.graphisoft.com/t5/Programmierung/GDL/m-p/631814#M7861</link>
      <description>&lt;P&gt;In Bezug auf gedrehte Staketen für Geländerdarstellung..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ich habe mal versucht, das 3D-Script von Archicad "zu vereinfachen" - lesbarer zu gestalten und vielleicht später mal parametrisieren zu können.&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;LI-CODE lang="markup"&gt;bms_buildingMatAttribute_1 = 0
r = REQUEST{2} ("Building_Material_info", buildingMatAttribute_1, "gs_bmat_surface", bms_buildingMatAttribute_1)



rotx 90



    set building_material buildingMatAttribute_1, DEFAULT, DEFAULT
    sect_attrs{2} penAttribute_3, lineTypeAttribute_1



ruledshell{3} bms_buildingMatAttribute_1, bms_buildingMatAttribute_1, 
 bms_buildingMatAttribute_1, bms_buildingMatAttribute_1, bms_buildingMatAttribute_1, 
 bms_buildingMatAttribute_1, bms_buildingMatAttribute_1,
                 2,      2,      2,      0,
                       0,        0.004,      1,      0,

! -- transformation matrix -------------------------------------------------------
                       1,            0,            0,            0,
                       0,            0,           -1,            0,
                       0,            1,            0,            0,

! -- profile 1 polyline ----------------------------------------------------------
                    0.002,            -0.015,     2,
                    0.002,            0.015,      2,

! -- profile 2 polyline ----------------------------------------------------------
            		-0.015, 0.002,      2,
            		0.015,  0.002,      2,

! -- transformation matrix -------------------------------------------------------
                    -1,            0,            0,         0,
                     0,            1,            0,          0,
                     0,            0,           -1,         -zzyzx,


! -- generatrices ----------------------------------------------------------------
                 1,      1,
                 2,      2


del          1
&lt;/LI-CODE&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;Abgesehen davon, dass mir die Transformationsmatrixen die Gehirnwindungen verdrehen - dieser Script funktioniert jedenfalls mal in 3D.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mein Problem ist nun Folgendes: Ich finde ums Verrecken nicht heraus - auch nicht mit den Beispielen von Archicads eigenen Geländerpfosten nicht - wie man die Höhe der Stäbe so anpassen kann, dass sie sich ins Geländer automatisch einfügen, wie es eben die Hauseigenen machen..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Frage - welcher Parameter muß im GDL vorhanden sein, dass ich die Höhe - bei mir oben eben zzyzx so einstellen kann, dass es im Geländer dann passt?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hmooslechner_0-1726995278477.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/76785i0F8861C92031FF75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hmooslechner_0-1726995278477.png" alt="Hmooslechner_0-1726995278477.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Sep 2024 08:55:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/GDL/m-p/631814#M7861</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2024-09-22T08:55:19Z</dc:date>
    </item>
    <item>
      <title>Betreff: GDL</title>
      <link>https://community.graphisoft.com/t5/Programmierung/GDL/m-p/631818#M7862</link>
      <description>&lt;P&gt;Probier mal die folgende Globale Variable: führt bei mir zu einem Ergebnis mit identischer Höhe in Bezug auf die GS-Geländerstäbe.&lt;/P&gt;
&lt;DIV style="color: #3d3d3d; background-color: #fafafa; font-family: Menlo, Monaco, 'Courier New', monospace; font-weight: normal; font-size: 12px; line-height: 18px; white-space: pre;"&gt;
&lt;DIV&gt;&lt;SPAN&gt;RAILINGPOST_TOP_COORD&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 22 Sep 2024 13:07:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/GDL/m-p/631818#M7862</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2024-09-22T13:07:05Z</dc:date>
    </item>
    <item>
      <title>Betreff: GDL</title>
      <link>https://community.graphisoft.com/t5/Programmierung/GDL/m-p/631821#M7863</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;Danke. Muß ich das mit Dim zuerst herstellen oder einfach nur in der Parameterliste?&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OK - schon gesehen - einfach nur verwenden als Höhe. Danke nochmals.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Sep 2024 13:59:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/GDL/m-p/631821#M7863</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2024-09-22T13:59:30Z</dc:date>
    </item>
    <item>
      <title>Betreff: GDL</title>
      <link>https://community.graphisoft.com/t5/Programmierung/GDL/m-p/631822#M7864</link>
      <description>&lt;P&gt;Ich habe einfach in Dein Script folgendes geschrieben (ohne DIM):&lt;/P&gt;
&lt;P&gt;zzyzx = RAILINGPOST_TOP_COORD[3]&lt;/P&gt;</description>
      <pubDate>Sun, 22 Sep 2024 13:45:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/GDL/m-p/631822#M7864</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2024-09-22T13:45:30Z</dc:date>
    </item>
    <item>
      <title>Betreff: GDL</title>
      <link>https://community.graphisoft.com/t5/Programmierung/GDL/m-p/631826#M7865</link>
      <description>&lt;P&gt;&lt;A href="https://www.dropbox.com/scl/fi/fjuc7txpdp4nmo79gimnq/gedrehte-stakete.pln?rlkey=rspjnenp8xqb8ve3wun373pqy&amp;amp;st=mg996yv1&amp;amp;dl=0" target="_blank"&gt;https://www.dropbox.com/scl/fi/fjuc7txpdp4nmo79gimnq/gedrehte-stakete.pln?rlkey=rspjnenp8xqb8ve3wun373pqy&amp;amp;st=mg996yv1&amp;amp;dl=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Sep 2024 15:33:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/GDL/m-p/631826#M7865</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2024-09-22T15:33:20Z</dc:date>
    </item>
  </channel>
</rss>

