How to save comprehensive parts list for multiple models?


Re: request for a small converter tool from mpd to csv
#6
But what about the extra parts that come in the box but aren't part of the model?

Would the MPD not be an actual model of the set but just a collection of the correct type/color/count of the parts that come in the box, not organized into a proper model?

How do you want parts of the same type but different color represented?

Would
Code:
"part number", color_code, number_of_parts
"same part number", different_color_code, number_of_parts_of_the_other_color
"different part number", color_code, number_of_parts
be what you're looking for?

For example, for this MPD:
Code:
0 FILE some-model
1 1 10 -32 10 1 0 0 0 1 0 -0 0 1 3024.dat
1 1 0 0 0 1 0 0 0 1 0 -0 0 1 some-submodel
0 NOFILE
0 FILE some-submodel
1 4 0 0 0 1 0 0 0 1 0 -0 0 1 3001.dat
1 2 -10 -24 0 1 0 0 0 1 0 -0 0 1 3002.dat
0 NOFILE

Would you be looking for something like this?
Code:
"3001", 4, 5
"3001", 1, 2
"3024", 2, 1

Would you prefer the output in JSON because it could represent a hierarchy of the submodels within the parts as well?

If I remember correctly, LDView's code for generating the HTML parts list didn't rely too heavily on previous processing of the model, so I think most of the work is pretty much done already. (At least for CSV or any other flat format.)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
mpd - by Steffen - 2011-12-07, 22:03
tutorial - by Derek - 2011-12-07, 23:25
Re: request for a small converter tool from mpd to csv - by Jean-Philippe Ouellet - 2011-12-08, 1:44
Brickforge - by Jean-Philippe Ouellet - 2011-12-08, 2:01
Re: Brickforge - by Steffen - 2011-12-08, 2:48
Re: Brickforge - by Jean-Philippe Ouellet - 2011-12-08, 2:55
Re: Brickforge - by Orion Pobursky - 2011-12-08, 3:11
Re: Brickforge - by Orion Pobursky - 2011-12-08, 3:41
Re: Brickforge - by Derek - 2011-12-08, 22:06
Re: BrickStore - by Jean-Philippe Ouellet - 2011-12-08, 22:31
Re: BrickStore - by Derek - 2011-12-10, 18:06
Re: BrickStore - by Jean-Philippe Ouellet - 2011-12-10, 19:37
Re: BrickStore - by Derek - 2011-12-11, 11:40
Re: BrickStore - by Jean-Philippe Ouellet - 2011-12-11, 17:44
Re: BrickStore - by Derek - 2011-12-14, 14:35
Re: BrickStore - by Jean-Philippe Ouellet - 2011-12-15, 2:16
Re: BrickStore - by Derek - 2011-12-16, 11:19
Idea! - by Derek - 2011-12-16, 11:31
Re: Idea! - by Jean-Philippe Ouellet - 2011-12-16, 16:03
Re: Idea! - by Derek - 2011-12-17, 13:44
Re: Idea! - by Jean-Philippe Ouellet - 2011-12-17, 15:20
parts not part of the model - by Steffen - 2011-12-08, 2:04

Forum Jump:


Users browsing this thread: 2 Guest(s)