Make it easy to build polygonal faces #1905
Labels
topic: core
Issues relating to core geometry, operations, algorithms
type: feature
New features and improvements to existing features
There are straight-forward methods in the operations API to build polygonal
Cycle
s andRegion
s. However, forFace
s, there is only this:fornjot/crates/fj-core/src/operations/build/face.rs
Lines 23 to 58 in c29e2a3
This method could be generalized to build polygons instead of just triangles, but there is one thing to figure out: This method takes 3D points (since a
Face
is a 3D object), and exactly 3 points define a plane. If generalizing this method for polygons, we have to handle the case that the user provides points that don't lie in the plane defined by the first three points.The text was updated successfully, but these errors were encountered: