<?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 2d profile of rafter in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11543#M30447</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;i want an x to appear inside the contour of a rafter in section view. i tried the plane command, but that only worked for floor joists as they are horizontal. i've been trying to use the tube command...but i don't really understand it. needs to be something that allows me to put two intersecting planes at the same angle as the roof&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 13 Aug 2007 15:22:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-08-13T15:22:47Z</dc:date>
    <item>
      <title>2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11543#M30447</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;i want an x to appear inside the contour of a rafter in section view. i tried the plane command, but that only worked for floor joists as they are horizontal. i've been trying to use the tube command...but i don't really understand it. needs to be something that allows me to put two intersecting planes at the same angle as the roof&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Aug 2007 15:22:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11543#M30447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-13T15:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: 2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11544#M30448</link>
      <description>I don't think you need the TUBE command to do what you want.&lt;BR /&gt;
Which command are you using for the rafter object ?&lt;BR /&gt;
What method are you using to pitch the rafter object ?&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Mon, 13 Aug 2007 17:28:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11544#M30448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-13T17:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: 2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11545#M30449</link>
      <description>if gs_detlevel_3d=0 then end&lt;BR /&gt;
&lt;BR /&gt;
PEN gs_cont_pen&lt;BR /&gt;
MATERIAL roof_mat&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ALPHA=ABS(ATN(COS(G)*TAN(P)))&lt;BR /&gt;
M=A*TAN(ALPHA)&lt;BR /&gt;
N=H/COS(ALPHA)&lt;BR /&gt;
T=T/2&lt;BR /&gt;
U=T/SIN(G)&lt;BR /&gt;
W=W/2&lt;BR /&gt;
D=ABS(90-G)&lt;BR /&gt;
S=W/COS(D)&lt;BR /&gt;
&lt;BR /&gt;
IF G&amp;lt;0 THEN V=0 ELSE V=1&lt;BR /&gt;
IF G&amp;gt;90 THEN V2=0 ELSE V2=1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
unID=1&lt;BR /&gt;
HOTSPOT 0,-B/4,(H/2)/(cos(ALPHA))-(A/2*tan(ALPHA)),unID=unID+1					!! Hotspots in axis&lt;BR /&gt;
HOTSPOT A/2,-B/4,(H/2)/(cos(ALPHA)),unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT U,0,-A*tan(ALPHA)+U*tan(ALPHA),unID=unID+1						!! lower Hotspots&lt;BR /&gt;
HOTSPOT A-S,0,-S*tan(ALPHA),unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT U,0,-A*tan(ALPHA)+U*tan(ALPHA)+H/2/(cos(ALPHA)),unID=unID+1			!! middle Hotspots&lt;BR /&gt;
HOTSPOT A-S,0,-S*tan(ALPHA)+H/2/(cos(ALPHA)),unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT U,0,-A*tan(ALPHA)+U*tan(ALPHA)+H/(cos(ALPHA)),unID=unID+1			!! upper Hotspots&lt;BR /&gt;
HOTSPOT A-S,0,-S*tan(ALPHA)+H/(cos(ALPHA)),unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ADDZ -M&lt;BR /&gt;
ROTX 90&lt;BR /&gt;
&lt;BR /&gt;
ADDX U&lt;BR /&gt;
&lt;BR /&gt;
ROTY G&lt;BR /&gt;
&lt;BR /&gt;
CUTPLANE 1, 1, 0, V         !Cut at the Bottom1&lt;BR /&gt;
DEL 2&lt;BR /&gt;
&lt;BR /&gt;
IF G&amp;lt;90 THEN GOSUB 1 ELSE GOSUB 2&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ADDX A-S&lt;BR /&gt;
ROTY G&lt;BR /&gt;
&lt;BR /&gt;
CUTPLANE 1, 1, 0            !Cut at the top1&lt;BR /&gt;
DEL 2&lt;BR /&gt;
&lt;BR /&gt;
ADDX A-S&lt;BR /&gt;
ROTY G-90&lt;BR /&gt;
&lt;BR /&gt;
CUTPLANE 1, 1, 0, V2        !Cut at the top2&lt;BR /&gt;
DEL 2&lt;BR /&gt;
ADDZ -B/2&lt;BR /&gt;
PRISM 5, B,&lt;BR /&gt;
        0, 0,&lt;BR /&gt;
        A, M,&lt;BR /&gt;
        A, M+N,&lt;BR /&gt;
        0, N,&lt;BR /&gt;
        0, 0&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
CUTEND&lt;BR /&gt;
CUTEND&lt;BR /&gt;
CUTEND&lt;BR /&gt;
CUTEND&lt;BR /&gt;
&lt;BR /&gt;
plane 4, 0.006,0,0,0.006,-b/2,h,a-.006,-b/2,h,a-.006,0,0&lt;BR /&gt;
plane 4, 0.006,0,h,0.006,-b/2,0,a-.006,-b/2,0,a-.006,0,h&lt;BR /&gt;
&lt;BR /&gt;
DEL TOP&lt;BR /&gt;
END&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
1:&lt;BR /&gt;
&lt;BR /&gt;
ADDX U&lt;BR /&gt;
ROTY G+90&lt;BR /&gt;
CUTPLANE 1, 1, 0, V         !Cut at the Bottom2&lt;BR /&gt;
DEL 2&lt;BR /&gt;
RETURN&lt;BR /&gt;
&lt;BR /&gt;
2:&lt;BR /&gt;
&lt;BR /&gt;
ADDX U&lt;BR /&gt;
ROTY G-90&lt;BR /&gt;
CUTPLANE 1, 1, 0, V         !Cut at the Bottom2&lt;BR /&gt;
DEL 2&lt;BR /&gt;
RETURN&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
so that's the code right now. p is an angle type variable that the tells the rafter what pitch the roof is and i only see it mentioned once in the alpha equation up at the top. you can see where i slapped the plane command in there.</description>
      <pubDate>Tue, 14 Aug 2007 18:31:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11545#M30449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-14T18:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: 2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11546#M30450</link>
      <description>I don't see where you rotate the PLANE commands in the same way&lt;BR /&gt;
you rotate the PRISM_ command. It seems to me you need to do this.&lt;BR /&gt;
I have an object that displays these crossed lines in section and&lt;BR /&gt;
it uses the POLY_ command so I don't have to worry about it&lt;BR /&gt;
being planer as one does using the PLANE command.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Tue, 14 Aug 2007 18:47:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11546#M30450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-14T18:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: 2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11547#M30451</link>
      <description>where is the rotate command for the prism in there?</description>
      <pubDate>Tue, 14 Aug 2007 19:06:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11547#M30451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-14T19:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: 2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11548#M30452</link>
      <description>You are right. There is no ROT command.&lt;BR /&gt;
I am unable to understand your code because&lt;BR /&gt;
I do not know what all of the parameters and&lt;BR /&gt;
variables are. The variable/parameter "H" for example.&lt;BR /&gt;
It does me no good to copy your code into a new&lt;BR /&gt;
object to see how it works because of this.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Tue, 14 Aug 2007 19:26:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11548#M30452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-14T19:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: 2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11549#M30453</link>
      <description>i looked in the other script windows but didn't see any rot commands. yesterday i tried roty p and thought it would match the roof slope but the angle wasn't right. the only thing right was that it was rotating around the right axis. i thought maybe the g variable would have some kind of affect on it since that is the angle the rafter rests against the ridge. but i can't seem to wright the right script. you mentioned poly_. if i were to use that here instead would i have use the rot command along with it?</description>
      <pubDate>Tue, 14 Aug 2007 19:45:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11549#M30453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-14T19:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: 2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11550#M30454</link>
      <description>For the reasons I mentioned, I can't understand your code&lt;BR /&gt;
so I am unable to answer your questions.&lt;BR /&gt;
I am guessing that the reason why ROT p did not work&lt;BR /&gt;
was that the local origin of the beam element was at&lt;BR /&gt;
the underside beginning and not at the top side  beginning.&lt;BR /&gt;
&lt;BR /&gt;
What I can do, if you like, is send you the object that&lt;BR /&gt;
I wrote that works and does what you want.&lt;BR /&gt;
You can study the code and see how the crossed lines&lt;BR /&gt;
are coded. This object is somewhat complicated because&lt;BR /&gt;
I wanted it to have seat cuts and plumb miter angles etc.&lt;BR /&gt;
You can ignore all that and just see how the beam and&lt;BR /&gt;
the cross lines are coded.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Tue, 14 Aug 2007 20:53:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11550#M30454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-14T20:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: 2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11551#M30455</link>
      <description>i would appreciate it. thank you</description>
      <pubDate>Tue, 14 Aug 2007 21:04:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11551#M30455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-14T21:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: 2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11552#M30456</link>
      <description>Please post your e-mail address or e-mail me&lt;BR /&gt;
with your address so I can send you the library part.&lt;BR /&gt;
My e-mail address is in my signature.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Tue, 14 Aug 2007 21:15:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11552#M30456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-14T21:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: 2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11553#M30457</link>
      <description>&lt;A href="mailto: dreaming_well@hotmail.com"&gt;dreaming_well@hotmail.com&lt;/A&gt;</description>
      <pubDate>Wed, 15 Aug 2007 13:07:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11553#M30457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-15T13:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: 2d profile of rafter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11554#M30458</link>
      <description>ok i got it. but it says it's an unknown document version so it won't open</description>
      <pubDate>Wed, 15 Aug 2007 18:50:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-profile-of-rafter/m-p/11554#M30458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-15T18:50:56Z</dc:date>
    </item>
  </channel>
</rss>

