Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-10-22 00:52:36 -04:00
parent 0b1dda2e2f
commit db677dc194
20 changed files with 18475 additions and 14642 deletions
+432 -429
View File
@@ -1,430 +1,433 @@
{
"version": "1.1",
"prop_name": "Wall Clock",
"material_preset": "none",
"tags": ["walls", "objects"],
"shapes": [
{
"shape_type": "polygon",
"points": [
{
"x": 70.0,
"y": 0.0
},
{
"x": 64.67,
"y": 26.79
},
{
"x": 49.5,
"y": 49.5
},
{
"x": 26.79,
"y": 64.67
},
{
"x": 0.0,
"y": 70.0
},
{
"x": -26.79,
"y": 64.67
},
{
"x": -49.5,
"y": 49.5
},
{
"x": -64.67,
"y": 26.79
},
{
"x": -70.0,
"y": 0.0
},
{
"x": -64.67,
"y": -26.79
},
{
"x": -49.5,
"y": -49.5
},
{
"x": -26.79,
"y": -64.67
},
{
"x": -0.0,
"y": -70.0
},
{
"x": 26.79,
"y": -64.67
},
{
"x": 49.5,
"y": -49.5
},
{
"x": 64.67,
"y": -26.79
}
],
"fill_color": "#DCA678",
"outline_color": "#332B45",
"outline_width": 5,
"closed": true,
"vertex_flags": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"reshaped": false
},
{
"shape_type": "polygon",
"points": [
{
"x": 54.0,
"y": 0.0
},
{
"x": 49.89,
"y": 20.66
},
{
"x": 38.18,
"y": 38.18
},
{
"x": 20.66,
"y": 49.89
},
{
"x": 0.0,
"y": 54.0
},
{
"x": -20.66,
"y": 49.89
},
{
"x": -38.18,
"y": 38.18
},
{
"x": -49.89,
"y": 20.66
},
{
"x": -54.0,
"y": 0.0
},
{
"x": -49.89,
"y": -20.66
},
{
"x": -38.18,
"y": -38.18
},
{
"x": -20.66,
"y": -49.89
},
{
"x": -0.0,
"y": -54.0
},
{
"x": 20.66,
"y": -49.89
},
{
"x": 38.18,
"y": -38.18
},
{
"x": 49.89,
"y": -20.66
}
],
"fill_color": "#FCF2D8",
"outline_color": "#332B45",
"outline_width": 3,
"closed": true,
"vertex_flags": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"reshaped": false
},
{
"shape_type": "line",
"points": [
{
"x": 0,
"y": -45
},
{
"x": 0,
"y": -31
}
],
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 4,
"closed": false,
"vertex_flags": [
0,
0
],
"reshaped": false
},
{
"shape_type": "line",
"points": [
{
"x": 44,
"y": 0
},
{
"x": 30,
"y": 0
}
],
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 4,
"closed": false,
"vertex_flags": [
0,
0
],
"reshaped": false
},
{
"shape_type": "line",
"points": [
{
"x": 0,
"y": 45
},
{
"x": 0,
"y": 31
}
],
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 4,
"closed": false,
"vertex_flags": [
0,
0
],
"reshaped": false
},
{
"shape_type": "line",
"points": [
{
"x": -44,
"y": 0
},
{
"x": -30,
"y": 0
}
],
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 4,
"closed": false,
"vertex_flags": [
0,
0
],
"reshaped": false
},
{
"shape_type": "line",
"points": [
{
"x": 0,
"y": 0
},
{
"x": 0,
"y": -24
}
],
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 5,
"closed": false,
"vertex_flags": [
0,
0
],
"reshaped": false
},
{
"shape_type": "line",
"points": [
{
"x": 0,
"y": 0
},
{
"x": 24,
"y": 15
}
],
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 5,
"closed": false,
"vertex_flags": [
0,
0
],
"reshaped": false
},
{
"shape_type": "polygon",
"points": [
{
"x": 5.0,
"y": 0.0
},
{
"x": 4.62,
"y": 1.91
},
{
"x": 3.54,
"y": 3.54
},
{
"x": 1.91,
"y": 4.62
},
{
"x": 0.0,
"y": 5.0
},
{
"x": -1.91,
"y": 4.62
},
{
"x": -3.54,
"y": 3.54
},
{
"x": -4.62,
"y": 1.91
},
{
"x": -5.0,
"y": 0.0
},
{
"x": -4.62,
"y": -1.91
},
{
"x": -3.54,
"y": -3.54
},
{
"x": -1.91,
"y": -4.62
},
{
"x": -0.0,
"y": -5.0
},
{
"x": 1.91,
"y": -4.62
},
{
"x": 3.54,
"y": -3.54
},
{
"x": 4.62,
"y": -1.91
}
],
"fill_color": "#75586C",
"outline_color": "#332B45",
"outline_width": 1,
"closed": true,
"vertex_flags": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"reshaped": false
}
],
"anchors": {
"origin": {
"role": "pivot",
"x": 0,
"y": 0,
"rotation_deg": 0,
"z_index_offset": 0,
"allowed_hands": "both"
}
},
"metadata": {
"created_at": "2026-10-15T00:00:00",
"modified_at": "2026-10-15T00:00:00"
}
}
"anchors": {
"origin": {
"allowed_hands": "both",
"role": "pivot",
"rotation_deg": 0.0,
"x": 0.0,
"y": 0.0,
"z_index_offset": 0
}
},
"material_preset": "none",
"metadata": {
"created_at": "2026-10-21T23:12:39",
"modified_at": "2026-10-21T23:12:39"
},
"prop_name": "Wall Clock",
"shapes": [
{
"closed": true,
"fill_color": "#DCA678",
"outline_color": "#332B45",
"outline_width": 7.3205,
"points": [
{
"x": 102.486999511719,
"y": 0.0
},
{
"x": 94.6833419799805,
"y": 39.2232398986816
},
{
"x": 72.4729537963867,
"y": 72.4729537963867
},
{
"x": 39.2232398986816,
"y": 94.6833419799805
},
{
"x": 0.0,
"y": 102.486999511719
},
{
"x": -39.2232398986816,
"y": 94.6833419799805
},
{
"x": -72.4729537963867,
"y": 72.4729537963867
},
{
"x": -94.6833419799805,
"y": 39.2232398986816
},
{
"x": -102.486999511719,
"y": 0.0
},
{
"x": -94.6833419799805,
"y": -39.2232398986816
},
{
"x": -72.4729537963867,
"y": -72.4729537963867
},
{
"x": -39.2232398986816,
"y": -94.6833419799805
},
{
"x": 0.0,
"y": -102.486999511719
},
{
"x": 39.2232398986816,
"y": -94.6833419799805
},
{
"x": 72.4729537963867,
"y": -72.4729537963867
},
{
"x": 94.6833419799805,
"y": -39.2232398986816
}
],
"reshaped": false,
"shape_type": "polygon",
"vertex_flags": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"closed": true,
"fill_color": "#FCF2D8",
"outline_color": "#332B45",
"outline_width": 4.3923,
"points": [
{
"x": 79.0614013671875,
"y": 0.0
},
{
"x": 73.0439453125,
"y": 30.2483062744141
},
{
"x": 55.8993377685547,
"y": 55.8993377685547
},
{
"x": 30.2483062744141,
"y": 73.0439453125
},
{
"x": 0.0,
"y": 79.0614013671875
},
{
"x": -30.2483062744141,
"y": 73.0439453125
},
{
"x": -55.8993377685547,
"y": 55.8993377685547
},
{
"x": -73.0439453125,
"y": 30.2483062744141
},
{
"x": -79.0614013671875,
"y": 0.0
},
{
"x": -73.0439453125,
"y": -30.2483062744141
},
{
"x": -55.8993377685547,
"y": -55.8993377685547
},
{
"x": -30.2483062744141,
"y": -73.0439453125
},
{
"x": 0.0,
"y": -79.0614013671875
},
{
"x": 30.2483062744141,
"y": -73.0439453125
},
{
"x": 55.8993377685547,
"y": -55.8993377685547
},
{
"x": 73.0439453125,
"y": -30.2483062744141
}
],
"reshaped": false,
"shape_type": "polygon",
"vertex_flags": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
"closed": false,
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 5.8564,
"points": [
{
"x": 0.0,
"y": -65.8844985961914
},
{
"x": 0.0,
"y": -45.3871002197266
}
],
"reshaped": false,
"shape_type": "line",
"vertex_flags": [
0,
0
]
},
{
"closed": false,
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 5.8564,
"points": [
{
"x": 64.4204025268555,
"y": 0.0
},
{
"x": 43.9230003356934,
"y": 0.0
}
],
"reshaped": false,
"shape_type": "line",
"vertex_flags": [
0,
0
]
},
{
"closed": false,
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 5.8564,
"points": [
{
"x": 0.0,
"y": 65.8844985961914
},
{
"x": 0.0,
"y": 45.3871002197266
}
],
"reshaped": false,
"shape_type": "line",
"vertex_flags": [
0,
0
]
},
{
"closed": false,
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 5.8564,
"points": [
{
"x": -64.4204025268555,
"y": 0.0
},
{
"x": -43.9230003356934,
"y": 0.0
}
],
"reshaped": false,
"shape_type": "line",
"vertex_flags": [
0,
0
]
},
{
"closed": false,
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 7.3205,
"points": [
{
"x": 0.0,
"y": 0.0
},
{
"x": 0.0,
"y": -35.1384010314941
}
],
"reshaped": false,
"shape_type": "line",
"vertex_flags": [
0,
0
]
},
{
"closed": false,
"fill_color": "#00000000",
"outline_color": "#75586C",
"outline_width": 7.3205,
"points": [
{
"x": 0.0,
"y": 0.0
},
{
"x": 35.1384010314941,
"y": 21.9615001678467
}
],
"reshaped": false,
"shape_type": "line",
"vertex_flags": [
0,
0
]
},
{
"closed": true,
"fill_color": "#75586C",
"outline_color": "#332B45",
"outline_width": 1.4641,
"points": [
{
"x": 7.32049989700317,
"y": 0.0
},
{
"x": 6.76414203643799,
"y": 2.79643106460571
},
{
"x": 5.1829137802124,
"y": 5.1829137802124
},
{
"x": 2.79643106460571,
"y": 6.76414203643799
},
{
"x": 0.0,
"y": 7.32049989700317
},
{
"x": -2.79643106460571,
"y": 6.76414203643799
},
{
"x": -5.1829137802124,
"y": 5.1829137802124
},
{
"x": -6.76414203643799,
"y": 2.79643106460571
},
{
"x": -7.32049989700317,
"y": 0.0
},
{
"x": -6.76414203643799,
"y": -2.79643106460571
},
{
"x": -5.1829137802124,
"y": -5.1829137802124
},
{
"x": -2.79643106460571,
"y": -6.76414203643799
},
{
"x": 0.0,
"y": -7.32049989700317
},
{
"x": 2.79643106460571,
"y": -6.76414203643799
},
{
"x": 5.1829137802124,
"y": -5.1829137802124
},
{
"x": 6.76414203643799,
"y": -2.79643106460571
}
],
"reshaped": false,
"shape_type": "polygon",
"vertex_flags": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
],
"tags": [
"walls",
"objects"
],
"version": "1.1"
}