-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* findSolid returns None when no solids found Removed a line in the findSolid docstring about raising an error if no solids found. Added exceptions to several methods that were previously failing with AttributeErrors when they tried to treat the None object as a solid. * findSolid needed type hint Optional on it's return value * Type hint and test Workplane.findFace * Rewrite to raise ValueError in findSolid * I forgot about findFace again * add exceptions to docstrings
- Loading branch information
1 parent
0f32de9
commit 0325474
Showing
2 changed files
with
141 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.