<?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: How to stretch this object in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-stretch-this-object/m-p/53594#M28569</link>
    <description>Hello Doug,&lt;BR /&gt;
Your code confuses me. Do you want the panel to stretch&lt;BR /&gt;
horizontally, vertically, or both ? If so, why do you use "A" as the&lt;BR /&gt;
Y dimension in the RECT2 command ? I assume that the&lt;BR /&gt;
panel width (X dimension) is fixed and you want the panel&lt;BR /&gt;
to stretch vertically and then you would use the "B" dimension&lt;BR /&gt;
as the last parameter in the RECT2 command and put ordinary&lt;BR /&gt;
hotspots at  0,0  panel_width,0  panel_width,b and 0,b. &lt;BR /&gt;
I believe the object will stretch vertically.&lt;BR /&gt;
Peter Devlin</description>
    <pubDate>Wed, 19 Mar 2008 23:34:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-03-19T23:34:20Z</dc:date>
    <item>
      <title>How to stretch this object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-stretch-this-object/m-p/53593#M28568</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I might be having a brain cramp but I can't for the life of me get this panel to stretch in plan. It's a simple Standing seam roof panel that I've scripted and plan to tweak further. The problem is that if I can't get it to stretch in plan then it's going to be a pain to use. I'm pretty much just practicing but any info would be greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Doug&lt;BR /&gt;
&lt;BR /&gt;
!2D Script&lt;BR /&gt;
&lt;BR /&gt;
PEN 2&lt;BR /&gt;
RECT2 0,0,PANEL_WIDTH,A&lt;BR /&gt;
LINE2 PANEL_WIDTH-.125",0 ,PANEL_WIDTH-.125",A&lt;BR /&gt;
HOTSPOT2 0,0&lt;BR /&gt;
HOTSPOT2 PANEL_WIDTH,0&lt;BR /&gt;
HOTSPOT2 PANEL_WIDTH,A&lt;BR /&gt;
HOTSPOT2 0,A&lt;BR /&gt;
HOTSPOT2 PANEL_WIDTH/2,A&lt;BR /&gt;
&lt;BR /&gt;
!3D Script&lt;BR /&gt;
&lt;BR /&gt;
MATERIAL MAT&lt;BR /&gt;
MULY -1&lt;BR /&gt;
ROTX 90-PITCH&lt;BR /&gt;
C=A/COS(PITCH)&lt;BR /&gt;
PRISM 7, C,&lt;BR /&gt;
0,0,&lt;BR /&gt;
PANEL_WIDTH,0,&lt;BR /&gt;
PANEL_WIDTH,1.25",&lt;BR /&gt;
PANEL_WIDTH-.125",1.25",&lt;BR /&gt;
PANEL_WIDTH-.125",.125",&lt;BR /&gt;
0,.125",&lt;BR /&gt;
0,0&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Mar 2008 23:06:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-stretch-this-object/m-p/53593#M28568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-03-19T23:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to stretch this object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-stretch-this-object/m-p/53594#M28569</link>
      <description>Hello Doug,&lt;BR /&gt;
Your code confuses me. Do you want the panel to stretch&lt;BR /&gt;
horizontally, vertically, or both ? If so, why do you use "A" as the&lt;BR /&gt;
Y dimension in the RECT2 command ? I assume that the&lt;BR /&gt;
panel width (X dimension) is fixed and you want the panel&lt;BR /&gt;
to stretch vertically and then you would use the "B" dimension&lt;BR /&gt;
as the last parameter in the RECT2 command and put ordinary&lt;BR /&gt;
hotspots at  0,0  panel_width,0  panel_width,b and 0,b. &lt;BR /&gt;
I believe the object will stretch vertically.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Wed, 19 Mar 2008 23:34:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-stretch-this-object/m-p/53594#M28569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-03-19T23:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to stretch this object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-stretch-this-object/m-p/53595#M28570</link>
      <description>Hi Peter,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the input. I'm not sure why but I've had it stuck in my head that regardless of the direction I'm trying t stretch an object(x or y) in plan, I have to use "A". Maybe because I define the width and the only thing left is the length which in my mind is "A" It seems to be working fine with the script shown below. I've had trouble with other scripts that I couldn't stretch and couldn't figure out why...I think I know now. Thanks again.&lt;BR /&gt;
&lt;BR /&gt;
Doug&lt;BR /&gt;
&lt;BR /&gt;
!2D&lt;BR /&gt;
&lt;BR /&gt;
PEN 2 &lt;BR /&gt;
RECT2 0,0,PANEL_WIDTH,B &lt;BR /&gt;
LINE2 PANEL_WIDTH-.125",0 ,PANEL_WIDTH-.125",B &lt;BR /&gt;
HOTSPOT2 0,0 &lt;BR /&gt;
HOTSPOT2 PANEL_WIDTH,0 &lt;BR /&gt;
HOTSPOT2 PANEL_WIDTH,B &lt;BR /&gt;
HOTSPOT2 0,B &lt;BR /&gt;
HOTSPOT2 PANEL_WIDTH/2,B &lt;BR /&gt;
&lt;BR /&gt;
!3D&lt;BR /&gt;
&lt;BR /&gt;
MATERIAL MAT &lt;BR /&gt;
MULY -1 &lt;BR /&gt;
ROTX 90-PITCH &lt;BR /&gt;
C=B/COS(PITCH) &lt;BR /&gt;
PRISM 7, C, &lt;BR /&gt;
0,0, &lt;BR /&gt;
PANEL_WIDTH,0, &lt;BR /&gt;
PANEL_WIDTH,1.25", &lt;BR /&gt;
PANEL_WIDTH-.125",1.25", &lt;BR /&gt;
PANEL_WIDTH-.125",.125", &lt;BR /&gt;
0,.125", &lt;BR /&gt;
0,0</description>
      <pubDate>Thu, 20 Mar 2008 01:14:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-stretch-this-object/m-p/53595#M28570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-03-20T01:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to stretch this object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-stretch-this-object/m-p/53596#M28571</link>
      <description>Hello Doug,&lt;BR /&gt;
Glad you got it working.&lt;BR /&gt;
There is something I would like to suggest.&lt;BR /&gt;
Just to check if your 2D script and your 3D script&lt;BR /&gt;
size and place the object exactly the same, I routinely&lt;BR /&gt;
put a PROJECT2 command at the beginning of the 2D script&lt;BR /&gt;
and if everything looks correct I comment out the command.&lt;BR /&gt;
You probably already do this but if not it is useful.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 20 Mar 2008 02:01:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-stretch-this-object/m-p/53596#M28571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-03-20T02:01:44Z</dc:date>
    </item>
  </channel>
</rss>

