To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 11045
11044  |  11046
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Undo/Redo Information META Tags? Or Options Buttons?
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 19 Feb 2010 06:29:53 GMT
Viewed: 
19213 times
  
I've been thinking hoe nice it would be if there was some kind of system of tags
that enabled the user to store undo and redo information in a model after the
model building application is closed.  Now, there are a great number of LCAD
apps of which I use very few. So maybe there already is a system out there for
my wish.

What I'm really after (I think...) is a good system to store all LDBoxer
simplification options in the same model file, something like:

0 !LDBOXER LEVEL A
0 // The line above tells program and user which level is in use

0 !LDBOXER LEVEL 0 BEGIN
0 !LDBOXER LABEL No simplifiaction
0 1 15  0 0 0  1 0 0  0 1 0  0 0 1  3001.dat
0 1 15  0 -24 0  1 0 0  0 1 0  0 0 1  3001.dat
0 1 15  0 -48 0  1 0 0  0 1 0  0 0 1  3001.dat
0 !LDBOXER LEVEL 0 END
0 !LDBOXER LEVEL A BEGIN
0 !LDBOXER LABEL Harmless simplifiaction
1 15  0 0 0  1 0 0  0 1 0  0 0 1  3001.dat
1 15  0 -24 0  1 0 0  0 1 0  0 0 1  B\3001.dat
1 15  0 -48 0  1 0 0  0 1 0  0 0 1  3001.dat
0 !LDBOXER LEVEL A END
0 !LDBOXER LEVEL D BEGIN
0 !LDBOXER LABEL Crude simplifiaction
0 1 15  0 -48 0  4 0 0  0 9 0  0 0 2  B\3024.dat
0 !LDBOXER LEVEL D END

0

... or a more generic, not LDBoxer specific OPTIONBUTTON system(?) would be
interesting for anybody? With labels and maybe multiple line info. Name it what
you like.

But for now, I'm wondering if there's an Undo/Redo system in any existing LCAD
modelling program, as I'd rather adopt an existing practice than create yet
another.

/Tore



Message has 1 Reply:
  Re: Undo/Redo Information META Tags? Or Options Buttons?  [DAT]
 
(...) Well, you could easily do the above using the C preprocessor and #ifdefs, but that would be outside any LCAD application (and make the original file hard to work with in any modeler). #ifdef LDBOXTER_LEVEL_D /* crude simplification */ 1 15 0 (...) (15 years ago, 19-Feb-10, to lugnet.cad.dev)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR