7th July 2008, 02:36 PM | #1 |
Senior Member
Professional user
Join Date: Feb 2006
Posts: 219
|
Getting the angle vectors ?
with the new "C" angle rotation, is there a way to get the vectors read out for use ?
|
8th July 2008, 11:43 AM | #2 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
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 } { Code:
set cent [ac3d get_selection_centre] Code:
display_message "axis: $axis" Code:
puts "axis: $axis" I'm not sure if this would be useful to others - why do you want this info? |
9th July 2008, 12:34 PM | #3 |
Senior Member
Professional user
Join Date: Feb 2006
Posts: 219
|
Re: Getting the angle vectors ?
For finding rotation directions for attachment and docking points in Orbiter.
|
9th July 2008, 01:01 PM | #4 |
Senior Member
Professional user
Join Date: Feb 2006
Posts: 219
|
Re: Getting the angle vectors ?
It works great, but is there a way to be able to copy it into clipboard ?
|
9th July 2008, 03:28 PM | #5 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Re: Getting the angle vectors ?
try this:
Code:
clipboard clear clipboard append $axis |
9th July 2008, 10:01 PM | #6 |
Senior Member
Professional user
Join Date: Feb 2006
Posts: 219
|
Re: Getting the angle vectors ?
Thanks Andy !!
|
30th September 2008, 01:49 PM | #7 | |
Senior Member
Professional user
Join Date: Feb 2004
Location: Portland, OR
Posts: 604
|
Re: Getting the angle vectors ?
I assume the clipboard lines go UNDER the axis code, and the whole shebang appears as:
Quote:
Thanks in advance. If this works as I'm hoping, this will make a LOT of Targetware people VERY happy....
__________________
Flight Sim Project Contributor My Gaming Rig: i5 2500K Quad-Core CPU at 3.3GHz MSI P67A-C43 mobo 4GB of PC12800 DDR3 memory Windows 7 1GB Galaxy GeForce GTX550 Ti video card GeForce 270.61 drivers (4/2011) Cougar joystick/throttle combo CH Pedals |
|
30th September 2008, 02:43 PM | #8 |
Senior Member
Professional user
Join Date: Feb 2004
Location: Portland, OR
Posts: 604
|
Re: Getting the angle vectors ?
I've done the edit, but I'm not sure I'm getting the right results (or what I'm expecting to see).
For example, I have an aileron on an aircraft. It's on a wing with a 5 degree dihedral (so this is known, and confirmed by actually rotating the part "flat" in AC3D from the vertice). But, if I select two leading top edges of the aileron (to use as the "hinge"), click Set axis, then cut and paste the results into a Notepad, I get: 0.995928 0.00242298 -0.0901201 (I'm assuming this is in X,Y,Z order) None of these values is anywhere near 5 degrees (presumably this should be in the Y (nose to tail axis). The first value is basically one degree, the others are very close to "straight", as is indicated by the position of the part. Also, when I click the Set Axis button, the message I get at the bottom of the screen is "Got axis from vertices OK". I'd much rather just see the numeric values... does this mean I don't want to use the code snippet for "copy and paste" onto the clipboard? What I'd like in the end is to see the values when I hit the Set Axis button, and then be able to copy-and-paste the results into a different application or a Wordpad document.
__________________
Flight Sim Project Contributor My Gaming Rig: i5 2500K Quad-Core CPU at 3.3GHz MSI P67A-C43 mobo 4GB of PC12800 DDR3 memory Windows 7 1GB Galaxy GeForce GTX550 Ti video card GeForce 270.61 drivers (4/2011) Cougar joystick/throttle combo CH Pedals |
25th May 2014, 02:02 PM | #9 |
Junior Member
Member
Join Date: Apr 2010
Location: Brazil
Posts: 21
|
Re: Getting the angle vectors ?
How can I get the angle from 3 selected vertices?
I am about to make a real cockpit (home cockpit) of the F16 at home. I have already the 3d model, but I would like to know the angles that the shapes are formed, in order to make the home cockpit closest to the 3d model, which is very nice drawn. I will try to be more specific: In a box, we know the angles of the sides are 90 degrees, But there are too many "shapes" with too many different angles, that I need a tool to get them out. I do not want to guesstimate the whole work. Best regards Fabrizio |
25th May 2014, 03:35 PM | #10 |
Senior Member
Professional user
Join Date: Feb 2004
Location: Portland, OR
Posts: 604
|
Re: Getting the angle vectors ?
I think you need an answer from someone who is good at Trigonometry or Geometry. That would definitely *not* be me!!
__________________
Flight Sim Project Contributor My Gaming Rig: i5 2500K Quad-Core CPU at 3.3GHz MSI P67A-C43 mobo 4GB of PC12800 DDR3 memory Windows 7 1GB Galaxy GeForce GTX550 Ti video card GeForce 270.61 drivers (4/2011) Cougar joystick/throttle combo CH Pedals |
|
|