Jump to content
Developer Wiki and Function Reference Links ×

Find non planar 3D polygons


BillW

Recommended Posts

I have found using "Convert to 3D polygons" that some polygons have vertices not in the same plane (particularly from Nurbs surfaces and SubD's). Couldn't find a Vectorscript function so wrote a script function - see attached text file. However I found a quicker way with:

 

planarset := centroid3D(polyH,x1,y1,z1);

 

If 3D polygon has any vertex not in the same plane as other vertices then centroid3D returns FALSE and x1=y1=z1=0

 

I now need to split the 3D polygon into seperate planar 3D polygons

 

PS Looks like I can't add code to page (403 error) or even upload a text file containing code.

 

Link to comment

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.

×
×
  • Create New...