Hotspot in 3d from 0 start angle - wrong plane
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-07-18 06:46 AM
‎2017-07-18
06:46 AM
I place hotspot points in 3d to angle edition.
Base (4) and Moving (5) points has same coords.
Because on start editing, variable Delta1Angle3D must be changed from 0 to other value.
HOTSPOT 0, 0, 0, unID, Delta1Angle3D, 6 : unID = unID+1
HOTSPOT X, Y, Z, unID, Delta1Angle3D, 4+128 : unID = unID+1
HOTSPOT X, Y, Z, unID, Delta1Angle3D, 5 : unID = unID+1
HOTSPOT X1X, Y1Y, Z1Z, unID, Delta1Angle3D, 7 : unID = unID+1
I specify reference point (7) on right plane. But anyway editing going in wrong plane (red arrow on picture).
But I need to editing on plane with blue arrow (by points 6,4,7)
Help me please ((.
7 REPLIES 7

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-07-18 10:14 AM
‎2017-07-18
10:14 AM
Is this what you want - a rotating hotspot in the X-Y plane?
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 +1Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-07-18 10:32 AM
‎2017-07-18
10:32 AM
No, not X-Y plane.
This is plane in 3d window by 3 points (in the picture) - (â„–6,â„–4,â„–7)
This is plane in 3d window by 3 points (in the picture) - (â„–6,â„–4,â„–7)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-07-18 10:48 AM
‎2017-07-18
10:48 AM
If you are trying to move X, Y and Z all at the same time I am pretty sure that is not possible.
3D hotspots can only move in one plane at a time as far as I know.
Barry.
3D hotspots can only move in one plane at a time as far as I know.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-07-18 11:18 AM
‎2017-07-18
11:18 AM
On picture showed - moving goes, but on wrong plane (red arrow).
Usually plane specified by 3 points -
- base (type4)
- center (type 6)
- moving (type 5)
But if on start moment, base = moving (need change angle from 0 to ...)
And in this case plane positon on interactive moving is bad.
Because for specify plane - two points is too few.
Usually plane specified by 3 points -
- base (type4)
- center (type 6)
- moving (type 5)
But if on start moment, base = moving (need change angle from 0 to ...)
And in this case plane positon on interactive moving is bad.
Because for specify plane - two points is too few.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-07-19 02:55 AM
‎2017-07-19
02:55 AM
I am a little confused as to what you are trying to do.
Your hotspots are adjusting a parameter called "Delta1Angle3D" but you are moving hotspots with X, Y & Z values and your reference is X1X, Y1Y & Z1Z.
What is the relation of X, Y, Z, X1X, Y1Y & Z1Z with the angle parameter?
Point 6 is the centre.
Point 4 is the starting point (base).
Point 5 is the point you are trying to move.
These 3 points should all be in the same plane.
Point 7 should be a point that is perpendicular to that plane.
(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).
At least this is the way I have always understood it to be.
From the GDL manual...
Your hotspots are adjusting a parameter called "Delta1Angle3D" but you are moving hotspots with X, Y & Z values and your reference is X1X, Y1Y & Z1Z.
What is the relation of X, Y, Z, X1X, Y1Y & Z1Z with the angle parameter?
Point 6 is the centre.
Point 4 is the starting point (base).
Point 5 is the point you are trying to move.
These 3 points should all be in the same plane.
Point 7 should be a point that is perpendicular to that plane.
(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).
At least this is the way I have always understood it to be.
From the GDL manual...
The plane of the angle is perpendicular to theBarry.
vector that goes from the center hotspot to the reference hotspot.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-07-19 08:07 AM
‎2017-07-19
08:07 AM
Thank you so much!))).
I do not properly set the reference point.
In 3d it's on the perpendicular plane should be.
Now it worked!)))
What a joy.
Thanks again!
I do not properly set the reference point.
In 3d it's on the perpendicular plane should be.
Now it worked!)))
What a joy.
Thanks again!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-07-19 08:25 AM
‎2017-07-19
08:25 AM
Glad you got it working.
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).
Barry.
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).
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11