[Pkg-electronics-devel] Bug#1008851: Compress kicad 3D models to reduce installed size

Carsten Andrich carsten at andrich.name
Sat Apr 2 20:09:37 BST 2022


Package: kicad-packages3d
Version: 6.0.4-1|Severity: wishlist |

|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 
|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20220402/97e37e54/attachment.htm>


More information about the Pkg-electronics-devel mailing list