Grasshopper

algorithmic modeling for Rhino

"specified argument was out of the range of valid values"

PlanktonMesh tpm = pmesh.TruncateVertices((float) 0.2);

I've tried -100, -1, -0.2, 0 0.25 , 1, and 1000. Nothing seems to work. Does anyone have an idea of what value the "TruncateVertices" command is looking for in the preceding code?

Views: 473

Replies to This Discussion

The value should be between 0.0 and 0.5. The argument is the normalised length of a halfedge. Can you send me an example file, please? I've used this in the past successfully, but it sounds like you might have found a bug...

Here's a link to source code of the TruncateVertices method: https://github.com/meshmash/Plankton/blob/master/src/Plankton/Plank...

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service