![]() |
|
Ring approximation calculation - 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: Ring approximation calculation (/thread-24389.html) |
Ring approximation calculation - Philippe Hurbain - 2021-01-25 Following review of this part, Magnus asked for my method to calculate ring approximations... as it maybe helpful for many people, I answer here... Original pattern used a lot of thing rings to get "precise" dimensions, though this is mostly useless since measurements on prints (and prints themselves!) are pretty approximative. Code: 1 0 0 12.25 -10 .5 0 0 0 0 .5 0 1 0 4-4rin14.dat
1 0 0 12.25 -10 .25 0 0 0 0 .25 0 1 0 4-4rin30.dat
1 4 0 12.25 -10 .125 0 0 0 0 .125 0 1 0 4-4ring62.dat
1 4 0 12.25 -10 1.125 0 0 0 0 1.125 0 1 0 4-4ring7.dat
1 4 0 12.25 -10 .25 0 0 0 0 .25 0 1 0 4-4rin36.dat
1 0 0 12.25 -10 .125 0 0 0 0 .125 0 1 0 4-4ring74.dat
1 0 0 12.25 -10 .625 0 0 0 0 .625 0 1 0 4-4rin15.dat
1 0 0 12.25 -10 .25 0 0 0 0 .25 0 1 0 4-4rin40.dat
1 16 0 12.25 -10 10.25 0 0 0 0 10.25 0 1 0 4-4ndis.datCode: 1 0 0 12.25 -10 .77778 0 0 0 0 .77778 0 1 0 4-4ring9.dat
1 4 0 12.25 -10 1.55556 0 0 0 0 1.55556 0 1 0 4-4ring5.dat
1 0 0 12.25 -10 1.03704 0 0 0 0 1.03704 0 1 0 4-4ring9.dat
1 16 0 12.25 -10 10.37037 0 0 0 0 10.37037 0 1 0 4-4ndis.dat
Of course if you calculate from outside to inside, you must compensate for the "+1" between inner and outer radii of LDraw rings... Formula is int(inner diameter / desired thickness) in the first case, int(outer diameter / desired thickness)-1 for the second. RE: Ring approximation calculation - Vincent Messenet - 2021-01-26 Thanks for the explanation! I saw your review and was going to ask you how you came to this result
|