7th April 2005, 03:20 AM | #1 |
Member
Expert member
Join Date: Dec 2004
Location: Cologne/Germany
Posts: 62
|
Searching a plugin
Hi there
Is anyone able to make a small little plugin for me? What I'd like to do: - Select two vertices of one object - Press a button and get the following information. If you draw a line between those two vertices I would like to know in which angle this line would stand to the three main axis. Hope this description is clear...
__________________
Richthofens Skies Dev-Team |
7th April 2005, 12:47 PM | #2 |
Member
Advanced member
Join Date: Mar 2005
Posts: 30
|
You should try to talk to a programer like Andy he would help you
well i hope he can |
11th April 2005, 10:23 AM | #3 |
Senior Member
Professional user
Join Date: Jul 2003
Posts: 899
|
Hi Dughor --- not sure what you're looking to do here exactly? Can you give an example of what this might be used for?
|
12th April 2005, 02:38 AM | #4 |
Member
Expert member
Join Date: Dec 2004
Location: Cologne/Germany
Posts: 62
|
Ok, let me try to explain.
(Hope I get it right - english is not main main language) I once started to build a Ju-88. As you shure know, its a two-engine plane with its main landing gear in the engine gondolas under the wings. In this picture you can see, how the gear doors are split into to pairs. Due to the shape of the gondola, the doors don't open exactly to one of the main axes. What I normaly would do is, build the gondola, and cut the gear-doors out. So they keep the shape and fit in closed state. What I now need to know, in wich angle to all axes the doors would open. So I like to select the two vertices, wich build the edge on wich the doors are attached to the gondola, and get an info how this edge goes in relation to the 3 main axes. I then could rotate the part around the x axis by n° and around the z axis by n°. Snap both parts by vertice, and voilą everything would fit. Hope thats clear...
__________________
Richthofens Skies Dev-Team |
12th April 2005, 10:01 AM | #5 |
Senior Member
Professional user
Join Date: Jul 2003
Posts: 899
|
I get it now --- you're basically looking for a way to rotate about a "hinge" that will not likely be axis-aligned.
Agreed this would be a nice feature --- barring someone writing a plugin, the only way I can think to do this would be to rotate the entire door until its hinges are axis-aligned, then rotate it about the center of where the hinge would be, then essentially "undo" the first rotation to get it back where it started. Which it sounds like you'd like to avoid |
12th April 2005, 10:05 AM | #6 |
Member
Expert member
Join Date: Dec 2004
Location: Cologne/Germany
Posts: 62
|
Exactly...
__________________
Richthofens Skies Dev-Team |
13th May 2005, 01:02 PM | #7 |
Senior Member
Professional user
Join Date: Feb 2004
Location: Portland, OR
Posts: 604
|
*Sigh*
This is where animation features, such as you get in MAX, really come in handy. There you can set the hinge axis exactly where you need it to be, then set the animation to rotate it back and forth, and be able to "take notes" on the needed angles, not to mention the timing of multiple systems (e.g., making sure the doors get far enough open before the gear and wheels start rotating out of the bay).
__________________
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 |
|
|