Go Back   AC3D Forums > Resources > AC3D Scripts and Mods
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 30th January 2009, 08:13 AM   #1
Mossie
Senior Member
Professional user
 
Mossie's Avatar
 
Join Date: Dec 2003
Location: UK
Posts: 369
Default REQUEST: XYZ Angle display/export and translate

I've been struggling with X-Planes plugin regarding getting the angles from two vertices.

This is a two part request:

Part 1: Get the values

I've worked out how to get the angles using an Excel spreadsheet, but would like to see this as a plugin.

Operation would be, select two vertices, and then view the x,y,z angles made by the vector between the two points compared to x,y,z planes.

Also I'd like it to display the centre point of along the vector between the two vertices, this is already available as a staqndard display.

Then I'd like the values to be dumped into the clipboard for use in other files, with the format:
origin = x,y,z #displays the mid point (pivot point) between the two selected vertices
angle XY = n # in degrees to 4 decimal points
angle YZ = n # in degrees to 4 decimal points
angle XZ = n # in degrees to 4 decimal points

Part 2: Move/rotate the object to 0,0,0 on pivot line

Having the values of the angles, and knowing the position of the objects pivot point. Have the plugin rotate the object with its pivot point zeroed on each plane and then move the object to 0,0,0, with the pivot point being at 0,0,0

This second part may already be covered in "movetoward.tcl" plugin and the pivottools set.
__________________
Regards, Gerry "Mossie" Mos
--------------------------------------------------------------------------
WW1 Aircraft Library
http://ww1-aircraft.info/

Mossie 3D CAD, "Prompt and Precise"
http://mossie3dcad.com/
Mossie is offline   Reply With Quote
Old 7th February 2009, 07:33 PM   #2
Mossie
Senior Member
Professional user
 
Mossie's Avatar
 
Join Date: Dec 2003
Location: UK
Posts: 369
Default Re: REQUEST: XYZ Angle display/export and translate

So no takers then?
__________________
Regards, Gerry "Mossie" Mos
--------------------------------------------------------------------------
WW1 Aircraft Library
http://ww1-aircraft.info/

Mossie 3D CAD, "Prompt and Precise"
http://mossie3dcad.com/
Mossie is offline   Reply With Quote
Old 26th February 2009, 05:05 AM   #3
Mossie
Senior Member
Professional user
 
Mossie's Avatar
 
Join Date: Dec 2003
Location: UK
Posts: 369
Default Re: REQUEST: XYZ Angle display/export and translate

Is this too much or difficult ?
It could be a set of steps.
__________________
Regards, Gerry "Mossie" Mos
--------------------------------------------------------------------------
WW1 Aircraft Library
http://ww1-aircraft.info/

Mossie 3D CAD, "Prompt and Precise"
http://mossie3dcad.com/
Mossie is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 11:41 AM.


AC3D Forum
(C) Inivis Limited 2020