This commit is contained in:
Motiejus Jakštys 2020-01-01 22:19:58 +02:00
parent eb25eed17c
commit 726acb90b6
4 changed files with 6 additions and 0 deletions

3
Karto/README-why.md Normal file
View File

@ -0,0 +1,3 @@
- cannot measure an angle between xline and polyline. "xline is not a line".
- inserting a block takes up 2 layers: the one that the block was created in, and
where it was inserted.

View File

@ -3,6 +3,8 @@ from math import sqrt
import numpy as np import numpy as np
from scipy.spatial.distance import euclidean from scipy.spatial.distance import euclidean
# ilgiausios B sklypo krastines kampas: -4.7727°
A = -7.756 A = -7.756
B = 4.686 B = 4.686
C = -7.663 C = -7.663
@ -53,3 +55,4 @@ objs = {
} }
for id, obj in objs.items(): for id, obj in objs.items():
print("%d: (%.3f,%.3f)" % (id, obj[0], obj[1])) print("%d: (%.3f,%.3f)" % (id, obj[0], obj[1]))

Binary file not shown.