home *** CD-ROM | disk | FTP | other *** search
- ;---------------------------------------------
- ;File name:TabSurf.SCR
- ;Purpose: Demonstrate Tabsurf
- ;
- ;Last Modified: 3/18/98
- ;---------------------------------------------
- ;this script runs best when IntelliCAD is maximized
- CMDECHO
- 0
- PICKBOX
- 3
- APERTURE
- 10
- ; settings
- erase
- all
-
- ; Turn blips off
- blipmode
- off
- ; Set the current layer to zero.
- layer
- s
- 0
-
- ;---------------------------------------------
- color
- bylayer
- ; Setting all the other necessary system variables:
- vpoint
- 0,0,1
- ; Zoom to a window at least 100 x 100 (if it were square).
- zoom
- c
- 100,100
- 220
- elev
- 0
- 0
- gridmode
- 0
- fillmode
- 1
- snapmode
- 0
- linetype
- s
- bylayer
-
- ; *********************
- ; Draw a grid for reference
- ;*********************
- layer
- m
- splinegrid
- c
- white
-
-
- line
- 0,0
- 0,250
- 250,250
- 250,0
- 0,0
-
- line
- 0,50
- 250,50
-
- line
- 0,100
- 250,100
-
- line
- 0,150
- 250,150
-
- line
- 50,0
- 50,250
-
- line
- 100,0
- 100,250
-
- line
- 150,0
- 150,250
-
- line
- 0,200
- 250,200
-
- line
- 0,200
- 250,200
-
- line
- 200,250
- 200,0
-
- layer
- s
- 0
-
- ; this is where I zoom in grid
- zoom
- w
- -14,250
- 277,-2.84
- layer
- m
- Revsurf
- c
- blue
-
-
- surftab1
- 6
- ; ******************************
- ; Tabsurf using lines with a line
- text
- 1.5805,201.4442
- 2.5
-
- 1) Line & Line
- line
- 15.1411,241.6887
- 8.5795,229.8778
-
-
- 16.8909,221.1290
- 46.1993,225.9408
-
- tabsurf
- 11.6416,236.0019
- 36.1382,223.7536
- ; ******************************
- ; Tabsurf using arcs with a line
- text
- 51.0111,201.0068
-
-
- 2) Arc & Line
- arc
- 53.6358,225.9408
- 60.1974,230.3152
- 66.3215,226.3783
- line
- 85.5689,229.8778
- 87.3186,215.4423
-
- tabsurf
- 59.3225,230.3152
- 86.0063,229.0029
- line
- 10.7667,229.4403
- 16.8909,240.3763
-
- tabsurf
- 15.1411,236.4394
- 17.7657,222.0039
- arc
- 52.3235,228.5655
- 59.3225,233.8147
- 67.1964,228.5655
- tabsurf
- 61.5097,233.8147
- 87.7561,216.3172
- ; ******************************
- ; Tabsurf using circles with a line
- text
- 102.6290,201.4442
-
-
- 3) Circle & Line
- circle
- 108.7531,231.6275
- 112.6901,230.3152
-
- 107.4408,222.4413
- 111.3778,222.8788
- line
- 138.4990,242.5635
- 138.0616,222.4413
-
- tabsurf
- 113.1275,230.7527
- 138.0616,223.7536
-
- 110.5029,219.3792
- 138.9365,240.8138
- ; ******************************
- ; Tabsurf using ellipse with a line
- text
- 152.9345,201.8817
-
-
- 4) Ellipse
- ellipse
- 169.1198,232.9399
- 169.1198,219.8167
- 168.6824,228.5655
-
- 176.1188,232.5024
- 176.1188,219.8167
- 175.2439,223.7536
- line
- 164.3080,237.7517
- 180.9307,237.7517
-
- ; ******************************
- ; Tabsurf using 2Dpline with a line
- text
- 201.4903,201.4442
-
-
- 5) 2D pline & Line
- pline
- 204.9898,218.9418
- 209.8017,225.5034
- a
- 206.3021,233.3773
- 207.1770,229.0029
- l
- 215.4884,239.0640
-
- copy
- 212.8637,235.1271
-
- 209.3642,230.7527
- 232.1111,216.7546
- line
- 209.0000,244.0000
- 230.0000,244.0000
-
- tabsurf
- 214.0000,237.0000
- 209.0000,244.0000
-
- 233.0000,212.0000
- 231.0000,244.0000
- ; ******************************
- ; Tabsurf using 3D plines with a line
- text
- 2.0000,152.0000
-
-
- 6) 3D pline
- 3dpoly
- 2.0000,184.0000
- 5,188,5
- 11,187,10
- 13.0000,194.0000
-
- copy
- 8.0000,187.0000
-
- 9.0000,187.0000
- 42.0000,157.0000
- line
- 23.0000,190.0000
- 40.0000,175.0000
-
- tabsurf
- 9.0000,187.0000
- 23.0000,189.0000
-
- 46.0000,162.0000
- 41.0000,175.0000
- ; *******************************
- ; Tabsurf using lines with a line
- text
- 52.0000,152.0000
-
-
- 7) Splined pline
- pline
- 52.0000,173.0000
- 52.0000,180.0000
- 61.0000,175.0000
- 61.0000,183.0000
- 68.0000,179.0000
- 68.0000,188.0000
-
- pedit
- 69.0000,184.0000
- s
-
- copy
- 63.0000,180.0000
-
- 63.0000,180.0000
- 89.0000,162.0000
- line
- 78.0000,187.0000
- 92.0000,175.0000
-
- tabsurf
- 61.0000,180.0000
- 78.0000,186.0000
-
- 93.0000,165.0000
- 78.0000,187.0000
- u
- tabsurf
- 86.0000,161.0000
- 92.0000,175.0000
- layer
- make
- pline
- c
- green
-
-
- ; ******************************
- ; Tabsurf using lines with a pline
- text
- 102.0000,152.0000
-
-
- 8) Lines & Pline
- line
- 123.0000,193.0000
- 120.0000,181.0000
-
- line
- 127.0000,192.0000
- 123.0000,180.0000
-
- pline
- 108.0000,160.0000
- 114.0000,168.0000
- 117.0000,161.0000
- 108.0000,167.0000
- 122.0000,170.0000
- 122.0000,162.0000
- 117.0000,171.0000
- 130.0000,167.0000
- 135.0000,162.0000
-
- tabsurf
- 122.0000,189.0000
- 134.0000,163.0000
-
- 124.0000,185.0000
- 108.0000,159.0000
- ; ******************************
- ; Surftab1
- text
- 151.0000,156.0000
-
-
- Surftab1 = 12, ST2=6
- text
-
- 9) Arc & Pline
- arc
- 163.0000,179.0000
- 172.0000,177.0000
- 173.0000,171.0000
- arc
- 171.0000,183.0000
- 170.0000,175.0000
- 176.0000,174.0000
- pline
- 158.0000,184.0000
- 154.0000,194.0000
- 161.0000,197.0000
- 168.0000,191.0000
-
- surftab1
- 12
- surftab2
- 6
- tabsurf
- 164.0000,179.0000
- 167.0000,192.0000
-
- 170.0000,182.0000
- 158.0000,184.0000
- ; ******************************
- ; 2Dpline & pline
- text
- 202.0000,151.0000
-
-
- 10) 2DPLINE & PLINE
- pline
- 206.0000,175.0000
- a
- 206.0000,169.0000
- 209.0000,163.0000
- 212.0000,159.0000
-
- pline
- 203.0000,184.0000
- 209.0000,190.0000
- 202.0000,192.0000
- 210.0000,186.0000
- a
- 212.0000,190.0000
- 215.0000,194.0000
- 221.0000,192.0000
-
- copy
- 206.0000,167.0000
-
- 209.0000,167.0000
- 240.0000,188.0000
- tabsurf
- 206.0000,174.0000
- 202.0000,184.0000
-
- 237.0000,195.0000
- 220.0000,191.0000
- layer
- m
- elevation
- c
- cyan
-
-
- ; ******************************
- ; Elevation = 10
- text
- 3.0000,102.0000
-
-
- 11) Elevation = 10
- elevation 10
- line
- 8.0000,146.0000
- 4.0000,137.0000
-
- line
- 4.0000,108.0000
- 37.0000,108.0000
-
- arc
- 8.0000,132.0000
- 3.0000,129.0000
- 8.0000,123.0000
- circle
- 6.0000,114.0000
- 10.0000,115.0000
- tabsurf
- 6.0000,145.0000
- 6.0000,107.0000
-
- 6.0000,130.0000
- 6.0000,107.0000
-
- 6.0000,118.0000
- 5.0000,107.0000
- ; ******************************
- ; Elevation = 10
- text
- 52.0000,101.0000
-
-
- 12) Elevation = 10
- ellipse
- 90.0000,145.0000
- 91.0000,134.0000
- 93.0000,139.0000
- pline
- 86.0000,133.0000
- 95.0000,129.0000
- 93.0000,124.0000
- 86.0000,127.0000
- c
- polygon
- 5
- 90.0000,114.0000
- i
- 90.0000,120.0000
- line
- 72.0000,107.0000
- 55.0000,111.0000
-
- tabsurf
- 88.0000,110.0000
- 72.0000,107.0000
-
- 92.0000,124.0000
- 72.0000,107.0000
- ; ******************************
- ; Elevation = 10
- text
- 102.0000,102.0000
-
-
- 13) Elevation = 10
- 3dpoly
- 125.0000,142.0000
- 137.0000,143.0000
- 131,136,5
- 139.0000,138.0000
- 137,128,0
-
- line
- 141.0000,123.0000
- 126.0000,110.0000
-
- tabsurf
- 135.0000,136.0000
- 140.0000,124.0000
- elevation
- 0
- layer
- m
- 3D
- c
- magenta
-
-
- ; ******************************
- ; 3D Lines
- text
- 152.0000,102.0000
-
-
- 14) 3D Lines
- line
- 156,137,5
- 164,145,10
-
- line
- 155.0000,125.0000
- 171.0000,112.0000
-
- tabsurf
- 159.0000,140.0000
- 156.0000,125.0000
- ; ******************************
- ; 3D Circles
- text
- 202.0532,101.5367
- 2.5
- 0
- 15) 3D Circle
- circle
- 223,130,5
- 224.0000,133.0000
- circle
- 223,123,10
- 224.0000,120.0000
- pline
- 239.0000,136.0000
- 243.0000,132.0000
- 241.0000,128.0000
- 244.0000,125.0000
-
- tabsurf
- 224.0000,133.0000
- 244.0000,126.0000
- tabsurf
- 225.0000,125.0000
- 239.0000,136.0000
- ; ******************************
- ; 3D Arcs
- text
- 2.0000,52.0000
-
-
- 16) 3D arc
- arc
- 16,75,5
- 17.0000,80.0000
- 24.0000,80.0000
-
- 18,71,10
- 21.0000,75.0000
- 26.0000,75.0000
- line
- 33.0000,89.0000
- 39.0000,76.0000
-
- tabsurf
- 20.0000,81.0000
- 38.0000,76.0000
- tabsurf
- 24.0000,75.0000
- 33.0000,89.0000
- ; ******************************
- ; 3D Ellipse
- text
- 52.0000,52.0000
-
-
- 17) 3D Ellipse
- ellipse
- 72,81,5
- 72,70.0000
- 75.0000,75.0000
- ellipse
- 78,81,10
- 78.0000,70.0000
- 81.0000,75.0000
- line
- 63.0000,93.0000
- 75.0000,93.0000
-
- ; ******************************
- ; 3D 2Dpline
- text
- 102.0000,52.0000
-
-
- 18) 3D 2dpline
- pline
- 112,83,5
- 120.0000,80.0000
- a
- 118.0000,76.0000
- 119.0000,73.0000
- l
- 126.0000,68.0000
-
- line
- 108.0000,87.0000
- 124.0000,96.0000
-
- tabsurf
- 115.0000,81.0000
- 111.0000,87.0000
- ; ******************************
- ; 3D splined pline
- text
- 152.0000,52.0000
-
-
- 19) 3D splined pline
- pline
- 155,81,10
- 159.0000,88.0000
- 167.0000,84.0000
- 172.0000,96.0000
- 180.0000,88.0000
- 189.0000,92.0000
-
- pedit
- 185.0000,90.0000
- s
-
- line
- 185.0000,84.0000
- 191.0000,71.0000
-
- tabsurf
- 169.0000,90.0000
- 185.0000,84.0000
- layer
- m
- 3dline
- c
- red
-
-
- ; ******************************
- ; 3D Line
- text
- 203.0000,52.0000
-
-
- 20) 3D line
- line
- 208.0000,74.0000
- 218.0000,79.0000
-
- line
- 211.0000,71.0000
- 219.0000,76.0000
-
- line
- 229,91,10
- 235.0000,81.0000
-
- tabsurf
- 217.0000,79.0000
- 235.0000,81.0000
- tabsurf
- 215.0000,74.0000
- 230.0000,91.0000
- ; ******************************
- ; 3D line with arcs
- text
- 2.0000,2.0000
-
-
- 21) 3D line with arcs
- arc
- 12.0000,13.0000
- 15.0000,20.0000
- 23.0000,20.0000
- line
- 33,15,10
- 41.0000,31.0000
-
- tabsurf
- 18.0000,21.0000
- 33.0000,15.0000
- ; ******************************
- ; 3D Line with circle
- text
- 52.0000,2.0000
-
-
- 3D line with circle
- circle
- 61.0000,15.0000
- 65.0000,15.0000
-
- 60,38,5
- 61.0000,40.0000
- line
- 87,39,5
- 75.0000,34.0000
-
- tabsurf
- 61.0000,40.0000
- 76.0000,34.0000
-
- 61.0000,19.0000
- 75.0000,34.0000
- ; ******************************
- ; 3D Line with ellipse
- text
- 102.0000,2.0000
-
-
- 23) 3D line with ellipse
- ellipse
- 105,13,10
- 117.0000,13.0000
- 114.0000,14.0000
- line
- 135,11,10
- 135.0000,36.0000
-
- ; ******************************
- ; Mirror tabsurf
- text
- 152.0000,2.0000
-
-
- 24) Mirror tabsurf
- 3dpoly
- 153,43,10
- 159.0000,33.0000
- 154,23,5
-
- line
- 154.0000,15.0000
- 163.0000,15.0000
-
- tabsurf
- 156.0000,38.0000
- 154.0000,16.0000
- mirror
- 167.0000,36.0000
-
- 174.0000,46.0000
- 174.0000,20.0000
-
- ; ******************************
- ; Array tabsurf
- text
- 202.0000,2.0000
-
-
- 25) Array tabsurf
- circle
- 208.0000,41.0000
- 209.0000,44.0000
- line
- 205.0000,36.0000
- 211.0000,31.0000
-
- tabsurf
- 212.0000,41.0000
- 204.0000,37.0000
- array
- 209.0000,40.0000
-
- p
- 225.0000,28.0000
- 6
-
-
- zoom
- all
- ;----------------------------------------------------------------------
- ;Now for the grand finale
- TEXT
- -39.8278,152
- 3
- 0
- Done!
- Zoom
- E
- ;----------------------------------------------------------------------
-