To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.mlcadOpen lugnet.cad.mlcad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / MLCad / 2052
2051  |  2053
Subject: 
Re: Things that are hard to do with LDraw and building instructions
Newsgroups: 
lugnet.cad, lugnet.cad.mlcad
Date: 
Fri, 11 Mar 2005 20:40:17 GMT
Viewed: 
1125 times
  
In lugnet.cad, Michael Lachmann wrote:
In lugnet.cad, Kevin L. Clague wrote:
Whenver I build a LEGO model, I always pay attention to things that
they can do that we cannot, or we cannot do easily.  One of the
things that is very hard to do is, change the shape, orientation or
location of a part added in previous steps.

For that I've introduced the BUFFER EXCHANGE command, see developer
specification on my web-page
(http://mlcad.lm-software.com/Specification_V2.0.pdf).
With that you can do exactly that. You might need GHOST commands as well.
Also have a look at the
sample models "Waggon1", "Waggon 2" ... I've provided which makes use of
this features.

Yeah, in his first post Kevin said you could use Buffer Exchange
and Ghost to acheive the effect, but it's not easy.  This might
be because those commands work on a series of images, but he's more
comfortable thinking in terms of manipulating the model.  I know
I am.

With images, you restore an old image state and rebuild all the
layers with some changes to get a new image.  That involves a lot
of repetition.  With the model you just change the bit you want
and let the speedy graphics board/engine redraw the whole thing.

0 SUBSTITUTE "original group, part, or line-number" "new group or part"

This could redraw the entire model using the final version of the
hoses.

0 MOVE x y z  a b c d e f g h i "some group, part, or line-number"

This would redraw the entire model with all the hoses somewhere else.

I've thought about this off and on ever since I tinkered with
accepting the ldraw file via stdin on ldglite.  I guess I always
wanted to turn it something you could run through a UNIX pipe.

cat foo.ldr macro.ldr | ldglite...

If all the LEDIT commands were implemented as meta-commands you
could do some really cool stuff with a pipe.

Anyhow, it's something to think about.

Enjoy,

Don



Message has 1 Reply:
  Re: Things that are hard to do with LDraw and building instructions
 
(...) Since LPub is not a renderer, it in fact does deal with models. Buffer exchange in LPub saves/restores the model up to the buffer exchange, not the images from steps. (...) This gets tricky...... I don't know how you can create a new group (...) (20 years ago, 13-Mar-05, to lugnet.cad, lugnet.cad.mlcad)

Message is in Reply To:
  Re: Things that are hard to do with LDraw and building instructions
 
"Kevin L. Clague" <kevin_clague@yahoo.com> schrieb im Newsbeitrag news:ID5A6J.190M@lugnet.com... (...) they can (...) very hard (...) previous (...) For that I've introduced the BUFFER EXCHANGE command, see developer specification on my web-page (...) (20 years ago, 11-Mar-05, to lugnet.cad, lugnet.cad.mlcad)

9 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