| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) Sounds like a good feature to have around as well. What is the format difference between inlining and mpd anyways? They both contain multiple ldraw models in one file... (sorry I sound a little clueless...but all I use LDraw/LDAO for is making (...) (25 years ago, 1-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: [ldraw.org] Progress
|
|
(...) I'd recommend going with MPD. LDLite will render a (properly formatted) MPD file, and the MPD format allows downloaders the possibility of splitting the file back into its separate pieces. Inline is a one-way operation. Steve (25 years ago, 2-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) Is there any way to reverse the inlining to the original file (lossless outlining, I guess it would be) using the comment that the inlining function writes? Does the matrix math work in this direction? Cheers, - jsproat (25 years ago, 2-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: [ldraw.org] Progress
|
|
(...) Actually, Steve, it isn't one way if you don't mind doing a little cutting and pasting :) So if you really think MPD is that much better than what you did, where can I get it to see if I like it, I mean there must be some sort of program to (...) (25 years ago, 2-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: [ldraw.org] Progress
|
|
Not only cutting and pasting, you have to know where the last line of an inlined file is. Scott R Dennett wrote in message <199906021848140350....te.net>... (...) (25 years ago, 2-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) Inlining isn't a format, it's an operation. A file-reference (type 1 line) is replaced with the contents of the referenced file, but the color and transform (position, rotation, scaling) from the original command are applied to each line from (...) (25 years ago, 3-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) Outlining can only be done with manual intervention, because there's no final delimiter on the inlined code. So the human has to select the code to outline. I *think* the matrix math can be reversed, but I'm not sure. I don't know if there is (...) (25 years ago, 3-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: [ldraw.org] Progress
|
|
(...) That only works if there is a single inline. And it doesn't actually undo the inline, it just creates a similar subfile. (...) Search the lugnet archive. Jacob's tools are at (URL). Onyx's M-Peedy is at (URL). (...) Generally, yes. You can (...) (25 years ago, 3-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) Whoops, I almost didn't read that. :-, But a cut and paste won't necessarily restore the origin of the sub-model, will it? My main reason for using sub-models is to place the origin in a weird spot, usually for rotation purposes. I agree that (...) (25 years ago, 3-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) I you're running Emacs, you can use my LDraw-mode to do inlining. And you can even choose the number of decimal places to preserve! It defaults to two, though. Inlining in Emacs has the obvious advantage that you see what you get while still (...) (25 years ago, 3-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
Following up myself to resolve a dangling footnote... (...) [1] In the next version of LDAO, the stand-alone inliner will allow you better control over the inlining process. Specifically, there will be options/buttons to: - Select all subfiles - (...) (25 years ago, 3-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) That was my point exactly: the inline operation applies the transform information from the reference statement on to each of the inlined statements. So cut and paste can only move the modified lines into a file with the same name. (...) That's (...) (25 years ago, 3-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) Sure! But what kind of support? Aside from "Open Subfile", I mean. (...) :-D Cheers, - jsproat (25 years ago, 3-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) Well, you can currently edit MPD files -- if you have LDLite hooked up as the viewer, it deals with the MPD issues. Hmmm. I haven't played around with this very much, I should do so. But I was thinking of a multi-window MPD editor, that would (...) (25 years ago, 3-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) This will be great! Would there be any way to add an option to leave out the file information comments lines of subfiles (or maybe just all comments) when inlining? If you use several levels of subparts when creating a part, then inline it, it (...) (25 years ago, 5-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) I agree. It would be nice to have the capability to do a 'clean' inline. -- Terry K -- (25 years ago, 5-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
The matrix math will not always invert, although if the matrix is a pure rotation (with no scaling or shears) the transpose of the matrix is the inverse. A better solution would be for the inliner to apply a start and a stop tag for each inlined (...) (25 years ago, 7-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) I thought about that, but I was concerned about the burden of differentiating between comments and random extensions to LDraw (ie, new meta-commands). Maybe LDAO should provide/maintain a list of known meta-commands? Then the Inliner could (...) (25 years ago, 7-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) Adding a closing tag (and unique ID) is a good idea, and something that should have been done from the start. It would solve the problem of identifying the chunk of code to reverse out, and restoring the original referencing file would be (...) (25 years ago, 7-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) That is an interesting idea. -- Terry K -- (25 years ago, 7-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) Hmmm. I wonder where the emphasis goes in that sentence.... Steve (25 years ago, 8-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) Oh, right. Sorry. THAT IS AN INTERESTING IDEA. (1) :-) -- Terry K -- 1. Do I tend to over-emphasise things? (25 years ago, 8-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
Steve Bliss wrote in message <375bc53d.299725817@...et.com>... (...) In which case MPD would be better anyway. (...) (25 years ago, 14-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|
|
| | Re: Lossless outlining (Was: [ldraw.org] Progress)
|
|
(...) Agreed completely. For serious file-sharing, MPD is way better than inlining. Steve (25 years ago, 14-Jun-99, to lugnet.cad.dev, lugnet.cad.dev.org.ldraw)
|