koeficientai
This commit is contained in:
parent
5c610d6609
commit
2111a2e217
@ -19,7 +19,7 @@ Plotis L1 (duotas)
|
||||
Visas kelio A-03 plotis
|
||||
%.3f""" % L1 + """
|
||||
Koeficientas L1 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
+1.0
|
||||
=== Kelias A-05 ===
|
||||
Plotis L2 (duotas)
|
||||
%.3f""" % L2 + """
|
||||
@ -28,9 +28,9 @@ Plotis L3 (duotas)
|
||||
Visas kelio A-05 plotis
|
||||
%.3f""" % A05_plotis + """
|
||||
Koeficientas L2 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (-L2/(L2+L3)) + """
|
||||
Koeficientas L3 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (L3/(L2+L3)) + """
|
||||
=== Kelias A-08 ===
|
||||
Plotis L4 (duotas)
|
||||
%.3f""" % L3 + """
|
||||
@ -47,17 +47,17 @@ Plotis L9 (duotas)
|
||||
Visas kelio A-08 plotis
|
||||
%.3f""" % A08_plotis + """
|
||||
Koeficientas L4 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (-L4/(L4+L5+L6+L7+L8+L9)) + """
|
||||
Koeficientas L5 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (-L5/(L4+L5+L6+L7+L8+L9)) + """
|
||||
Koeficientas L6 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (-L6/(L4+L5+L6+L7+L8+L9)) + """
|
||||
Koeficientas L7 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (L7/(L4+L5+L6+L7+L8+L9)) + """
|
||||
Koeficientas L8 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (L8/(L4+L5+L6+L7+L8+L9)) + """
|
||||
Koeficientas L9 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (L9/(L4+L5+L6+L7+L8+L9)) + """
|
||||
=== Griovys G-11 ===
|
||||
Plotis L10 (duotas)
|
||||
%.3f""" % L10 + """
|
||||
@ -70,13 +70,13 @@ Plotis L13 (duotas)
|
||||
Visas griovio G-11 plotis
|
||||
%.3f""" % G11_plotis + """
|
||||
Koeficientas L10 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (-L10/(L10+L11+L12+L13)) + """
|
||||
Koeficientas L11 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (-L11/(L10+L11+L12+L13)) + """
|
||||
Koeficientas L12 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (L12/(L10+L11+L12+L13)) + """
|
||||
Koeficientas L13 plocio atidejimui (+/-0.001)
|
||||
*******
|
||||
%+.3f""" % (L13/(L10+L11+L12+L13)) + """
|
||||
=== Apskaiciuoti keliu ir grioviu plociai BRAIZYMUI (0.001 tikslumu) ===
|
||||
Kelio A-03 plotis
|
||||
%.3f""" % KA03_plotis + """
|
||||
|
@ -6,11 +6,35 @@ from measure import *
|
||||
|
||||
fig, ax = plt.subplots()
|
||||
|
||||
KA03_l = LineString([Points[i].xy for i in [11,12,13,14,15,16,17,18] ])
|
||||
KA03_offset = KA03_l.parallel_offset(KA03_plotis, 'right', join_style=2)
|
||||
KA08_l = LineString([Points[i].xy for i in [1,2,3] ])
|
||||
KA08_Lwidth = (L7+L8+L9)/A08_plotis
|
||||
KA08_Rwidth = (L6+L5+L4)/A08_plotis
|
||||
|
||||
ax.plot(*(KA03_l.xy), linewidth=1)
|
||||
ax.plot(*(KA03_offset.xy), linewidth=1, dashes=[5,5])
|
||||
KA08_offsetR1 = KA08_l.parallel_offset(L6, 'right', join_style=2)
|
||||
KA08_offsetR2 = KA08_l.parallel_offset(L6+L5, 'right', join_style=2)
|
||||
KA08_offsetR3 = KA08_l.parallel_offset(L6+L5+L4, 'right', join_style=2)
|
||||
KA08_offsetL1 = KA08_l.parallel_offset(L7, 'left', join_style=2)
|
||||
KA08_offsetL2 = KA08_l.parallel_offset(L7+L8, 'left', join_style=2)
|
||||
KA08_offsetL3 = KA08_l.parallel_offset(L7+L8+L9, 'left', join_style=2)
|
||||
ax.plot(*KA08_l.xy, dashes=[5,5], zorder=KAT3)
|
||||
ax.plot(*KA08_offsetR1.xy, zorder=KAT1)
|
||||
ax.plot(*KA08_offsetR2.xy, dashes=[5,5], zorder=KAT1)
|
||||
ax.plot(*KA08_offsetR3.xy, dashes=[5,5], zorder=KAT1)
|
||||
ax.plot(*KA08_offsetL1.xy, zorder=KAT1)
|
||||
ax.plot(*KA08_offsetL2.xy, dashes=[5,5], zorder=KAT1)
|
||||
ax.plot(*KA08_offsetL3.xy, dashes=[5,5], zorder=KAT1)
|
||||
|
||||
KA03_l = LineString([Points[i].xy for i in [11,12,13,14,15,16,17,18] ])
|
||||
KA03_offsetR = KA03_l.parallel_offset(KA03_plotis, 'right', join_style=2)
|
||||
ax.plot(*KA03_l.xy, zorder=KAT3)
|
||||
ax.plot(*KA03_offsetR.xy, dashes=[5,5], zorder=KAT3)
|
||||
|
||||
KA05_l = LineString([Points[i].xy for i in [4,5,6,7,8,9,10] ])
|
||||
KA05_offsetL = KA05_l.parallel_offset(L2, 'left', join_style=2)
|
||||
KA05_offsetR = KA05_l.parallel_offset(L3, 'right', join_style=2)
|
||||
ax.plot(*KA05_l.xy, zorder=KAT2)
|
||||
ax.plot(*KA05_offsetL.xy, dashes=[5,5], zorder=KAT2)
|
||||
ax.plot(*KA05_offsetR.xy, dashes=[5,5], zorder=KAT2)
|
||||
|
||||
ax.set_title('Užliejamų plotų brėžinys')
|
||||
|
||||
|
@ -39,6 +39,9 @@ class Vertex:
|
||||
"""xy returns a tuple of lksx and lksy coordinates"""
|
||||
return (self.coords.lksx, self.coords.lksy)
|
||||
|
||||
# Kategorijos
|
||||
KAT1, KAT2, KAT3, KAT4 = range(4,0,-1)
|
||||
|
||||
A = Dec('6.094')
|
||||
B = Dec('-2.923')
|
||||
C = Dec('-13.462')
|
||||
@ -61,9 +64,15 @@ L11 = Dec('3.305')
|
||||
L12 = Dec('2.210')
|
||||
L13 = Dec('4.381')
|
||||
|
||||
A05_plotis = L2 + L3
|
||||
A08_plotis = sum([L4,L5,L6,L7,L8,L9])
|
||||
G11_plotis = sum([L10,L11,L12,L13])
|
||||
# this is incorrect
|
||||
#A05_plotis = L2 + L3
|
||||
#A08_plotis = sum([L4,L5,L6,L7,L8,L9])
|
||||
#G11_plotis = sum([L10,L11,L12,L13])
|
||||
|
||||
A03_plotis = Dec('17.401') + A
|
||||
A05_plotis = Dec('13.705') + B
|
||||
A08_plotis = Dec('29.006') + C
|
||||
G11_plotis = Dec('14.776') + N
|
||||
|
||||
# Directional coords + angle
|
||||
X11 = Dec('6091968.055')
|
||||
|
Loading…
Reference in New Issue
Block a user