Question about creating a primitive


RE: Question about creating a primitive
#3
Your thinking is right, it's a question of rounding method. We calculate sin/cos of angle, then round these value to 4 decimal places, then scale these values by iner/ourter ring value. This order may seem weird at first sight as it actually lowers the precision, but it's done this way so that the vertices of a cylinder or and edge primitives (that have a 1.0 radius) exactly matches the ones of rings when scaled to fit the ring.

Note that Primgen2 tool (either standalone or integrated into LDPE) manages all this for you Wink

...and the real question: why do you need such a large ring radius?
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Question about creating a primitive - by Philippe Hurbain - 3 hours ago

Forum Jump:


Users browsing this thread: 2 Guest(s)