I have this big model of 12000+ bricks I am working on.
Somewhere on the way, I lost some work :-( and had to redo a few things here and there.
Before the loss of work, however, the model was 99% complete and I was able to restore the lost file and thus its BOM.
Finishing the model, there are some changes and additions here and there and I kind of lost what bricks went missing, got replaced, and are not used anymore.
So, my question: Is there a clever way to compare 2 files to see the difference in the BOM?
Inspired by the (very similar) threads here and here by kevlamar, I wrote a tiny viewer that displays a model and checks which triangle is currently shown and which triangle is shown since loading/reset. This is done to calcualte some statistics and to give some sense of how many triangles are really used ("#E" in screenshots) and how many could be removed ("#T-#E").
For the 10218 model, I would assume one could remove about 80% of the triangles without loosing significant detail even if the user is allowed to rotate freely. Screenshot of the rendered original model (934441 triangles):
Screenshot of the 148853 triangles identified in some previous rotations (ok, very similar, but not overwhelming for the same perspective):
Screenshot of the 785588 removed triangles (mostly studs and face-to-face-triangles):
Looking at the 8868 Airtech Claw Rig, about 50% of the triangles are really shown sometimes (587814 of 1104183 after trying really many camera positions):
Looking at a tiny 3x3 brick wall, as expected the studs in the lower two rows can be removed and the inner boxes of the upper two rows can be removed, resulting in about 60% savings:
Since we had only 5 confirmed nominees, no election was necessary.
Therefore, the 2022/2023 LDraw.org Steering Committee [1] is:
Gerald Lasser
Philippe Hurbain
Max Martin Richter
Orion Pobursky
Willy Tschager
[1] Try not to confuse the LDraw.org Steering Committee (SteerCo) with the LDraw.org Standards Board (LSB). The Steering Committee sets the course for the LDraw Organization while the Standards Board deals with the LDraw File Format.
Congratulations to the reconfirmed and new members!
Willy Tschager
On behalf of the LDraw.org Steering Committee
I just updated the MLCad.ini file accordingly to the latest LDraw.org parts update 2022-02. The .ini file defines (among other things) the parts available in MLCad's, LEOCad's and Bricksmith's minifigure generator.
The attached script (just change .txt to .lua) lets you write words in a Duplo or Lego font.
Just change the part and factor variables in addLetter to get the different versions. For brevity, the letters are defined using positions by studs and brick height and are multiplied by the factor to get coordinates. As such, they will work for any brick that is 2 studs wide with height 1.
Code:
function addLetter(color, studOffset, letter)
-- Duplo
-- local part = '3437.dat'
-- local factor = ldc.vector(40, -48, 40)
-- Lego
local part = '3003.dat'
local factor = ldc.vector(20, -24, 20)
Question: Is it possible to add a group in an an LDCad script? I'd like to add the parts in each letter to a group, and then add a group for the entire word. The best example I have seen is in the Add Wall example script, but that just adds the new parts to the selection.
The 2022-02 LDraw Parts Update has been now been released. This update adds 366 new files to the core library, including 196 new parts and 12 new primitives.
Thanks are due to all the part authors who created or corrected parts for this release. The small, but dedicated, band of reviewers also play an important role in keeping files moving through the Parts Tracker and deserve just as much credit.
You can preview the new parts in 2022-02 here, and download the zip-file update or Windows install package here. Alternatively you can use the LDView menu option File | Check for Library Updates... to install the update.
Once again, I'm relatively new to this game and am still trying to live up to the standards Chris set. If you note any errors or problems, please do not hesitate to point them out.
Special thanks to Magnus Forsberg and the rest of the core reviewers. We pushed out a massive fix to the axlehole primitives with this update and it wouldn't have been possible without their dedication and attention to detail.
The 3000 series parts were done by a KJM (who's identity I haven't been able to sleuth out) and release in the 2002-03 release. Most of the rest were done by a CSC. 4741 will probably end up being reverted since the editor was undocumented.