home *** CD-ROM | disk | FTP | other *** search
- ;---------------------------------------------
- ;File name: RotateMirror.SCR
- ;Purpose: Demonstrate Rotate and Mirror
- ;
- ;Last Modified: 3/18/98
- ;---------------------------------------------
- CMDECHO
- 0
- PICKBOX
- 3
- APERTURE
- 10
- ; Setting all the other necessary system variables:
- Grid
- Aspect
- 10
- 10
- gridmode
- 0
- fillmode
- 1
- snapmode
- 0
- linetype
- s
- bylayer
-
- layer
- s
- 0
-
- color
- bylayer
- color
- red
- grid
- on
- snap
- on
- snap
- 2
- limits
- 0,0
- 200,200
- zoom
- w
- 0,0
- 200,200
- vpoint
- 0,0,1
- elev
- 0
- 0
- blipmode
- off
- ;--------------------------------------------------------------
- ;begin script
- ;--------------------------------------------------------------
- Erase
- all
-
- line
- 0.0000,200.0000,0.0000
- 200.0000,200.0000,0.0000
- 200.0000,2.0000,0.0000
- 0.0000,2.0000,0.0000
- 0.0000,200.0000,0.0000
-
- offset
- 34
- 0.0000,80.0000,0.0000
- 24.0000,82.0000,0.0000
- 34.0000,76.0000,0.0000
- 66.0000,78.0000,0.0000
- 68.0000,74.0000,0.0000
- 98.0000,78.0000,0.0000
- 102.0000,76.0000,0.0000
- 134.0000,78.0000,0.0000
- 136.0000,74.0000,0.0000
- 174.0000,78.0000,0.0000
- 28.0000,200.0000,0.0000
- 28.0000,184.0000,0.0000
- 30.0000,166.0000,0.0000
- 30.0000,110.0000,0.0000
- 28.0000,132.0000,0.0000
- 28.0000,104.0000,0.0000
- 28.0000,98.0000,0.0000
- 28.0000,70.0000,0.0000
- 30.0000,64.0000,0.0000
- 30.0000,26.0000,0.0000
-
- line
- 6.0000,194.0000
- 6.0000,170.0000
- 28.0000,170.0000
-
- z
- e
- arc
- 40.0000,194.0000
- 58.0000,190.0000
- 62.0000,172.0000
-
- 42.0000,178.0000
- 44.0000,174.0000
- 52.0000,182.0000
- color
- yellow
- circle
- 74.0000,192.0000
- 78.0000,190.0000
-
- 88.0000,176.0000
- 96.0000,172.0000
- pline
- 108.0000,196.0000
- 132.0000,196.0000
- 108.0000,186.0000
- a
- 116.0000,182.0000
- d
- 118.0000,170.0000
- 124.0000,186.0000
- l
- 130.0000,174.0000
-
- pline
- 146.0000,182.0000
- w
-
- 5
- 146.0000,168.0000
-
- ellipse
- 184.0000,194.0000
- 184.0000,186.0000
- 192.0000,190.0000
- ellipse
- 178.0000,176.0000
- 184.0000,176.0000
- 180.0000,182.0000
- rectang
- 4.0000,124.0000
- 30.0000,104.0000
-
- w
- 0
- 10.0000,118.0000
- 24.0000,110.0000
- polygon
- 6
- 50.0000,114.0000
- i
- 60.0000,108.0000
- donut
- 80.0000,114.0000
- 88.0000,114.0000
- 74.0000,116.0000
- 96.0000,114.0000
- 84.0000,114.0000
-
- solid
- 108.0000,124.0000
- 130.0000,124.0000
- 128.0000,104.0000
- 106.0000,104.0000
- 132.0000,116.0000
-
-
- trace
-
- 144.0000,124.0000
- 170.0000,126.0000
- 138.0000,106.0000
- 164.0000,102.0000
- 166.0000,102.0000
-
- text
- 6.0000,44.0000
- 6.0000,52.0000
- 18.0000,44.0000
- hello
- text
- 38.0000,42.0000
-
-
- again
- circle
- 84.0000,46.0000
- 94.0000,42.0000
- hatch
- u
-
-
-
- 94.0000,42.0000
-
- mirror
- 6.0000,180.000
- 18.0000,170.0000
-
- 14.0000,166.0000
- 14.0000,144.0000
-
- u
- redraw
- mirror
- 10.0000,170.0000
- 6.0000,182.0000
-
- 2.0000,166.0000
- 30.0000,166.000
-
- mirror
- 52.0000,180.0000
- 56.0000,192.0000
-
- 40.0000,166.0000
- 62.0000,166.0000
-
- mirror
- 86.0000,184.0000
- 78.0000,190.0000
-
- 70.0000,166.0000
- 100.0000,166.0000
-
- mirror
- 116.0000,180.0000
-
- 106.0000,164.0000
- 134.0000,164.0000
-
- mirror
- 144.0000,168.0000
-
- 154.0000,184.0000
- 154.0000,164.0000
- no
- mirror
- 148.0000,168.0000
- 160.0000,168.0000
-
- 142.0000,186.0000
- 162.0000,186.0000
- no
- mirror
- 162.0000,192.0000
- 146.0000,192.0000
- 146.0000,178.0000
- 162.0000,178.0000
-
- 138.0000,166.0000
- 168.0000,166.0000
- no
- mirror
- 182.0000,182.0000
- 182.0000,186.0000
-
- 176.0000,166.0000
- 194.0000,166.0000
- no
- mirror
- 158.0000,118.0000
- 154.0000,104.0000
- 166.0000,102.0000
-
- 138.0000,98.0000
- 166.0000,98.0000
- no
- mirror
- 152.0000,104.0000
- 152.0000,114.0000
- ;154.0000,124.0000
-
- 172.0000,128.0000
- 172.0000,98.0000
- y
- r
- mirror
- 116.0000,104.0000
- 118.0000,114.0000
-
- 106.0000,98.0000
- 132.0000,98.0000
- no
- mirror
- 80.0000,104.0000
-
- 72.0000,98.0000
- 100.0000,98.0000
- no
- mirror
- 60.0000,112.0000
- 20.0000,110.0000
- 20.0000,104.0000
-
- 6.0000,96.0000
- 58.0000,96.0000
- no
- mirror
- 82.0000,42.0000
- 92.0000,38.0000
- 96.0000,36.0000
- 86.0000,46.0000
- 50.0000,42.0000
-
- 46.0000,28.0000
- 90.0000,28.0000
- no
- ;set the mirrtext variable
- mirrtext
- 0
- mirror
- 22.0000,46.0000
-
- 4.0000,28.0000
- 26.0000,28.0000
-
- text
- 4.0000,32.0000
- 3
- 0
- mirrtext = 0
- move
- 16.0000,36.0000
- 10.0000,34.0000
-
- 12.0000,34.0000
- 10.0000,34.0000
- text
- 34.0000,60.0000
- 3
- 0
- mirrtext = 1
- ;rotating begins
- rotate
- 6.0000,186.0000
- 12.0000,170.0000
-
- 14.0000,182.0000
- 28.0000,168.0000
- rotate
- 78.0000,190.0000
- 82.0000,182.0000
-
- 78.0000,186.0000
- 76.0000,210.0000
- rotate
- 124.0000,180.0000
-
- 118.0000,184.0000
- 100.0000,184.0000
- rotate
- 146.0000,194.0000
- 160.0000,194.0000
- 144.0000,176.0000
- 166.0000,196.0000
- 152.0000,178.0000
-
- 156.0000,186.0000
- 170.0000,176.0000
- rotate
- 188.0000,126.0000
- 186.0000,118.0000
- 180.0000,102.0000
-
- 184.0000,116.0000
- 190.0000,104.0000
- rotate
- 126.0000,114.0000
- 122.0000,118.0000
-
- 132.0000,120.0000
- 146.0000,124.0000
- rotate
- 94.0000,114.0000
-
- 96.0000,104.0000
- 100.0000,102.0000
- rotate
- 60.0000,108.0000
-
- 50.0000,114.0000
- 66.0000,126.0000
- rotate
- 16.0000,118.0000
- 16.0000,162.0000
-
- 18.0000,114.0000
- 16.0000,138.0000
- rotate
- 94.0000,58.0000
- 74.0000,44.0000
-
- 86.0000,48.0000
- 90.0000,14.0000
- rotate
- 54.0000,44.0000
-
- 52.0000,44.0000
- 60.0000,22.0000
- rotate
- 24.0000,46.0000
- 20.0000,46.0000
-
- 18.0000,48.0000
- 28.0000,38.0000
- redraw
- ;----------------------------------------------------------------------
- ;Now for the grand finale
- color green
- text
- 178,10,0
- 5
- 0
- Done!
- ;----------------------------------------------------------------------
- ;--------------------------------------------------------------
- setvar
- cmdecho
- 0
- ;--------------------------------------------------------------
-