subfiles in MPD files


Re: subfiles in MPD files
#5
I think what it comes down to is that MLCad's primary function is a model-editor. Sub-models (note: not sub-parts) do not have prefixes on their names, so MLCad simply doesn't support them. It has no way of knowing that the file you imported was a subpart and thus should have the 's\' prefix.

Given the above it's not too surprising that trying to use it like this has unexpected results :-)

My own parser takes this into account: it reads the 'FILE', 'Name:' and '!LDRAW_ORG' lines and when they disagree it attempts to work out the most probable solution. In the case of your file, although the 'FILE' line just gives the filename as 'testparts.dat', because the 'Name:' line reads 's\testparts.dat' the parser concludes that it is in fact a subpart and fixes the 'FILE' line accordingly. Hence if I load the file into my parser it renders both bricks first time :-)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
subfiles in MPD files - by Michael Heidemann - 2012-11-10, 18:40
Re: subfiles in MPD files - by Alex Taylor - 2012-11-10, 19:12
Re: subfiles in MPD files - by Alex Taylor - 2012-11-10, 19:42
Re: subfiles in MPD files - by Alex Taylor - 2012-11-10, 19:40
Re: subfiles in MPD files - by Alex Taylor - 2012-11-10, 19:54
Re: subfiles in MPD files - by Alex Taylor - 2012-11-10, 20:24
Re: subfiles in MPD files - by Roland Melkert - 2012-11-10, 20:35
Re: subfiles in MPD files - by Roland Melkert - 2012-11-10, 21:08
Re: subfiles in MPD files - by Roland Melkert - 2012-11-11, 18:14
Re: subfiles in MPD files - by Alex Taylor - 2012-11-11, 18:31
Re: subfiles in MPD files - by Roland Melkert - 2012-11-11, 19:10
Re: subfiles in MPD files - by Alex Taylor - 2012-11-11, 19:21
Re: subfiles in MPD files - by Roland Melkert - 2012-11-11, 21:21
Re: subfiles in MPD files - by Roland Melkert - 2012-11-10, 20:22
Re: subfiles in MPD files - by Alex Taylor - 2012-11-10, 20:29
Re: subfiles in MPD files - by Alex Taylor - 2012-11-10, 21:02
Re: subfiles in MPD files - by Roland Melkert - 2012-11-10, 20:25
Re: subfiles in MPD files - by Roland Melkert - 2012-11-10, 20:55
Re: subfiles in MPD files - by Alex Taylor - 2012-11-10, 21:04
Re: subfiles in MPD files - by Roland Melkert - 2012-11-10, 21:19
Re: subfiles in MPD files - by Alex Taylor - 2012-11-10, 21:56
Re: subfiles in MPD files - by Roland Melkert - 2012-11-10, 22:16
Re: subfiles in MPD files - by Alex Taylor - 2012-11-10, 23:07
Re: subfiles in MPD files - by Roland Melkert - 2012-11-11, 18:17
Re: subfiles in MPD files - by Alex Taylor - 2012-11-11, 18:49
Re: subfiles in MPD files - by Roland Melkert - 2012-11-11, 19:07
Re: subfiles in MPD files - by Roland Melkert - 2012-11-11, 18:21
Re: subfiles in MPD files - by Alex Taylor - 2012-11-11, 18:34
Re: subfiles in MPD files - by Alex Taylor - 2012-11-11, 21:22

Forum Jump:


Users browsing this thread: 17 Guest(s)