<?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: 2D/3D Misalignment in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/2D-3D-Misalignment/m-p/62915#M30221</link>
    <description>Syntax error. Try this :&lt;BR /&gt;
if e &amp;gt; 1 &lt;B&gt;then&lt;/B&gt; goto 20&lt;BR /&gt;
&lt;BR /&gt;
Added by Olivier : Thu Oct  18, 2007&lt;BR /&gt;
My bad. No syntax error. "if e &amp;gt; 1 goto 20" is right. I return to school.</description>
    <pubDate>Wed, 17 Oct 2007 19:15:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-10-17T19:15:16Z</dc:date>
    <item>
      <title>2D/3D Misalignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2D-3D-Misalignment/m-p/62914#M30220</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I created a TrussMaker object of a scissor truss with a cantilevered end condition. Unfortunately the TrussPro object can't represent this.&lt;BR /&gt;
Having done this I wanted to be able to turn off the contours in 2D to show just the axis line. I opened the Joist Beam 10 object and copied the 2D script into my part (deleting the contents for showing the std profile in 2D).It works fine except the 2D lines are shifted over in plan from the centerline yet the 3D is OK.&lt;BR /&gt;
any ideas?&lt;BR /&gt;
&lt;BR /&gt;
"e" is the axis or contour parameter within the 2D script:&lt;BR /&gt;
&lt;BR /&gt;
PEN gs_cont_pen&lt;BR /&gt;
Line_type axis&lt;BR /&gt;
if e &amp;gt; 1 goto 20&lt;BR /&gt;
goto 10+(e*10)&lt;BR /&gt;
&lt;BR /&gt;
10:&lt;BR /&gt;
&lt;BR /&gt;
    fill gs_fill_type&lt;BR /&gt;
    poly2_b 4,7,gs_fill_pen,gs_back_pen,&lt;BR /&gt;
            0, -b/2, 1,&lt;BR /&gt;
            a, -b/2, 1,&lt;BR /&gt;
            a,  b/2, 1,&lt;BR /&gt;
            0,  b/2, 1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
hotspot2 0,b/2&lt;BR /&gt;
hotspot2 a,b/2&lt;BR /&gt;
hotspot2 0,-b/2&lt;BR /&gt;
hotspot2 a,-b/2&lt;BR /&gt;
goto 50&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
20:&lt;BR /&gt;
line2 0,0,a,0&lt;BR /&gt;
&lt;BR /&gt;
50: &lt;BR /&gt;
hotspot2 0,0&lt;BR /&gt;
hotspot2 a,0&lt;BR /&gt;
hotspot2 a/2,b/2&lt;BR /&gt;
hotspot2 a/2,-b/2&lt;BR /&gt;
&lt;BR /&gt;
end&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Chris v10 US 1188&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Oct 2007 17:30:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2D-3D-Misalignment/m-p/62914#M30220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-10-17T17:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: 2D/3D Misalignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2D-3D-Misalignment/m-p/62915#M30221</link>
      <description>Syntax error. Try this :&lt;BR /&gt;
if e &amp;gt; 1 &lt;B&gt;then&lt;/B&gt; goto 20&lt;BR /&gt;
&lt;BR /&gt;
Added by Olivier : Thu Oct  18, 2007&lt;BR /&gt;
My bad. No syntax error. "if e &amp;gt; 1 goto 20" is right. I return to school.</description>
      <pubDate>Wed, 17 Oct 2007 19:15:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2D-3D-Misalignment/m-p/62915#M30221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-10-17T19:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: 2D/3D Misalignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2D-3D-Misalignment/m-p/62916#M30222</link>
      <description>Thanks for the reply Olivier, but there was no change. the 2D line work is offset by 2'-3 11/16" in plan yet the 3D is properly aligned with the exterior walls.</description>
      <pubDate>Wed, 17 Oct 2007 19:27:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2D-3D-Misalignment/m-p/62916#M30222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-10-17T19:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: 2D/3D Misalignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2D-3D-Misalignment/m-p/62917#M30223</link>
      <description>check what value  represents the width of the truss in 3D, a lot parts use the A value to make the object stretchy in one direction, but use a value other than B so that the object remains of a fix size in the other</description>
      <pubDate>Wed, 17 Oct 2007 23:30:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2D-3D-Misalignment/m-p/62917#M30223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-10-17T23:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: 2D/3D Misalignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2D-3D-Misalignment/m-p/62918#M30224</link>
      <description>I was able to get the 2D correct by modifying the line2 command. It seems the hotspots are off due to maybe starting from the custom Trussmaker object?? Looks OK for now. My goal will be to re-write the TrussPro object or make a similar one some day.&lt;BR /&gt;
Thanks for the help tho!</description>
      <pubDate>Thu, 18 Oct 2007 14:15:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2D-3D-Misalignment/m-p/62918#M30224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-10-18T14:15:15Z</dc:date>
    </item>
  </channel>
</rss>

