LDCad Subfile conformity script?


RE: LDCad Subfile conformity script?
#4
(2019-10-21, 1:53)Cam\sĀ Bricks Wrote: I would like to have a script that makes the sub models conform in that spaces are removed and replaced with "_" and .ldr is added to the end of the submodel. Then the whole file gets saved as an MPD.
Unfortunately the current scripting engine is aimed at manipulating single submodels not the whole mpd as a whole.

Maybe you can use a program like wingrep to manipulate the "0 FILE foo" and "1 ... foo" lines using regular expressions.

FYI: It isn't actually illegal (confirm the spec) to have spaces and no extension in submodel names. It's a bit messy though.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: LDCad Subfile conformity script? - by Roland Melkert - 2019-10-21, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)