Go Back   AC3D Forums > Technical > AC3D Developers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 7th April 2005, 03:20 AM   #1
Dughor
Member
Expert member
 
Join Date: Dec 2004
Location: Cologne/Germany
Posts: 62
Default 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
Dughor is offline   Reply With Quote
Old 7th April 2005, 12:47 PM   #2
Kevin A.
Member
Advanced member
 
Join Date: Mar 2005
Posts: 30
Default

You should try to talk to a programer like Andy he would help you


well i hope he can
Kevin A. is offline   Reply With Quote
Old 11th April 2005, 10:23 AM   #3
Dennis
Senior Member
Professional user
 
Dennis's Avatar
 
Join Date: Jul 2003
Posts: 899
Default

Hi Dughor --- not sure what you're looking to do here exactly? Can you give an example of what this might be used for?
Dennis is offline   Reply With Quote
Old 12th April 2005, 02:38 AM   #4
Dughor
Member
Expert member
 
Join Date: Dec 2004
Location: Cologne/Germany
Posts: 62
Default

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
Dughor is offline   Reply With Quote
Old 12th April 2005, 10:01 AM   #5
Dennis
Senior Member
Professional user
 
Dennis's Avatar
 
Join Date: Jul 2003
Posts: 899
Default

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
Dennis is offline   Reply With Quote
Old 12th April 2005, 10:05 AM   #6
Dughor
Member
Expert member
 
Join Date: Dec 2004
Location: Cologne/Germany
Posts: 62
Default

Exactly...
__________________
Richthofens Skies Dev-Team
Dughor is offline   Reply With Quote
Old 13th May 2005, 01:02 PM   #7
Stiglr
Senior Member
Professional user
 
Stiglr's Avatar
 
Join Date: Feb 2004
Location: Portland, OR
Posts: 604
Default

*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
Stiglr 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 07:45 AM.


AC3D Forum
(C) Inivis Limited 2020