YAML-ification and minor output restructure

This commit is contained in:
Bán Dénes 2021-07-21 21:24:12 +02:00
parent 282e117457
commit fa850a643c
22 changed files with 287 additions and 409 deletions

View file

@ -1,91 +0,0 @@
{
"models": {
"export": {
"models": {
"a": {
"models": {},
"origin": [
0,
0
]
},
"b": {
"models": {
"a": {
"models": {},
"origin": [
0,
0
]
},
"b": {
"paths": {
"ShapeLine1": {
"type": "line",
"origin": [
-9,
-9
],
"end": [
9,
-9
]
},
"ShapeLine2": {
"type": "line",
"origin": [
9,
-9
],
"end": [
9,
9
]
},
"ShapeLine3": {
"type": "line",
"origin": [
9,
9
],
"end": [
-9,
9
]
},
"ShapeLine4": {
"type": "line",
"origin": [
-9,
9
],
"end": [
-9,
-9
]
}
},
"origin": [
0,
0
]
}
},
"origin": [
0,
0
]
}
},
"origin": [
0,
0
]
}
},
"units": "mm",
"origin": [
0,
0
]
}

View file

@ -0,0 +1,62 @@
models:
export:
models:
a:
models: {}
origin:
- 0
- 0
b:
models:
a:
models: {}
origin:
- 0
- 0
b:
paths:
ShapeLine1:
type: line
origin:
- -9
- -9
end:
- 9
- -9
ShapeLine2:
type: line
origin:
- 9
- -9
end:
- 9
- 9
ShapeLine3:
type: line
origin:
- 9
- 9
end:
- -9
- 9
ShapeLine4:
type: line
origin:
- -9
- 9
end:
- -9
- -9
origin:
- 0
- 0
origin:
- 0
- 0
origin:
- 0
- 0
units: mm
origin:
- 0
- 0

View file

@ -1,91 +0,0 @@
{
"models": {
"export": {
"models": {
"a": {
"models": {},
"origin": [
0,
0
]
},
"b": {
"models": {
"a": {
"models": {},
"origin": [
0,
0
]
},
"b": {
"paths": {
"ShapeLine1": {
"type": "line",
"origin": [
-9,
-9
],
"end": [
9,
-9
]
},
"ShapeLine2": {
"type": "line",
"origin": [
9,
-9
],
"end": [
9,
9
]
},
"ShapeLine3": {
"type": "line",
"origin": [
9,
9
],
"end": [
-9,
9
]
},
"ShapeLine4": {
"type": "line",
"origin": [
-9,
9
],
"end": [
-9,
-9
]
}
},
"origin": [
0,
0
]
}
},
"origin": [
0,
0
]
}
},
"origin": [
0,
0
]
}
},
"units": "mm",
"origin": [
0,
0
]
}

View file

@ -0,0 +1,62 @@
models:
export:
models:
a:
models: {}
origin:
- 0
- 0
b:
models:
a:
models: {}
origin:
- 0
- 0
b:
paths:
ShapeLine1:
type: line
origin:
- -9
- -9
end:
- 9
- -9
ShapeLine2:
type: line
origin:
- 9
- -9
end:
- 9
- 9
ShapeLine3:
type: line
origin:
- 9
- 9
end:
- -9
- 9
ShapeLine4:
type: line
origin:
- -9
- 9
end:
- -9
- -9
origin:
- 0
- 0
origin:
- 0
- 0
origin:
- 0
- 0
units: mm
origin:
- 0
- 0

View file

@ -1,69 +0,0 @@
{
"models": {
"export": {
"models": {
"matrix_col_row": {
"paths": {
"top": {
"type": "line",
"origin": [
-9,
9
],
"end": [
9,
9
]
},
"right": {
"type": "line",
"origin": [
9,
9
],
"end": [
9,
-9
]
},
"bottom": {
"type": "line",
"origin": [
9,
-9
],
"end": [
-9,
-9
]
},
"left": {
"type": "line",
"origin": [
-9,
-9
],
"end": [
-9,
9
]
}
},
"origin": [
0,
0
]
}
},
"origin": [
0,
0
]
}
},
"units": "mm",
"origin": [
0,
0
]
}

View file

@ -0,0 +1,47 @@
models:
export:
models:
matrix_col_row:
paths:
top:
type: line
origin:
- -9
- 9
end:
- 9
- 9
right:
type: line
origin:
- 9
- 9
end:
- 9
- -9
bottom:
type: line
origin:
- 9
- -9
end:
- -9
- -9
left:
type: line
origin:
- -9
- -9
end:
- -9
- 9
origin:
- 0
- 0
origin:
- 0
- 0
units: mm
origin:
- 0
- 0

View file

@ -1,34 +0,0 @@
{
"matrix_col_row": {
"x": 0,
"y": 0,
"r": 0,
"meta": {
"shift": [
0,
0
],
"rotate": 0,
"padding": 19,
"width": 1,
"height": 1,
"skip": false,
"asym": "both",
"name": "matrix_col_row",
"colrow": "col_row",
"col": {
"stagger": 0,
"spread": 0,
"rotate": 0,
"origin": [
0,
0
],
"rows": {},
"key": {},
"name": "col"
},
"row": "row"
}
}
}

View file

@ -0,0 +1,27 @@
matrix_col_row:
x: 0
'y': 0
r: 0
meta:
shift:
- 0
- 0
rotate: 0
padding: 19
width: 1
height: 1
skip: false
asym: both
name: matrix_col_row
colrow: col_row
col:
stagger: 0
spread: 0
rotate: 0
origin:
- 0
- 0
rows: {}
key: {}
name: col
row: row

View file

@ -0,0 +1,4 @@
u: 19
cx: 18
cy: 17
a: 47

View file

@ -1,6 +0,0 @@
{
"u": 19,
"cx": 18,
"cy": 17,
"a": 47
}

View file

@ -1,69 +0,0 @@
{
"models": {
"export": {
"models": {
"matrix_col_row": {
"paths": {
"top": {
"type": "line",
"origin": [
-9,
9
],
"end": [
9,
9
]
},
"right": {
"type": "line",
"origin": [
9,
9
],
"end": [
9,
-9
]
},
"bottom": {
"type": "line",
"origin": [
9,
-9
],
"end": [
-9,
-9
]
},
"left": {
"type": "line",
"origin": [
-9,
-9
],
"end": [
-9,
9
]
}
},
"origin": [
0,
0
]
}
},
"origin": [
0,
0
]
}
},
"units": "mm",
"origin": [
0,
0
]
}

View file

@ -0,0 +1,47 @@
models:
export:
models:
matrix_col_row:
paths:
top:
type: line
origin:
- -9
- 9
end:
- 9
- 9
right:
type: line
origin:
- 9
- 9
end:
- 9
- -9
bottom:
type: line
origin:
- 9
- -9
end:
- -9
- -9
left:
type: line
origin:
- -9
- -9
end:
- -9
- 9
origin:
- 0
- 0
origin:
- 0
- 0
units: mm
origin:
- 0
- 0

View file

@ -1,34 +0,0 @@
{
"matrix_col_row": {
"x": 0,
"y": 0,
"r": 0,
"meta": {
"shift": [
0,
0
],
"rotate": 0,
"padding": 19,
"width": 1,
"height": 1,
"skip": false,
"asym": "both",
"name": "matrix_col_row",
"colrow": "col_row",
"col": {
"stagger": 0,
"spread": 0,
"rotate": 0,
"origin": [
0,
0
],
"rows": {},
"key": {},
"name": "col"
},
"row": "row"
}
}
}

View file

@ -0,0 +1,27 @@
matrix_col_row:
x: 0
'y': 0
r: 0
meta:
shift:
- 0
- 0
rotate: 0
padding: 19
width: 1
height: 1
skip: false
asym: both
name: matrix_col_row
colrow: col_row
col:
stagger: 0
spread: 0
rotate: 0
origin:
- 0
- 0
rows: {}
key: {}
name: col
row: row

View file

@ -0,0 +1,3 @@
u: 19
cx: 18
cy: 17

View file

@ -1,5 +0,0 @@
{
"u": 19,
"cx": 18,
"cy": 17
}