LDraw.org Discussion Forums
New stud primitive (underside) - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Models and Parts (https://forums.ldraw.org/forum-18.html)
+--- Forum: Parts Authoring (https://forums.ldraw.org/forum-19.html)
+--- Thread: New stud primitive (underside) (/thread-11643.html)

Pages: 1 2


Re: New stud primitive (underside) - Tim Gould - 2014-01-05

3 16 0.0001 0 0 0 0.0001 0 0 0 0.0001

Wink


Re: New stud primitive (underside) - Max Martin Richter - 2014-01-05

What's about an empty "virtaulstud.dat" ?
The software use it's base and that's it...

/Max


Re: New stud primitive (underside) - Michael Heidemann - 2014-01-05

By using only a dummy no information about orientation is given. That does not solve our problem. But thanks for the idea.


Re: New stud primitive (underside) - Michael Heidemann - 2014-01-05

By using something like this no information about orientation is given. That does not solve our problem. But thanks for the idea.


Re: New stud primitive (underside) - Michael Heidemann - 2014-01-05

The idea is really not bad, but wrong linetype Smile

If we use in these special connection part only one line like

studfemale.dat (i named it better this way)
5 16 0 0 0 0 0 0 0 0 0 0 4 0

we have the following information.
1) this file give errors due to identical vertices - but we do not need to check this file Smile
2) the position where the third vertex is, is the entry point for the middle of the stud.
3) the position where the fourth vertex is, is the max. point that the stud should be able to reach.

By having this simple file an application can have all the information it needs for stud usage. IMHO.


Re: New stud primitive (underside) - Tim Gould - 2014-01-05

What do you mean no orientation information is given? 9 points + BFC are all you need to definte a plane and its normal. Indeed with that part it is simple since the three points will automatically give you the axis.

Tim


Re: New stud primitive (underside) - Philippe Hurbain - 2014-01-06

I like the idea, but would have preferred if it had been possible to "see" the condline if needed. Unfortunately, I have not found a way to properly hide the condline in MLCad for a non zero length.


Re: New stud primitive (underside) - Steffen - 2014-01-06

that's not correct.
an orientation -is- given by the matrix of the parent file.
we just have to state in a comment in the empty file that the stud placeholder's "up" direction as usual is pointing upwards the y axis.
an empty file here clearly can be used for the purpuse of supplying connectivity info.
it even could be scaled to indicate the stud depth/height.
AND
we could introduce many different such files for the many different kinds of connections we have.
we could even put some optional visible contents into them to make them more easily placeable.
we could use the technique of lsynth for that, ie, special meta commands which enclose that file's portion.


Re: New stud primitive (underside) - Roland Melkert - 2014-01-07

I like this idea, but you'll need to supply the depth of the hole though scaling.

And when doing so rules must be set (e.g. base y size of the empty file), so parsers can unambiguously extract the depth etc from the type 1 line.

Also not all antistuds are just simple cylinders, some are square (plates) some are part of larger rectangles (brick/plate without understud) etc etc.