-
Notifications
You must be signed in to change notification settings - Fork 430
Compress 3D models #369
Comments
你好!不可以,对不起.。 Not now, but hopefully in the future. |
I assume that the 3d models are a separate package on arch. I doubt that they can be compressed to such a low value so i guess the ~200MB is the main kicad package not the package for the 3d models. Edit: I just checked ubuntu. There the 3d model package lists a size of 600MB (so quite compressed) KiCad and the external tools used for 3d interfacing can not work with compressed files. And i don't think storage space should be an issue nowadays. 1TB of hard disk space cost not so much any more. Even SSDs have can now reach >500GB. So i doubt the tradeoff is worth the effort. |
I guess the thread can be closed? |
Perhaps this is a problem? Total Download Size: 291.53 MiB Note this is only for the 3d-packages, not including the kicad installer itself which is approximately 200 MiB. I'm just curious how the models are stored, and how they are compresses at a compression rate of almost 95%. |
Step files have quite some redundancy in them. If you then not only compress single files but full directories then you get quite a lot of potential. (After all: Step is human readable. A binary format would be much much smaller but that makes portability a lot harder to achieve. There is a reason step is the king in the mcad world.) However this is only practical if you only need to compress and decompress them once. As always there is simply a tradeoff between computing power and storage. In todays world where storage is basically free one can optimize for computing speed. (Or would you rather wait 5 minutes everytime you open the 3d viewer till the 3d models are decompressed?) If storage is a real concern than simply do not install the 3d models via the installer but only download the ones you really need. |
Why do I loose my time reading issues that are not issues ???? Someone to close that please ? |
This is an unresolved issue. If you don't like it, don't read it. Also, you've been asked to work on the general tone of your comments before. Heed that advice. |
I'm sorry but you have to read "a lot" of issues or thing that are not real issues but "things" sitting there. example: corresponding model waiting who knows what |
I would like to invite @sethhillbrand to this discussion. He made a nice study on reduce the STEP file size, having a algorithm to do so. As far I tested in some STEP 3D models of KiCad, I got a good file size decrease (actual 3D files appear that doesn't passed to this process). Also I would like to mention the compressed step GZ format capability and compressed step ZIP. Could we clean the STEP for v6 (@sethhillbrand algorithm) and maybe compressed for v7? |
I've been down this road before (#223) That was an enormously frustrating conversation that led nowhere productive. If this is desired, I'm happy to provide pipeline code in Python to compress our models and verify the compression results (comparing model results in OCC). But I'm going to stay out of the discussion about whether this should be done. I believe it should but I don't want another disagreement with anonymous internet experts. |
If there is a very little thing to do to the .step files, it's a check that 'filename' and 2 others fields are correctly filled. Lot of PR are blocked or retarded because 'blah blah filename in step not good'. The reason for this field is 'ease matching something with something else in some CAD'. Clearly outside of KiCAD. That will save a lot of time here. |
@hildogjr @sethhillbrand If anything, I would delay stepreducing the files, not the other way round. Deflating the models should be safe in any case and is also reversible. |
I made some test with third-part model from https://grabcad.com/ and https://www.3dcontentcentral.com/. I also used the Now, using Nightly KiCad, I am also compressing those models into I just saw gain in the loading time of FreeCad. I didn't test other CAD software or, models that not above or KiCad internal library. Someone can point some issue? |
If you are older than 50, you may remember that. What is this ? Simply order the v42bis MNP5 modem to call the Compuserve service. With compression enabled (%C3) Funny to see that after 40 years, problem is not solved despite compressed filesystems available (zfs, ntfs,...) |
on archlinux:
Package Size: 289.2 MB
Install Size: 4.3 GB
so many space, can we have other file types, for zipped version to be installed?
The text was updated successfully, but these errors were encountered: