3D models: comments in coordIndex section cause missing geometry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Low
|
Unassigned |
Bug Description
If the coordIndex list in a 3D model WRL file contains a # comment, the following elements within that coordIndex list are ignored.
Rhinoceros 3D, for example, generates comments in these sections counting off every 25 triangles.
This applies only to the 3D board view - affected models render properly in the preview in the footprint properties dialog.
To reproduce (just using a part with a really simple model as an example):
1. Open SMD_Packages/Conn-3 in the footprint editor
2. Open the 3D view, observe the model
4. Edit SMD_Packages.
0, 3, 19, 16, -1, # elements after here will be ignored
5. In the 3D view reload the board
Expected result: no change
Actual result: housing of connector disappears.
tags: | added: vrml |
tags: | added: 3dviewer |
Changed in kicad: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: |
added: 3d-viewer removed: 3dviewer |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
What version of kicad is this? If it is the dev branch I'll look at it, but I wouldn't bother with legacy since the code has been removed.