Rotation & angle of universal joint?

RE: Rotation & angle of universal joint?
#27
(2019-10-22, 9:01)Milan Vančura Wrote: Roland, thanks a lot for this script! Although it has some bugs (and it's UI is... eh... minimalistic? ), it is a big help I had been waiting for, for a looong time. It motivates me to study the function source code and trying to create a similar function for two rotated beams connection. I hope I can save some time for it.
It's not a quick and dirty version for nothing

The core math comes from the 8860 animation and it only works with joint parts that are oriented in the Z direction.

(2019-10-22, 9:01)Milan Vančura Wrote: I followed all step of your "usage howto" in this thread and the script rotated not only the desired halves of uni-joint but the other ones as well, fortunately it was easy to fix (rotate them by 180°). See attached picture.
Don't know what goes wrong, I tried the same setup and it works for me. Just be sure a selection is the 3 joint parts and a destination point (usually the next joint's first part).

A script that does both in one go would be much better for these constructions otherwise you'll have to do one of the joints twice to correct for the roll difference (like discussed above).

Such a script would need a selection of all 6 joint parts and the destination axle.

You could also let it automatically add an axle with the correct length in the middle of the two joints.

(2019-10-22, 9:01)Milan Vančura Wrote: 1. in fact, the script/function is completely useless without this forum thread knowledge. For "production version", can you add a help message?
2. we can see here why I requested a feature of >1 selection(s) (i.e. different colors of selection highlight or a script asking interactively for each selection) - if impossible with LDCAD 1.6, may you think about it for 2.0, please?
1. I could add a message before execution, but that would be annoying once you know how it works.

2. 2.0 will indeed be much more integrated with the scripting engine.
« Next Oldest | Next Newest »

 Messages In This Thread Rotation & angle of universal joint? - by N. W. Perry - 2019-10-02, 3:36 RE: Rotation & angle of universal joint? - by Philippe Hurbain - 2019-10-02, 11:33 RE: Rotation & angle of universal joint? - by Orion Pobursky - 2019-10-02, 14:05 RE: Rotation & angle of universal joint? - by N. W. Perry - 2019-10-05, 1:53 RE: Rotation & angle of universal joint? - by Orion Pobursky - 2019-10-05, 3:17 RE: Rotation & angle of universal joint? - by Philippe Hurbain - 2019-10-05, 7:47 RE: Rotation & angle of universal joint? - by Eugen - 2019-10-02, 13:55 RE: Rotation & angle of universal joint? - by Roland Melkert - 2019-10-02, 18:17 RE: Rotation & angle of universal joint? - by N. W. Perry - 2019-10-03, 1:47 RE: Rotation & angle of universal joint? - by Orion Pobursky - 2019-10-03, 2:57 RE: Rotation & angle of universal joint? - by Roland Melkert - 2019-10-03, 22:27 RE: Rotation & angle of universal joint? - by Philippe Hurbain - 2019-10-04, 7:23 RE: Rotation & angle of universal joint? - by Roland Melkert - 2019-10-04, 17:43 RE: Rotation & angle of universal joint? - by Philippe Hurbain - 2019-10-04, 18:09 RE: Rotation & angle of universal joint? - by Roland Melkert - 2019-10-04, 18:24 RE: Rotation & angle of universal joint? - by Philippe Hurbain - 2019-10-05, 11:58 RE: Rotation & angle of universal joint? - by Roland Melkert - 2019-10-06, 17:51 RE: Rotation & angle of universal joint? - by Philippe Hurbain - 2019-10-06, 18:18 RE: Rotation & angle of universal joint? - by Roland Melkert - 2019-10-06, 18:32 RE: Rotation & angle of universal joint? - by Philippe Hurbain - 2019-10-06, 19:02 RE: Rotation & angle of universal joint? - by Roland Melkert - 2019-10-06, 19:15 RE: Rotation & angle of universal joint? - by Philippe Hurbain - 2019-10-07, 6:57 RE: Rotation & angle of universal joint? - by N. W. Perry - 2019-10-04, 16:48 RE: Rotation & angle of universal joint? - by Roland Melkert - 2019-10-04, 17:46 RE: Rotation & angle of universal joint? - by N. W. Perry - 2019-10-04, 19:41 RE: Rotation & angle of universal joint? - by Milan Vančura - 2019-10-22, 9:01 RE: Rotation & angle of universal joint? - by Roland Melkert - 2019-10-22, 19:04 RE: Rotation & angle of universal joint? - by N. W. Perry - 2021-08-22, 17:09 RE: Rotation & angle of universal joint? - by Roland Melkert - 2021-08-23, 21:03

Forum Jump:

Users browsing this thread: 1 Guest(s)