FS#63448 - [kicad-library-3d] please split package to WRL and STEP version

Attached to Project: Community Packages
Opened by Tomas Mudrunka (harvie) - Monday, 12 August 2019, 23:43 GMT
Last edited by Kyle Keen (keenerd) - Monday, 02 September 2019, 14:43 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

kicad-library-3d now takes 5GB of diskspace, which i currently lack :-) I've found all 3D models are twice in this package. Once in STEP format and then again in WRL format. Can you please split this package in two. One containing step and one vrlm? This would save me a lot of space...

I suggest doing something like this:

kicad-library-3d-vrlm (1.1 GB)
kicad-library-3d-step (3.9 GB)
kicad-library-3d (empty package depending on both of previously mentioned = 5 GB total)

Thank you very much
This task depends upon

Closed by  Kyle Keen (keenerd)
Monday, 02 September 2019, 14:43 GMT
Reason for closing:  Won't implement
Comment by Tomas Mudrunka (harvie) - Monday, 12 August 2019, 23:44 GMT
Some numbers:

[root@anemophobia harvie]# du -hs /usr/share/kicad/modules/packages3d/
5,0G /usr/share/kicad/modules/packages3d/
[root@anemophobia harvie]# LANG=C du -hsc $(pacman -Ql kicad-library-3d | grep wrl | cut -d ' ' -f 2) | tail -n 1
1.1G total
[root@anemophobia harvie]# LANG=C du -hsc $(pacman -Ql kicad-library-3d | grep step | cut -d ' ' -f 2) | tail -n 1
3.9G total
Comment by Kyle Keen (keenerd) - Monday, 02 September 2019, 14:43 GMT
I feel your pain. Personally I don't use the 3D stuff at all, because of how crazy this is. I wish they would switch to a procedural generation system where each class of package is a small script that can be given a number of pins, and then the model generated on the fly. This is how the footprints should work too.

In your case there is a simple work around. Take a look at the "NoExtract" config line in pacman.conf. You can prevent the installation of the step files with

NoExtract = usr/share/kicad/modules/packages3d/*.step

I do this extensively with packages that I wish were split up differently. Unfortunately NoExtract is still relatively primitive. Pacman's records for the install (-Qi) will report a disk used space as if those files were installed. And if you are using CheckSpace, pacman will refuse to install it unless there is at least 5GB free.

Loading...