mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-02 13:59:12 +01:00
Merge remote-tracking branch 'origin/feat/switch-blades' into feat/renderers-cleanup
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 60 KiB |
@@ -331,6 +331,25 @@ def parallel(d):
|
||||
arrowhead(d, 40, 32, 0, 10)
|
||||
|
||||
|
||||
def station(d):
|
||||
# two tracks of a station with a crossover between them, and the insulated joints of its track circuits
|
||||
line(d, [(4, 22), (60, 22)], W - 6)
|
||||
line(d, [(4, 46), (60, 46)], W - 6)
|
||||
line(d, [(14, 46), (32, 22)], W - 6)
|
||||
line(d, [(46, 12), (46, 32)], W - 10)
|
||||
line(d, [(46, 36), (46, 56)], W - 10)
|
||||
|
||||
|
||||
def kilometrage(d):
|
||||
# a hectometre post by the track with its digits, and the way the km rise along the track
|
||||
rect(d, 16, 4, 36, 40, outline=True, width=W - 6, radius=3)
|
||||
line(d, [(22, 15), (30, 15)], W - 8)
|
||||
line(d, [(22, 28), (30, 28)], W - 8)
|
||||
line(d, [(26, 40), (26, 48)], W - 6)
|
||||
line(d, [(4, 56), (48, 56)], W - 6)
|
||||
arrowhead(d, 54, 56, 0, 12)
|
||||
|
||||
|
||||
def more(d):
|
||||
for x in (12, 32, 52):
|
||||
circle(d, x, 32, 6)
|
||||
@@ -442,7 +461,7 @@ def wires(d):
|
||||
ICONS = [select, insert, brush, area_fill, copy_to_bank, translate, rotate, scale,
|
||||
local_space, ortho, perspective, sculpt, smooth, chunks, orthophoto, road,
|
||||
place, lanes, lay_track, switch, straight, curve, signal, objects,
|
||||
vehicle, profile, speed, joints, infra, gauge, turntable, parallel, more, work_surroundings,
|
||||
vehicle, profile, speed, joints, infra, gauge, turntable, parallel, station, kilometrage, more, work_surroundings,
|
||||
work_tracks, work_roads, work_terrain, hole, grass, catenary,
|
||||
work_catenary, gantry, wires]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user