If you use the standard way to approximate a circle with Bezier curves, it will differ from a true circle by about 0.03%. The human eye is not capable of seeing the difference, and, as the OP mentioned, most people can't accurately eyeball a perfect circle anyway. This post shows the math behind that, and then shows that it could be made even better with a few different choices. https://spencermortensen.com/articles/…
I think the OP is really just frustrated with the idea that CAD will use PDF and, in that application, 0.03% deviation can be too much.
Circles do not exist
51–60 of 217 posts
Re: Circles do not exist
#52Re: Circles do not exist
#53> This is a laser cutter that takes its "print jobs" as a PDF file and uses its vector drawing commands to drive the cutting head. This means that it is impossible to use it to print a wheel. You'd need to attach the output to a lathe and sand it down to be round so it actually functions as a wheel rather than as a vibration source. Respectfully, I don't think you're limited by the PDF format if you're talking about…
Re: Circles do not exist
#54Earlier quoted context omitted.
Yes, but as someone else commented the arc is internally based on bézier curves. How accurate thee circle would be by plotting is probably dependent on the trigonometric table built in to the postscript interpreter, but at least it would be mathematically possible to make an accurate circle where it's actually not even possible to express a perfect circle with bézier curves.
In theory you could, when you were converting from PS to G-Code NOT emulate the arc with bezier curves, but convert them into g-code circles. This would likely cause the laser cutter to cut something that looked SLIGHTLY different than the rendered PDF. But anyone who's worked in the field long enough knows that WYSIWYG is a lie (albeit a very useful lie.)
Re: Circles do not exist
#55If you play the game Quake 3 Arena, which was, I think, the first game to use bezier curves in 3d rendering, so that a column or arch could dynamically adjust how many polygons are used depending on view distance, the columns are visibly not round! Not something most people notice unless they are looking for it.
I remember the Q3A Beziers were advertised as if the game rendered actual Beziers (which would in principle be possible in software but not on hardware… of the day, anyway), rather than just doing dynamic LoD approximation with your bog-standard triangles!
Re: Circles do not exist
#56This surprisingly less philosophical than I was expecting. There is no such thing as a perfect circle, it's a platonic ideal and lives in the Nous.
A spinning movement has to be a perfect circle, no?
Re: Circles do not exist
#57If you use the standard way to approximate a circle with Bezier curves, it will differ from a true circle by about 0.03%. The human eye is not capable of seeing the difference, and, as the OP mentioned, most people can't accurately eyeball a perfect circle anyway. This post shows the math behind that, and then shows that it could be made even better with a few different choices. https://spencermortensen.com/articles/…
If you want to produce a highly regular circle in Inkscape, draw a polygon with many nodes (say, 24), convert it to path, then make all nodes smooth and symmetric.
Re: Circles do not exist
#58If you use the standard way to approximate a circle with Bezier curves, it will differ from a true circle by about 0.03%. The human eye is not capable of seeing the difference, and, as the OP mentioned, most people can't accurately eyeball a perfect circle anyway. This post shows the math behind that, and then shows that it could be made even better with a few different choices. https://spencermortensen.com/articles/…
If a Bézier-based circles with four nodes are too rough, I suppose a circle with 16 or 24 or 128 nodes can be made smooth enough to exceed the laser cutter's margin of error. If you want to produce a highly regular circle in Inkscape, draw a polygon with many nodes (say, 24), convert it to path, then make all nodes smooth and symmetric.
Re: Circles do not exist
#59As someone who's spent a decent amount of time writing "output to pdf" routines, I would never in a million years choose pdf as an interchange format for anything at all.
Unfortunately PDF is, like, one of the most reassuring file formats. https://xkcd.com/1301/ What would you put at the top? .PS is pretty fancy, although, just because it is probably saying “this is basically a PDF but from the olden days.”
(I assume when you wrote "most reassuring" you were instead interpreting it as a comic about the file types' ability to accurately hold the information a user wants them to hold, because "reassuring" as pertains to the comic's actual meaning would be completely irrelevant to this topic of whether or not PDF makes a good interchange format.)
Re: Circles do not exist
#60If you use the standard way to approximate a circle with Bezier curves, it will differ from a true circle by about 0.03%. The human eye is not capable of seeing the difference, and, as the OP mentioned, most people can't accurately eyeball a perfect circle anyway. This post shows the math behind that, and then shows that it could be made even better with a few different choices. https://spencermortensen.com/articles/…
I think the OP is really just frustrated with the idea that CAD will use PDF and, in that application, 0.03% deviation can be too much.