Compare 2 files for BOM


RE: Compare 2 files for BOM
#4
LDInspector way with GUI (needs Java>=11+JavaFX):
1. add files/directory
2. select first file to compare
3. choose PartList tab
4. right click "CS" column header to "Copy row" ==> your first file is now in CS and C1
5. select next file
6.1. manual way: compare CS and C1 directly
6.2. automatic way: right click "C1" column header to "Subtract CS amounts from this row" ==> in C1 is the difference
7. repeat steps 4-6 for more files if needed

   

   

   

LDInspector way with command line (needs Java>=8):
1. use command line "java -cp ldinstr.jar ldinsp.tools.LDITBillOfMaterial HERE_YOUR_FILE" per file
2. compare text output: each step of each contained model is printed separately and summed up in "all" section

example output for set 603:
Code:
###---###---### /home/smf/omr/603-1 - Sidecar.mpd
###---### Step 1
0;3004;1;Black;Brick  1 x  2
0;3022;1;Black;Plate  2 x  2
0;3815c01;1;Black;Minifig Hips and Legs
1;8;3;Blue;Plate  2 x  2 with 2 Wheel Clips Perpendicular
1;3020;2;Blue;Plate  2 x  4
1;3022;1;Blue;Plate  2 x  2
1;3660;1;Blue;Slope Brick 45  2 x  2 Inverted
1;3842a;1;Blue;Minifig Helmet Classic with Thin Chin Guard and Visor Dimples
4;973;1;Red;Minifig Torso
4;3464;3;Red;Wheel Centre with Stub Axles
4;3818;1;Red;Minifig Arm Right
4;3819;1;Red;Minifig Arm Left
7;3024;2;Light Grey;Plate  1 x  1
7;3623;1;Light Grey;Plate  1 x  3
14;3626ap01;1;Yellow;Minifig Head with Standard Grin Pattern (Solid Stud)
14;3633;2;Yellow;Fence Lattice  1 x  4 x  1
14;3794a;1;Yellow;Plate  1 x  2 without Groove with 1 Centre Stud
14;3795;1;Yellow;Plate  2 x  6
14;3820;2;Yellow;Minifig Hand
256;3641;3;Rubber Black;Tyre  6/ 50 x  8 Offset Tread
###---### all
0;3004;1;Black;Brick  1 x  2
0;3022;1;Black;Plate  2 x  2
0;3815c01;1;Black;Minifig Hips and Legs
1;8;3;Blue;Plate  2 x  2 with 2 Wheel Clips Perpendicular
1;3020;2;Blue;Plate  2 x  4
1;3022;1;Blue;Plate  2 x  2
1;3660;1;Blue;Slope Brick 45  2 x  2 Inverted
1;3842a;1;Blue;Minifig Helmet Classic with Thin Chin Guard and Visor Dimples
4;973;1;Red;Minifig Torso
4;3464;3;Red;Wheel Centre with Stub Axles
4;3818;1;Red;Minifig Arm Right
4;3819;1;Red;Minifig Arm Left
7;3024;2;Light Grey;Plate  1 x  1
7;3623;1;Light Grey;Plate  1 x  3
14;3626ap01;1;Yellow;Minifig Head with Standard Grin Pattern (Solid Stud)
14;3633;2;Yellow;Fence Lattice  1 x  4 x  1
14;3794a;1;Yellow;Plate  1 x  2 without Groove with 1 Centre Stud
14;3795;1;Yellow;Plate  2 x  6
14;3820;2;Yellow;Minifig Hand
256;3641;3;Rubber Black;Tyre  6/ 50 x  8 Offset Tread
###---###---### /home/smf/omr/603-1 - Sidecar.mpd / 603-1 - sidecar.ldr (used 1x)
###---### Step 1
1;3020;2;Blue;Plate  2 x  4
1;3022;1;Blue;Plate  2 x  2
###---### Step 2
14;3795;1;Yellow;Plate  2 x  6
###---### Step 3
1;8;3;Blue;Plate  2 x  2 with 2 Wheel Clips Perpendicular
1;3660;1;Blue;Slope Brick 45  2 x  2 Inverted
4;3464;3;Red;Wheel Centre with Stub Axles
256;3641;3;Rubber Black;Tyre  6/ 50 x  8 Offset Tread
###---### Step 4
0;3022;1;Black;Plate  2 x  2
14;3633;2;Yellow;Fence Lattice  1 x  4 x  1
14;3794a;1;Yellow;Plate  1 x  2 without Groove with 1 Centre Stud
###---### Step 5
7;3024;2;Light Grey;Plate  1 x  1
7;3623;1;Light Grey;Plate  1 x  3
###---### sub-all
0;3022;1;Black;Plate  2 x  2
1;8;3;Blue;Plate  2 x  2 with 2 Wheel Clips Perpendicular
1;3020;2;Blue;Plate  2 x  4
1;3022;1;Blue;Plate  2 x  2
1;3660;1;Blue;Slope Brick 45  2 x  2 Inverted
4;3464;3;Red;Wheel Centre with Stub Axles
7;3024;2;Light Grey;Plate  1 x  1
7;3623;1;Light Grey;Plate  1 x  3
14;3633;2;Yellow;Fence Lattice  1 x  4 x  1
14;3794a;1;Yellow;Plate  1 x  2 without Groove with 1 Centre Stud
14;3795;1;Yellow;Plate  2 x  6
256;3641;3;Rubber Black;Tyre  6/ 50 x  8 Offset Tread
###---###---### /home/smf/omr/603-1 - Sidecar.mpd / 603-1 - wheel.ldr (used 3x)
###---### Step 1
1;8;1;Blue;Plate  2 x  2 with 2 Wheel Clips Perpendicular
4;3464;1;Red;Wheel Centre with Stub Axles
256;3641;1;Rubber Black;Tyre  6/ 50 x  8 Offset Tread
###---### sub-all
1;8;1;Blue;Plate  2 x  2 with 2 Wheel Clips Perpendicular
4;3464;1;Red;Wheel Centre with Stub Axles
256;3641;1;Rubber Black;Tyre  6/ 50 x  8 Offset Tread
###---###---### /home/smf/omr/603-1 - Sidecar.mpd / 603-1 - minifig.ldr (used 1x)
###---### Step 1
0;3815c01;1;Black;Minifig Hips and Legs
1;3842a;1;Blue;Minifig Helmet Classic with Thin Chin Guard and Visor Dimples
4;973;1;Red;Minifig Torso
4;3818;1;Red;Minifig Arm Right
4;3819;1;Red;Minifig Arm Left
14;3626ap01;1;Yellow;Minifig Head with Standard Grin Pattern (Solid Stud)
14;3820;2;Yellow;Minifig Hand
###---### sub-all
0;3815c01;1;Black;Minifig Hips and Legs
1;3842a;1;Blue;Minifig Helmet Classic with Thin Chin Guard and Visor Dimples
4;973;1;Red;Minifig Torso
4;3818;1;Red;Minifig Arm Right
4;3819;1;Red;Minifig Arm Left
14;3626ap01;1;Yellow;Minifig Head with Standard Grin Pattern (Solid Stud)
14;3820;2;Yellow;Minifig Hand

I hope LDInspector helps solving your question.

If you like to have any other text output format, please let me know. Smile
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Compare 2 files for BOM - by Stefan Frenz - 2022-03-15, 7:27
RE: Compare 2 files for BOM - by Stefan Frenz - 2022-03-15, 10:51
RE: Compare 2 files for BOM - by Stefan Frenz - 2022-03-15, 14:09
RE: Compare 2 files for BOM - by Stefan Frenz - 2022-03-15, 11:03
RE: Compare 2 files for BOM - by Stefan Frenz - 2022-03-15, 14:03
RE: Compare 2 files for BOM - by Stefan Frenz - 2022-03-15, 14:25
RE: Compare 2 files for BOM - by Stefan Frenz - 2022-03-15, 15:36
RE: Compare 2 files for BOM - by Stefan Frenz - 2022-03-15, 16:02
RE: Compare 2 files for BOM - by Stefan Frenz - 2022-03-16, 12:57
RE: Compare 2 files for BOM - by Stefan Frenz - 2022-03-16, 14:24
RE: Compare 2 files for BOM - by Stefan Frenz - 2022-03-16, 15:25

Forum Jump:


Users browsing this thread: 2 Guest(s)