You can upload the file for further investigation by the experts, or name at least your post processor.
It would be best if you can isolate the issue, and remove all other stuff from the solid.
The main, fast and 100% working way is to always use a plain text editor to work with the created g-code. Not only zero radii happen. There are also (almost) infinitely large radii. It’s much easier and faster to find them by hand. In case of zero radius in a line with such a radius, change G3 or G2 to G1, also removing everything except X, Y and Z coordinates.
It is not difficult to find toxic lines in the code - search the text. There is also auto-replacement (in simple situations), there is also structure (indents).
To (for example) in Geany in the file g-code worked autocollapse code blocks I corrected the file -
vi /usr/share/geany/filetype_extensions.conf
and there in the line that specifies associations for Haskell files add g-code file extensions, i.e. -
Haskell=.hs;.lhs;.hs-boot;.lhs-boot;.ngc;;
But what I am personally curious about is what kind of detail is being made? For anything related to fluid or gas dynamics, the detail is not suitable - there are dead ends in the flow, pockets, etc. Is it really an art object?
I’m going to assume you’re cutting veneer for a lamp shade. Then it makes sense to make a “vacuum table” out of plywood and press the veneer to the work table through this “vacuum table” with the help of a vacuum cleaner (a sheet of ordinary paper can be placed on top of the veneer for better pressing).