VRML export: AddArc(): width/2 exceeds radius*1.01
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Expired
|
Low
|
Bug Description
When exporting a converted file to VRML, I get the error message
AddArc(): width/2 exceeds radius*1.01
(from utils/idftools/
then the VRML generation stops and the there is no output file.
1. The error message does not state which arc is causing the problem, my test-file had about 100 arcs, so it was hard to find the right one. Please always add the coordinates and the layer in the error messages, so that the user can find the culprit. (I think this problem applies to lots of error messages in the VRML exporting code)
2. KiCAD does not give a warning when loading a file with such arcs or when creating such an arc, only when the VRML export is used.
3. One of the several arcs that triggered this was the Pin-1 marker (a dot / filled circle) in a footprint, so I guess that it will occur in component libraries from component vendors. I agree that an Arc where the width is larger than the radius is a bit nonsensical. But it works in KiCad 2D, 3D and Gerber and also in other PCB design applications, and I am afraid that I am altering the effectively generated output, if I try to automatically correct it to enable VRML output.
4. KiCad does not allow to ignore the arc to continue generating the rest of the VRML file. I think such arcs are not such a grave problem in the file that a VRML file should not be generated at all.
I could help with patches for this and similar problems, but I would like to know your opinion on how to solve it best first.
Changed in kicad: | |
status: | New → Confirmed |
tags: | added: pcbnew |
Changed in kicad: | |
importance: | Undecided → Low |
Changed in kicad: | |
assignee: | nobody → Seth Hillbrand (sethh) |
milestone: | none → 5.1.0 |
status: | Confirmed → In Progress |
tags: | added: export |
Could you provide your VRML file as a sample for testing?