<?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: can not stretch object in 3d in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209836#M15792</link>
    <description>Take a look at my blog - click the link in my signature or &lt;A href="http://web.me.com/karpenglish/RabbitHole/BLOG/Entries/2011/3/23_You_move_me....html" target="_blank"&gt;here&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
There you will find an entry discussing stretchy hotspots and how to script them. Good for your project or many others.</description>
    <pubDate>Sat, 03 Dec 2011 19:18:08 GMT</pubDate>
    <dc:creator>Erich</dc:creator>
    <dc:date>2011-12-03T19:18:08Z</dc:date>
    <item>
      <title>can not stretch object in 3d</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209828#M15784</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I made a simple post script where it can stretch in 3d, works great.
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;		cprism_ mat_, mat_, mat_,
					 5, zzyzx,
				0'-0.0000", 0'-0.0000",     15,
				depth, 0'-0.0000",     15,
				depth, b,     15,
				0'-0.0000", b,     15,
				0'-0.0000", 0'-0.0000",     -1
&lt;/PRE&gt;

I made a new object for a beam, I used the same script but added a rotate command
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;rotx 90

		cprism_ mat_, mat_, mat_,
					 5, zzyzx,
				0'-0.0000", 0'-0.0000",     15,
				depth, 0'-0.0000",     15,
				depth, b,     15,
				0'-0.0000", b,     15,
				0'-0.0000", 0'-0.0000",     -1



&lt;/PRE&gt;

now in 3d my hotspots are all messed up and it does not stretch. I have been working on this going back and forth for hours. What am I doing wrong?&lt;BR /&gt;
&lt;BR /&gt;
Any help will be greatly appreciated.&lt;BR /&gt;
Thanks&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Dec 2011 19:03:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209828#M15784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-01T19:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: can not stretch object in 3d</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209829#M15785</link>
      <description>Where did you place the rotate command?&lt;BR /&gt;
&lt;BR /&gt;
Make sure the ROT occurs be for the hotsposts&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Thu, 01 Dec 2011 20:04:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209829#M15785</guid>
      <dc:creator>Dave Seabury</dc:creator>
      <dc:date>2011-12-01T20:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: can not stretch object in 3d</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209830#M15786</link>
      <description>For my post I placed my hotspots at the end of the script. When I copied the script for my beam I have not added any hotspots yet but is automatically adds hotspots on the ends. If I do not rotate the cprism then I have a hotspot top and bottom, when I rotate the prism the hotspot stays at the top as if I did not rotate the hotspot but I do not have any hotspots in my script yet.</description>
      <pubDate>Thu, 01 Dec 2011 20:48:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209830#M15786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-01T20:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: can not stretch object in 3d</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209831#M15787</link>
      <description>camp&lt;BR /&gt;
&lt;BR /&gt;
I copied your first script and then rotated it 90 degrees as&lt;BR /&gt;
I believe you did.  The reason that it won't stretch the way &lt;BR /&gt;
you think it will is because the "hotspots" that you see in the&lt;BR /&gt;
3d window are base on A and B and are not rotated.  it would&lt;BR /&gt;
be easier to just script a beam, but if you want to rotate the &lt;BR /&gt;
object and keep it strechy, you will need to script in moveable&lt;BR /&gt;
hotspots.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Thu, 01 Dec 2011 22:06:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209831#M15787</guid>
      <dc:creator>Dave Seabury</dc:creator>
      <dc:date>2011-12-01T22:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: can not stretch object in 3d</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209832#M15788</link>
      <description>camp,&lt;BR /&gt;
&lt;BR /&gt;
Sorry, not A and B but rather the origin of your object (0.0,0.0)&lt;BR /&gt;
and ZZYZX.  Even though your object is rotated, the two "hotspots"&lt;BR /&gt;
you are seeing in the 3d window are the values for 0,0 and zzyzx.</description>
      <pubDate>Thu, 01 Dec 2011 22:22:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209832#M15788</guid>
      <dc:creator>Dave Seabury</dc:creator>
      <dc:date>2011-12-01T22:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: can not stretch object in 3d</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209833#M15789</link>
      <description>ok I changed it to a beam but I still can not stretch it in 3d. I must be totally missing something. I usually can struggle through the code and get it to work but this is got me. this is what I have. Just a simple project2 in 2d.
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;		beam mat_, mat_, mat_, mat_, mat_,
					 depth,
				0,b,b,0,
				0,0,a,a,.5,
				15,15,15,15
				


!bottom
HOTSPOT 0,0,0,unID=unID+1
HOTSPOT 0,a,0,unID=unID+1
HOTSPOT b,a,0,unID=unID+1
HOTSPOT b,0,0,unID=unID+1

!top
HOTSPOT 0,0,depth,unID=unID+1
HOTSPOT 0,a,depth,unID=unID+1
HOTSPOT b,a,depth,unID=unID+1
HOTSPOT b,0,depth,unID=unID+1
&lt;/PRE&gt;

What am I missing here?I just want this beam to stretch in the length direction. the width and depth will be fixed.&lt;BR /&gt;
&lt;BR /&gt;
I am not sure what the .5 is at the end of the script, my book references it to a t value but I do not know what that does.&lt;BR /&gt;
&lt;BR /&gt;
Please help if I have not confused you too much.&lt;BR /&gt;
&lt;BR /&gt;
Thanks.&lt;BR /&gt;
John</description>
      <pubDate>Fri, 02 Dec 2011 20:04:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209833#M15789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-02T20:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: can not stretch object in 3d</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209834#M15790</link>
      <description>John,&lt;BR /&gt;
&lt;BR /&gt;
Attached is a script for an LVL beam with moveable hotspots for length.&lt;BR /&gt;
Open it up and take a look.  I tend to script everything on the XY plane&lt;BR /&gt;
and then rotate it up 90 degrees.  That's why you will see ROT commands&lt;BR /&gt;
in the script.</description>
      <pubDate>Fri, 02 Dec 2011 21:39:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209834#M15790</guid>
      <dc:creator>Dave Seabury</dc:creator>
      <dc:date>2011-12-02T21:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: can not stretch object in 3d</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209835#M15791</link>
      <description>&lt;BLOCKQUOTE&gt;Dave wrote:&lt;BR /&gt;John,&lt;BR /&gt;
&lt;BR /&gt;
Attached is a script for an LVL beam with moveable hotspots for length.&lt;BR /&gt;
Open it up and take a look.  I tend to script everything on the XY plane&lt;BR /&gt;
and then rotate it up 90 degrees.  That's why you will see ROT commands&lt;BR /&gt;
in the script.&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
This would be great, do you mind saving this object as an AC12 object. This is why I needed to add what version of archicad I have. I think I have done this now in my profile, well see. I know this is a simple object I am trying make, I just do not understand what I am doing wrong.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again</description>
      <pubDate>Sat, 03 Dec 2011 12:14:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209835#M15791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-03T12:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: can not stretch object in 3d</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209836#M15792</link>
      <description>Take a look at my blog - click the link in my signature or &lt;A href="http://web.me.com/karpenglish/RabbitHole/BLOG/Entries/2011/3/23_You_move_me....html" target="_blank"&gt;here&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
There you will find an entry discussing stretchy hotspots and how to script them. Good for your project or many others.</description>
      <pubDate>Sat, 03 Dec 2011 19:18:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/can-not-stretch-object-in-3d/m-p/209836#M15792</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2011-12-03T19:18:08Z</dc:date>
    </item>
  </channel>
</rss>

