Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

library dimension: something wrong? #335

Open
itarozzi opened this issue Nov 21, 2021 · 6 comments
Open

library dimension: something wrong? #335

itarozzi opened this issue Nov 21, 2021 · 6 comments

Comments

@itarozzi
Copy link

I'm trying to download the library as zip or using github clone.

The zip is about 4.4GB but decompressed is more over. Can't be more precise because it full my disk, but Mechanical Parts/Chains are about 15GB

In the readme i can read a dimensione of about 1GB. What happens?

Is there a way to download only a sub-part of the library?

@pysimone
Copy link
Contributor

pysimone commented Dec 7, 2021

You can try with "sparse-checkout"

For example if you want to download only "Electrical Parts/Batteries" folder:

git clone --filter=blob:none --no-checkout https://github.com/FreeCAD/FreeCAD-library.git
cd FreeCAD-library
git sparse-checkout set 'Electrical Parts'/Batteries

@itarozzi
Copy link
Author

itarozzi commented Dec 9, 2021

Ok, this could be a workaround for experienced users, I'll try it.

But for installing the library using the Addon Manager is not really working.

But my question is: why the library is so huge? > 18GB ?!?

@luzpaz
Copy link
Contributor

luzpaz commented Dec 10, 2021

@chennes I heard you're looking at the Addon Manager. Do you have the bandwidth to put this on your todo list?
CC @yorikvanhavre

@chennes
Copy link
Member

chennes commented Dec 10, 2021

This isn't fixable at the Addon Manager level: we need a new way of dealing with the parts library. Fundamentally it needs to be broken into smaller pieces.

@luzpaz
Copy link
Contributor

luzpaz commented Dec 10, 2021

@chennes so most likely

  1. Going in and optimizing models
  2. Breaking the Library up in to submodules ?

@chennes
Copy link
Member

chennes commented Dec 13, 2021

Some discussion here: https://forum.freecadweb.org/viewtopic.php?t=63140

Obijuan added a commit that referenced this issue Oct 15, 2022
Sprocket ANSI duplex 1 ½x1 *generator* sample added. Related to #335
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants