ScriptSpot home

Vertex pos to CSV

Downloads

Release history (1)
  • Version 1.0Listed version

    No download linked to this version

3ds Max compatibility
Unknown
Report a problem
Community reviewsNo reviews yet.

Listing details

Version
1.0
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

bernielomax99

More by this author

-- built by bernardo amorim
-- help at bernardo dot amorim at gmail dot com
-- hugs bern
-- 2009

MacroScript vertexToCSV category:"bernielomax CSV"
(

out_filename= getSaveFileName caption:"SAVE WHERE" initialDir:"$export" filename:"VertexPos.csv"

out_file = createFile out_filename

for obj in geometry do (
tmesh = snapshotAsMesh obj
format "Obj Name:%\n" obj.name to:out_file

format "X Pos, Y Pos, Z Pos\n" to:out_file

for v = 1 to getNumVerts tmesh do

(
vert = getVert tmesh v
format "%, %, %\n" vert.x vert.y vert.z to:out_file
)
delete tmesh
)

close out_file

edit out_filename

)

Setup & notes

made for some animation project I had going on

bern

Comments (1)
Cem Yetkin

numbers

We found the script you wrote below, it works without any problems but the output of the "vert.y" is; "4.55203e + 06".
We want to print this as 45111.0. How do we fix the code?