<?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: GDL tutorial in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622712#M6904</link>
    <description>&lt;P&gt;Que te dit l'erreur exactement ? Car j'ai rentré ton code avec POLY2 et ça marche de mon côté. Donc soit tu as une erreur de valeur dans tes paramètres, soit tes paramètres ne sont pas des longueurs ou soit tu as un paramètre qui n'est pas trouvé, je pense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Translation ...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What exactly does the error tell you? Because I entered your code with POLY2 and it works for me. So either you have a value error in your parameters, or your parameters are not lengths or you have a parameter that is not found, I think.&lt;/FONT&gt;&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-center" image-alt="Capture d’écran 2024-08-14 à 14.57.28.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/70410iB18770093F7B3872/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2024-08-14 à 14.57.28.png" alt="Capture d’écran 2024-08-14 à 14.57.28.png" /&gt;&lt;/span&gt;&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-center" image-alt="Capture d’écran 2024-08-14 à 15.01.09.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/70411iB2C096D133CBCB3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2024-08-14 à 15.01.09.png" alt="Capture d’écran 2024-08-14 à 15.01.09.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pour info, il est mieux de répéter le premier noeud car l'équivalent en 3D (prism) n'a pas l'option de fermeture automatique. Donc en général, on fait juste 1+2 et on ajoute le premier noeud en dernier comme ça tu gardes une bonne habitude.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;FYI, it is better to repeat the first node because the 3D equivalent (prism) does not have the automatic closing option. So in general, we just do 1+2 and add the first node last so you keep a good habit.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Aug 2024 02:42:06 GMT</pubDate>
    <dc:creator>MF BIM</dc:creator>
    <dc:date>2024-08-15T02:42:06Z</dc:date>
    <item>
      <title>GDL tutorial</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622671#M6898</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Is there an explicit tutorial with examples for the GDL other than the gdl reference which does not explain the procedure for novices.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; I am trying to make my 2D symbol with an editable frame (outline, frame pen, frame background pen).&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Here is my gdl code but it does not work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Windows 11&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:25:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622671#M6898</guid>
      <dc:creator>Camu</dc:creator>
      <dc:date>2024-09-24T08:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: GDL tutorial</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622692#M6899</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/40041"&gt;@Camu&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made a very simple tutorial a year ago on youtube (shameless plug&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt; : &lt;A href="https://www.youtube.com/playlist?list=PL786jdG-2TRfwCaJ8uQgzYs2ynGHTH2Ky" target="_blank" rel="noopener"&gt;https://www.youtube.com/playlist?list=PL786jdG-2TRfwCaJ8uQgzYs2ynGHTH2Ky&lt;/A&gt;). It's really a basic overview of the language in order to create a simple (but functional) table in around 2 hours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could also check :&lt;/P&gt;&lt;P&gt;- On this very subforum, there's a pinned thread about Barking Dog's youtube channel&lt;/P&gt;&lt;P&gt;- The GDL Center : &lt;A href="https://gdl.graphisoft.com/reference-guide/gdl-guide" target="_blank" rel="noopener"&gt;https://gdl.graphisoft.com/reference-guide/gdl-guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Books like the GDL Cookbook or the GDL Handbook are excellent sources.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't open your object as I don't have 27 installed but considering what you'd want to do, I believe you should use the POLY2_B command (page 185, in the 2D Shapes chapter) that would allow you to create an object with control over the outline, its fills and pen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The command goes like this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;pen        yourPen
fill       yourFill
line_type  yourLineType

poly2_b  n, 1+2,
         yourFillPen, yourBackgroundFillPen,
         x1, y1, 1,
         x2, y2, 1,
         x3, y3, 1,
         ...
         xn, yn, 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;n is the number of nodes which is equal to the number of sides + 1 as the last node is a repeat of the first node. So if you're drawing an hexagon, n would be equal to 7.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 13:05:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622692#M6899</guid>
      <dc:creator>MF BIM</dc:creator>
      <dc:date>2024-08-14T13:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: GDL tutorial</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622702#M6902</link>
      <description>&lt;P&gt;This was my code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;! --TRAME--
   
    pen PC_SdL
    Fill T_SdL ! Type de trame
    ! FILL_HOLES_NR P_SdL
      
    POLY2 8, 1+2+4, ! Le deuxième paramètre (1+2+4) est la somme des options pour : 1 (fermeture automatique), 2 (contour tracé), 4 (remplissage)
   
    0, 0, ! Point 1
    0, var_9 + var_21, ! Point 2
    (var_2 + (2 * var_19)), var_9 + var_21, ! Point 3
    (var_19 + var_2 + var_19), 0, ! Point 4
    var_19+var_2, 0, ! Point 5
    (var_19 + var_2 + var_19 - var_20), var_9, ! Point 6
    var_20, var_9, ! Point 7
    var_19, 0 ! Point 8&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Aug 2024 09:48:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622702#M6902</guid>
      <dc:creator>Camu</dc:creator>
      <dc:date>2024-08-15T09:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: GDL tutorial</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622705#M6903</link>
      <description>&lt;P&gt;Il semble que tu sois francophone. Je veux simplement faire une trame avec la plume de contour éditable, la plume de motif éditable et le fond de motif éditable, mais ça marche pas. quand je fait avec poy2_b il me fait une erreur. si tu as un exemple je suis preneur. Un grand merci à toi d'avoir répondu si rapidement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;English only please in this forum.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Translation...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;It seems that you are French-speaking. I just want to make a screen with the editable outline pen, the editable pattern pen and the editable pattern fill, but it doesn't work. when I do it with poy2_b it gives me an error. If you have an example I'm interested. Many thanks to you for responding so quickly.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 02:40:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622705#M6903</guid>
      <dc:creator>Camu</dc:creator>
      <dc:date>2024-08-15T02:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: GDL tutorial</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622712#M6904</link>
      <description>&lt;P&gt;Que te dit l'erreur exactement ? Car j'ai rentré ton code avec POLY2 et ça marche de mon côté. Donc soit tu as une erreur de valeur dans tes paramètres, soit tes paramètres ne sont pas des longueurs ou soit tu as un paramètre qui n'est pas trouvé, je pense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Translation ...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What exactly does the error tell you? Because I entered your code with POLY2 and it works for me. So either you have a value error in your parameters, or your parameters are not lengths or you have a parameter that is not found, I think.&lt;/FONT&gt;&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-center" image-alt="Capture d’écran 2024-08-14 à 14.57.28.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/70410iB18770093F7B3872/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2024-08-14 à 14.57.28.png" alt="Capture d’écran 2024-08-14 à 14.57.28.png" /&gt;&lt;/span&gt;&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-center" image-alt="Capture d’écran 2024-08-14 à 15.01.09.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/70411iB2C096D133CBCB3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2024-08-14 à 15.01.09.png" alt="Capture d’écran 2024-08-14 à 15.01.09.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pour info, il est mieux de répéter le premier noeud car l'équivalent en 3D (prism) n'a pas l'option de fermeture automatique. Donc en général, on fait juste 1+2 et on ajoute le premier noeud en dernier comme ça tu gardes une bonne habitude.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;FYI, it is better to repeat the first node because the 3D equivalent (prism) does not have the automatic closing option. So in general, we just do 1+2 and add the first node last so you keep a good habit.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 02:42:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622712#M6904</guid>
      <dc:creator>MF BIM</dc:creator>
      <dc:date>2024-08-15T02:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: GDL tutorial</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622717#M6905</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;The poly2_b is not working because you are missing some parameters&lt;BR /&gt;You need to add the pens of the fill&amp;nbsp; (yourFillPen, yourBackgroundFillPen)&lt;BR /&gt;and also your points must have three values ​​x1,y1,s1, … ,xn,yn,sn&lt;/P&gt;
&lt;P&gt;The s1 and sn correspond to this table&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="Capture d’écran.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/70413i77E10E54EDDD74F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran.png" alt="Capture d’écran.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;Here is your script for a poly2_b&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;POLY2 9, 1+2, ! Le deuxième paramètre (1+2+4) est la somme des options pour : 1 (fermeture automatique), 2 (contour tracé), 4 (remplissage)
   
yourFillPen, yourBackgroundFillPen,

    0, 0, 15,! Point 1
    0, var_9 + var_21,15, ! Point 2
    (var_2 + (2 * var_19)), var_9 + var_21, 15,! Point 3
    (var_19 + var_2 + var_19), 0, 15,! Point 4
    var_19+var_2, 0, 15,! Point 5
    (var_19 + var_2 + var_19 - var_20), var_9, 15,! Point 6
    var_20, var_9, 15,! Point 7
    var_19, 0 , 15,! Point 8
    0, 0, 15! Point 9&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 13:40:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622717#M6905</guid>
      <dc:creator>Yves</dc:creator>
      <dc:date>2024-08-14T13:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: GDL tutorial</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622855#M6928</link>
      <description>&lt;DIV&gt;Sur ton ecran je vois pas le paramètre pour la plume de contour (P_SdL), la plume de trame (T_SdL) et la plume de fond de trame (FT_SdL). mon saut de loup est couper et donc son contour doit avoir une épaisseur et il me faut aussi le choix de trame en fonction de couler sur place ou préfabriqué. C'est ça que j'arrive pas à coder.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Avec la fonction Poly2 je vois ma trame mais j'ai pas toute les variable. je pensais que Poly2_b me permettrait de la faire&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;On your screen I don't see the parameter for the outline pen (P_SdL), the frame pen (T_SdL) and the background frame pen (FT_SdL).&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;My wolf jump is cut and therefore its outline must have a thickness and I also need the choice of frame depending on whether to cast on site or prefabricated.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;That's what I can't code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;With the Poly2 function I see my frame but I don't have all the variables. I thought that Poly2_b would allow me to do it&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture SdL.jpg" style="width: 800px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/70479i25E3ACCF27C5086A/image-dimensions/800x675?v=v2" width="800" height="675" role="button" title="Capture SdL.jpg" alt="Capture SdL.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 10:20:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622855#M6928</guid>
      <dc:creator>Camu</dc:creator>
      <dc:date>2024-08-20T10:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: GDL tutorial</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622882#M6929</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/40041"&gt;@Camu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;POLY2_B will be the command indeed, it should go like this :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;pen PC_SdL
fill T_SdL

POLY2_B 9, 1+2,
        P_SdL, PF_SdL,
        0, 0, 1, ! Point 1
        0, var_9 + var_21, 1, ! Point 2
        (var_2 + (2 * var_19)), var_9 + var_21, 1, ! Point 3
        (var_19 + var_2 + var_19), 0, 1, ! Point 4
        var_19+var_2, 0, 1, ! Point 5
        (var_19 + var_2 + var_19 - var_20), var_9, 1, ! Point 6
        var_20, var_9, 1, ! Point 7
        var_19, 0, 1, ! Point 8
        0, 0, 1 ! Point 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 15:51:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622882#M6929</guid>
      <dc:creator>MF BIM</dc:creator>
      <dc:date>2024-08-15T15:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: GDL tutorial</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622907#M6930</link>
      <description>&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Thank you very much it works.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt; Thanks for your time Thanks for your patience I try to learn this gdl, but there is not much tutorial with real commented example to understand these errors.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt; I wish you a very nice day&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 05:44:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622907#M6930</guid>
      <dc:creator>Camu</dc:creator>
      <dc:date>2024-08-16T05:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: GDL tutorial</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622930#M6931</link>
      <description>&lt;P&gt;Glad to know it worked ! Just please mark the subject as solved then so people who encounter a similar issue as yours can find the solution &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 09:58:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-tutorial/m-p/622930#M6931</guid>
      <dc:creator>MF BIM</dc:creator>
      <dc:date>2024-08-16T09:58:48Z</dc:date>
    </item>
  </channel>
</rss>

