f3d-app / f3d

Fast and minimalist 3D viewer.
https://f3d.app
BSD 3-Clause "New" or "Revised" License
2.78k stars 202 forks source link

Error displaying wrl files from KiCad #1450

Open boromyr opened 4 months ago

boromyr commented 4 months ago

Describe the bug The wrl files exported from KiCad are not being read correctly. These files are composed of other wrl files, and individually they are all displayed, but their position is wrong in the displayed file.

To Reproduce Steps to reproduce the behavior:

  1. Open the file GPS02B.zip This is an example of a file generated by KiCad and how it is displayed: image The exact same file opens correctly in Rhino. image

F3D Information F3D 2.4.0 Windows 11

snoyer commented 4 months ago

but their position is wrong in the displayed file.

Colors are missing too

Meshlab agrees with Rhino GPS02B-meshlab

Meakk commented 4 months ago

VRML importer code is located in VTK and can be found here: https://gitlab.kitware.com/vtk/vtk/-/blob/master/IO/Import/vtkVRMLImporter.cxx

mwestphal commented 4 months ago

duplicate of https://github.com/f3d-app/f3d/issues/826 ?

mwestphal commented 4 months ago

(FYI @jpouderoux )

LimesKey commented 2 months ago

I'm having the same issue. I initially thought this was a KiCad issue.

boromyr commented 2 months ago

I use https://github.com/castle-engine/castle-model-viewer/ for wrl in the meantime the bug is fixed.