Skip to main content
3 of 3
added 158 characters in body
batFINGER
  • 85.2k
  • 10
  • 114
  • 244

Reconstructing axis of pot with one shard via vertex normals

I`m planning to do a reconstruction of a whole pot from one shard of it.

I've already thought of a way to do it, but I really don`t know how to make it happen in code.

Theory: every shard has a certain bend to it. This bend contains two pieces of information:

  • the orientation of the shard within the pot
  • the diameter of the pot. You can easily see this when turning on vertex normals in edit mode. Technically, from the process of making pottery, there is a center axis in the middle of every pot. The vertex normals cross this axis, so you can see the axis clearly when turning the vertex normals on.

Problem: how do I reconstruct that axis via script? mathematically it is the intersection of the vertex normals with a thin cylinder.

Step one would be to select the vertex normals from a certain selection only, as I don`t need the one facing outwards...

Top view of axis

Test Shard