Validate sketches #67
Labels
topic: core
Issues relating to core geometry, operations, algorithms
type: feature
New features and improvements to existing features
Milestone
Right now, users can just feed any points they want to sketches, valid or not. This might then result in crashes or other weird issues.
Sketches should be validated before use. To keep the
fj
library light, this should probably be done in the host application. For now, it's fine if that results in a panic with an informative error message. At a later stage, it would be nice to display that error to the user in a friendlier way.Specifically, validation should include the following checks:
Sketches must not have duplicate points.The text was updated successfully, but these errors were encountered: