← Back to team overview

kicad-developers team mailing list archive

[PATCH] VRML export rewritten

 

 I have rewritten the VRML export code so it shares the VRML
construction code used by the idf2vrml tool.

 A number of cosmetic rendering defects have been fixed. Some
cosmetic rendering defects still exist, but these also existed
in the older exporter. The good news is that I now know what
triggers these defects and that the issue is somewhere in the
GLU tesselator's polygon merging code. The bad news is that I
still can't produce these defects on demand, but I will look
into schemes to bypass the problems. One possibility is to use
KiCad's polygon routines as 3DView does; 3DView doesn't exhibit
the same artifacts as the VRML exporter.

The patch is in the file kicad_vrml_export.patch available from:
https://github.com/cbernardo/kicad-patches

The export code has been tested on all the KiCad demo projects and
produces results which are as good as or better than the earlier code.

This patch also includes a trivial patch to the IDF exporter code.

- Cirilo



Follow ups