KitWallace / FO

4 stars 0 forks source link

slice a polyhedron #24

Open KitWallace opened 2 years ago

KitWallace commented 2 years ago

Given a polyhedron specified by a list of vertices V and a list of faces F where F, is a list of indexes into V, given a z height h compute the polygon cross-section at that height.

KitWallace commented 2 years ago

see Python imp. of generalised slicing from STL (triangular mesh) https://github.com/Nehri/slicing_algorithm/blob/master/slicing.py