Subject:
|
request for comments: ATSTEP meta command
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Fri, 5 May 2000 07:37:31 GMT
|
Viewed:
|
533 times
|
| |
| |
I've been frustrated by trying to use STEP to create instruction
sheets. Typical problems: I need step 3 to have the model
upside down; I need step 5 to be a sub-assembly that gets added
in step 6 to the parts in step 4; etc. I've had limited success
using MPD files to have the first few steps be sub-parts. So....
I'm thinking of a new meta command, with the syntax
0 ATSTEP n 16 0 0 0 1 0 0 0 1 0 0 0 1 foo.dat
which would act exactly like a Type 1 include line, but
would stop at the nth occurance of a STEP. Saving of
bitmaps would be suppressed when inside an ATSTEP.
Assuming foo.dat was a model file with STEP commands,
you would make another .dat, foo_instructions.dat, that
would look like this:
0 Instructions for model foo
0 The first step
0 ATSTEP 1 16 0 0 0 1 0 0 0 1 0 0 0 1 foo.dat
0 write out the bitmap
0 STEP
0 now clear the screen
0 CLEAR
0 The second step, model is upside down
0 ATSTEP 2 16 0 0 0 1 0 0 0 -1 0 0 0 -1 foo.dat
0 STEP
0 CLEAR
0 The third step, now back rightside up
0 ATSTEP 3 16 0 0 0 1 0 0 0 1 0 0 0 1 foo.dat
0 STEP
0 CLEAR
0 Now a sub-assembly
0 ATSTEP 1 16 0 0 0 1 0 0 0 1 0 0 0 1 foo_wing.dat
0 STEP
0 CLEAR
0 ATSTEP 2 16 0 0 0 1 0 0 0 1 0 0 0 1 foo_wing.dat
0 STEP
0 CLEAR
0 Back to the main model , with the wings
0 ATSTEP 4 16 0 0 0 1 0 0 0 1 0 0 0 1 foo.dat
0 STEP
0 finished
So, how does ATSTEP sound to you?
One could even do an instruction sheet in one image,
by translating the steps around like this:
0 ATSTEP 1 16 0 0 0 1 0 0 0 1 0 0 0 1 foo.dat
0 ATSTEP 2 16 0 0 0 100 0 0 0 -100 0 0 0 -100 foo.dat
0 ATSTEP 3 16 0 0 0 200 0 0 0 -200 0 0 0 -200 foo.dat
Now all we need is a meta command to draw a text string or
number at an x,y pixel location.
-gyug
|
|
Message has 1 Reply: | | Re: request for comments: ATSTEP meta command
|
| In lugnet.cad, Paul Gyugyi writes: <SNIP> <I'm thinking of a new meta command, with the syntax (...) <SNIP> (...) BIG SMILE .... MLCad V1.9 will offer some new meta commands which do exactly what you wan't not only the sub-file command can be used, (...) (25 years ago, 5-May-00, to lugnet.cad)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|