Opened 2 years ago

Last modified 7 months ago

#65735 assigned defect

kicad @6.0.6_0: 3D models fail to display

Reported by: polpo (Ian Scott) Owned by: ra1nb0w
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: kicad

Description

In the PCB 3D Viewer or in the footprint properties 3D Models tab, all component 3D models fail to display. The 3D view of the PCB and all layers is normal.

In the PCB 3D Viewer, when toggling visibility of 3D models, the message "Loading R_0805_2012Metric.wrl..." or other similar loading message persists in the viewer's bottom status bar.

Systems tested:

  • macOS Catalina 10.15.7, MacBook Pro (Retina, Mid-2012), kicad-6.0.6_0.darwin_19.x86_64
  • macOS Monterey 12.5.1, MacBook Pro (2021), kicad-6.0.6_0.darwin_21.arm64

Attachments (1)

Screen Shot 2022-08-28 at 11.28.23 PM.png (578.1 KB) - added by polpo (Ian Scott) 2 years ago.
Screenshot of issue

Download all attachments as: .zip

Change History (11)

Changed 2 years ago by polpo (Ian Scott)

Screenshot of issue

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Cc: ra1nb0w@… removed
Owner: set to ra1nb0w
Status: newassigned

comment:2 Changed 2 years ago by ra1nb0w

Thank you Ian for reporting. I already know this is issue and I didn't found a fix yet (path, objects are correct). I also tried the Kicad's dmg and it has the same issue. So, probably is in the code.

comment:3 Changed 2 years ago by polpo (Ian Scott)

Odd that you see the issue with the official KiCad builds. The models appear fine in the official builds on both of my Macs here. I often switch between the MacPorts build when designing and the official build when wanting to view 3D on my Apple Silicon Mac.

comment:4 Changed 2 years ago by ra1nb0w

I tested upstream a few months ago. Maybe they have fixed. Now I am in holiday. Next week I re-check and update the kicad's port.

comment:5 Changed 2 years ago by ra1nb0w

Updated to 6.0.7. Unfortunately, I can't find why it doesn't work :(

comment:6 Changed 2 years ago by mojca (Mojca Miklavec)

I have downloaded the official binary and 3D render works there.

I upgraded the MacPorts binary to 6.0.9 on macOS 11/arm64 and it doesn't work for me either.

Upstream is suggesting to check whether 3D plugins are loaded:

Contents/Plugins/3d/*.so

in MacPorts those correspond to

  /opt/local/lib/kicad/plugins/3d/libs3d_plugin_idf.so
  /opt/local/lib/kicad/plugins/3d/libs3d_plugin_oce.so
  /opt/local/lib/kicad/plugins/3d/libs3d_plugin_vrml.so

but I'm not exactly sure how to check that.

comment:7 Changed 2 years ago by dl8dtl (Jörg Wunsch)

Have to confirm this: official package works, and displays 3D models. Macports version doesn't.

Tried to dtruss all this, but that eventually triggered a kernel panic.

comment:8 Changed 2 years ago by ra1nb0w

dl8dtl: you can use export DYLD_PRINT_LIBRARIES=1 to list the loaded libraries. Use it in the terminal and then load the kicad 3d

comment:9 Changed 22 months ago by ra1nb0w

Otherwise, Kicad create a 3D log file in the project with the issue. Can you attach here? thank you

comment:10 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Is this old issue still happening? I just updated kicad to 7.0.11 so you might re-check with that version.

If the problem still happens for you, it would help me and others unfamiliar with this software if you could give step-by-step instructions for how to observe the problem.

Note: See TracTickets for help on using tickets.