Orientation of flex parts


Re: Orientation of flex parts
#4
Steffen Wrote:This means:
- the Y axis is the "sweeping" axis, along which the primitive will be "swept" along the desired path
- the swept thing should have its top at Y==0
- if possible, analogously the bottom should be at Y==1
- the same should be used for non-swept (static) START and END files

This exact standard placement and usage is also what LSYNTH uses,
to which a maximum compatibility should be tried to achieved IMHO.

I still find the y-axis kinda weird, because most flexparts will be used horizontal, I ended up using Z (instead of x) thinking it would make for easier to understand math. But during (manual) defining the needed meta's for the parts in the preview picture above, I started thinking (rotating to x (front view) most of the time) z isn't that user friendly ether.

As for the used donor shapes and LSynth compatibility, That shouldn't be a big problem, cause I will add an LSynth import at some point and the donor shapes can be used with additional corrections. For example the loop part from the preview is generated from the following code:


Code:
0 Pneumatic tube test
0 !AUTHOR LDCad
0 !CATEGORY flexable

0 !LDCAD DOCINFO [contentType=flexPart]

0 !LDCAD PATH_CAP [position=start] [part=165.dat] [posOri=0 0 0 1 0 0 0 0 1 0 -1 0] [ color=14]
0 !LDCAD PATH_CAP [position=end] [part=165.dat] [posOri=0 0 0 1 0 0 0 0 -1 0 1 0] [ color=15]

0 !LDCAD PATH_SKIN [type=deform] [part=166.dat] [ori=1 0 0 0 0 -1 0 1 0] [ color=16]

0 !LDCAD PATH_POINT [type=basic] [posOri=10 0 -110 1 0 0 0 1 0 0 0 1] [nextCPDist=50]
0 !LDCAD PATH_POINT [type=basic] [posOri=10 0 0 1 0 0 0 1 0 0 0 1] [prevCPDist=50] [nextCPDist=50]
0 !LDCAD PATH_POINT [type=basic] [posOri=0 -96 0 -1 0 0 0 1 0 0 0 -1] [prevCPDist=50] [nextCPDist=50]
0 !LDCAD PATH_POINT [type=basic] [posOri=-10 0 0 1 0 0 0 1 0 0 0 1] [prevCPDist=50] [nextCPDist=50]
0 !LDCAD PATH_POINT [type=basic] [posOri=-10 0 80 1 0 0 0 1 0 0 0 1] [prevCPDist=50]

Normal users don't have to worry about those meta's, the final LDCad version will let them manipulate existing starting situations loaded from a template library.

So if you consider all this is it still preferable to use the Y-axis over e.g. X-axis? Because like I mentioned when do one ever need a tube or something pointing up.


Steffen Wrote:PS I'm used to the term "sweeping" here because in my wild youth I took over this term from
the POVRay documentation, e.g. at http://www.povray.org/documentation/view/3.6.1/63/

I'm not sure what's the official name for it, but I like to think about them like curved space where the center of the tube or whatever you using is actually (from the tube's perspective) a straight line. So the main question of the thread is where do you place the starting point of the line (and it's orientation) in the host document (part file) modelspace.

edit: seems the board doesn't like the '[ color=' strings without the space after '['. Shouldn't bb code be disabled inside a code block ?
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Orientation of flex parts - by Roland Melkert - 2012-11-20, 17:59
Re: Orientation of flex parts - by Steffen - 2012-11-20, 20:25
Re: Orientation of flex parts - by Tim Gould - 2012-11-20, 21:10
Re: Orientation of flex parts - by Tim Gould - 2012-11-21, 22:39
Re: Orientation of flex parts - by Roland Melkert - 2012-11-20, 22:26
Re: Orientation of flex parts - by Steffen - 2012-11-21, 0:10
Re: Orientation of flex parts - by Tim Gould - 2012-11-21, 22:21
Re: Orientation of flex parts - by Tim Gould - 2012-11-22, 20:37
Re: Orientation of flex parts - by Steffen - 2012-11-21, 23:48

Forum Jump:


Users browsing this thread: 1 Guest(s)