[LDCad] Rubber band templates question - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html) +--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html) +--- Thread: [LDCad] Rubber band templates question (/thread-25149.html) |
Rubber band templates question - N. W. Perry - 2021-09-10 For band/belt templates in LDCad, the radius of a point is measured to the center of the path. I thought it would be handy to offset the path skin so that its inner edge follow the radius (i.e., the radius of the point is the same as the part it goes around). I thought adjusting the alignment parameter was the way to do this, but it didn't work. It just breaks the path into segments with wide gaps (and they aren't noticeably offset from center). Is there a simple way to adjust the template to do this? Or would I have to create a donor part with the origin shifted (and would that even work)? RE: Rubber band templates question - Roland Melkert - 2021-09-10 (2021-09-10, 15:40)N. W. Perry Wrote: For band/belt templates in LDCad, the radius of a point is measured to the center of the path. I thought it would be handy to offset the path skin so that its inner edge follow the radius (i.e., the radius of the point is the same as the part it goes around). The alignment parameter acts only on the y axis (path direction). Offsetting the donor would work but you must set the donor center to "Part origin" or it will correct for it automatically. I could add a "Outer border" option to the donor center option list, to you do this without changing the donor. RE: Rubber band templates question - N. W. Perry - 2021-09-10 (2021-09-10, 17:48)Roland Melkert Wrote: The alignment parameter acts only on the y axis (path direction). Ah, I thought that was what "offset" does. (Or are they basically the same operation, just done at different stages of the process?) Quote:Offsetting the donor would work but you must set the donor center to "Part origin" or it will correct for it automatically. Fair enough, I just wasn't sure if that would mess with the deformation process. Although, why would you give the option if it did… ;-) Quote:I could add a "Outer border" option to the donor center option list, to you do this without changing the donor. That might be useful at least for some use cases. Normally, it's no problem to just add half of the donor width to the radius of the bearing part, but I was working with some non-integer scaling factors (e.g., to get a skinnier rubber band) so then you have to type the radius manually. RE: Rubber band templates question - Roland Melkert - 2021-09-10 (2021-09-10, 20:01)N. W. Perry Wrote: Ah, I thought that was what "offset" does. (Or are they basically the same operation, just done at different stages of the process?) Offset influences the origin of the donor. Alignment influences how the donor is placed within a segment of the path. RE: Rubber band templates question - N. W. Perry - 2021-09-11 (2021-09-10, 20:47)Roland Melkert Wrote: Offset influences the origin of the donor. I see. I haven't yet encountered a situation where I'd use either of these then, but that just speaks to the great power and flexibility of the templates. Incidentally, I've worked out that for an exact fit of the square rubber band on the wedge belt wheel (4185), you need an x/z scale factor of .8125 for the path skin, and a radius of 29.125 (or a donor origin offset of 1.625). Just in case anyone happens to search this group for that info. |