<?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: Louvre window problem in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Louvre-window-problem/m-p/96172#M39983</link>
    <description>&lt;FONT color="#005bff"&gt;Thank, Olivier &lt;/FONT&gt; &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
    <pubDate>Fri, 20 Aug 2004 08:24:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-08-20T08:24:29Z</dc:date>
    <item>
      <title>Louvre window problem</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Louvre-window-problem/m-p/96170#M39981</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;&lt;FONT color="#0000ff"&gt;I tried put the louvre in the frame.&lt;BR /&gt;
But it's exceed.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
How can I mend this problem?&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;3D script&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
!Louvre window&lt;BR /&gt;
&lt;BR /&gt;
 GOSUB 100&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
FOR I=0+gs_frame_width TO B-gs_frame_width step Lspace&lt;BR /&gt;
ADDy I&lt;BR /&gt;
ROTx Lang&lt;BR /&gt;
 GOSUB 200&lt;BR /&gt;
DEL 2&lt;BR /&gt;
NEXT I&lt;BR /&gt;
&lt;BR /&gt;
END: !-------------------------------------------------&lt;BR /&gt;
100:&lt;BR /&gt;
!Frame&lt;BR /&gt;
MATERIAL gs_frame_mat&lt;BR /&gt;
PEN gs_frame_pen&lt;BR /&gt;
PRISM_  5+5 , gs_frame_thk,&lt;BR /&gt;
	-A/2, 0, 15,&lt;BR /&gt;
	 A/2, 0, 15,&lt;BR /&gt;
	 A/2, B, 15,&lt;BR /&gt;
	-A/2, B, 15,&lt;BR /&gt;
	-A/2, 0, -1,&lt;BR /&gt;
    -A/2+gs_frame_width, 0+gs_frame_width, 15,&lt;BR /&gt;
	 A/2-gs_frame_width, 0+gs_frame_width, 15,&lt;BR /&gt;
	 A/2-gs_frame_width, B-gs_frame_width, 15,&lt;BR /&gt;
	-A/2+gs_frame_width, B-gs_frame_width, 15,&lt;BR /&gt;
	-A/2+gs_frame_width, 0+gs_frame_width, -1&lt;BR /&gt;
RETURN&lt;BR /&gt;
&lt;BR /&gt;
200:&lt;BR /&gt;
!Louvre&lt;BR /&gt;
MATERIAL Lmat&lt;BR /&gt;
 ADDx -A/2+gs_frame_width&lt;BR /&gt;
 ADDz   gs_frame_thk/2-Lthk &lt;BR /&gt;
 BLOCK Lwid-gs_frame_width*2,Ldep,Lthk&lt;BR /&gt;
 DEL 2&lt;BR /&gt;
RETURN&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/71411i228DDB3E34CC6BFA/image-size/large?v=v2&amp;amp;px=999" border="0" alt="louvre.jpg" title="louvre.jpg" /&gt;</description>
      <pubDate>Wed, 24 May 2023 10:50:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Louvre-window-problem/m-p/96170#M39981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Louvre window problem</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Louvre-window-problem/m-p/96171#M39982</link>
      <description>Try this:&lt;BR /&gt;
&lt;BR /&gt;
off1=Lthk*SIN(Lang)&lt;BR /&gt;
off2=Ldep*COS(Lang)&lt;BR /&gt;
Create a new parameter nb ! number of louvres&lt;BR /&gt;
Delete the parameter Lspace, declare it as a variable, function of nb&lt;BR /&gt;
Lspace=(B-gs_frame_width*2-off1-off2)/(nb-1)&lt;BR /&gt;
&lt;BR /&gt;
FOR I=off1+gs_frame_width TO B-gs_frame_width+0.001 step Lspace &lt;BR /&gt;
It should work.&lt;BR /&gt;
&lt;BR /&gt;
If you prefer to keep Lspace, declare nb as a variable, and calculate it with the INT() function. &lt;BR /&gt;
You will have to calculate a new adjusted value for Lspace, Lspace2 for eg.</description>
      <pubDate>Wed, 11 Aug 2004 14:46:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Louvre-window-problem/m-p/96171#M39982</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-08-11T14:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Louvre window problem</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Louvre-window-problem/m-p/96172#M39983</link>
      <description>&lt;FONT color="#005bff"&gt;Thank, Olivier &lt;/FONT&gt; &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 20 Aug 2004 08:24:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Louvre-window-problem/m-p/96172#M39983</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-08-20T08:24:29Z</dc:date>
    </item>
  </channel>
</rss>

