Jump to content
AlHanson

Simplify Mesh via Vectorscript

Recommended Posts

I'm working on an import script for a lot of mesh objects, and would like to simplify them as they come in as some are unnecessarily complex. Is there any way to automate this with vectorscript that I'm not seeing in the function reference?

 

I'm even open to manual ways of accomplishing this is anybody has some insight. I attempted to just delete random mesh vertexes over x quantity and this proved to be a terrible idea since the mesh can't just patch back in the missing polys this caused. 😆

Share this post


Link to post

Best to use Modify menu > Simplify Mesh because the level of simplification will vary from mesh to mesh, so provided the imported mesh is selected, adding this line to the script will activate this command and allow you to adjust each mesh as you go:

 

DoMenuTextByName('Simplify Mesh', 0);

 

There is no other way I know of to do this in Vectorscript that would fully automate the process.

  • Like 1

Share this post


Link to post

Thanks! Basically what I assumed, just hoping to force to process and not have to drag it out with a manual step but it is what it is.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...