![]() |
Inverse tang - 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: Inverse tang (/thread-28957.html) |
Inverse tang - Peter Blomberg - 2025-07-24 I've long struggled with parts that have two curved edges close to each other, but not having the same point of origin. The task is to fill in the area between the curves. If the curves are far enough apart, I can use tndis and chords. However, if they are close, then I'd have to rotate chords and tndises, which isn't ideal. Luckily, we have tang for the inside (in yellow). This eliminates the need to rotate ndises, but effectively doubles the number of points. If the inside and the outside of an area to be filled have significantly different number of points, then the result is a large amount of extremely narrow triangles, so this is to be avoided. What if we had an inverse tang (in black) to be used for the outside? With an equal number of points, it is easy to fill the light gray area with quads. RE: Inverse tang - Philippe Hurbain - 2025-07-24 Could be interesting indeed... - thin rings can often be done with properly scaled ring primitives, even though it is sometimes required to slightly adjust inner and/or outer diameter - rotated prims is too be avoided if possible, but their use is sometimes mandatory, and the resulting vertex mismatch is generally quite small. - if the ntang prim family is to be created, how should the middle vertex be mathematically defined ? As a mirror of tang middle vertex? RE: Inverse tang - Peter Blomberg - 2025-07-24 (2025-07-24, 11:14)Philippe Hurbain Wrote: - if the ntang prim family is to be created, how should the middle vertex be mathematically defined ? As a mirror of tang middle vertex?That's one way. However, it might be easier/faster to calculate the intersection of adjacent chords. RE: Inverse tang - Gerald Lasser - 2025-07-24 The case you have shown above can be done with an 1-4ering or two 1-8chrds Small Issue arises if a 1-8 or 1-16 needs a rotation RE: Inverse tang - Rene Rechthaler - 2025-07-24 we could still expand the tang/ering prims to hi-res (useful for thin walls at big radii) hi-res ering (for manually p48 to p48 prims) hi-res tang (for p48 prims to manually p96 outside) -> both also for in-between values which cant be covered with normal prims like 1-12, 1-6 and odd values RE: Inverse tang - Peter Blomberg - 2025-07-25 (2025-07-24, 14:25)Gerald Lasser Wrote: The case you have shown above can be done with an 1-4ering The ering leaves 5 points on the outside and 9 points (from the tang) on the inside. That would allow the use of alternating triangles and quads, which could work without generating long narrow triangles. I'll test that. |