Quantcast
Channel: Grasshopper Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 3666

Divide quad mesh

$
0
0

Hi guys, I am looking for methods to implement quad subdivision in grasshopper C#.

I am working on a mesh growth model, but with very strict limitations to faces size, number of edges, planarity etc. because every face will be a unit in fabrication model. I need methods to split chosen quad faces - to split them in half (in other words, to create two rectangles from one square) or to split a quad in its center to form four quads.

i know MeshTopologyEdgeList.CollapseEdge and SplitEdge methods, but as far as I know they split every quad to triangles. I tried to split two symetrical edges of a chosen face at one ireration time but after every splitting all the topology changes for vertices (meaning: they change indexes) and i dont know how to do that.

anyone knows the way?

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3666

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>