Go Back   AC3D Forums > General > AC3D General
Register FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Display Modes
Old 7th July 2008, 02:36 PM   #1
donamy
Senior Member
Professional user
 
Join Date: Feb 2006
Posts: 219
Default Getting the angle vectors ?

with the new "C" angle rotation, is there a way to get the vectors read out for use ?
donamy is offline   Reply With Quote
Old 8th July 2008, 11:43 AM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,565
Default Re: Getting the angle vectors ?

Here's a quick hack that will display the axis at the bottom of the main AC3D window (in the message area).

-no warranty-

With a text editor, edit tcl/ac3d.tcl and find:
Code:
 
 
proc set_custom_axis { var } {
after:

Code:
set cent [ac3d get_selection_centre]
(and before the next "}", insert a line:

Code:
display_message "axis: $axis"
If you would like the axis to appear in the console, use:

Code:
puts "axis: $axis"
instead

I'm not sure if this would be useful to others - why do you want this info?
Andy is offline   Reply With Quote
Old 9th July 2008, 12:34 PM   #3
donamy
Senior Member
Professional user
 
Join Date: Feb 2006
Posts: 219
Default Re: Getting the angle vectors ?

For finding rotation directions for attachment and docking points in Orbiter.
donamy is offline   Reply With Quote
Old 9th July 2008, 01:01 PM   #4
donamy
Senior Member
Professional user
 
Join Date: Feb 2006
Posts: 219
Default Re: Getting the angle vectors ?

It works great, but is there a way to be able to copy it into clipboard ?
donamy is offline   Reply With Quote
Old 9th July 2008, 03:28 PM   #5
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,565
Default Re: Getting the angle vectors ?

try this:

Code:
clipboard clear
clipboard append $axis
Andy is offline   Reply With Quote
Old 9th July 2008, 10:01 PM   #6
donamy
Senior Member
Professional user
 
Join Date: Feb 2006
Posts: 219
Default Re: Getting the angle vectors ?

Thanks Andy !!
donamy is offline   Reply With Quote
Reply


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 06:27 PM.


AC3D Forum
(C) Inivis Limited 2020