This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Library: Mounting_Hole: Variable diameter and padtype (#50)
--------- Co-authored-by: iopapamanoglou <[email protected]>
- Loading branch information
1 parent
ac74702
commit 38ef043
Showing
2 changed files
with
64 additions
and
11 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This file is part of the faebryk project | ||
# SPDX-License-Identifier: MIT | ||
|
||
|
||
import logging | ||
from enum import Enum | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
||
class Iso262_MetricScrewThreadSizes(Enum): | ||
# TODO add tolerance etc | ||
# i think values are wrong, but api is ok | ||
M1 = 1.2 | ||
M1_2 = 1.4 | ||
M1_4 = 1.6 | ||
M1_6 = 1.8 | ||
M1_8 = 2.0 | ||
M2 = 2.2 | ||
M2_5 = 2.7 | ||
M3 = 3.2 | ||
M3_5 = 3.7 | ||
M4 = 4.3 | ||
M5 = 5.3 | ||
M6 = 6.4 | ||
M8 = 8.4 | ||
M10 = 10.4 | ||
M12 = 12.4 | ||
M14 = 14.4 | ||
M16 = 16.4 | ||
M20 = 20.4 | ||
M24 = 24.4 | ||
M30 = 30.4 | ||
M36 = 36.4 | ||
M42 = 42.4 | ||
M48 = 48.4 | ||
M56 = 56.4 | ||
M60 = 60.4 | ||
M64 = 64.4 |