To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.instOpen lugnet.inst in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Instructions / 117
116  |  118
Subject: 
Quick clear, Buffer Exchange and Ghost parts tutorial
Newsgroups: 
lugnet.cad.mlcad, lugnet.inst
Date: 
Mon, 11 Nov 2002 00:30:43 GMT
Viewed: 
878 times
  
Hi,

The first you should know is that models with instructions steps that use
CLEAR, BUFFER EXCHANGE and GHOST commands generally look really weird when
viewed in "Place" mode.

Download "waggon1.mpd" from Michael's site at

http://www.lm-software.com/mlcad/

And you'll see what I mean (studying this file is key to understanding this
commands). This is because these commands offer very sophisticated services
focused on creating superior instructions steps, even at the cost on
creating "bad" MLCad models.

The effect of these commands can only be seen in "View" mode (or in images
or steps exported as files). None of them act as steps (unlike STEP,
ROTATION STEP and END ROTATION STEP)

CLEAR statements erase from the screen any elements that preceed them.

The basic functioning is:

Step 1 - Add some parts

Step 2 - Add more parts

Step 3 - CLEAR the screen and add more parts

What is this good for? When building instructions, it allows us to show how
to build separate modules and then how to put them together at the end. Yes,
I know - you can achieve this automatically using MPD files. This is just
another way. Also, CLEAR statements usueally mean that parts have to be
copied again in latter steps - not very efficient.

But if you look at the bright side, CLEAR allows us to create animations
directly in MLCad - place each frame in a separate STEP with a CLEAR
statement at the beginning. Using MLCads' robust export options and maybe
even the post-processor screen and you will be doing movies without leaving
MLCad.

BUFFER EXCHANGE statements are sophisticated versions of the CLEAR
statement. Instead of erasing the contents, it records or restores up to 8
different buffers. This avoids the repeated copying of parts when using
CLEAR statements - we recall the appropriate buffer instead.

GHOST parts are only relevant in MPD models with CLEAR or BUFFER EXCHANGE
statements. They are a bit tricky to understand: the key is to study
Michael's file cited above (and not MLCad's English help file, which
incorrect in this matter).

MPD models can include steps both for the main model and for each of the
submodels. If the submodels are used as parts in the main model, they will
include all parts the parts in the submodel's file. Like duh!

Well, not really - what happens if we use "extra" parts with CLEAR and/or
BUFFER EXCHANGE statements in the submodels steps? Since CLEAR and BUFFER
EXCHANGE only work within the submodel's file, the "extra" parts they wipe
out come right back in the main model.

Enter GHOST - any "GHOSTED" part included in a MPD submodel will not appear
in the instructions steps for the main model.

Needless to say, these (little used) commands are A-M-A-Z-I-N-G



Message has 3 Replies:
  Re: Quick clear, Buffer Exchange and Ghost parts tutorial
 
(...) Hi Miguel, This is not quite true. Ghosting in submodels works the same whether you are using MPD, or the old fashioned mechanism of LDraw files using other LDraw files as parts. I just studied this behavior in MLCAD and added GHOST support to (...) (22 years ago, 11-Nov-02, to lugnet.cad.mlcad, lugnet.inst)
  Re: Quick clear, Buffer Exchange and Ghost parts tutorial
 
(...) this (...) services Ah, I was looking for something like that too. Thanks. I will study this further and try to understand. Jaco (22 years ago, 11-Nov-02, to lugnet.cad.mlcad, lugnet.inst)
  Re: Quick clear, Buffer Exchange and Ghost parts tutorial
 
Wow... I just studied the file, and I'm pretty sure I get it! Thanks Miguel! They do seem like very powerful commands, if you want to do instructions straight from MLCAD, and hopefully with the LPub support it will make rendering instructions with (...) (22 years ago, 14-Nov-02, to lugnet.cad.mlcad, lugnet.inst)

Message is in Reply To:
  Buffer Exchange and Ghost parts
 
(...) these (...) OK, Rotation steps are becomming clear now. But Buffer Exchange... it can be such a nice feature. It must be possible to "...display a certain part above the the model first, and in the next step inserted into the model..." like (...) (22 years ago, 7-Nov-02, to lugnet.cad.mlcad, lugnet.inst)

12 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