February 16, 2019, 10:33
bigger smaller reset 800px Wide width Full width Reset * *

Gildor's Forums

  Homepage Facebook Donate
Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length
« previous next »
Pages: [1] Print
Author Topic: I updated the Actor X Batch fbx/max export script to also WELD VERTICES!  (Read 45 times)
SchoolHomeVR
Newbie
*
Posts: 20


View Profile
« on: February 12, 2019, 01:57 »

In the 'export_fbx.ms' file, I inserted Maxscript to add a Vertex Weld Modifier and weld all (nearly incidental) vertices at a distance of 0.1mm then collapse and save as normal.
I also changed it so it puts the FBX file, in the same folder as the originating .pskx file.  (that was killing me!)
Below is my code addition and a link to the new .cs file.

My small addition looks like this:

         -- WELD VERTICES SECTION BELOW, INCREASE THRESHOLD TO MAKE LIGHTER MESH OR LOD's!

   max modify mode
   modPanel.addModToSelection (Vertex_Weld ()) ui:on
   $.modifiers[#Vertex_Weld].threshold = 0.1
   maxOps.CollapseNode $ off

   --END OF WELD VERTICES SECTION

-------------------------------------------------------------------------------------------------------------------------------

DOWNLOAD LINK  'export_fbx.ms':  https://www.sendspace.com/file/2d3wyz
« Last Edit: February 12, 2019, 02:28 by SchoolHomeVR » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS