Posts: 1,875
Threads: 84
Joined: Jul 2011
RE: Simplified boxes
2021-06-12, 5:23
(2021-06-12, 4:51)Travis Cobbs Wrote: When I run the Python version of LDBoxer, it always says that it has boxed 0 parts. Are you sure it is actually doing anything?
The Python version isn't working for me (in macOS). The EXE version seems to work after installing the box files. However, when run on LDView's m6459.ldr sample model, it doesn't replace very many parts. I think I see a slight improvement in performance in some models.
In the case of LDView, I'm not sure if LDView is detecting the boxed parts as being parts. If that is the case, it is likely responsible for sabotaging most of any performance gain that is gotten by having them be boxed. They are in the LDraw parts directory, but in a sub-directory. I can't remember off-hand if that will be detected as being parts by LDView. They don't appear to have a meta-command indicating that they are parts, so if LDView doesn't consider them as such due to being in a subdirectory, then the meta-command is necessary.
I would suggest adding the following line to the header of all the boxed parts:
0 unofficial part