home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Maximum 3D 3
/
m3d-p3.iso
/
3DS_MAX
/
3DSMAX.2_0
/
SCRIPTS
/
ASCREAD.MS
< prev
next >
Wrap
Text File
|
1997-10-19
|
487b
|
18 lines
--Created by: Ravi Karra [ravi.karra@ktx.com]
--This scripts reads positional data from a ascii file and creates objects
--You need to have the ascii.dat file in the same directory as this
resetMaxFile #noPrompt
pos = [0.0,0.0,0.0]
f = openfile ("ascii.dat")
while (not eof f) do
(
pos.x = readvalue f; pos.y = readvalue f; pos.z = readvalue f;
format "%\t%\t%\n" pos.x pos.y pos.z
tea = cylinder radius:10 height:40 pos:pos
)
close f
max tool zoomextents all