Axoscape Resource

Getting Center Points of a Model or Detail Line Grid

This article comes from a question in the Dynamo Forum on how to calculate the center point of each square in a grid pattern.  

The solution is to get intersection points of the grid and triangulate them as a topo mesh. Thus, collecting the inclined curves and its mid-points. See image below.

There are a couple of python scripts in the graph to facilitate list management. Download the script here:

Or take a look at the dynamo script to adapt it to your needs.

Feel free to comment if you have any questions!