Welcome! Log In Create A New Profile

Advanced
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives
August 18, 2013 12:37AM
I think an extension to the current directory based approach would work and be easiest to implement.

- All primitives must exist in ldraw/p
- Hi-res versions may exist in ldraw/p/48; tools running in hi-res mode should substitute the same named file from this folder, if it exists - effectively inserting ldraw/p/48 in the search path ahread of ldraw/p.
- Lo-res versions may exist in (the new folder) ldraw/p/8; tools running in lo-res mode should substitute the same named file from this folder, if it exists - effectively inserting ldraw/p/8 in the search path ahread of ldraw/p.
- The same could be done for ultra-hi-res or ultra-lo-res if there is a need.

No meta statement should be necessary to implement this. Adding a meta statement to the ldraw/p primitive would add unnecessary complexity to the library maintenance. Why should we have to update p/cyl5-16.dat when p/48/cyl5-16.dat is added to the library? Tools that need to know what hi-res or lo-res primitives exist can check the contents of the named folder, which should be less processing than reading the contents and parsing each file in ldraw/p.

All existing ldraw/p/stu2* file would need to be moved to ldraw/p/8/stud*, although we would have to leave leave the stu2* files as "~Moved to" files in ldraw/p.

Chris (LDraw Parts Library Admin)
SubjectAuthorViewsPosted
Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik343August 13, 2013 05:05PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Chris Dee155August 13, 2013 10:42PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Magnus Forsberg140August 14, 2013 08:54AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Chris Dee144August 14, 2013 09:25AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Travis Cobbs127August 14, 2013 09:50AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Reuben Pearse180August 28, 2013 01:40PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Travis Cobbs185August 28, 2013 02:56PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Steffen151August 15, 2013 01:55AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik128August 16, 2013 02:20PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Michael Heidemann118August 17, 2013 04:49AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Steffen119August 17, 2013 06:27AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Michael Heidemann119August 17, 2013 08:25AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik121August 17, 2013 09:43AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik117August 17, 2013 10:06AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Michael Heidemann106August 17, 2013 11:24AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik111August 17, 2013 04:34PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Chris Dee119August 18, 2013 12:37AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Michael Heidemann110August 18, 2013 01:13AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik123August 18, 2013 08:12AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Chris Dee125August 18, 2013 08:40AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Santeri Piippo112August 18, 2013 08:52AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Steffen129August 18, 2013 02:02PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik115August 18, 2013 10:39AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Jude Parrill113August 19, 2013 12:12AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik116August 19, 2013 12:18PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik121August 18, 2013 02:21PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Steffen107August 18, 2013 03:24PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik114August 18, 2013 04:51PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Orion Pobursky99August 20, 2013 07:10AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Allen Smith99August 20, 2013 09:26AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik108August 20, 2013 11:38AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Roland Melkert105August 20, 2013 02:44PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Chris Dee121August 20, 2013 11:07PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Santeri Piippo116August 20, 2013 11:52PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Chris Dee116August 21, 2013 04:29AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik122August 21, 2013 07:24AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Santeri Piippo90August 21, 2013 07:39AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik112August 21, 2013 08:33AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Santeri Piippo111August 21, 2013 10:12AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik112August 21, 2013 11:49AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Allen Smith120August 21, 2013 01:39PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Roland Melkert93August 21, 2013 02:03PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Chris Dee117August 21, 2013 10:24PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Allen Smith105August 22, 2013 10:29AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik124August 22, 2013 12:47PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Chris Dee121August 22, 2013 11:36PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Roland Melkert112August 23, 2013 08:34AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Santeri Piippo119August 24, 2013 02:22AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Travis Cobbs105August 22, 2013 01:40PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik103August 21, 2013 07:17AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Tim Gould126August 18, 2013 06:04AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Ben Supnik123August 18, 2013 08:09AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Steffen110August 18, 2013 02:01PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Chris Dee109August 17, 2013 07:01AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Santeri Piippo106August 18, 2013 12:28AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Chris Dee117August 18, 2013 12:44AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Santeri Piippo107August 18, 2013 01:00AM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Steffen102August 18, 2013 02:01PM
Re: Parsable Meta-Data for High-detail vs. Low-detail parts and primitives Steffen162September 01, 2013 01:37PM



Sorry, only registered users may post in this forum.

Click here to login