erste Fassung von Client und Server rein
This commit is contained in:
26
server/catalog/symbols.json
Normal file
26
server/catalog/symbols.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"symbols": [
|
||||
{
|
||||
"id": "weiche_links_r300",
|
||||
"label": "Weiche links R300",
|
||||
"type": "weiche",
|
||||
"radius": 300,
|
||||
"direction": "left",
|
||||
"svg_path": "M 0,0 L 100,0 Q 150,0 200,50",
|
||||
"snap_points": [[0,0], [100,0], [200,50]],
|
||||
"ports": ["in", "out_gerade", "out_abzweig"]
|
||||
},
|
||||
{
|
||||
"id": "kreisel_standard",
|
||||
"label": "Kreisel",
|
||||
"type": "kreisel",
|
||||
"geometry": {
|
||||
"circle_top_r": 40,
|
||||
"circle_bottom_r": 40,
|
||||
"straight_length": 80
|
||||
},
|
||||
"svg_path": "M -40,0 A 40,40 0 1,1 40,0 A 40,40 0 1,1 -40,0 M -40,160 A 40,40 0 1,1 40,160 A 40,40 0 1,1 -40,160 M -40,0 L -40,160 M 40,0 L 40,160",
|
||||
"snap_points": [[0,0], [0,160]]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user