librarystandards.py@662de6b8cfc2
librarystandards.py
Tue, 25 Aug 2020 23:04:27 +0300
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Tue, 25 Aug 2020 23:04:27 +0300
- changeset 103
- 662de6b8cfc2
- parent 96
-
70f8049623ec
- permissions
- -rw-r--r--
replaced the collinear test with a new one based on the hairline test that checks interior angles against official limits of 0.025 and 179.9
from configparser import ConfigParser
from pathlib import Path
from os.path import dirname
ini_path = Path(dirname(__file__)) / 'library-standards.ini'
library_standards = ConfigParser()
with ini_path.open() as file:
library_standards.read_file(file)