#1008851 Compress kicad 3D models to reduce installed size

#1008851#5
Date:
2022-04-02 19:09:37 UTC
From:
To:
|KiCad supports compressed 3D models since version 6 [1, 2, 3].
Compressing the .step and .wrl files contained in the current
kicad-packages3d package reduces its installed size from ||5468M to 923M
(measured with du on a tmpfs).
Unfortunately, simply compressing and renaming the files to .stpz [2] or
.wrz [3], respectively, is insufficient, because 3D models are referred
to by name in the footprint files [4]. Therefore, AFAIK, every single
upstream footprint file would have to be modified accordingly to
implement 3D model compression.
|

||

|[1] https://gitlab.com/kicad/code/kicad/-/issues/5360 [2]
https://gitlab.com/kicad/code/kicad/-/blob/6.0/plugins/3d/oce/loadmodel.cpp#L286
[3]
https://gitlab.com/kicad/code/kicad/-/blob/6.0/plugins/3d/vrml/vrml.cpp#L177
[4]
https://gitlab.com/kicad/libraries/kicad-footprints/-/blob/6.0.4/Connector_PinSocket_2.54mm.pretty/PinSocket_1x02_P2.54mm_Vertical.kicad_mod#L36
|

#1008851#10
Date:
2022-04-02 19:36:06 UTC
From:
To:

#1008851#15
Date:
2022-04-03 07:10:04 UTC
From:
To:
Hello Carsten,

Am Sat, Apr 02, 2022 at 09:09:37PM +0200 schrieb Carsten Andrich:

as I understand reducing the size of the package is a desireable thing I
wont start to put any energy on making this work inside Debian without
support from upstream.
In my eyes this is clearly an issue that upstream need to solve.

So you tagged this report correctly as wishlist.

We could add an upstream issue to this report so the BTS could track the
upstream status and we would get a notice if upstream has fixed
(hopefully) the upstream bug report.

As I'm not following the upstream issue tracking I'm not sure if your
first URL would be the correct upstream issue to track.

Regards
Carsten