refactor: re-layput project

- move assets (raw jsons, icons, meshes and i18n data) into the root of repo.
- move script into the root of repo.
- modify blender manifest according to this changes.
- optimize gitignore.
This commit is contained in:
2025-07-24 09:39:38 +08:00
parent 9f591113f8
commit 0ae95e927f
132 changed files with 9304 additions and 4329 deletions

11
.gitattributes vendored
View File

@ -1,7 +1,6 @@
# all png are binary # All PNG image are binary
*.png binary *.png binary
# our generated mesh should be save as binary # Element placeholder mesh should be save as binary
*.bin binary *.ph binary
# the raw json data should be binary # Raw json data should be binary, although i edit it manually
# although i edit it manually assets/jsons/*.json binary
bbp_ng/raw_jsons/*.json binary

4
.gitignore vendored
View File

@ -1,3 +1,3 @@
## ===== Personal ===== ## ===== Personal =====
# Disable distribution build folder # Disable VSCode
redist/ .vscode/

View File

Before

Width:  |  Height:  |  Size: 785 B

After

Width:  |  Height:  |  Size: 785 B

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 663 B

After

Width:  |  Height:  |  Size: 663 B

View File

Before

Width:  |  Height:  |  Size: 745 B

After

Width:  |  Height:  |  Size: 745 B

View File

Before

Width:  |  Height:  |  Size: 945 B

After

Width:  |  Height:  |  Size: 945 B

View File

Before

Width:  |  Height:  |  Size: 818 B

After

Width:  |  Height:  |  Size: 818 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 984 B

After

Width:  |  Height:  |  Size: 984 B

View File

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 611 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 471 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 494 B

After

Width:  |  Height:  |  Size: 494 B

View File

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 360 B

View File

Before

Width:  |  Height:  |  Size: 992 B

After

Width:  |  Height:  |  Size: 992 B

View File

Before

Width:  |  Height:  |  Size: 444 B

After

Width:  |  Height:  |  Size: 444 B

View File

Before

Width:  |  Height:  |  Size: 691 B

After

Width:  |  Height:  |  Size: 691 B

View File

Before

Width:  |  Height:  |  Size: 775 B

After

Width:  |  Height:  |  Size: 775 B

View File

Before

Width:  |  Height:  |  Size: 807 B

After

Width:  |  Height:  |  Size: 807 B

View File

Before

Width:  |  Height:  |  Size: 652 B

After

Width:  |  Height:  |  Size: 652 B

View File

Before

Width:  |  Height:  |  Size: 695 B

After

Width:  |  Height:  |  Size: 695 B

View File

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 550 B

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 265 B

After

Width:  |  Height:  |  Size: 265 B

View File

@ -1,183 +1,183 @@
[ [
{ {
"identifier": "raw_floor_1x1", "identifier": "raw_floor_1x1",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "face", "field": "face",
"data": "(True, False, True, True, True, True)" "data": "(True, False, True, True, True, True)"
}, },
{ {
"field": "is_sink", "field": "is_sink",
"data": "False" "data": "False"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "cv_triangle_side", "identifier": "cv_triangle_side",
"skip": "False", "skip": "False",
"params": { "params": {
"edge_length": "5", "edge_length": "5",
"tip_offset": "2.5", "tip_offset": "2.5",
"height": "height", "height": "height",
"face": "(face[0], False, False, False, face[3], None)", "face": "(face[0], False, False, False, face[3], None)",
"is_sink": "is_sink" "is_sink": "is_sink"
}, },
"transform": "move(5, 0, 0) @ rot(0, 0, 90)" "transform": "move(5, 0, 0) @ rot(0, 0, 90)"
}, },
{ {
"identifier": "cv_triangle_side", "identifier": "cv_triangle_side",
"skip": "False", "skip": "False",
"params": { "params": {
"edge_length": "5", "edge_length": "5",
"tip_offset": "2.5", "tip_offset": "2.5",
"height": "height", "height": "height",
"face": "(face[0], False, False, False, face[5], None)", "face": "(face[0], False, False, False, face[5], None)",
"is_sink": "is_sink" "is_sink": "is_sink"
}, },
"transform": "move(5, 5, 0) @ rot(0, 0, 180)" "transform": "move(5, 5, 0) @ rot(0, 0, 180)"
}, },
{ {
"identifier": "cv_triangle_side", "identifier": "cv_triangle_side",
"skip": "False", "skip": "False",
"params": { "params": {
"edge_length": "5", "edge_length": "5",
"tip_offset": "2.5", "tip_offset": "2.5",
"height": "height", "height": "height",
"face": "(face[0], False, False, False, face[2], None)", "face": "(face[0], False, False, False, face[2], None)",
"is_sink": "is_sink" "is_sink": "is_sink"
}, },
"transform": "move(0, 5, 0) @ rot(0, 0, 270)" "transform": "move(0, 5, 0) @ rot(0, 0, 270)"
}, },
{ {
"identifier": "cv_triangle_side", "identifier": "cv_triangle_side",
"skip": "False", "skip": "False",
"params": { "params": {
"edge_length": "5", "edge_length": "5",
"tip_offset": "2.5", "tip_offset": "2.5",
"height": "height", "height": "height",
"face": "(face[0], False, False, False, face[4], None)", "face": "(face[0], False, False, False, face[4], None)",
"is_sink": "is_sink" "is_sink": "is_sink"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "floor_rectangle_bottom", "identifier": "floor_rectangle_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"length": "5", "length": "5",
"width": "5" "width": "5"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
}, },
{ {
"identifier": "floor_normal_1x1", "identifier": "floor_normal_1x1",
"showcase": { "showcase": {
"title": "Normal 1x1", "title": "Normal 1x1",
"icon": "Normal1x1", "icon": "Normal1x1",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, True, True, True)" "default": "(True, False, True, True, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_1x1", "identifier": "raw_floor_1x1",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "False" "is_sink": "False"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_sink_1x1", "identifier": "floor_sink_1x1",
"showcase": { "showcase": {
"title": "Sink 1x1", "title": "Sink 1x1",
"icon": "Sink1x1", "icon": "Sink1x1",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, True, True, True)" "default": "(True, False, True, True, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_1x1", "identifier": "raw_floor_1x1",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "True" "is_sink": "True"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
} }
] ]

View File

@ -1,237 +1,237 @@
[ [
{ {
"identifier": "raw_floor_border", "identifier": "raw_floor_border",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "length", "field": "length",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "height", "field": "height",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "face", "field": "face",
"data": "(True, False, False, False, True, False)" "data": "(True, False, False, False, True, False)"
}, },
{ {
"field": "is_sink", "field": "is_sink",
"data": "False" "data": "False"
}, },
{ {
"field": "is_ribbon", "field": "is_ribbon",
"data": "False" "data": "False"
} }
], ],
"skip": "length == 0.0", "skip": "length == 0.0",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "cv_trapezoid_side", "identifier": "cv_trapezoid_side",
"skip": "False", "skip": "False",
"params": { "params": {
"long_edge_length": "length", "long_edge_length": "length",
"short_edge_offset": "0", "short_edge_offset": "0",
"short_edge_length": "length", "short_edge_length": "length",
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "is_sink", "is_sink": "is_sink",
"is_ribbon": "is_ribbon" "is_ribbon": "is_ribbon"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_normal_border", "identifier": "floor_normal_border",
"showcase": { "showcase": {
"title": "Normal Border", "title": "Normal Border",
"icon": "NormalBorder", "icon": "NormalBorder",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "length_", "field": "length_",
"type": "float", "type": "float",
"title": "Length", "title": "Length",
"desc": "The length of block.", "desc": "The length of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, False, False, True, False)" "default": "(True, False, False, False, True, False)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "length", "field": "length",
"data": "length_" "data": "length_"
}, },
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_border", "identifier": "raw_floor_border",
"skip": "False", "skip": "False",
"params": { "params": {
"length": "length", "length": "length",
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "False", "is_sink": "False",
"is_ribbon": "False" "is_ribbon": "False"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_sink_border", "identifier": "floor_sink_border",
"showcase": { "showcase": {
"title": "Sink Border", "title": "Sink Border",
"icon": "SinkBorder", "icon": "SinkBorder",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "length_", "field": "length_",
"type": "float", "type": "float",
"title": "Length", "title": "Length",
"desc": "The length of block.", "desc": "The length of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, False, False, True, False)" "default": "(True, False, False, False, True, False)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "length", "field": "length",
"data": "length_" "data": "length_"
}, },
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_border", "identifier": "raw_floor_border",
"skip": "False", "skip": "False",
"params": { "params": {
"length": "length", "length": "length",
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "True", "is_sink": "True",
"is_ribbon": "False" "is_ribbon": "False"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_ribbon_border", "identifier": "floor_ribbon_border",
"showcase": { "showcase": {
"title": "Ribbon Border", "title": "Ribbon Border",
"icon": "RibbonBorder", "icon": "RibbonBorder",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "length_", "field": "length_",
"type": "float", "type": "float",
"title": "Length", "title": "Length",
"desc": "The length of block.", "desc": "The length of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, False, False, True, False)" "default": "(True, False, False, False, True, False)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "length", "field": "length",
"data": "length_" "data": "length_"
}, },
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_border", "identifier": "raw_floor_border",
"skip": "False", "skip": "False",
"params": { "params": {
"length": "length", "length": "length",
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "True", "is_sink": "True",
"is_ribbon": "True" "is_ribbon": "True"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
} }
] ]

View File

@ -1,414 +1,414 @@
[ [
{ {
"identifier": "cv_trapezoid_side", "identifier": "cv_trapezoid_side",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "long_edge_length", "field": "long_edge_length",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "short_edge_offset", "field": "short_edge_offset",
"data": "0.0" "data": "0.0"
}, },
{ {
"field": "short_edge_length", "field": "short_edge_length",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "height", "field": "height",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "face", "field": "face",
"data": "(True, False, False, False, True, False)" "data": "(True, False, False, False, True, False)"
}, },
{ {
"field": "is_sink", "field": "is_sink",
"data": "False" "data": "False"
}, },
{ {
"field": "is_ribbon", "field": "is_ribbon",
"data": "False" "data": "False"
} }
], ],
"skip": "long_edge_length == 0.0 or short_edge_length == 0.0", "skip": "long_edge_length == 0.0 or short_edge_length == 0.0",
"vars": [ "vars": [
{ {
"field": "long_edge_uv_length", "field": "long_edge_uv_length",
"data": "long_edge_length / 5.0" "data": "long_edge_length / 5.0"
}, },
{ {
"field": "short_edge_uv_offset", "field": "short_edge_uv_offset",
"data": "short_edge_offset / 5.0" "data": "short_edge_offset / 5.0"
}, },
{ {
"field": "short_edge_uv_length", "field": "short_edge_uv_length",
"data": "short_edge_length / 5.0" "data": "short_edge_length / 5.0"
}, },
{ {
"field": "short_edge_total", "field": "short_edge_total",
"data": "short_edge_offset + short_edge_length" "data": "short_edge_offset + short_edge_length"
}, },
{ {
"field": "short_edge_uv_total", "field": "short_edge_uv_total",
"data": "short_edge_uv_offset + short_edge_uv_length" "data": "short_edge_uv_offset + short_edge_uv_length"
}, },
{ {
"field": "uv_border_texture", "field": "uv_border_texture",
"data": "1.0 if is_ribbon else 0.5" "data": "1.0 if is_ribbon else 0.5"
}, },
{ {
"field": "sink", "field": "sink",
"data": "0.7 if is_sink else 0.0" "data": "0.7 if is_sink else 0.0"
} }
], ],
"vertices": [ "vertices": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(0, 0, 0)" "data": "(0, 0, 0)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(short_edge_offset, 2.5, -sink)" "data": "(short_edge_offset, 2.5, -sink)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(long_edge_length, 0, 0)" "data": "(long_edge_length, 0, 0)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(short_edge_total, 2.5, -sink)" "data": "(short_edge_total, 2.5, -sink)"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"texture": "(\"FloorTopFlat\" if is_ribbon else \"FloorTopProfil\") if is_sink else \"FloorTopBorder\"", "texture": "(\"FloorTopFlat\" if is_ribbon else \"FloorTopProfil\") if is_sink else \"FloorTopBorder\"",
"indices": [0, 2, 3, 1], "indices": [0, 2, 3, 1],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(0, long_edge_uv_length)", "(0, long_edge_uv_length)",
"(uv_border_texture, short_edge_uv_total)", "(uv_border_texture, short_edge_uv_total)",
"(uv_border_texture, short_edge_uv_offset)" "(uv_border_texture, short_edge_uv_offset)"
], ],
"normals": null "normals": null
} }
], ],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[4]", "skip": "not face[4]",
"params": { "params": {
"height": "height", "height": "height",
"length": "long_edge_length", "length": "long_edge_length",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[2]", "skip": "not face[2]",
"params": { "params": {
"height": "height", "height": "height",
"length": "distance(0, 0, short_edge_offset, 2.5)", "length": "distance(0, 0, short_edge_offset, 2.5)",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "is_sink" "is_right_sink": "is_sink"
}, },
"transform": "rot(0, 0, angle(0, 0, short_edge_offset, 2.5)) @ scale(1, -1, 1)" "transform": "rot(0, 0, angle(0, 0, short_edge_offset, 2.5)) @ scale(1, -1, 1)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[3]", "skip": "not face[3]",
"params": { "params": {
"height": "height", "height": "height",
"length": "distance(long_edge_length, 0, short_edge_total, 2.5)", "length": "distance(long_edge_length, 0, short_edge_total, 2.5)",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "is_sink" "is_right_sink": "is_sink"
}, },
"transform": "move(long_edge_length, 0, 0) @ rot(0, 0, angle(long_edge_length, 0, short_edge_total, 2.5))" "transform": "move(long_edge_length, 0, 0) @ rot(0, 0, angle(long_edge_length, 0, short_edge_total, 2.5))"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[5]", "skip": "not face[5]",
"params": { "params": {
"height": "height", "height": "height",
"length": "short_edge_length", "length": "short_edge_length",
"is_left_sink": "is_sink", "is_left_sink": "is_sink",
"is_right_sink": "is_sink" "is_right_sink": "is_sink"
}, },
"transform": "move(short_edge_offset, 2.5, 0) @ scale(1, -1, 1)" "transform": "move(short_edge_offset, 2.5, 0) @ scale(1, -1, 1)"
}, },
{ {
"identifier": "floor_4edges_bottom", "identifier": "floor_4edges_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"top_left_pos": "(0, 0)", "top_left_pos": "(0, 0)",
"top_right_pos": "(short_edge_offset, 2.5)", "top_right_pos": "(short_edge_offset, 2.5)",
"bottom_left_pos": "(long_edge_length, 0)", "bottom_left_pos": "(long_edge_length, 0)",
"bottom_right_pos": "(short_edge_total, 2.5)" "bottom_right_pos": "(short_edge_total, 2.5)"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
}, },
{ {
"identifier": "cv_triangle_side", "identifier": "cv_triangle_side",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "edge_length", "field": "edge_length",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "tip_offset", "field": "tip_offset",
"data": "2.5" "data": "2.5"
}, },
{ {
"field": "height", "field": "height",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "face", "field": "face",
"data": "(True, False, False, False, True, None)" "data": "(True, False, False, False, True, None)"
}, },
{ {
"field": "is_sink", "field": "is_sink",
"data": "False" "data": "False"
} }
], ],
"skip": "edge_length == 0.0", "skip": "edge_length == 0.0",
"vars": [ "vars": [
{ {
"field": "edge_uv_length", "field": "edge_uv_length",
"data": "edge_length / 5.0" "data": "edge_length / 5.0"
}, },
{ {
"field": "tip_uv_offset", "field": "tip_uv_offset",
"data": "tip_offset / 5.0" "data": "tip_offset / 5.0"
}, },
{ {
"field": "sink", "field": "sink",
"data": "0.7 if is_sink else 0.0" "data": "0.7 if is_sink else 0.0"
} }
], ],
"vertices": [ "vertices": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(0, 0, 0)" "data": "(0, 0, 0)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(tip_offset, 2.5, -sink)" "data": "(tip_offset, 2.5, -sink)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(edge_length, 0, 0)" "data": "(edge_length, 0, 0)"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"texture": "\"FloorTopProfil\" if is_sink else \"FloorTopBorder\"", "texture": "\"FloorTopProfil\" if is_sink else \"FloorTopBorder\"",
"indices": [0, 2, 1], "indices": [0, 2, 1],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(0, edge_uv_length)", "(0, edge_uv_length)",
"(0.5, tip_uv_offset)" "(0.5, tip_uv_offset)"
], ],
"normals": null "normals": null
} }
], ],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[4]", "skip": "not face[4]",
"params": { "params": {
"height": "height", "height": "height",
"length": "edge_length", "length": "edge_length",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[2]", "skip": "not face[2]",
"params": { "params": {
"height": "height", "height": "height",
"length": "distance(0, 0, tip_offset, 2.5)", "length": "distance(0, 0, tip_offset, 2.5)",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "is_sink" "is_right_sink": "is_sink"
}, },
"transform": "rot(0, 0, angle(0, 0, tip_offset, 2.5)) @ scale(1, -1, 1)" "transform": "rot(0, 0, angle(0, 0, tip_offset, 2.5)) @ scale(1, -1, 1)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[3]", "skip": "not face[3]",
"params": { "params": {
"height": "height", "height": "height",
"length": "distance(edge_length, 0, tip_offset, 2.5)", "length": "distance(edge_length, 0, tip_offset, 2.5)",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "is_sink" "is_right_sink": "is_sink"
}, },
"transform": "move(edge_length, 0, 0) @ rot(0, 0, angle(edge_length, 0, tip_offset, 2.5))" "transform": "move(edge_length, 0, 0) @ rot(0, 0, angle(edge_length, 0, tip_offset, 2.5))"
}, },
{ {
"identifier": "floor_triangle_bottom", "identifier": "floor_triangle_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"length": "edge_length", "length": "edge_length",
"width": "2.5", "width": "2.5",
"tip_offset": "tip_offset" "tip_offset": "tip_offset"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
}, },
{ {
"identifier": "cv_triangle_center", "identifier": "cv_triangle_center",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "face", "field": "face",
"data": "(True, False, False, False, True, None)" "data": "(True, False, False, False, True, None)"
}, },
{ {
"field": "is_sink", "field": "is_sink",
"data": "False" "data": "False"
} }
], ],
"skip": "False", "skip": "False",
"vars": [ "vars": [
{ {
"field": "sink", "field": "sink",
"data": "0.7 if is_sink else 0.0" "data": "0.7 if is_sink else 0.0"
} }
], ],
"vertices": [ "vertices": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(0, 0, 0)" "data": "(0, 0, 0)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(5, 0, 0)" "data": "(5, 0, 0)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(2.5, 2.5, -sink)" "data": "(2.5, 2.5, -sink)"
}, },
{ {
"skip": "(not face[0]) or (not is_sink)", "skip": "(not face[0]) or (not is_sink)",
"data": "(2.5, 0, -sink)" "data": "(2.5, 0, -sink)"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "(not face[0]) or is_sink", "skip": "(not face[0]) or is_sink",
"texture": "\"FloorTopFlat\"", "texture": "\"FloorTopFlat\"",
"indices": [0, 1, 2], "indices": [0, 1, 2],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(1, 0)", "(1, 0)",
"(0.5, 0.5)" "(0.5, 0.5)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "(not face[0]) or (not is_sink)", "skip": "(not face[0]) or (not is_sink)",
"texture": "\"FloorTopProfil\"", "texture": "\"FloorTopProfil\"",
"indices": [0, 3, 2], "indices": [0, 3, 2],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(0.5, 0)", "(0.5, 0)",
"(0.5, 0.5)" "(0.5, 0.5)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "(not face[0]) or (not is_sink)", "skip": "(not face[0]) or (not is_sink)",
"texture": "\"FloorTopProfil\"", "texture": "\"FloorTopProfil\"",
"indices": [3, 1, 2], "indices": [3, 1, 2],
"uvs": [ "uvs": [
"(0.5, 0)", "(0.5, 0)",
"(1, 0)", "(1, 0)",
"(0.5, 0.5)" "(0.5, 0.5)"
], ],
"normals": null "normals": null
} }
], ],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[2]", "skip": "not face[2]",
"params": { "params": {
"height": "height", "height": "height",
"length": "distance(0, 0, 2.5, 2.5)", "length": "distance(0, 0, 2.5, 2.5)",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "is_sink" "is_right_sink": "is_sink"
}, },
"transform": "rot(0, 0, 45)" "transform": "rot(0, 0, 45)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[3]", "skip": "not face[3]",
"params": { "params": {
"height": "height", "height": "height",
"length": "distance(5, 0, 2.5, 2.5)", "length": "distance(5, 0, 2.5, 2.5)",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "is_sink" "is_right_sink": "is_sink"
}, },
"transform": "move(5, 0, 0) @ rot(0, 0, 135)" "transform": "move(5, 0, 0) @ rot(0, 0, 135)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "(not face[4]) or (not is_sink)", "skip": "(not face[4]) or (not is_sink)",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "True" "is_right_sink": "True"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "(not face[4]) or (not is_sink)", "skip": "(not face[4]) or (not is_sink)",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "True", "is_left_sink": "True",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "move(2.5, 0, 0)" "transform": "move(2.5, 0, 0)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "(not face[4]) or is_sink", "skip": "(not face[4]) or is_sink",
"params": { "params": {
"height": "height", "height": "height",
"length": "5", "length": "5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "floor_triangle_bottom", "identifier": "floor_triangle_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"length": "5", "length": "5",
"width": "2.5", "width": "2.5",
"tip_offset": "2.5" "tip_offset": "2.5"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
} }
] ]

View File

@ -1,460 +1,460 @@
[ [
{ {
"identifier": "raw_floor_corner", "identifier": "raw_floor_corner",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "face", "field": "face",
"data": "(True, False, False, False, False, False)" "data": "(True, False, False, False, False, False)"
}, },
{ {
"field": "is_sink", "field": "is_sink",
"data": "False" "data": "False"
}, },
{ {
"field": "is_inner", "field": "is_inner",
"data": "False" "data": "False"
}, },
{ {
"field": "is_ribbon", "field": "is_ribbon",
"data": "False" "data": "False"
} }
], ],
"skip": "False", "skip": "False",
"vars": [ "vars": [
{ {
"field": "PXPY_sink", "field": "PXPY_sink",
"data": "0.7 if (is_sink and (not is_inner)) else 0" "data": "0.7 if (is_sink and (not is_inner)) else 0"
}, },
{ {
"field": "NXNY_sink", "field": "NXNY_sink",
"data": "0.7 if (is_sink and is_inner) else 0" "data": "0.7 if (is_sink and is_inner) else 0"
}, },
{ {
"field": "PXPY_uv", "field": "PXPY_uv",
"data": "(0 if is_inner else 0.5) * (2 if is_ribbon else 1)" "data": "(0 if is_inner else 0.5) * (2 if is_ribbon else 1)"
}, },
{ {
"field": "NXNY_uv", "field": "NXNY_uv",
"data": "(0.5 if is_inner else 0) * (2 if is_ribbon else 1)" "data": "(0.5 if is_inner else 0) * (2 if is_ribbon else 1)"
}, },
{ {
"field": "corner_texture", "field": "corner_texture",
"data": "(\"FloorTopFlat\" if is_ribbon else \"FloorTopProfil\") if is_sink else \"FloorTopBorder\"" "data": "(\"FloorTopFlat\" if is_ribbon else \"FloorTopProfil\") if is_sink else \"FloorTopBorder\""
} }
], ],
"vertices": [ "vertices": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(0, 0, -NXNY_sink)" "data": "(0, 0, -NXNY_sink)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(2.5, 0, -NXNY_sink)" "data": "(2.5, 0, -NXNY_sink)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(2.5, 2.5, -PXPY_sink)" "data": "(2.5, 2.5, -PXPY_sink)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(0, 2.5, -NXNY_sink)" "data": "(0, 2.5, -NXNY_sink)"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"texture": "corner_texture", "texture": "corner_texture",
"indices": [0, 1, 2], "indices": [0, 1, 2],
"uvs": [ "uvs": [
"(NXNY_uv, 0.5)", "(NXNY_uv, 0.5)",
"(NXNY_uv, 0)", "(NXNY_uv, 0)",
"(PXPY_uv, 0)" "(PXPY_uv, 0)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"texture": "corner_texture", "texture": "corner_texture",
"indices": [0, 2, 3], "indices": [0, 2, 3],
"uvs": [ "uvs": [
"(NXNY_uv, 0.5)", "(NXNY_uv, 0.5)",
"(PXPY_uv, 0)", "(PXPY_uv, 0)",
"(NXNY_uv, 0)" "(NXNY_uv, 0)"
], ],
"normals": null "normals": null
} }
], ],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[4]", "skip": "not face[4]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "NXNY_sink != 0", "is_left_sink": "NXNY_sink != 0",
"is_right_sink": "NXNY_sink != 0" "is_right_sink": "NXNY_sink != 0"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[2]", "skip": "not face[2]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "NXNY_sink != 0", "is_left_sink": "NXNY_sink != 0",
"is_right_sink": "NXNY_sink != 0" "is_right_sink": "NXNY_sink != 0"
}, },
"transform": "move(0, 2.5, 0) @ rot(0, 0, -90)" "transform": "move(0, 2.5, 0) @ rot(0, 0, -90)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[3]", "skip": "not face[3]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "NXNY_sink != 0", "is_left_sink": "NXNY_sink != 0",
"is_right_sink": "PXPY_sink != 0" "is_right_sink": "PXPY_sink != 0"
}, },
"transform": "move(2.5, 0, 0) @ rot(0, 0, 90)" "transform": "move(2.5, 0, 0) @ rot(0, 0, 90)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[5]", "skip": "not face[5]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "PXPY_sink != 0", "is_left_sink": "PXPY_sink != 0",
"is_right_sink": "NXNY_sink != 0" "is_right_sink": "NXNY_sink != 0"
}, },
"transform": "move(2.5, 2.5, 0) @ rot(0, 0, 180)" "transform": "move(2.5, 2.5, 0) @ rot(0, 0, 180)"
}, },
{ {
"identifier": "floor_rectangle_bottom", "identifier": "floor_rectangle_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"length": "2.5", "length": "2.5",
"width": "2.5" "width": "2.5"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
}, },
{ {
"identifier": "floor_normal_inner_corner", "identifier": "floor_normal_inner_corner",
"showcase": { "showcase": {
"title": "Normal Inner Corner", "title": "Normal Inner Corner",
"icon": "NormalInnerCorner", "icon": "NormalInnerCorner",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, False, False, False, False)" "default": "(True, False, False, False, False, False)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_corner", "identifier": "raw_floor_corner",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "False", "is_sink": "False",
"is_inner": "True", "is_inner": "True",
"is_ribbon": "False" "is_ribbon": "False"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_sink_inner_corner", "identifier": "floor_sink_inner_corner",
"showcase": { "showcase": {
"title": "Sink Inner Corner", "title": "Sink Inner Corner",
"icon": "SinkInnerCorner", "icon": "SinkInnerCorner",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, False, False, False, False)" "default": "(True, False, False, False, False, False)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_corner", "identifier": "raw_floor_corner",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "True", "is_sink": "True",
"is_inner": "True", "is_inner": "True",
"is_ribbon": "False" "is_ribbon": "False"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_ribbon_inner_corner", "identifier": "floor_ribbon_inner_corner",
"showcase": { "showcase": {
"title": "Ribbon Inner Corner", "title": "Ribbon Inner Corner",
"icon": "RibbonInnerCorner", "icon": "RibbonInnerCorner",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, False, False, False, False)" "default": "(True, False, False, False, False, False)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_corner", "identifier": "raw_floor_corner",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "True", "is_sink": "True",
"is_inner": "True", "is_inner": "True",
"is_ribbon": "True" "is_ribbon": "True"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_normal_outter_corner", "identifier": "floor_normal_outter_corner",
"showcase": { "showcase": {
"title": "Normal Outter Corner", "title": "Normal Outter Corner",
"icon": "NormalOutterCorner", "icon": "NormalOutterCorner",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, False, True, False)" "default": "(True, False, True, False, True, False)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_corner", "identifier": "raw_floor_corner",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "False", "is_sink": "False",
"is_inner": "False", "is_inner": "False",
"is_ribbon": "False" "is_ribbon": "False"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_sink_outter_corner", "identifier": "floor_sink_outter_corner",
"showcase": { "showcase": {
"title": "Sink Outter Corner", "title": "Sink Outter Corner",
"icon": "SinkOutterCorner", "icon": "SinkOutterCorner",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, False, True, False)" "default": "(True, False, True, False, True, False)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_corner", "identifier": "raw_floor_corner",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "True", "is_sink": "True",
"is_inner": "False", "is_inner": "False",
"is_ribbon": "False" "is_ribbon": "False"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_ribbon_outter_corner", "identifier": "floor_ribbon_outter_corner",
"showcase": { "showcase": {
"title": "Ribbon Outter Corner", "title": "Ribbon Outter Corner",
"icon": "RibbonOutterCorner", "icon": "RibbonOutterCorner",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, False, True, False)" "default": "(True, False, True, False, True, False)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_corner", "identifier": "raw_floor_corner",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "True", "is_sink": "True",
"is_inner": "False", "is_inner": "False",
"is_ribbon": "True" "is_ribbon": "True"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
} }
] ]

File diff suppressed because it is too large Load Diff

View File

@ -1,171 +1,171 @@
[ [
{ {
"identifier": "floor_flat", "identifier": "floor_flat",
"showcase": { "showcase": {
"title": "Flat", "title": "Flat",
"icon": "Flat", "icon": "Flat",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "length_", "field": "length_",
"type": "float", "type": "float",
"title": "Length", "title": "Length",
"desc": "The length of block.", "desc": "The length of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "width_", "field": "width_",
"type": "float", "type": "float",
"title": "Width", "title": "Width",
"desc": "The width of block.", "desc": "The width of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, False, False, False, False)" "default": "(True, False, False, False, False, False)"
}, },
{ {
"field": "is_sink_", "field": "is_sink_",
"type": "float", "type": "float",
"title": "Is Sink", "title": "Is Sink",
"desc": "Whether this flat floor is used for sink floor.", "desc": "Whether this flat floor is used for sink floor.",
"default": "False" "default": "False"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "length", "field": "length",
"data": "length_" "data": "length_"
}, },
{ {
"field": "width", "field": "width",
"data": "width_" "data": "width_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
}, },
{ {
"field": "is_sink", "field": "is_sink",
"data": "is_sink_" "data": "is_sink_"
} }
], ],
"skip": "length == 0.0 or width == 0.0", "skip": "length == 0.0 or width == 0.0",
"vars": [ "vars": [
{ {
"field": "sink", "field": "sink",
"data": "0.7 if is_sink else 0" "data": "0.7 if is_sink else 0"
}, },
{ {
"field": "uv_length", "field": "uv_length",
"data": "length / 5.0" "data": "length / 5.0"
}, },
{ {
"field": "uv_width", "field": "uv_width",
"data": "width / 5.0" "data": "width / 5.0"
} }
], ],
"vertices": [ "vertices": [
{ {
"skip": "False", "skip": "False",
"data": "(0, 0, -sink)" "data": "(0, 0, -sink)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(length, 0, -sink)" "data": "(length, 0, -sink)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(length, width, -sink)" "data": "(length, width, -sink)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(0, width, -sink)" "data": "(0, width, -sink)"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"texture": "\"FloorTopBorderless\"", "texture": "\"FloorTopBorderless\"",
"indices": [0, 1, 2, 3], "indices": [0, 1, 2, 3],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(uv_length, 0)", "(uv_length, 0)",
"(uv_length, uv_width)", "(uv_length, uv_width)",
"(0, uv_width)" "(0, uv_width)"
], ],
"normals": null "normals": null
} }
], ],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[4]", "skip": "not face[4]",
"params": { "params": {
"height": "height", "height": "height",
"length": "length", "length": "length",
"is_left_sink": "is_sink", "is_left_sink": "is_sink",
"is_right_sink": "is_sink" "is_right_sink": "is_sink"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[2]", "skip": "not face[2]",
"params": { "params": {
"height": "height", "height": "height",
"length": "width", "length": "width",
"is_left_sink": "is_sink", "is_left_sink": "is_sink",
"is_right_sink": "is_sink" "is_right_sink": "is_sink"
}, },
"transform": "move(0, width, 0) @ rot(0, 0, -90)" "transform": "move(0, width, 0) @ rot(0, 0, -90)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[3]", "skip": "not face[3]",
"params": { "params": {
"height": "height", "height": "height",
"length": "width", "length": "width",
"is_left_sink": "is_sink", "is_left_sink": "is_sink",
"is_right_sink": "is_sink" "is_right_sink": "is_sink"
}, },
"transform": "move(length, 0, 0) @ rot(0, 0, 90)" "transform": "move(length, 0, 0) @ rot(0, 0, 90)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[5]", "skip": "not face[5]",
"params": { "params": {
"height": "height", "height": "height",
"length": "length", "length": "length",
"is_left_sink": "is_sink", "is_left_sink": "is_sink",
"is_right_sink": "is_sink" "is_right_sink": "is_sink"
}, },
"transform": "move(length, width, 0) @ rot(0, 0, 180)" "transform": "move(length, width, 0) @ rot(0, 0, 180)"
}, },
{ {
"identifier": "floor_rectangle_bottom", "identifier": "floor_rectangle_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"length": "length", "length": "length",
"width": "width" "width": "width"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
} }
] ]

View File

@ -1,340 +1,340 @@
[ [
{ {
"identifier": "raw_floor_platform", "identifier": "raw_floor_platform",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "length", "field": "length",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "width", "field": "width",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "face", "field": "face",
"data": "(True, False, True, True, True, True)" "data": "(True, False, True, True, True, True)"
}, },
{ {
"field": "is_sink", "field": "is_sink",
"data": "False" "data": "False"
}, },
{ {
"field": "is_ribbon", "field": "is_ribbon",
"data": "False" "data": "False"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "cv_trapezoid_side", "identifier": "cv_trapezoid_side",
"skip": "False", "skip": "False",
"params": { "params": {
"long_edge_length": "length + 5", "long_edge_length": "length + 5",
"short_edge_offset": "2.5", "short_edge_offset": "2.5",
"short_edge_length": "length", "short_edge_length": "length",
"height": "height", "height": "height",
"face": "(face[0], False, False, False, face[4], False)", "face": "(face[0], False, False, False, face[4], False)",
"is_sink": "is_sink", "is_sink": "is_sink",
"is_ribbon": "is_ribbon" "is_ribbon": "is_ribbon"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "cv_trapezoid_side", "identifier": "cv_trapezoid_side",
"skip": "False", "skip": "False",
"params": { "params": {
"long_edge_length": "length + 5", "long_edge_length": "length + 5",
"short_edge_offset": "2.5", "short_edge_offset": "2.5",
"short_edge_length": "length", "short_edge_length": "length",
"height": "height", "height": "height",
"face": "(face[0], False, False, False, face[5], False)", "face": "(face[0], False, False, False, face[5], False)",
"is_sink": "is_sink", "is_sink": "is_sink",
"is_ribbon": "is_ribbon" "is_ribbon": "is_ribbon"
}, },
"transform": "move(0, 5 + width, 0) @ scale(1, -1, 1)" "transform": "move(0, 5 + width, 0) @ scale(1, -1, 1)"
}, },
{ {
"identifier": "cv_trapezoid_side", "identifier": "cv_trapezoid_side",
"skip": "False", "skip": "False",
"params": { "params": {
"long_edge_length": "width + 5", "long_edge_length": "width + 5",
"short_edge_offset": "2.5", "short_edge_offset": "2.5",
"short_edge_length": "width", "short_edge_length": "width",
"height": "height", "height": "height",
"face": "(face[0], False, False, False, face[3], False)", "face": "(face[0], False, False, False, face[3], False)",
"is_sink": "is_sink", "is_sink": "is_sink",
"is_ribbon": "is_ribbon" "is_ribbon": "is_ribbon"
}, },
"transform": "move(5 + length, 0, 0) @ rot(0, 0, 90)" "transform": "move(5 + length, 0, 0) @ rot(0, 0, 90)"
}, },
{ {
"identifier": "cv_trapezoid_side", "identifier": "cv_trapezoid_side",
"skip": "False", "skip": "False",
"params": { "params": {
"long_edge_length": "width + 5", "long_edge_length": "width + 5",
"short_edge_offset": "2.5", "short_edge_offset": "2.5",
"short_edge_length": "width", "short_edge_length": "width",
"height": "height", "height": "height",
"face": "(face[0], False, False, False, face[2], False)", "face": "(face[0], False, False, False, face[2], False)",
"is_sink": "is_sink", "is_sink": "is_sink",
"is_ribbon": "is_ribbon" "is_ribbon": "is_ribbon"
}, },
"transform": "rot(0, 0, 90) @ scale(1, -1, 1)" "transform": "rot(0, 0, 90) @ scale(1, -1, 1)"
}, },
{ {
"identifier": "floor_flat", "identifier": "floor_flat",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"length": "length", "length": "length",
"width": "width", "width": "width",
"face": "(face[0], False, False, False, False, False)", "face": "(face[0], False, False, False, False, False)",
"is_sink": "is_sink" "is_sink": "is_sink"
}, },
"transform": "move(2.5, 2.5, 0)" "transform": "move(2.5, 2.5, 0)"
}, },
{ {
"identifier": "floor_rectangle_bottom", "identifier": "floor_rectangle_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"length": "5 + length", "length": "5 + length",
"width": "5 + width" "width": "5 + width"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
}, },
{ {
"identifier": "floor_normal_platform", "identifier": "floor_normal_platform",
"showcase": { "showcase": {
"title": "Normal Platform", "title": "Normal Platform",
"icon": "NormalPlatform", "icon": "NormalPlatform",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "length_", "field": "length_",
"type": "float", "type": "float",
"title": "Length", "title": "Length",
"desc": "The length of block.", "desc": "The length of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "width_", "field": "width_",
"type": "float", "type": "float",
"title": "Width", "title": "Width",
"desc": "The width of block.", "desc": "The width of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, True, True, True)" "default": "(True, False, True, True, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "length", "field": "length",
"data": "length_" "data": "length_"
}, },
{ {
"field": "width", "field": "width",
"data": "width_" "data": "width_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_platform", "identifier": "raw_floor_platform",
"skip": "False", "skip": "False",
"params": { "params": {
"length": "length", "length": "length",
"width": "width", "width": "width",
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "False", "is_sink": "False",
"is_ribbon": "False" "is_ribbon": "False"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_sink_platform", "identifier": "floor_sink_platform",
"showcase": { "showcase": {
"title": "Sink Platform", "title": "Sink Platform",
"icon": "SinkPlatform", "icon": "SinkPlatform",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "length_", "field": "length_",
"type": "float", "type": "float",
"title": "Length", "title": "Length",
"desc": "The length of block.", "desc": "The length of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "width_", "field": "width_",
"type": "float", "type": "float",
"title": "Width", "title": "Width",
"desc": "The width of block.", "desc": "The width of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, True, True, True)" "default": "(True, False, True, True, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "length", "field": "length",
"data": "length_" "data": "length_"
}, },
{ {
"field": "width", "field": "width",
"data": "width_" "data": "width_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_platform", "identifier": "raw_floor_platform",
"skip": "False", "skip": "False",
"params": { "params": {
"length": "length", "length": "length",
"width": "width", "width": "width",
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "True", "is_sink": "True",
"is_ribbon": "False" "is_ribbon": "False"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_ribbon_platform", "identifier": "floor_ribbon_platform",
"showcase": { "showcase": {
"title": "Ribbon Platform", "title": "Ribbon Platform",
"icon": "RibbonPlatform", "icon": "RibbonPlatform",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "length_", "field": "length_",
"type": "float", "type": "float",
"title": "Length", "title": "Length",
"desc": "The length of block.", "desc": "The length of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "width_", "field": "width_",
"type": "float", "type": "float",
"title": "Width", "title": "Width",
"desc": "The width of block.", "desc": "The width of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, True, True, True)" "default": "(True, False, True, True, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "length", "field": "length",
"data": "length_" "data": "length_"
}, },
{ {
"field": "width", "field": "width",
"data": "width_" "data": "width_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_platform", "identifier": "raw_floor_platform",
"skip": "False", "skip": "False",
"params": { "params": {
"length": "length", "length": "length",
"width": "width", "width": "width",
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "True", "is_sink": "True",
"is_ribbon": "True" "is_ribbon": "True"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
} }
] ]

View File

@ -1,324 +1,324 @@
[ [
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "length", "field": "length",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "is_left_sink", "field": "is_left_sink",
"data": "False" "data": "False"
}, },
{ {
"field": "is_right_sink", "field": "is_right_sink",
"data": "False" "data": "False"
} }
], ],
"skip": "height <= (0.7 if (is_left_sink or is_right_sink) else 0.0) or length == 0.0", "skip": "height <= (0.7 if (is_left_sink or is_right_sink) else 0.0) or length == 0.0",
"vars": [ "vars": [
{ {
"field": "skip_long_side", "field": "skip_long_side",
"data": "height <= 5.0" "data": "height <= 5.0"
}, },
{ {
"field": "skip_short_side", "field": "skip_short_side",
"data": "height > 5.0" "data": "height > 5.0"
}, },
{ {
"field": "uv_height", "field": "uv_height",
"data": "height / 5.0" "data": "height / 5.0"
}, },
{ {
"field": "uv_length", "field": "uv_length",
"data": "length / 5.0" "data": "length / 5.0"
}, },
{ {
"field": "left_sink", "field": "left_sink",
"data": "0.7 if is_left_sink else 0.0" "data": "0.7 if is_left_sink else 0.0"
}, },
{ {
"field": "right_sink", "field": "right_sink",
"data": "0.7 if is_right_sink else 0.0" "data": "0.7 if is_right_sink else 0.0"
}, },
{ {
"field": "uv_left_sink", "field": "uv_left_sink",
"data": "left_sink / 5.0" "data": "left_sink / 5.0"
}, },
{ {
"field": "uv_right_sink", "field": "uv_right_sink",
"data": "right_sink / 5.0" "data": "right_sink / 5.0"
} }
], ],
"vertices": [ "vertices": [
{ {
"skip": "False", "skip": "False",
"data": "(0, 0, -left_sink)" "data": "(0, 0, -left_sink)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(length, 0, -right_sink)" "data": "(length, 0, -right_sink)"
}, },
{ {
"skip": "skip_long_side", "skip": "skip_long_side",
"data": "(0, 0, -5.0)" "data": "(0, 0, -5.0)"
}, },
{ {
"skip": "skip_long_side", "skip": "skip_long_side",
"data": "(length, 0, -5.0)" "data": "(length, 0, -5.0)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(0, 0, -height)" "data": "(0, 0, -height)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(length, 0, -height)" "data": "(length, 0, -height)"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "skip_short_side", "skip": "skip_short_side",
"texture": "\"FloorSide\"", "texture": "\"FloorSide\"",
"indices": [0, 2, 3, 1], "indices": [0, 2, 3, 1],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(uv_height - uv_left_sink, 0)", "(uv_height - uv_left_sink, 0)",
"(uv_height - uv_right_sink, uv_length)", "(uv_height - uv_right_sink, uv_length)",
"(0, uv_length)" "(0, uv_length)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "skip_long_side", "skip": "skip_long_side",
"texture": "\"LightingFloorTopBorder\"", "texture": "\"LightingFloorTopBorder\"",
"indices": [0, 2, 3, 1], "indices": [0, 2, 3, 1],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(1 - uv_left_sink, 0)", "(1 - uv_left_sink, 0)",
"(1 - uv_right_sink, uv_length)", "(1 - uv_right_sink, uv_length)",
"(0, uv_length)" "(0, uv_length)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "skip_long_side", "skip": "skip_long_side",
"texture": "\"LightingFloorTopBorderless\"", "texture": "\"LightingFloorTopBorderless\"",
"indices": [2, 4, 5, 3], "indices": [2, 4, 5, 3],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(uv_height - 1.0, 0)", "(uv_height - 1.0, 0)",
"(uv_height - 1.0, uv_length)", "(uv_height - 1.0, uv_length)",
"(0, uv_length)" "(0, uv_length)"
], ],
"normals": null "normals": null
} }
], ],
"instances": [] "instances": []
}, },
{ {
"identifier": "floor_4edges_bottom", "identifier": "floor_4edges_bottom",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "top_left_pos", "field": "top_left_pos",
"data": "(0.0, 0.0)" "data": "(0.0, 0.0)"
}, },
{ {
"field": "top_right_pos", "field": "top_right_pos",
"data": "(0.0, 5.0)" "data": "(0.0, 5.0)"
}, },
{ {
"field": "bottom_left_pos", "field": "bottom_left_pos",
"data": "(5.0, 0.0)" "data": "(5.0, 0.0)"
}, },
{ {
"field": "bottom_right_pos", "field": "bottom_right_pos",
"data": "(5.0, 5.0)" "data": "(5.0, 5.0)"
} }
], ],
"skip": "False", "skip": "False",
"vars": [ "vars": [
{ {
"field": "top_left_uv", "field": "top_left_uv",
"data": "tuple(map(lambda x: x / 5.0, top_left_pos))" "data": "tuple(map(lambda x: x / 5.0, top_left_pos))"
}, },
{ {
"field": "top_right_uv", "field": "top_right_uv",
"data": "tuple(map(lambda x: x / 5.0, top_right_pos))" "data": "tuple(map(lambda x: x / 5.0, top_right_pos))"
}, },
{ {
"field": "bottom_left_uv", "field": "bottom_left_uv",
"data": "tuple(map(lambda x: x / 5.0, bottom_left_pos))" "data": "tuple(map(lambda x: x / 5.0, bottom_left_pos))"
}, },
{ {
"field": "bottom_right_uv", "field": "bottom_right_uv",
"data": "tuple(map(lambda x: x / 5.0, bottom_right_pos))" "data": "tuple(map(lambda x: x / 5.0, bottom_right_pos))"
} }
], ],
"vertices": [ "vertices": [
{ {
"skip": "False", "skip": "False",
"data": "top_left_pos + (0, )" "data": "top_left_pos + (0, )"
}, },
{ {
"skip": "False", "skip": "False",
"data": "top_right_pos + (0, )" "data": "top_right_pos + (0, )"
}, },
{ {
"skip": "False", "skip": "False",
"data": "bottom_left_pos + (0, )" "data": "bottom_left_pos + (0, )"
}, },
{ {
"skip": "False", "skip": "False",
"data": "bottom_right_pos + (0, )" "data": "bottom_right_pos + (0, )"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "False", "skip": "False",
"texture": "\"FloorTopBorderless\"", "texture": "\"FloorTopBorderless\"",
"indices": [0, 1, 3, 2], "indices": [0, 1, 3, 2],
"uvs": [ "uvs": [
"top_left_uv", "top_left_uv",
"top_right_uv", "top_right_uv",
"bottom_right_uv", "bottom_right_uv",
"bottom_left_uv" "bottom_left_uv"
], ],
"normals": null "normals": null
} }
], ],
"instances": [] "instances": []
}, },
{ {
"identifier": "floor_3edges_bottom", "identifier": "floor_3edges_bottom",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "top_pos", "field": "top_pos",
"data": "(0.0, 0.0)" "data": "(0.0, 0.0)"
}, },
{ {
"field": "bottom_pos", "field": "bottom_pos",
"data": "(5.0, 0.0)" "data": "(5.0, 0.0)"
}, },
{ {
"field": "tip_pos", "field": "tip_pos",
"data": "(2.5, 2.5)" "data": "(2.5, 2.5)"
} }
], ],
"skip": "False", "skip": "False",
"vars": [ "vars": [
{ {
"field": "top_uv", "field": "top_uv",
"data": "tuple(map(lambda x: x / 5.0, top_pos))" "data": "tuple(map(lambda x: x / 5.0, top_pos))"
}, },
{ {
"field": "bottom_uv", "field": "bottom_uv",
"data": "tuple(map(lambda x: x / 5.0, bottom_pos))" "data": "tuple(map(lambda x: x / 5.0, bottom_pos))"
}, },
{ {
"field": "tip_uv", "field": "tip_uv",
"data": "tuple(map(lambda x: x / 5.0, tip_pos))" "data": "tuple(map(lambda x: x / 5.0, tip_pos))"
} }
], ],
"vertices": [ "vertices": [
{ {
"skip": "False", "skip": "False",
"data": "top_pos + (0, )" "data": "top_pos + (0, )"
}, },
{ {
"skip": "False", "skip": "False",
"data": "bottom_pos + (0, )" "data": "bottom_pos + (0, )"
}, },
{ {
"skip": "False", "skip": "False",
"data": "tip_pos + (0, )" "data": "tip_pos + (0, )"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "False", "skip": "False",
"texture": "\"FloorTopBorderless\"", "texture": "\"FloorTopBorderless\"",
"indices": [0, 2, 1], "indices": [0, 2, 1],
"uvs": [ "uvs": [
"top_uv", "top_uv",
"tip_uv", "tip_uv",
"bottom_uv" "bottom_uv"
], ],
"normals": null "normals": null
} }
], ],
"instances": [] "instances": []
}, },
{ {
"identifier": "floor_rectangle_bottom", "identifier": "floor_rectangle_bottom",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "length", "field": "length",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "width", "field": "width",
"data": "5.0" "data": "5.0"
} }
], ],
"skip": "length == 0.0 or width == 0.0", "skip": "length == 0.0 or width == 0.0",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "floor_4edges_bottom", "identifier": "floor_4edges_bottom",
"skip": "False", "skip": "False",
"params": { "params": {
"top_left_pos": "(0, 0)", "top_left_pos": "(0, 0)",
"top_right_pos": "(0, width)", "top_right_pos": "(0, width)",
"bottom_left_pos": "(length, 0)", "bottom_left_pos": "(length, 0)",
"bottom_right_pos": "(length, width)" "bottom_right_pos": "(length, width)"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_triangle_bottom", "identifier": "floor_triangle_bottom",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "length", "field": "length",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "width", "field": "width",
"data": "2.5" "data": "2.5"
}, },
{ {
"field": "tip_offset", "field": "tip_offset",
"data": "2.5" "data": "2.5"
} }
], ],
"skip": "length == 0.0", "skip": "length == 0.0",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "floor_3edges_bottom", "identifier": "floor_3edges_bottom",
"skip": "False", "skip": "False",
"params": { "params": {
"top_pos": "(0, 0)", "top_pos": "(0, 0)",
"bottom_pos": "(length, 0)", "bottom_pos": "(length, 0)",
"tip_pos": "(tip_offset, width)" "tip_pos": "(tip_offset, width)"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
} }
] ]

View File

@ -1,322 +1,322 @@
[ [
{ {
"identifier": "floor_normal_straight", "identifier": "floor_normal_straight",
"showcase": { "showcase": {
"title": "Normal Floor", "title": "Normal Floor",
"icon": "NormalFloor", "icon": "NormalFloor",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "length_", "field": "length_",
"type": "float", "type": "float",
"title": "Length", "title": "Length",
"desc": "The length of block.", "desc": "The length of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, False, False, True, True)" "default": "(True, False, False, False, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "length", "field": "length",
"data": "length_" "data": "length_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "length == 0", "skip": "length == 0",
"vars": [ "vars": [
{ {
"field": "length_uv", "field": "length_uv",
"data": "length / 5.0" "data": "length / 5.0"
} }
], ],
"vertices": [ "vertices": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(0, 0, 0)" "data": "(0, 0, 0)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(length, 0, 0)" "data": "(length, 0, 0)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(length, 5, 0)" "data": "(length, 5, 0)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(0, 5, 0)" "data": "(0, 5, 0)"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"texture": "\"FloorTopFlat\"", "texture": "\"FloorTopFlat\"",
"indices": [0, 1, 2, 3], "indices": [0, 1, 2, 3],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(0, length_uv)", "(0, length_uv)",
"(1, length_uv)", "(1, length_uv)",
"(1, 0)" "(1, 0)"
], ],
"normals": null "normals": null
} }
], ],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[2]", "skip": "not face[2]",
"params": { "params": {
"height": "height", "height": "height",
"length": "5", "length": "5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "rot(0, 0, 90) @ scale(1, -1, 1)" "transform": "rot(0, 0, 90) @ scale(1, -1, 1)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[3]", "skip": "not face[3]",
"params": { "params": {
"height": "height", "height": "height",
"length": "5", "length": "5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "move(length, 0, 0) @ rot(0, 0, 90)" "transform": "move(length, 0, 0) @ rot(0, 0, 90)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[4]", "skip": "not face[4]",
"params": { "params": {
"height": "height", "height": "height",
"length": "length", "length": "length",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[5]", "skip": "not face[5]",
"params": { "params": {
"height": "height", "height": "height",
"length": "length", "length": "length",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "move(0, 5, 0) @ scale(1, -1, 1)" "transform": "move(0, 5, 0) @ scale(1, -1, 1)"
}, },
{ {
"identifier": "floor_rectangle_bottom", "identifier": "floor_rectangle_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"length": "length", "length": "length",
"width": "5" "width": "5"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
}, },
{ {
"identifier": "floor_sink_straight", "identifier": "floor_sink_straight",
"showcase": { "showcase": {
"title": "Sink Floor", "title": "Sink Floor",
"icon": "SinkFloor", "icon": "SinkFloor",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "length_", "field": "length_",
"type": "float", "type": "float",
"title": "Length", "title": "Length",
"desc": "The length of block.", "desc": "The length of block.",
"default": "2.5" "default": "2.5"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, False, False, True, True)" "default": "(True, False, False, False, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "length", "field": "length",
"data": "length_" "data": "length_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "length == 0", "skip": "length == 0",
"vars": [ "vars": [
{ {
"field": "length_uv", "field": "length_uv",
"data": "length / 5.0" "data": "length / 5.0"
} }
], ],
"vertices": [ "vertices": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(0, 0, 0)" "data": "(0, 0, 0)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(length, 0, 0)" "data": "(length, 0, 0)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(length, 2.5, -0.7)" "data": "(length, 2.5, -0.7)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(0, 2.5, -0.7)" "data": "(0, 2.5, -0.7)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(length, 5, 0)" "data": "(length, 5, 0)"
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"data": "(0, 5, 0)" "data": "(0, 5, 0)"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"texture": "\"FloorTopProfil\"", "texture": "\"FloorTopProfil\"",
"indices": [0, 1, 2, 3], "indices": [0, 1, 2, 3],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(0, length_uv)", "(0, length_uv)",
"(0.5, length_uv)", "(0.5, length_uv)",
"(0.5, 0)" "(0.5, 0)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "not face[0]", "skip": "not face[0]",
"texture": "\"FloorTopProfil\"", "texture": "\"FloorTopProfil\"",
"indices": [3, 2, 4, 5], "indices": [3, 2, 4, 5],
"uvs": [ "uvs": [
"(0.5, 0)", "(0.5, 0)",
"(0.5, length_uv)", "(0.5, length_uv)",
"(1, length_uv)", "(1, length_uv)",
"(1, 0)" "(1, 0)"
], ],
"normals": null "normals": null
} }
], ],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[2]", "skip": "not face[2]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "True" "is_right_sink": "True"
}, },
"transform": "rot(0, 0, 90) @ scale(1, -1, 1)" "transform": "rot(0, 0, 90) @ scale(1, -1, 1)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[2]", "skip": "not face[2]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "True", "is_left_sink": "True",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "move(0, 2.5, 0) @ rot(0, 0, 90) @ scale(1, -1, 1)" "transform": "move(0, 2.5, 0) @ rot(0, 0, 90) @ scale(1, -1, 1)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[3]", "skip": "not face[3]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "True" "is_right_sink": "True"
}, },
"transform": "move(length, 0, 0) @ rot(0, 0, 90)" "transform": "move(length, 0, 0) @ rot(0, 0, 90)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[3]", "skip": "not face[3]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "True", "is_left_sink": "True",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "move(length, 2.5, 0) @ rot(0, 0, 90)" "transform": "move(length, 2.5, 0) @ rot(0, 0, 90)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[4]", "skip": "not face[4]",
"params": { "params": {
"height": "height", "height": "height",
"length": "length", "length": "length",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[5]", "skip": "not face[5]",
"params": { "params": {
"height": "height", "height": "height",
"length": "length", "length": "length",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "move(0, 5, 0) @ scale(1, -1, 1)" "transform": "move(0, 5, 0) @ scale(1, -1, 1)"
}, },
{ {
"identifier": "floor_rectangle_bottom", "identifier": "floor_rectangle_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"length": "length", "length": "length",
"width": "5" "width": "5"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
} }
] ]

View File

@ -1,171 +1,171 @@
[ [
{ {
"identifier": "raw_floor_terminal", "identifier": "raw_floor_terminal",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "face", "field": "face",
"data": "(True, False, True, False, True, True)" "data": "(True, False, True, False, True, True)"
}, },
{ {
"field": "is_sink", "field": "is_sink",
"data": "False" "data": "False"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "cv_triangle_side", "identifier": "cv_triangle_side",
"skip": "False", "skip": "False",
"params": { "params": {
"edge_length": "2.5", "edge_length": "2.5",
"tip_offset": "2.5", "tip_offset": "2.5",
"height": "height", "height": "height",
"face": "(face[0], False, False, face[3], face[4], None)", "face": "(face[0], False, False, face[3], face[4], None)",
"is_sink": "is_sink" "is_sink": "is_sink"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "cv_triangle_side", "identifier": "cv_triangle_side",
"skip": "False", "skip": "False",
"params": { "params": {
"edge_length": "2.5", "edge_length": "2.5",
"tip_offset": "2.5", "tip_offset": "2.5",
"height": "height", "height": "height",
"face": "(face[0], False, False, face[3], face[5], None)", "face": "(face[0], False, False, face[3], face[5], None)",
"is_sink": "is_sink" "is_sink": "is_sink"
}, },
"transform": "move(0, 5, 0) @ scale(1, -1, 1)" "transform": "move(0, 5, 0) @ scale(1, -1, 1)"
}, },
{ {
"identifier": "cv_triangle_side", "identifier": "cv_triangle_side",
"skip": "False", "skip": "False",
"params": { "params": {
"edge_length": "5", "edge_length": "5",
"tip_offset": "2.5", "tip_offset": "2.5",
"height": "height", "height": "height",
"face": "(face[0], False, False, False, face[2], None)", "face": "(face[0], False, False, False, face[2], None)",
"is_sink": "is_sink" "is_sink": "is_sink"
}, },
"transform": "move(0, 5, 0) @ rot(0, 0, -90)" "transform": "move(0, 5, 0) @ rot(0, 0, -90)"
}, },
{ {
"identifier": "floor_rectangle_bottom", "identifier": "floor_rectangle_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"length": "2.5", "length": "2.5",
"width": "5" "width": "5"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
}, },
{ {
"identifier": "floor_normal_terminal", "identifier": "floor_normal_terminal",
"showcase": { "showcase": {
"title": "Normal Floor Terminal", "title": "Normal Floor Terminal",
"icon": "NormalFloorTerminal", "icon": "NormalFloorTerminal",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, False, True, True)" "default": "(True, False, True, False, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_terminal", "identifier": "raw_floor_terminal",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "False" "is_sink": "False"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "floor_sink_terminal", "identifier": "floor_sink_terminal",
"showcase": { "showcase": {
"title": "Sink Floor Terminal", "title": "Sink Floor Terminal",
"icon": "SinkFloorTerminal", "icon": "SinkFloorTerminal",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, False, True, True)" "default": "(True, False, True, False, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_terminal", "identifier": "raw_floor_terminal",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face": "face", "face": "face",
"is_sink": "True" "is_sink": "True"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
} }
] ]

View File

@ -1,286 +1,286 @@
[ [
{ {
"identifier": "raw_trafo", "identifier": "raw_trafo",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "trafo_texture", "field": "trafo_texture",
"data": "\"BallWood\"" "data": "\"BallWood\""
}, },
{ {
"field": "height", "field": "height",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "face", "field": "face",
"data": "(True, False, True, True, True, True)" "data": "(True, False, True, True, True, True)"
} }
], ],
"skip": "False", "skip": "False",
"vars": [ "vars": [
{ {
"field": "uv_height", "field": "uv_height",
"data": "height / 5.0" "data": "height / 5.0"
} }
], ],
"vertices": [ "vertices": [
{ {
"skip": "False", "skip": "False",
"data": "(0, 0, 0)" "data": "(0, 0, 0)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(5, 0, 0)" "data": "(5, 0, 0)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(5, 5, 0)" "data": "(5, 5, 0)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(0, 5, 0)" "data": "(0, 5, 0)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(0, 0, -height)" "data": "(0, 0, -height)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(5, 0, -height)" "data": "(5, 0, -height)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(5, 5, -height)" "data": "(5, 5, -height)"
}, },
{ {
"skip": "False", "skip": "False",
"data": "(0, 5, -height)" "data": "(0, 5, -height)"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "not face[0]", "skip": "not face[0]",
"texture": "trafo_texture", "texture": "trafo_texture",
"indices": [0, 1, 2, 3], "indices": [0, 1, 2, 3],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(1, 0)", "(1, 0)",
"(1, 1)", "(1, 1)",
"(0, 1)" "(0, 1)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "(not face[1]) or height == 0.0", "skip": "(not face[1]) or height == 0.0",
"texture": "trafo_texture", "texture": "trafo_texture",
"indices": [5, 4, 7, 6], "indices": [5, 4, 7, 6],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(1, 0)", "(1, 0)",
"(1, 1)", "(1, 1)",
"(0, 1)" "(0, 1)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "(not face[2]) or height == 0.0", "skip": "(not face[2]) or height == 0.0",
"texture": "trafo_texture", "texture": "trafo_texture",
"indices": [3, 7, 4, 0], "indices": [3, 7, 4, 0],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(uv_height, 0)", "(uv_height, 0)",
"(uv_height, 1)", "(uv_height, 1)",
"(0, 1)" "(0, 1)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "(not face[3]) or height == 0.0", "skip": "(not face[3]) or height == 0.0",
"texture": "trafo_texture", "texture": "trafo_texture",
"indices": [1, 5, 6, 2], "indices": [1, 5, 6, 2],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(uv_height, 0)", "(uv_height, 0)",
"(uv_height, 1)", "(uv_height, 1)",
"(0, 1)" "(0, 1)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "(not face[4]) or height == 0.0", "skip": "(not face[4]) or height == 0.0",
"texture": "trafo_texture", "texture": "trafo_texture",
"indices": [0, 4, 5, 1], "indices": [0, 4, 5, 1],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(uv_height, 0)", "(uv_height, 0)",
"(uv_height, 1)", "(uv_height, 1)",
"(0, 1)" "(0, 1)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "(not face[5]) or height == 0.0", "skip": "(not face[5]) or height == 0.0",
"texture": "trafo_texture", "texture": "trafo_texture",
"indices": [2, 6, 7, 3], "indices": [2, 6, 7, 3],
"uvs": [ "uvs": [
"(0, 0)", "(0, 0)",
"(uv_height, 0)", "(uv_height, 0)",
"(uv_height, 1)", "(uv_height, 1)",
"(0, 1)" "(0, 1)"
], ],
"normals": null "normals": null
} }
], ],
"instances": [] "instances": []
}, },
{ {
"identifier": "wood_trafo", "identifier": "wood_trafo",
"showcase": { "showcase": {
"title": "Wood Trafo", "title": "Wood Trafo",
"icon": "WoodTrafo", "icon": "WoodTrafo",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, True, True, True)" "default": "(True, False, True, True, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_trafo", "identifier": "raw_trafo",
"skip": "False", "skip": "False",
"params": { "params": {
"trafo_texture": "\"BallWood\"", "trafo_texture": "\"BallWood\"",
"height": "height", "height": "height",
"face": "face" "face": "face"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "stone_trafo", "identifier": "stone_trafo",
"showcase": { "showcase": {
"title": "Stone Trafo", "title": "Stone Trafo",
"icon": "StoneTrafo", "icon": "StoneTrafo",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, True, True, True)" "default": "(True, False, True, True, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_trafo", "identifier": "raw_trafo",
"skip": "False", "skip": "False",
"params": { "params": {
"trafo_texture": "\"BallStone\"", "trafo_texture": "\"BallStone\"",
"height": "height", "height": "height",
"face": "face" "face": "face"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
}, },
{ {
"identifier": "paper_trafo", "identifier": "paper_trafo",
"showcase": { "showcase": {
"title": "Paper Trafo", "title": "Paper Trafo",
"icon": "PaperTrafo", "icon": "PaperTrafo",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, True, True, True, True)" "default": "(True, False, True, True, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_trafo", "identifier": "raw_trafo",
"skip": "False", "skip": "False",
"params": { "params": {
"trafo_texture": "\"BallPaper\"", "trafo_texture": "\"BallPaper\"",
"height": "height", "height": "height",
"face": "face" "face": "face"
}, },
"transform": "ident()" "transform": "ident()"
} }
] ]
} }
] ]

View File

@ -1,270 +1,270 @@
[ [
{ {
"identifier": "raw_floor_transition_part", "identifier": "raw_floor_transition_part",
"showcase": null, "showcase": null,
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "5.0" "data": "5.0"
}, },
{ {
"field": "face_part", "field": "face_part",
"data": "(True, False, False)" "data": "(True, False, False)"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [ "vertices": [
{ {
"skip": "not face_part[0]", "skip": "not face_part[0]",
"data": "(0, 0, 0)" "data": "(0, 0, 0)"
}, },
{ {
"skip": "not face_part[0]", "skip": "not face_part[0]",
"data": "(5, 0, 0)" "data": "(5, 0, 0)"
}, },
{ {
"skip": "not face_part[0]", "skip": "not face_part[0]",
"data": "(0, 2.5, -0.7)" "data": "(0, 2.5, -0.7)"
}, },
{ {
"skip": "not face_part[0]", "skip": "not face_part[0]",
"data": "(5, 5, 0)" "data": "(5, 5, 0)"
}, },
{ {
"skip": "not face_part[0]", "skip": "not face_part[0]",
"data": "(0, 5, 0)" "data": "(0, 5, 0)"
} }
], ],
"faces": [ "faces": [
{ {
"skip": "not face_part[0]", "skip": "not face_part[0]",
"texture": "\"FloorTopProfilFlat\"", "texture": "\"FloorTopProfilFlat\"",
"indices": [0, 1, 2], "indices": [0, 1, 2],
"uvs": [ "uvs": [
"(0, 1)", "(0, 1)",
"(0, 0)", "(0, 0)",
"(0.5, 1)" "(0.5, 1)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "not face_part[0]", "skip": "not face_part[0]",
"texture": "\"FloorTopProfilFlat\"", "texture": "\"FloorTopProfilFlat\"",
"indices": [3, 2, 1], "indices": [3, 2, 1],
"uvs": [ "uvs": [
"(1, 0)", "(1, 0)",
"(0.5, 1)", "(0.5, 1)",
"(0, 0)" "(0, 0)"
], ],
"normals": null "normals": null
}, },
{ {
"skip": "not face_part[0]", "skip": "not face_part[0]",
"texture": "\"FloorTopProfilFlat\"", "texture": "\"FloorTopProfilFlat\"",
"indices": [2, 3, 4], "indices": [2, 3, 4],
"uvs": [ "uvs": [
"(0.5, 1)", "(0.5, 1)",
"(1, 0)", "(1, 0)",
"(1, 1)" "(1, 1)"
], ],
"normals": null "normals": null
} }
], ],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face_part[1]", "skip": "not face_part[1]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "True" "is_right_sink": "True"
}, },
"transform": "move(0, 5, 0) @ rot(0, 0, -90)" "transform": "move(0, 5, 0) @ rot(0, 0, -90)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face_part[1]", "skip": "not face_part[1]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "True", "is_left_sink": "True",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "move(0, 2.5, 0) @ rot(0, 0, -90)" "transform": "move(0, 2.5, 0) @ rot(0, 0, -90)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face_part[2]", "skip": "not face_part[2]",
"params": { "params": {
"height": "height", "height": "height",
"length": "5", "length": "5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "move(5, 0, 0) @ rot(0, 0, 90)" "transform": "move(5, 0, 0) @ rot(0, 0, 90)"
} }
] ]
}, },
{ {
"identifier": "floor_transition", "identifier": "floor_transition",
"showcase": { "showcase": {
"title": "Transition", "title": "Transition",
"icon": "Transition", "icon": "Transition",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, False, False, True, True)" "default": "(True, False, False, False, True, True)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_transition_part", "identifier": "raw_floor_transition_part",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face_part": "(face[0], face[2], face[3])" "face_part": "(face[0], face[2], face[3])"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[4]", "skip": "not face[4]",
"params": { "params": {
"height": "height", "height": "height",
"length": "5", "length": "5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[5]", "skip": "not face[5]",
"params": { "params": {
"height": "height", "height": "height",
"length": "5", "length": "5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "move(5, 5, 0) @ rot(0, 0, 180)" "transform": "move(5, 5, 0) @ rot(0, 0, 180)"
}, },
{ {
"identifier": "floor_rectangle_bottom", "identifier": "floor_rectangle_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"length": "5", "length": "5",
"width": "5" "width": "5"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
}, },
{ {
"identifier": "floor_narrow_transition", "identifier": "floor_narrow_transition",
"showcase": { "showcase": {
"title": "Narrow Transition", "title": "Narrow Transition",
"icon": "NarrowTransition", "icon": "NarrowTransition",
"type": "floor", "type": "floor",
"cfgs": [ "cfgs": [
{ {
"field": "height_", "field": "height_",
"type": "float", "type": "float",
"title": "Height", "title": "Height",
"desc": "The height of block.", "desc": "The height of block.",
"default": "5.0" "default": "5.0"
}, },
{ {
"field": "face_", "field": "face_",
"type": "face", "type": "face",
"title": "Face", "title": "Face",
"desc": "Whether has some faces.", "desc": "Whether has some faces.",
"default": "(True, False, False, False, False, False)" "default": "(True, False, False, False, False, False)"
} }
] ]
}, },
"params": [ "params": [
{ {
"field": "height", "field": "height",
"data": "height_" "data": "height_"
}, },
{ {
"field": "face", "field": "face",
"data": "face_" "data": "face_"
} }
], ],
"skip": "False", "skip": "False",
"vars": [], "vars": [],
"vertices": [], "vertices": [],
"faces": [], "faces": [],
"instances": [ "instances": [
{ {
"identifier": "raw_floor_transition_part", "identifier": "raw_floor_transition_part",
"skip": "False", "skip": "False",
"params": { "params": {
"height": "height", "height": "height",
"face_part": "(face[0], face[2], face[3])" "face_part": "(face[0], face[2], face[3])"
}, },
"transform": "scale(0.5, 1, 1)" "transform": "scale(0.5, 1, 1)"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[4]", "skip": "not face[4]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "ident()" "transform": "ident()"
}, },
{ {
"identifier": "raw_floor_side", "identifier": "raw_floor_side",
"skip": "not face[5]", "skip": "not face[5]",
"params": { "params": {
"height": "height", "height": "height",
"length": "2.5", "length": "2.5",
"is_left_sink": "False", "is_left_sink": "False",
"is_right_sink": "False" "is_right_sink": "False"
}, },
"transform": "move(2.5, 5, 0) @ rot(0, 0, 180)" "transform": "move(2.5, 5, 0) @ rot(0, 0, 180)"
}, },
{ {
"identifier": "floor_rectangle_bottom", "identifier": "floor_rectangle_bottom",
"skip": "not face[1]", "skip": "not face[1]",
"params": { "params": {
"length": "2.5", "length": "2.5",
"width": "5" "width": "5"
}, },
"transform": "move(0, 0, -height)" "transform": "move(0, 0, -height)"
} }
] ]
} }
] ]

Some files were not shown because too many files have changed in this diff Show More