To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 14688
14687  |  14689
Subject: 
Re: Counting Parts in MPD file
Newsgroups: 
lugnet.cad
Date: 
Fri, 10 Aug 2007 16:57:15 GMT
Viewed: 
2487 times
  
In lugnet.cad, Matija Puzar wrote:
   On 2007-08-10, Travis Cobbs tcobbs@REMOVE.halibut.com wrote:
  
Thanks for the suggestions. Both suggestions seem reasonable (for 3.3, probably; definitely not for 3.2). I had actually planned to support multiple output formats in the future, but wasn’t sure what they should be. csv is certainly one of the easiest. A tab-separated text file might also be good.

Yes, maybe even better/safer due to possible (if possible at all) commas in part names.

As far as I know, entries in a csv can be quoted. I just have to figure out how, and quote if I run across a comma in the data.


  
   I’ve considered XML, but I’m not sure about the specifics. If anyone knows about a schema that would be a good match for a parts list, I’m open to suggestions.

Hm, how about the BrickLink’s wanted list format? I guess that one might be very useful.

Thanks. That one could be useful. It’s not an exact match. For example, I’d have to use MINQTY for the quantity. Also, it looks like they don’t use LDraw colors, and it’s hard to tell if their part numbers are guaranteed to be a match for the LDraw ones. So it might take a lot of work to make this work well. (I’d presumably just have a mapping XML file that mapped the LDraw stuff to the BrickLink stuff, and let someone else keep that up to date.)


  
   Side note: it’s csv (comma separated values), not cvs (Concurrent Versions System).

Haha, sorry for that :) I currently work more with cvs and it just slipped out (too many times).

I have a tendency to do that myself. However, when I read it, I usually spot the problem.

--Travis



Message has 1 Reply:
  Re: Counting Parts in MPD file
 
(...) Brickstore can already export wanted list and inventory XML files ready for importing into Bricklink, it does the conversion between Ldraw and Bricklink colour codes when you import the Ldraw file. It will even open your browser to the import (...) (17 years ago, 10-Aug-07, to lugnet.cad, FTX)

Message is in Reply To:
  Re: Counting Parts in MPD file
 
(...) Yes, maybe even better/safer due to possible (if possible at all) commas in part names. (...) Hm, how about the (URL) BrickLink's wanted list format>? I guess that one might be very useful. (...) Haha, sorry for that :) I currently work more (...) (17 years ago, 10-Aug-07, to lugnet.cad, FTX)

13 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR