mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-15 15:20:37 -08:00
Increasing error tolerance to work on all platforms
This commit is contained in:
parent
bcd8d37616
commit
1e479193ce
9 changed files with 9 additions and 9 deletions
|
|
@ -63,7 +63,7 @@ with BuildPart() as key_cap:
|
|||
Rectangle(1.17 * MM, 4.1 * MM, mode=Mode.SUBTRACT)
|
||||
Extrude(amount=3.5 * MM, mode=Mode.ADD)
|
||||
|
||||
assert abs(key_cap.part.volume - 644.8900473617498) < 1e-5
|
||||
assert abs(key_cap.part.volume - 644.8900473617498) < 1e-3
|
||||
|
||||
if "show_object" in locals():
|
||||
show_object(key_cap.part.wrapped, name="key cap", options={"alpha": 0.7})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue