3d import of included sub-wrl fails with "input line too long"
Description
Using Kicad generated 3D models as a 3d shape is possible and all sub-shapes are included and loaded. This worked a few months ago. The use case is to have a 3d model for a thrid party generated kicad device.
Steps to reproduce
Try to use e.g. the 3d model of the Tang Nano 20k https://dl.sipeed.com/shareURL/TANG/Nano_20K/4_Dimensional_drawing/v3920/3D
The board itself will load but the sub components will not. Instead a rather cryptic error message appears (sometimes only!)
There is exactly one of these error messages per included sub-wrl.
KiCad Version
I see this under Ubuntu Linux with Kicad 8.0.1 as well as the latest 7.x from the official kicad ppa.
Application: KiCad 3D Viewer x86_64 on x86_64
Version: 8.0.1-8.0.1-0~ubuntu23.10.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.13.1
HarfBuzz 8.0.1
FontConfig 2.14.2
libcurl/8.2.1 OpenSSL/3.0.10 zlib/1.2.13 brotli/1.0.9 zstd/1.5.5 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.3) libssh/0.10.5/openssl/zlib nghttp2/1.55.1 librtmp/2.3 OpenLDAP/2.6.6
Platform: Ubuntu 23.10, 64 bit, Little endian, wxGTK, X11, , x11
Build Info:
Date: Mar 14 2024 15:11:40
wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 8.2.1
ngspice: 42
Compiler: GCC 13.2.0 with C++ ABI 1018
Build settings: