<?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: Hotspot in 3d from 0 start angle - wrong plane in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297616#M5862</link>
    <description>I am a little confused as to what you are trying to do.&lt;BR /&gt;
&lt;BR /&gt;
Your hotspots are adjusting a parameter called "Delta1Angle3D" but you are moving hotspots with X, Y &amp;amp; Z values and your reference is X1X, Y1Y &amp;amp; Z1Z.&lt;BR /&gt;
What is the relation of X, Y, Z, X1X, Y1Y &amp;amp; Z1Z with the angle parameter?&lt;BR /&gt;
&lt;BR /&gt;
Point 6 is the centre.&lt;BR /&gt;
Point 4 is the starting point (base).&lt;BR /&gt;
Point 5 is the point you are trying to move.&lt;BR /&gt;
&lt;BR /&gt;
These 3 points should all be in the same plane.&lt;BR /&gt;
&lt;BR /&gt;
Point 7 should be a point that is perpendicular to that plane.&lt;BR /&gt;
(or maybe it defines the angle of the plane - I usually just do it flat in the X-Y plan and ROT the whole routine if need be).&lt;BR /&gt;
&lt;BR /&gt;
At least this is the way I have always understood it to be.&lt;BR /&gt;
&lt;BR /&gt;
From the GDL manual...&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;The plane of the angle is perpendicular to the&lt;BR /&gt;
vector that goes from the center hotspot to the reference hotspot.&lt;/BLOCKQUOTE&gt;

Barry.</description>
    <pubDate>Wed, 19 Jul 2017 00:55:59 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2017-07-19T00:55:59Z</dc:date>
    <item>
      <title>Hotspot in 3d from 0 start angle - wrong plane</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297611#M5857</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello!)&lt;BR /&gt;
&lt;BR /&gt;
I place hotspot points in 3d to angle edition.&lt;BR /&gt;
Base (4) and Moving (5) points has same coords.&lt;BR /&gt;
Because on start editing, variable Delta1Angle3D must be changed from 0 to other value.&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT 0, 0, 0, unID, Delta1Angle3D, 6 : unID = unID+1&lt;BR /&gt;
HOTSPOT X, Y, Z, unID, Delta1Angle3D, 4+128 : unID = unID+1&lt;BR /&gt;
HOTSPOT X, Y, Z, unID, Delta1Angle3D, 5 : unID = unID+1&lt;BR /&gt;
HOTSPOT X1X, Y1Y, Z1Z, unID, Delta1Angle3D, 7 : unID = unID+1&lt;BR /&gt;
&lt;BR /&gt;
I specify reference point (7) on right plane. But anyway editing going in wrong plane (red arrow on picture).&lt;BR /&gt;
But I need to editing on plane with blue arrow (by points 6,4,7)&lt;BR /&gt;
&lt;BR /&gt;
Help me please ((.&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/68131i16C1AE060C27ABF1/image-size/large?v=v2&amp;amp;px=999" border="0" alt="&amp;amp;#1057;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1084;&amp;amp;#1086;&amp;amp;#1082;2.GIF" title="&amp;amp;#1057;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1084;&amp;amp;#1086;&amp;amp;#1082;2.GIF" /&gt;</description>
      <pubDate>Tue, 18 Jul 2017 04:46:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297611#M5857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-18T04:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot in 3d from 0 start angle - wrong plane</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297612#M5858</link>
      <description>Is this what you want - a rotating hotspot in the X-Y plane?&lt;BR /&gt;

&lt;PRE&gt;rad = 0.350
HSID = HSID +1
hotspot 0, 0, 0, HSID, Delta1Angle3D, 6			!center of angle
HSID = HSID +1 
hotspot rad, 0, 0, HSID, Delta1Angle3D, 4+128			!base hotspot
HSID = HSID +1
hotspot rad * cos(Delta1Angle3D), rad * sin(Delta1Angle3D), 0, HSID, Delta1Angle3D, 5		!moving
HSID = HSID +1
hotspot 0, 0, 1, HSID, Delta1Angle3D, 7			!center of angle
HSID = HSID +1
&lt;/PRE&gt;
Barry.</description>
      <pubDate>Tue, 18 Jul 2017 08:14:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297612#M5858</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-07-18T08:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot in 3d from 0 start angle - wrong plane</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297613#M5859</link>
      <description>No, not X-Y plane.&lt;BR /&gt;
This is plane in 3d window by 3 points (in the picture) - (№6,№4,№7)</description>
      <pubDate>Tue, 18 Jul 2017 08:32:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297613#M5859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-18T08:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot in 3d from 0 start angle - wrong plane</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297614#M5860</link>
      <description>If you are trying to move X, Y and Z all at the same time I am pretty sure that is not possible.&lt;BR /&gt;
3D hotspots can only move in one plane at a time as far as I know.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 18 Jul 2017 08:48:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297614#M5860</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-07-18T08:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot in 3d from 0 start angle - wrong plane</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297615#M5861</link>
      <description>On picture showed - moving goes, but on wrong plane (red arrow).&lt;BR /&gt;
Usually plane specified by 3 points -&lt;BR /&gt;
- base (type4)&lt;BR /&gt;
- center (type 6)&lt;BR /&gt;
- moving (type 5)&lt;BR /&gt;
&lt;BR /&gt;
But if on start moment,  base = moving (need change angle from 0 to ...)&lt;BR /&gt;
And in this case plane positon on interactive moving is bad.&lt;BR /&gt;
Because for specify plane - two points is too few.</description>
      <pubDate>Tue, 18 Jul 2017 09:18:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297615#M5861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-18T09:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot in 3d from 0 start angle - wrong plane</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297616#M5862</link>
      <description>I am a little confused as to what you are trying to do.&lt;BR /&gt;
&lt;BR /&gt;
Your hotspots are adjusting a parameter called "Delta1Angle3D" but you are moving hotspots with X, Y &amp;amp; Z values and your reference is X1X, Y1Y &amp;amp; Z1Z.&lt;BR /&gt;
What is the relation of X, Y, Z, X1X, Y1Y &amp;amp; Z1Z with the angle parameter?&lt;BR /&gt;
&lt;BR /&gt;
Point 6 is the centre.&lt;BR /&gt;
Point 4 is the starting point (base).&lt;BR /&gt;
Point 5 is the point you are trying to move.&lt;BR /&gt;
&lt;BR /&gt;
These 3 points should all be in the same plane.&lt;BR /&gt;
&lt;BR /&gt;
Point 7 should be a point that is perpendicular to that plane.&lt;BR /&gt;
(or maybe it defines the angle of the plane - I usually just do it flat in the X-Y plan and ROT the whole routine if need be).&lt;BR /&gt;
&lt;BR /&gt;
At least this is the way I have always understood it to be.&lt;BR /&gt;
&lt;BR /&gt;
From the GDL manual...&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;The plane of the angle is perpendicular to the&lt;BR /&gt;
vector that goes from the center hotspot to the reference hotspot.&lt;/BLOCKQUOTE&gt;

Barry.</description>
      <pubDate>Wed, 19 Jul 2017 00:55:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297616#M5862</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-07-19T00:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot in 3d from 0 start angle - wrong plane</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297617#M5863</link>
      <description>Thank you so much!))). &lt;BR /&gt;
&lt;BR /&gt;
I do not properly set the reference point.&lt;BR /&gt;
In 3d it's on the perpendicular plane should be.&lt;BR /&gt;
Now it worked!))) &lt;BR /&gt;
What a joy. &lt;BR /&gt;
&lt;BR /&gt;
Thanks again!</description>
      <pubDate>Wed, 19 Jul 2017 06:07:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297617#M5863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-19T06:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot in 3d from 0 start angle - wrong plane</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297618#M5864</link>
      <description>Glad you got it working.&lt;BR /&gt;
I am still not sure how, unless you have extra script that forms a relationship between all your variables (converting the x,y,z, to and angle or vice versa).&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 19 Jul 2017 06:25:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-in-3d-from-0-start-angle-wrong-plane/m-p/297618#M5864</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-07-19T06:25:52Z</dc:date>
    </item>
  </channel>
</rss>

