<?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 scaling custom windows in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/scaling-custom-windows/m-p/264376#M6698</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;hi all - I created a custom window that is looking great (for my needs) in 2D and 3D. &lt;BR /&gt;
&lt;BR /&gt;
I would like to scale the length and width of this window part in order to create other sizes. In other words, I want to scale it WITHOUT scaling all the components. &lt;BR /&gt;
&lt;BR /&gt;
The goal is to have one window object that I can use for multiple sizes.&lt;BR /&gt;
&lt;BR /&gt;
I know this will require some GDL manipulation, and I'm not completely inexperienced with GDL, so I'd like to give it a shot and get it working. I would appreciate any and all assistance on how to do this correctly.&lt;BR /&gt;
&lt;BR /&gt;
thanks!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
here is the 3D script as is:&lt;BR /&gt;
&lt;BR /&gt;
!&lt;BR /&gt;
!   Name     : bucket window.gsm&lt;BR /&gt;
!   Date     : Thursday, February 23, 2017&lt;BR /&gt;
!   Version  : 20.00&lt;BR /&gt;
!   Written by ARCHICAD &lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
mulx	A/2'-0.0000"&lt;BR /&gt;
muly	B/2'-0.0000"&lt;BR /&gt;
addx    -1'-0.0000"&lt;BR /&gt;
body    -1&lt;BR /&gt;
model solid&lt;BR /&gt;
resol       36&lt;BR /&gt;
if (use_stored_environment) then&lt;BR /&gt;
GLOB_SCRIPT_TYPE =      3&lt;BR /&gt;
GLOB_CONTEXT =      3&lt;BR /&gt;
GLOB_VIEW_TYPE =      3&lt;BR /&gt;
GLOB_SCALE =     48&lt;BR /&gt;
GLOB_NORTH_DIR =           90&lt;BR /&gt;
GLOB_PROJECT_LONGITUDE =    -77.03655&lt;BR /&gt;
GLOB_PROJECT_LATITUDE = 38.89766944444&lt;BR /&gt;
GLOB_DRAWING_BGD_PEN = penAttribute_1&lt;BR /&gt;
GLOB_FRAME_NR =     -1&lt;BR /&gt;
GLOB_EYEPOS_X = 2'-5.3148"&lt;BR /&gt;
GLOB_EYEPOS_Y = 4'-10.8225"&lt;BR /&gt;
GLOB_EYEPOS_Z = 0'-6.1430"&lt;BR /&gt;
GLOB_TARGPOS_X = -26'-1.8797"&lt;BR /&gt;
GLOB_TARGPOS_Y = -72'-5.2387"&lt;BR /&gt;
GLOB_TARGPOS_Z = 0'-3.3090"&lt;BR /&gt;
GLOB_SUN_AZIMUTH =          315&lt;BR /&gt;
GLOB_SUN_ALTITUDE =           45&lt;BR /&gt;
endif&lt;BR /&gt;
group 	"group_3C41A6BD_4DD8_2B49_8399_9643FC7E9930"&lt;BR /&gt;
    pen     penAttribute_2&lt;BR /&gt;
    sect_attrs fillAttribute_1, penAttribute_3, penAttribute_4, penAttribute_2, lineTypeAttribute_1&lt;BR /&gt;
    cprism_{4} materialAttribute_1, materialAttribute_1, materialAttribute_1, 7,&lt;BR /&gt;
                10, 1'-0.0000",&lt;BR /&gt;
            0'-0.0000", 0'-0.0000",            0,     15, materialAttribute_1,&lt;BR /&gt;
            2'-0.0000", 0'-0.0000",            0,     15, materialAttribute_1,&lt;BR /&gt;
            2'-0.0000", 2'-0.0000",            0,     15, materialAttribute_1,&lt;BR /&gt;
            0'-0.0000", 2'-0.0000",            0,     15, materialAttribute_1,&lt;BR /&gt;
            0'-0.0000", 0'-0.0000",            0,     -1, materialAttribute_1,&lt;BR /&gt;
            0'-0.2500", 1'-11.7500",            0,     15, materialAttribute_1,&lt;BR /&gt;
            1'-11.7500", 1'-11.7500",            0,     15, materialAttribute_1,&lt;BR /&gt;
            1'-11.7500", 0'-0.2500",            0,     15, materialAttribute_1,&lt;BR /&gt;
            0'-0.2500", 0'-0.2500",            0,     15, materialAttribute_1,&lt;BR /&gt;
            0'-0.2500", 1'-11.7500",            0,     -1, materialAttribute_1&lt;BR /&gt;
    base&lt;BR /&gt;
    vert    257'-5.0462", 702'-7.2821", 0'-0.0000"&lt;BR /&gt;
    vert    257'-5.0462", 705'-10.4748", 0'-0.0000"&lt;BR /&gt;
    vert    257'-2.3740", 702'-7.2821", 0'-0.0000"&lt;BR /&gt;
    vert    257'-5.0462", 702'-7.2821", 1'-0.0000"&lt;BR /&gt;
    coor{2}     20,    224,     -1,     -2,     -3,     -4&lt;BR /&gt;
endgroup&lt;BR /&gt;
group 	"group_1E18AD2F_2049_F144_AE32_683DE6B9F75A"&lt;BR /&gt;
    sect_attrs fillAttribute_2, penAttribute_3, penAttribute_4, penAttribute_2, lineTypeAttribute_1&lt;BR /&gt;
    cprism_{4} materialAttribute_2, materialAttribute_2, materialAttribute_2, 7,&lt;BR /&gt;
                 5, 0'-1.0000",&lt;BR /&gt;
            0'-0.2500", 0'-0.2500",            0,     15, materialAttribute_2,&lt;BR /&gt;
            1'-11.7500", 0'-0.2500",            0,     15, materialAttribute_2,&lt;BR /&gt;
            1'-11.7500", 1'-11.7500",            0,     15, materialAttribute_2,&lt;BR /&gt;
            0'-0.2500", 1'-11.7500",            0,     15, materialAttribute_2,&lt;BR /&gt;
            0'-0.2500", 0'-0.2500",            0,     -1, materialAttribute_2&lt;BR /&gt;
    base&lt;BR /&gt;
    vert    257'-2.8740", 705'-2.1676", -0'-11.0000"&lt;BR /&gt;
    vert    259'-2.3740", 705'-2.1676", -0'-11.0000"&lt;BR /&gt;
    vert    257'-2.8740", 707'-1.6676", -0'-11.0000"&lt;BR /&gt;
    vert    257'-2.8740", 705'-2.1676", -0'-10.0000"&lt;BR /&gt;
    coor{2}     20,    224,     -1,     -2,     -3,     -4&lt;BR /&gt;
endgroup&lt;BR /&gt;
group 	"group_15C1178A_B898_9D42_9975_2A9453BA7F9D"&lt;BR /&gt;
    placegroup ("group_3C41A6BD_4DD8_2B49_8399_9643FC7E9930")&lt;BR /&gt;
endgroup&lt;BR /&gt;
group 	"group_87DF8DA7_0FC5_024E_9896_90D59C6CDA5E"&lt;BR /&gt;
    placegroup ("group_3C41A6BD_4DD8_2B49_8399_9643FC7E9930")&lt;BR /&gt;
endgroup&lt;BR /&gt;
killgroup ("group_15C1178A_B898_9D42_9975_2A9453BA7F9D")&lt;BR /&gt;
group 	"group_5C32B5C4_51B9_9C48_AAD9_2527314140E6"&lt;BR /&gt;
    placegroup ("group_1E18AD2F_2049_F144_AE32_683DE6B9F75A")&lt;BR /&gt;
endgroup&lt;BR /&gt;
!!S02 320134FF-534F-9146-BABB-9365F0AC530E&lt;BR /&gt;
group 	"group_BBE28D79_6EEF_EA4C_8529_8D0F71313FE5"&lt;BR /&gt;
    placegroup ("group_87DF8DA7_0FC5_024E_9896_90D59C6CDA5E")&lt;BR /&gt;
endgroup&lt;BR /&gt;
!!S03 7CC591E9-6B33-D646-99F7-DFFBE3A065BB&lt;BR /&gt;
group 	"group_E7110C75_DE22_EA44_B30D_27973802F92D"&lt;BR /&gt;
endgroup&lt;BR /&gt;
group 	"group_7300979C_59EE_BD48_81D8_8F3ED7851F88"&lt;BR /&gt;
    placegroup ("group_E7110C75_DE22_EA44_B30D_27973802F92D")&lt;BR /&gt;
    placegroup ("group_5C32B5C4_51B9_9C48_AAD9_2527314140E6")&lt;BR /&gt;
endgroup&lt;BR /&gt;
killgroup ("group_3C41A6BD_4DD8_2B49_8399_9643FC7E9930")&lt;BR /&gt;
killgroup ("group_1E18AD2F_2049_F144_AE32_683DE6B9F75A")&lt;BR /&gt;
killgroup ("group_87DF8DA7_0FC5_024E_9896_90D59C6CDA5E")&lt;BR /&gt;
killgroup ("group_5C32B5C4_51B9_9C48_AAD9_2527314140E6")&lt;BR /&gt;
killgroup ("group_E7110C75_DE22_EA44_B30D_27973802F92D")&lt;BR /&gt;
placegroup ("group_BBE28D79_6EEF_EA4C_8529_8D0F71313FE5")&lt;BR /&gt;
placegroup ("group_7300979C_59EE_BD48_81D8_8F3ED7851F88")&lt;BR /&gt;
killgroup ("group_BBE28D79_6EEF_EA4C_8529_8D0F71313FE5")&lt;BR /&gt;
killgroup ("group_7300979C_59EE_BD48_81D8_8F3ED7851F88")&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-02-23 at 11.38.42 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/37053i4FDB69B5C3F6F8F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-02-23 at 11.38.42 AM.png" alt="Screen Shot 2017-02-23 at 11.38.42 AM.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Wed, 24 May 2023 10:29:14 GMT</pubDate>
    <dc:creator>jkershaw</dc:creator>
    <dc:date>2023-05-24T10:29:14Z</dc:date>
    <item>
      <title>scaling custom windows</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/scaling-custom-windows/m-p/264376#M6698</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;hi all - I created a custom window that is looking great (for my needs) in 2D and 3D. &lt;BR /&gt;
&lt;BR /&gt;
I would like to scale the length and width of this window part in order to create other sizes. In other words, I want to scale it WITHOUT scaling all the components. &lt;BR /&gt;
&lt;BR /&gt;
The goal is to have one window object that I can use for multiple sizes.&lt;BR /&gt;
&lt;BR /&gt;
I know this will require some GDL manipulation, and I'm not completely inexperienced with GDL, so I'd like to give it a shot and get it working. I would appreciate any and all assistance on how to do this correctly.&lt;BR /&gt;
&lt;BR /&gt;
thanks!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
here is the 3D script as is:&lt;BR /&gt;
&lt;BR /&gt;
!&lt;BR /&gt;
!   Name     : bucket window.gsm&lt;BR /&gt;
!   Date     : Thursday, February 23, 2017&lt;BR /&gt;
!   Version  : 20.00&lt;BR /&gt;
!   Written by ARCHICAD &lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
mulx	A/2'-0.0000"&lt;BR /&gt;
muly	B/2'-0.0000"&lt;BR /&gt;
addx    -1'-0.0000"&lt;BR /&gt;
body    -1&lt;BR /&gt;
model solid&lt;BR /&gt;
resol       36&lt;BR /&gt;
if (use_stored_environment) then&lt;BR /&gt;
GLOB_SCRIPT_TYPE =      3&lt;BR /&gt;
GLOB_CONTEXT =      3&lt;BR /&gt;
GLOB_VIEW_TYPE =      3&lt;BR /&gt;
GLOB_SCALE =     48&lt;BR /&gt;
GLOB_NORTH_DIR =           90&lt;BR /&gt;
GLOB_PROJECT_LONGITUDE =    -77.03655&lt;BR /&gt;
GLOB_PROJECT_LATITUDE = 38.89766944444&lt;BR /&gt;
GLOB_DRAWING_BGD_PEN = penAttribute_1&lt;BR /&gt;
GLOB_FRAME_NR =     -1&lt;BR /&gt;
GLOB_EYEPOS_X = 2'-5.3148"&lt;BR /&gt;
GLOB_EYEPOS_Y = 4'-10.8225"&lt;BR /&gt;
GLOB_EYEPOS_Z = 0'-6.1430"&lt;BR /&gt;
GLOB_TARGPOS_X = -26'-1.8797"&lt;BR /&gt;
GLOB_TARGPOS_Y = -72'-5.2387"&lt;BR /&gt;
GLOB_TARGPOS_Z = 0'-3.3090"&lt;BR /&gt;
GLOB_SUN_AZIMUTH =          315&lt;BR /&gt;
GLOB_SUN_ALTITUDE =           45&lt;BR /&gt;
endif&lt;BR /&gt;
group 	"group_3C41A6BD_4DD8_2B49_8399_9643FC7E9930"&lt;BR /&gt;
    pen     penAttribute_2&lt;BR /&gt;
    sect_attrs fillAttribute_1, penAttribute_3, penAttribute_4, penAttribute_2, lineTypeAttribute_1&lt;BR /&gt;
    cprism_{4} materialAttribute_1, materialAttribute_1, materialAttribute_1, 7,&lt;BR /&gt;
                10, 1'-0.0000",&lt;BR /&gt;
            0'-0.0000", 0'-0.0000",            0,     15, materialAttribute_1,&lt;BR /&gt;
            2'-0.0000", 0'-0.0000",            0,     15, materialAttribute_1,&lt;BR /&gt;
            2'-0.0000", 2'-0.0000",            0,     15, materialAttribute_1,&lt;BR /&gt;
            0'-0.0000", 2'-0.0000",            0,     15, materialAttribute_1,&lt;BR /&gt;
            0'-0.0000", 0'-0.0000",            0,     -1, materialAttribute_1,&lt;BR /&gt;
            0'-0.2500", 1'-11.7500",            0,     15, materialAttribute_1,&lt;BR /&gt;
            1'-11.7500", 1'-11.7500",            0,     15, materialAttribute_1,&lt;BR /&gt;
            1'-11.7500", 0'-0.2500",            0,     15, materialAttribute_1,&lt;BR /&gt;
            0'-0.2500", 0'-0.2500",            0,     15, materialAttribute_1,&lt;BR /&gt;
            0'-0.2500", 1'-11.7500",            0,     -1, materialAttribute_1&lt;BR /&gt;
    base&lt;BR /&gt;
    vert    257'-5.0462", 702'-7.2821", 0'-0.0000"&lt;BR /&gt;
    vert    257'-5.0462", 705'-10.4748", 0'-0.0000"&lt;BR /&gt;
    vert    257'-2.3740", 702'-7.2821", 0'-0.0000"&lt;BR /&gt;
    vert    257'-5.0462", 702'-7.2821", 1'-0.0000"&lt;BR /&gt;
    coor{2}     20,    224,     -1,     -2,     -3,     -4&lt;BR /&gt;
endgroup&lt;BR /&gt;
group 	"group_1E18AD2F_2049_F144_AE32_683DE6B9F75A"&lt;BR /&gt;
    sect_attrs fillAttribute_2, penAttribute_3, penAttribute_4, penAttribute_2, lineTypeAttribute_1&lt;BR /&gt;
    cprism_{4} materialAttribute_2, materialAttribute_2, materialAttribute_2, 7,&lt;BR /&gt;
                 5, 0'-1.0000",&lt;BR /&gt;
            0'-0.2500", 0'-0.2500",            0,     15, materialAttribute_2,&lt;BR /&gt;
            1'-11.7500", 0'-0.2500",            0,     15, materialAttribute_2,&lt;BR /&gt;
            1'-11.7500", 1'-11.7500",            0,     15, materialAttribute_2,&lt;BR /&gt;
            0'-0.2500", 1'-11.7500",            0,     15, materialAttribute_2,&lt;BR /&gt;
            0'-0.2500", 0'-0.2500",            0,     -1, materialAttribute_2&lt;BR /&gt;
    base&lt;BR /&gt;
    vert    257'-2.8740", 705'-2.1676", -0'-11.0000"&lt;BR /&gt;
    vert    259'-2.3740", 705'-2.1676", -0'-11.0000"&lt;BR /&gt;
    vert    257'-2.8740", 707'-1.6676", -0'-11.0000"&lt;BR /&gt;
    vert    257'-2.8740", 705'-2.1676", -0'-10.0000"&lt;BR /&gt;
    coor{2}     20,    224,     -1,     -2,     -3,     -4&lt;BR /&gt;
endgroup&lt;BR /&gt;
group 	"group_15C1178A_B898_9D42_9975_2A9453BA7F9D"&lt;BR /&gt;
    placegroup ("group_3C41A6BD_4DD8_2B49_8399_9643FC7E9930")&lt;BR /&gt;
endgroup&lt;BR /&gt;
group 	"group_87DF8DA7_0FC5_024E_9896_90D59C6CDA5E"&lt;BR /&gt;
    placegroup ("group_3C41A6BD_4DD8_2B49_8399_9643FC7E9930")&lt;BR /&gt;
endgroup&lt;BR /&gt;
killgroup ("group_15C1178A_B898_9D42_9975_2A9453BA7F9D")&lt;BR /&gt;
group 	"group_5C32B5C4_51B9_9C48_AAD9_2527314140E6"&lt;BR /&gt;
    placegroup ("group_1E18AD2F_2049_F144_AE32_683DE6B9F75A")&lt;BR /&gt;
endgroup&lt;BR /&gt;
!!S02 320134FF-534F-9146-BABB-9365F0AC530E&lt;BR /&gt;
group 	"group_BBE28D79_6EEF_EA4C_8529_8D0F71313FE5"&lt;BR /&gt;
    placegroup ("group_87DF8DA7_0FC5_024E_9896_90D59C6CDA5E")&lt;BR /&gt;
endgroup&lt;BR /&gt;
!!S03 7CC591E9-6B33-D646-99F7-DFFBE3A065BB&lt;BR /&gt;
group 	"group_E7110C75_DE22_EA44_B30D_27973802F92D"&lt;BR /&gt;
endgroup&lt;BR /&gt;
group 	"group_7300979C_59EE_BD48_81D8_8F3ED7851F88"&lt;BR /&gt;
    placegroup ("group_E7110C75_DE22_EA44_B30D_27973802F92D")&lt;BR /&gt;
    placegroup ("group_5C32B5C4_51B9_9C48_AAD9_2527314140E6")&lt;BR /&gt;
endgroup&lt;BR /&gt;
killgroup ("group_3C41A6BD_4DD8_2B49_8399_9643FC7E9930")&lt;BR /&gt;
killgroup ("group_1E18AD2F_2049_F144_AE32_683DE6B9F75A")&lt;BR /&gt;
killgroup ("group_87DF8DA7_0FC5_024E_9896_90D59C6CDA5E")&lt;BR /&gt;
killgroup ("group_5C32B5C4_51B9_9C48_AAD9_2527314140E6")&lt;BR /&gt;
killgroup ("group_E7110C75_DE22_EA44_B30D_27973802F92D")&lt;BR /&gt;
placegroup ("group_BBE28D79_6EEF_EA4C_8529_8D0F71313FE5")&lt;BR /&gt;
placegroup ("group_7300979C_59EE_BD48_81D8_8F3ED7851F88")&lt;BR /&gt;
killgroup ("group_BBE28D79_6EEF_EA4C_8529_8D0F71313FE5")&lt;BR /&gt;
killgroup ("group_7300979C_59EE_BD48_81D8_8F3ED7851F88")&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-02-23 at 11.38.42 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/37053i4FDB69B5C3F6F8F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-02-23 at 11.38.42 AM.png" alt="Screen Shot 2017-02-23 at 11.38.42 AM.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 24 May 2023 10:29:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/scaling-custom-windows/m-p/264376#M6698</guid>
      <dc:creator>jkershaw</dc:creator>
      <dc:date>2023-05-24T10:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: scaling custom windows</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/scaling-custom-windows/m-p/264377#M6699</link>
      <description>In case anyone cares, I figured this out. Ended up rewriting a lot of the script and managed to add 3D and 2D hotspots, along with 2D stretching and masking.</description>
      <pubDate>Tue, 28 Feb 2017 04:10:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/scaling-custom-windows/m-p/264377#M6699</guid>
      <dc:creator>jkershaw</dc:creator>
      <dc:date>2017-02-28T04:10:26Z</dc:date>
    </item>
  </channel>
</rss>

