Skip to content

VRML export fails when using paths relative to the footprint

Description

When you have a component with a 3D model that uses a path relative to the footprint the VRML export:

  1. Generates a misleading error

image

  1. Fails to include the 3D model (even creates a file named .wrl)

Steps to reproduce

  1. Using the following project: 3d_rel_path.zip
  2. Try to export the VRML, i.e.

image

KiCad Version

Application: KiCad

Version: 7.0.1.1-36-gbcf78dbe24-dirty-deb11, release build

Libraries:
	wxWidgets 3.0.5
	FreeType 2.10.4
	HarfBuzz 2.7.4
	FontConfig 2.13.1
	libcurl/7.88.1 OpenSSL/1.1.1n zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3

Platform: , 64 bit, Little endian, wxGTK, , 

Build Info:
	Date: Mar 12 2023 16:40:58
	wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.74.0
	OCC: 7.5.1
	Curl: 7.74.0
	ngspice: 34
	Compiler: GCC 10.2.1 with C++ ABI 1014

Build settings:
	KICAD_SPICE=ON