LDraw.org Discussion Forums

Full Version: LDCad—Tying the knot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Me again. :-)

Any way to get the bezier curves tighter in the string template? The current limit of 5 isn't quite enough to tie this not:[attachment=4225]

It looks okay from above, but in the front view, you can see the loop doesn't draw in snugly. (I tried adding an extra path point on the bottom of the loop, but it just made all the corners square off.) I should also add that I'm using the Studio workaround, so the donor parts are 4-4cyli's rather than LDCad's donor parts. (It actually seems to curve more tightly this way.)
(2019-11-13, 0:57)N. W. Perry Wrote: [ -> ]Any way to get the bezier curves tighter in the string template? The current limit of 5 isn't quite enough to tie this not

I'm afraid they are currently hard coded with a minimum of 5.0

I'll lower it to 1.0 for the next version.
[attachment=4229 Wrote:Roland Melkert pid='34568' dateline='1573674204']
I'm afraid they are currently hard coded with a minimum of 5.0

I'll lower it to 1.0 for the next version.

Wow, I actually discovered something beyond the capability of LDCad?  Big Grin

Does anything dangerous happen if you go below 5, or was it just thought unlikely that anyone would need a lower setting?

I also meant to report, for the part where the string is wrapped around a spool, I did it with bezier points but I assume I should have used circle points…but for some reason I had trouble getting them in line correctly. Still, beziers worked out handsomely:
[attachment=4229]
It would also be possible to create a knot part, but I'm not sure it would be better/easier to use...

(2019-11-14, 15:33)N. W. Perry Wrote: [ -> ]I also meant to report, for the part where the string is wrapped around a spool, I did it with bezier points but I assume I should have used circle points…but for some reason I had trouble getting them in line correctly. Still, beziers worked out handsomely:
How brave! I generally go with only 1 layer of string... But yes, Bezier is the right CP to use, circle don't work well in this case (where is the wire supposed to leave one circle to go to another? what path in between?)
(2019-11-14, 17:26)Philippe Hurbain Wrote: [ -> ]It would also be possible to create a knot part, but I'm not sure it would be better/easier to use...

How brave! I generally go with only 1 layer of string... But yes, Bezier is the right CP to use, circle don't work well in this case (where is the wire supposed to leave one circle to go to another? what path in between?)

Well, at least I didn't attempt to tie the knot under the string, where it attaches to the spool!  Wink

So is there an application where it does make sense to mix circle and bezier points? 'Cos that's exactly the problem I had: how to get the string to follow the correct path in and out of the circle.
(2019-11-14, 19:13)N. W. Perry Wrote: [ -> ]So is there an application where it does make sense to mix circle and bezier points?
The circle points only play nice combined with bezier points if the whole thing is on a 2d plane.

If not weird thing will start happening the more a 3rd axis comes into play.

I intended it mostly for guiding bumps in bands (gravity pull etc).

As for spools I'm thinking about a third control point for those so they can be generated based on a single set of parameters (bit like springs).
(2019-11-14, 21:49)Roland Melkert Wrote: [ -> ]The circle points only play nice combined with bezier points if the whole thing is on a 2d plane.

If not weird thing will start happening the more a 3rd axis comes into play.

I intended it mostly for guiding bumps in bands (gravity pull etc).

As for spools I'm thinking about a third control point for those so they can be generated based on a single set of parameters (bit like springs).

I see. Well, I do think it would be handy to have some way to automatically generate spools—and knots, too—since both are used in a lot of official models. I can say that with spools, I was surprised to find that there's some complexity at the end of each course of windings, where the strand crosses over itself and rises up to the next larger diameter. It's not quite a simple as a given number of concentric coils, if you're going for total realism.

(Actually, I find that many of the modeling challenges I face have to do with just figuring out the correct point at which two or more objects would physically collide: place this path point so that the string's outer diameter contacts the inner diameter of this hole…rotate this part so that its end just touches this other part…place this oddly-shaped part on the ground so that its various surfaces come to rest as they naturally wood…and so forth. That's a big part of making a spool, too—not terribly difficult, but fiddly and time consuming. I often wonder if programs could have an overall awareness of the physical mass of the modeled parts, and be able to constrain and automate their placement accordingly—but that's really another thread!)
(2019-11-14, 21:49)Roland Melkert Wrote: [ -> ]As for spools I'm thinking about a third control point for those so they can be generated based on a single set of parameters (bit like springs).
Speaking of springs (and spools) it would be nice to have the possibility to create a LQ version, cylinder segments based (smaller size, direct compatibility with Studio renderer)
(2019-11-15, 8:00)Philippe Hurbain Wrote: [ -> ]Speaking of springs (and spools) it would be nice to have the possibility to create a LQ version, cylinder segments based (smaller size, direct compatibility with Studio renderer)

I think the main reason was generating the mesh was surprisingly easy.

Why Studio only supports type 1 lines in custom parts is beyond me.
[Image: attachment.php?thumbnail=4229]

Looks like you have too much spare time at your disposal Big Grin 

w.
Pages: 1 2