Thanks for your reply
Technically you are right, the output will allways - just like it is now- be withing a set tolerance. However, quality of curves cannot be measured just by the deviation amount. I was referring to how clean the curves could be. The current setup does not produce smooth or clean curves by design, although the polylines are within tolerance, they can be quite jagged in appearance. If a conversion to beziers is implemented the appearance will no doubt improve dramatically overall, (as will the filesize reduction I suspect).
In any case, I expect the output to be with more fidelity as for instance small circles and acrs will be converted without much loss of accuracy.
One great advantage of a vector format is the lack of resolution restrictions; one can zoom in and out without a “loss of focus” (for lack better words). The current polyline conversion sort of introduces a pixel type resolution within a vector format, making the output loose that scale-ability advantage of vector files.
Thinking about that, it might be good to differentiate between PDF purposes. Where the user can export to PDF and have an option to choose a fidelity/tolerance. That way we can produce a letter format page of a building site to be easily printed on paper for reference, yet with high accuracy for onscreen review, zooming in to the smallest details.
What would be needed is an option to let the user set the absolute tolerance with which the fitting algorithm operates.
Minimal tolerance would be the absolute file tolerance, producing a PDF with curves that are most accurate to the ones in the Rhino document, regardless of the PDF page size.
Maximum tolerance would be based on the desired DPI for print with that page size.
I do not know how this would be best implemented with the correct wording and GUI, to make it as unambiguous as possible.
Maybe a few presets or slider for various DPI’s and an overriding checkbox to use file tolerance?
Anyway so far my2c and brainstorm on this