Spaces:
Runtime error
Runtime error
Try a different release.
Browse files- godot.gd +5 -47
- node_3d.tscn +143 -164
godot.gd
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
@tool
|
| 2 |
extends EditorScript
|
| 3 |
|
| 4 |
-
var data:Dictionary = {"
|
| 5 |
|
| 6 |
const architext_colors = [[0, 0, 0], [249, 222, 182], [195, 209, 217], [250, 120, 128], [126, 202, 234], [190, 0, 198], [255, 255, 255],
|
| 7 |
[6, 53, 17], [17, 33, 58], [132, 151, 246], [197, 203, 159], [6, 53, 17],]
|
|
@@ -29,6 +29,7 @@ func create_room(name: String, coords: Array, parent: Node, root: Node, depth: f
|
|
| 29 |
polygon.mode = CSGPolygon3D.MODE_DEPTH
|
| 30 |
polygon.depth = depth
|
| 31 |
polygon.operation = operation
|
|
|
|
| 32 |
|
| 33 |
polygon.rotate_x(deg_to_rad(90))
|
| 34 |
|
|
@@ -47,40 +48,6 @@ func create_room(name: String, coords: Array, parent: Node, root: Node, depth: f
|
|
| 47 |
parent.add_child(polygon, true)
|
| 48 |
polygon.owner = root
|
| 49 |
|
| 50 |
-
func create_corridor(name: String, coords: Array, parent: Node, root: Node, depth: float = 0.1, inset: float = 0.0, operation: int = CSGPolygon3D.OPERATION_SUBTRACTION) -> void:
|
| 51 |
-
# Calculate the center of the corridor
|
| 52 |
-
var center = Vector2.ZERO
|
| 53 |
-
for i in range(0, coords.size(), 2):
|
| 54 |
-
center += Vector2(coords[i], coords[i+1])
|
| 55 |
-
center /= (coords.size() / 2)
|
| 56 |
-
|
| 57 |
-
# Create vertices for the corridor with inset
|
| 58 |
-
var verts = PackedVector2Array()
|
| 59 |
-
for i in range(0, coords.size(), 2):
|
| 60 |
-
var vertex = Vector2(coords[i], coords[i+1])
|
| 61 |
-
var direction = (vertex - center).normalized()
|
| 62 |
-
verts.append(vertex + direction * inset)
|
| 63 |
-
|
| 64 |
-
# Create a new CSGPolygon3D with given name
|
| 65 |
-
var polygon = CSGPolygon3D.new()
|
| 66 |
-
polygon.polygon = verts
|
| 67 |
-
polygon.name = name
|
| 68 |
-
polygon.mode = CSGPolygon3D.MODE_DEPTH
|
| 69 |
-
polygon.depth = depth
|
| 70 |
-
polygon.operation = CSGPolygon3D.OPERATION_SUBTRACTION # Set operation to subtraction
|
| 71 |
-
polygon.operation = operation
|
| 72 |
-
|
| 73 |
-
polygon.rotate_x(deg_to_rad(90))
|
| 74 |
-
|
| 75 |
-
# Apply color coding
|
| 76 |
-
var material = StandardMaterial3D.new()
|
| 77 |
-
material.albedo_color = Color(architext_colors[housegan_labels[name]][0]/255.0, architext_colors[housegan_labels[name]][1]/255.0, architext_colors[housegan_labels[name]][2]/255.0).srgb_to_linear()
|
| 78 |
-
polygon.material = material
|
| 79 |
-
|
| 80 |
-
# Add polygons to the parent node
|
| 81 |
-
parent.add_child(polygon, true)
|
| 82 |
-
polygon.owner = root
|
| 83 |
-
|
| 84 |
|
| 85 |
func _run():
|
| 86 |
var root = get_scene()
|
|
@@ -97,25 +64,16 @@ func _run():
|
|
| 97 |
var csg_combiner_plate: CSGCombiner3D = CSGCombiner3D.new()
|
| 98 |
csg_combiner_plate.name = "CSGCombiner3D_Plate"
|
| 99 |
csg_combiner_plate.transform.origin.y = csg_combiner_plate.transform.origin.y - 0.1
|
| 100 |
-
|
| 101 |
csg_combiner_plate.owner = root
|
| 102 |
-
|
| 103 |
for room_name in data.keys():
|
| 104 |
if room_name != "corridor":
|
| 105 |
create_room(room_name, data[room_name], csg_combiner, root, -2.74)
|
| 106 |
-
|
| 107 |
-
for room_name in data.keys():
|
| 108 |
-
if room_name == "corridor":
|
| 109 |
-
create_corridor(room_name, data[room_name], csg_combiner, root, -2.74)
|
| 110 |
|
| 111 |
for room_name in data.keys():
|
| 112 |
if room_name != "corridor":
|
| 113 |
create_room(room_name + "Inset", data[room_name], csg_combiner, root, -(2.74 + 0.4), -0.24, CSGPolygon3D.OPERATION_SUBTRACTION)
|
| 114 |
|
| 115 |
for room_name in data.keys():
|
| 116 |
-
|
| 117 |
-
create_corridor(room_name + "Inset", data[room_name], csg_combiner, root, -(2.74 + 0.4), -0.24, CSGPolygon3D.OPERATION_SUBTRACTION)
|
| 118 |
-
|
| 119 |
-
for room_name in data.keys():
|
| 120 |
-
if room_name != "corridor":
|
| 121 |
-
create_room(room_name + "Inset", data[room_name], csg_combiner_plate, root, .2, 0.06, CSGPolygon3D.OPERATION_UNION, Color.from_string("#11344d", Color.WHITE))
|
|
|
|
| 1 |
@tool
|
| 2 |
extends EditorScript
|
| 3 |
|
| 4 |
+
var data:Dictionary = {"bedroom1": [9.014084507042254, 4.366197183098592, 3.8732394366197185, 4.366197183098592, 3.8732394366197185, 2.323943661971831, 9.014084507042254, 2.323943661971831], "living_room": [14.15492957746479, 11.619718309859156, 9.014084507042254, 11.619718309859156, 9.014084507042254, 5.422535211267606, 14.15492957746479, 5.422535211267606], "bathroom1": [7.95774647887324, 7.464788732394367, 5.915492957746479, 7.464788732394367, 5.915492957746479, 4.366197183098592, 7.95774647887324, 4.366197183098592], "bedroom2": [7.95774647887324, 12.605633802816902, 4.859154929577465, 12.605633802816902, 4.859154929577465, 7.464788732394367, 7.95774647887324, 7.464788732394367], "bathroom2": [10.070422535211268, 15.704225352112676, 7.95774647887324, 15.704225352112676, 7.95774647887324, 13.661971830985916, 10.070422535211268, 13.661971830985916], "bedroom3": [14.15492957746479, 15.704225352112676, 10.070422535211268, 15.704225352112676, 10.070422535211268, 12.605633802816902, 14.15492957746479, 12.605633802816902], "kitchen": [13.169014084507042, 5.422535211267606, 9.014084507042254, 5.422535211267606, 9.014084507042254, 2.323943661971831, 13.169014084507042, 2.323943661971831], "corridor": [14.15492957746479, 12.605633802816902, 10.070422535211268, 12.605633802816902, 10.070422535211268, 13.661971830985916, 7.95774647887324, 13.661971830985916, 7.95774647887324, 4.366197183098592, 9.014084507042254, 4.366197183098592, 9.014084507042254, 11.619718309859156, 14.15492957746479, 11.619718309859156]}
|
| 5 |
|
| 6 |
const architext_colors = [[0, 0, 0], [249, 222, 182], [195, 209, 217], [250, 120, 128], [126, 202, 234], [190, 0, 198], [255, 255, 255],
|
| 7 |
[6, 53, 17], [17, 33, 58], [132, 151, 246], [197, 203, 159], [6, 53, 17],]
|
|
|
|
| 29 |
polygon.mode = CSGPolygon3D.MODE_DEPTH
|
| 30 |
polygon.depth = depth
|
| 31 |
polygon.operation = operation
|
| 32 |
+
polygon.smooth_faces = true
|
| 33 |
|
| 34 |
polygon.rotate_x(deg_to_rad(90))
|
| 35 |
|
|
|
|
| 48 |
parent.add_child(polygon, true)
|
| 49 |
polygon.owner = root
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
func _run():
|
| 53 |
var root = get_scene()
|
|
|
|
| 64 |
var csg_combiner_plate: CSGCombiner3D = CSGCombiner3D.new()
|
| 65 |
csg_combiner_plate.name = "CSGCombiner3D_Plate"
|
| 66 |
csg_combiner_plate.transform.origin.y = csg_combiner_plate.transform.origin.y - 0.1
|
| 67 |
+
csg_combiner.add_child(csg_combiner_plate, true)
|
| 68 |
csg_combiner_plate.owner = root
|
| 69 |
+
|
| 70 |
for room_name in data.keys():
|
| 71 |
if room_name != "corridor":
|
| 72 |
create_room(room_name, data[room_name], csg_combiner, root, -2.74)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
for room_name in data.keys():
|
| 75 |
if room_name != "corridor":
|
| 76 |
create_room(room_name + "Inset", data[room_name], csg_combiner, root, -(2.74 + 0.4), -0.24, CSGPolygon3D.OPERATION_SUBTRACTION)
|
| 77 |
|
| 78 |
for room_name in data.keys():
|
| 79 |
+
create_room(room_name + "Foundation", data[room_name], csg_combiner_plate, root, .2, 0.06, CSGPolygon3D.OPERATION_UNION, Color.from_string("#11344d", Color.WHITE))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
node_3d.tscn
CHANGED
|
@@ -1,242 +1,221 @@
|
|
| 1 |
-
[gd_scene load_steps=
|
| 2 |
|
| 3 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 4 |
-
albedo_color = Color(0.
|
| 5 |
-
|
| 6 |
-
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3ku6b"]
|
| 7 |
-
albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
|
| 8 |
-
|
| 9 |
-
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_x10lu"]
|
| 10 |
-
albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
|
| 11 |
|
| 12 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 13 |
-
albedo_color = Color(0.
|
| 14 |
|
| 15 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 16 |
-
albedo_color = Color(0.
|
| 17 |
|
| 18 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 19 |
-
albedo_color = Color(0.
|
| 20 |
|
| 21 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 22 |
-
albedo_color = Color(0.
|
| 23 |
|
| 24 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 25 |
-
albedo_color = Color(0.
|
| 26 |
|
| 27 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 28 |
-
albedo_color = Color(0.
|
| 29 |
|
| 30 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 31 |
-
albedo_color = Color(0.
|
| 32 |
|
| 33 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 34 |
albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
|
| 35 |
|
| 36 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 37 |
albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
|
| 38 |
|
| 39 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 40 |
-
albedo_color = Color(0.545724, 0.637597, 0.693872, 1)
|
| 41 |
-
|
| 42 |
-
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jugi7"]
|
| 43 |
albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
|
| 44 |
|
| 45 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 46 |
-
albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
|
| 47 |
-
|
| 48 |
-
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0yx83"]
|
| 49 |
albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
|
| 50 |
|
| 51 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 52 |
albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
|
| 53 |
|
| 54 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 55 |
albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
|
| 56 |
|
| 57 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 58 |
-
albedo_color = Color(0.
|
| 59 |
-
|
| 60 |
-
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_80gg8"]
|
| 61 |
-
albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
|
| 62 |
|
| 63 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 64 |
-
albedo_color = Color(0.
|
| 65 |
|
| 66 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 67 |
-
albedo_color = Color(0.
|
| 68 |
|
| 69 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 70 |
-
albedo_color = Color(0.
|
| 71 |
|
| 72 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 73 |
-
albedo_color = Color(0.
|
| 74 |
|
| 75 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 76 |
-
albedo_color = Color(0.
|
| 77 |
|
| 78 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 79 |
-
albedo_color = Color(0.
|
| 80 |
|
| 81 |
-
[sub_resource type="StandardMaterial3D" id="
|
| 82 |
-
albedo_color = Color(0.
|
| 83 |
|
| 84 |
[node name="Node3D" type="Node3D"]
|
| 85 |
|
| 86 |
-
[node name="
|
| 87 |
|
| 88 |
-
[node name="
|
| 89 |
-
transform = Transform3D(1, 0, 0, 0,
|
| 90 |
-
polygon = PackedVector2Array(9.50704, 5.42254, 7.46479, 5.42254, 7.46479, 3.30986, 9.50704, 3.30986)
|
| 91 |
-
material = SubResource("StandardMaterial3D_a5yt8")
|
| 92 |
|
| 93 |
-
[node name="
|
| 94 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 95 |
-
polygon = PackedVector2Array(
|
| 96 |
-
|
|
|
|
|
|
|
| 97 |
|
| 98 |
-
[node name="
|
| 99 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 100 |
-
polygon = PackedVector2Array(
|
| 101 |
-
|
|
|
|
|
|
|
| 102 |
|
| 103 |
-
[node name="
|
| 104 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 105 |
-
polygon = PackedVector2Array(
|
| 106 |
-
|
|
|
|
|
|
|
| 107 |
|
| 108 |
-
[node name="
|
| 109 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 110 |
-
polygon = PackedVector2Array(
|
| 111 |
-
|
|
|
|
|
|
|
| 112 |
|
| 113 |
-
[node name="
|
| 114 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 115 |
-
polygon = PackedVector2Array(
|
| 116 |
-
|
|
|
|
|
|
|
| 117 |
|
| 118 |
-
[node name="
|
| 119 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 120 |
-
polygon = PackedVector2Array(
|
| 121 |
-
|
|
|
|
|
|
|
| 122 |
|
| 123 |
-
[node name="
|
| 124 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 125 |
-
polygon = PackedVector2Array(
|
| 126 |
-
|
|
|
|
|
|
|
| 127 |
|
| 128 |
-
[node name="
|
| 129 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 130 |
-
polygon = PackedVector2Array(
|
| 131 |
-
|
|
|
|
|
|
|
| 132 |
|
| 133 |
-
[node name="
|
| 134 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
material = SubResource("
|
| 138 |
|
| 139 |
-
[node name="
|
| 140 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
material = SubResource("
|
| 144 |
|
| 145 |
-
[node name="
|
| 146 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
material = SubResource("
|
| 150 |
|
| 151 |
-
[node name="
|
| 152 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
material = SubResource("
|
| 156 |
|
| 157 |
-
[node name="
|
| 158 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
material = SubResource("
|
| 162 |
|
| 163 |
-
[node name="
|
| 164 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
material = SubResource("
|
| 168 |
|
| 169 |
-
[node name="
|
| 170 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
material = SubResource("
|
| 174 |
|
| 175 |
-
[node name="
|
| 176 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 177 |
operation = 2
|
| 178 |
-
polygon = PackedVector2Array(
|
| 179 |
-
|
|
|
|
| 180 |
|
| 181 |
-
[node name="
|
| 182 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 183 |
operation = 2
|
| 184 |
-
polygon = PackedVector2Array(
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
[node name="CSGCombiner3D_Plate" type="CSGCombiner3D" parent="."]
|
| 188 |
-
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0)
|
| 189 |
|
| 190 |
-
[node name="bathroom1Inset" type="CSGPolygon3D" parent="
|
| 191 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
[node name="bedroom1Inset" type="CSGPolygon3D" parent="CSGCombiner3D_Plate"]
|
| 197 |
-
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 198 |
-
polygon = PackedVector2Array(11.6535, 4.41577, 9.47324, 4.41577, 9.47324, 1.21803, 11.6535, 1.21803)
|
| 199 |
-
depth = 0.2
|
| 200 |
-
material = SubResource("StandardMaterial3D_80gg8")
|
| 201 |
-
|
| 202 |
-
[node name="living_roomInset" type="CSGPolygon3D" parent="CSGCombiner3D_Plate"]
|
| 203 |
-
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 204 |
-
polygon = PackedVector2Array(9.55843, 8.5521, 4.31481, 8.5521, 4.31481, 5.39156, 9.55843, 5.39156)
|
| 205 |
-
depth = 0.2
|
| 206 |
-
material = SubResource("StandardMaterial3D_msi2a")
|
| 207 |
-
|
| 208 |
-
[node name="kitchenInset" type="CSGPolygon3D" parent="CSGCombiner3D_Plate"]
|
| 209 |
-
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 210 |
-
polygon = PackedVector2Array(9.53388, 12.6593, 7.43796, 12.6593, 7.43796, 8.46746, 9.53388, 8.46746)
|
| 211 |
-
depth = 0.2
|
| 212 |
-
material = SubResource("StandardMaterial3D_kxlmc")
|
| 213 |
-
|
| 214 |
-
[node name="bathroom2Inset" type="CSGPolygon3D" parent="CSGCombiner3D_Plate"]
|
| 215 |
-
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 216 |
-
polygon = PackedVector2Array(11.6535, 9.55662, 9.47324, 9.55662, 9.47324, 6.35888, 11.6535, 6.35888)
|
| 217 |
-
depth = 0.2
|
| 218 |
-
material = SubResource("StandardMaterial3D_utua4")
|
| 219 |
|
| 220 |
-
[node name="bedroom2Inset" type="CSGPolygon3D" parent="
|
| 221 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
|
|
|
| 225 |
|
| 226 |
-
[node name="
|
| 227 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
|
|
|
| 231 |
|
| 232 |
-
[node name="
|
| 233 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
|
|
|
| 237 |
|
| 238 |
-
[node name="
|
| 239 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
|
|
|
|
|
| 1 |
+
[gd_scene load_steps=23 format=3 uid="uid://dt01uew1tusvb"]
|
| 2 |
|
| 3 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ju4a3"]
|
| 4 |
+
albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nthg4"]
|
| 7 |
+
albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
|
| 8 |
|
| 9 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_s37c8"]
|
| 10 |
+
albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
|
| 11 |
|
| 12 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3p1uk"]
|
| 13 |
+
albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
|
| 14 |
|
| 15 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t6exi"]
|
| 16 |
+
albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
|
| 17 |
|
| 18 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ngfkr"]
|
| 19 |
+
albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
|
| 20 |
|
| 21 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_clor1"]
|
| 22 |
+
albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
|
| 23 |
|
| 24 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_im2sy"]
|
| 25 |
+
albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
|
| 26 |
|
| 27 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fasko"]
|
| 28 |
albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
|
| 29 |
|
| 30 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rgoi2"]
|
| 31 |
albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
|
| 32 |
|
| 33 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6fnyj"]
|
|
|
|
|
|
|
|
|
|
| 34 |
albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
|
| 35 |
|
| 36 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ykxdu"]
|
|
|
|
|
|
|
|
|
|
| 37 |
albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
|
| 38 |
|
| 39 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3r8xt"]
|
| 40 |
albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
|
| 41 |
|
| 42 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_b58u2"]
|
| 43 |
albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
|
| 44 |
|
| 45 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mwssx"]
|
| 46 |
+
albedo_color = Color(0.545724, 0.637597, 0.693872, 1)
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xllp6"]
|
| 49 |
+
albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
|
| 50 |
|
| 51 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hrx20"]
|
| 52 |
+
albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
|
| 53 |
|
| 54 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8ufpn"]
|
| 55 |
+
albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
|
| 56 |
|
| 57 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hp6ox"]
|
| 58 |
+
albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
|
| 59 |
|
| 60 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ogjqe"]
|
| 61 |
+
albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
|
| 62 |
|
| 63 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rhl1c"]
|
| 64 |
+
albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
|
| 65 |
|
| 66 |
+
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0hll6"]
|
| 67 |
+
albedo_color = Color(0.545724, 0.637597, 0.693872, 1)
|
| 68 |
|
| 69 |
[node name="Node3D" type="Node3D"]
|
| 70 |
|
| 71 |
+
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="."]
|
| 72 |
|
| 73 |
+
[node name="CSGCombiner3D_Plate" type="CSGCombiner3D" parent="CSGCombiner3D"]
|
| 74 |
+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0)
|
|
|
|
|
|
|
| 75 |
|
| 76 |
+
[node name="bedroom1Foundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
|
| 77 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 78 |
+
polygon = PackedVector2Array(9.06985, 4.38835, 3.81748, 4.38835, 3.81748, 2.30179, 9.06985, 2.30179)
|
| 79 |
+
depth = 0.2
|
| 80 |
+
smooth_faces = true
|
| 81 |
+
material = SubResource("StandardMaterial3D_ju4a3")
|
| 82 |
|
| 83 |
+
[node name="living_roomFoundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
|
| 84 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 85 |
+
polygon = PackedVector2Array(14.1932, 11.6659, 8.97578, 11.6659, 8.97578, 5.37636, 14.1932, 5.37636)
|
| 86 |
+
depth = 0.2
|
| 87 |
+
smooth_faces = true
|
| 88 |
+
material = SubResource("StandardMaterial3D_nthg4")
|
| 89 |
|
| 90 |
+
[node name="bathroom1Foundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
|
| 91 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 92 |
+
polygon = PackedVector2Array(7.99077, 7.51489, 5.88247, 7.51489, 5.88247, 4.3161, 7.99077, 4.3161)
|
| 93 |
+
depth = 0.2
|
| 94 |
+
smooth_faces = true
|
| 95 |
+
material = SubResource("StandardMaterial3D_s37c8")
|
| 96 |
|
| 97 |
+
[node name="bedroom2Foundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
|
| 98 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 99 |
+
polygon = PackedVector2Array(7.98872, 12.657, 4.82818, 12.657, 4.82818, 7.4134, 7.98872, 7.4134)
|
| 100 |
+
depth = 0.2
|
| 101 |
+
smooth_faces = true
|
| 102 |
+
material = SubResource("StandardMaterial3D_3p1uk")
|
| 103 |
|
| 104 |
+
[node name="bathroom2Foundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
|
| 105 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 106 |
+
polygon = PackedVector2Array(10.1136, 15.7459, 7.91461, 15.7459, 7.91461, 13.6203, 10.1136, 13.6203)
|
| 107 |
+
depth = 0.2
|
| 108 |
+
smooth_faces = true
|
| 109 |
+
material = SubResource("StandardMaterial3D_t6exi")
|
| 110 |
|
| 111 |
+
[node name="bedroom3Foundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
|
| 112 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 113 |
+
polygon = PackedVector2Array(14.2027, 15.7405, 10.0226, 15.7405, 10.0226, 12.5694, 14.2027, 12.5694)
|
| 114 |
+
depth = 0.2
|
| 115 |
+
smooth_faces = true
|
| 116 |
+
material = SubResource("StandardMaterial3D_ngfkr")
|
| 117 |
|
| 118 |
+
[node name="kitchenFoundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
|
| 119 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 120 |
+
polygon = PackedVector2Array(13.2171, 5.4584, 8.96599, 5.4584, 8.96599, 2.28807, 13.2171, 2.28807)
|
| 121 |
+
depth = 0.2
|
| 122 |
+
smooth_faces = true
|
| 123 |
+
material = SubResource("StandardMaterial3D_clor1")
|
| 124 |
|
| 125 |
+
[node name="corridorFoundation" type="CSGPolygon3D" parent="CSGCombiner3D/CSGCombiner3D_Plate"]
|
| 126 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 127 |
+
polygon = PackedVector2Array(14.208, 12.6337, 10.0637, 12.6653, 10.066, 13.7218, 7.92157, 13.7098, 7.93654, 4.31007, 9.0019, 4.30745, 8.96773, 11.6578, 14.2128, 11.6356)
|
| 128 |
+
depth = 0.2
|
| 129 |
+
smooth_faces = true
|
| 130 |
+
material = SubResource("StandardMaterial3D_im2sy")
|
| 131 |
|
| 132 |
+
[node name="bedroom1" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 133 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 134 |
+
polygon = PackedVector2Array(9.01408, 4.3662, 3.87324, 4.3662, 3.87324, 2.32394, 9.01408, 2.32394)
|
| 135 |
+
smooth_faces = true
|
| 136 |
+
material = SubResource("StandardMaterial3D_fasko")
|
| 137 |
|
| 138 |
+
[node name="living_room" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 139 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 140 |
+
polygon = PackedVector2Array(14.1549, 11.6197, 9.01408, 11.6197, 9.01408, 5.42254, 14.1549, 5.42254)
|
| 141 |
+
smooth_faces = true
|
| 142 |
+
material = SubResource("StandardMaterial3D_rgoi2")
|
| 143 |
|
| 144 |
+
[node name="bathroom1" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 145 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 146 |
+
polygon = PackedVector2Array(7.95775, 7.46479, 5.91549, 7.46479, 5.91549, 4.3662, 7.95775, 4.3662)
|
| 147 |
+
smooth_faces = true
|
| 148 |
+
material = SubResource("StandardMaterial3D_6fnyj")
|
| 149 |
|
| 150 |
+
[node name="bedroom2" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 151 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 152 |
+
polygon = PackedVector2Array(7.95775, 12.6056, 4.85915, 12.6056, 4.85915, 7.46479, 7.95775, 7.46479)
|
| 153 |
+
smooth_faces = true
|
| 154 |
+
material = SubResource("StandardMaterial3D_ykxdu")
|
| 155 |
|
| 156 |
+
[node name="bathroom2" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 157 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 158 |
+
polygon = PackedVector2Array(10.0704, 15.7042, 7.95775, 15.7042, 7.95775, 13.662, 10.0704, 13.662)
|
| 159 |
+
smooth_faces = true
|
| 160 |
+
material = SubResource("StandardMaterial3D_3r8xt")
|
| 161 |
|
| 162 |
+
[node name="bedroom3" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 163 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 164 |
+
polygon = PackedVector2Array(14.1549, 15.7042, 10.0704, 15.7042, 10.0704, 12.6056, 14.1549, 12.6056)
|
| 165 |
+
smooth_faces = true
|
| 166 |
+
material = SubResource("StandardMaterial3D_b58u2")
|
| 167 |
|
| 168 |
+
[node name="kitchen" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 169 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 170 |
+
polygon = PackedVector2Array(13.169, 5.42254, 9.01408, 5.42254, 9.01408, 2.32394, 13.169, 2.32394)
|
| 171 |
+
smooth_faces = true
|
| 172 |
+
material = SubResource("StandardMaterial3D_mwssx")
|
| 173 |
|
| 174 |
+
[node name="bedroom1Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 175 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 176 |
operation = 2
|
| 177 |
+
polygon = PackedVector2Array(8.79104, 4.27759, 4.09628, 4.27759, 4.09628, 2.41255, 8.79104, 2.41255)
|
| 178 |
+
smooth_faces = true
|
| 179 |
+
material = SubResource("StandardMaterial3D_xllp6")
|
| 180 |
|
| 181 |
+
[node name="living_roomInset" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 182 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 183 |
operation = 2
|
| 184 |
+
polygon = PackedVector2Array(14.0017, 11.435, 9.16732, 11.435, 9.16732, 5.60725, 14.0017, 5.60725)
|
| 185 |
+
smooth_faces = true
|
| 186 |
+
material = SubResource("StandardMaterial3D_hrx20")
|
|
|
|
|
|
|
| 187 |
|
| 188 |
+
[node name="bathroom1Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 189 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 190 |
+
operation = 2
|
| 191 |
+
polygon = PackedVector2Array(7.82567, 7.2644, 6.04757, 7.2644, 6.04757, 4.56659, 7.82567, 4.56659)
|
| 192 |
+
smooth_faces = true
|
| 193 |
+
material = SubResource("StandardMaterial3D_8ufpn")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 194 |
|
| 195 |
+
[node name="bedroom2Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 196 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 197 |
+
operation = 2
|
| 198 |
+
polygon = PackedVector2Array(7.83385, 12.4001, 4.98305, 12.4001, 4.98305, 7.67034, 7.83385, 7.67034)
|
| 199 |
+
smooth_faces = true
|
| 200 |
+
material = SubResource("StandardMaterial3D_hp6ox")
|
| 201 |
|
| 202 |
+
[node name="bathroom2Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 203 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 204 |
+
operation = 2
|
| 205 |
+
polygon = PackedVector2Array(9.89787, 15.5374, 8.1303, 15.5374, 8.1303, 13.8288, 9.89787, 13.8288)
|
| 206 |
+
smooth_faces = true
|
| 207 |
+
material = SubResource("StandardMaterial3D_ogjqe")
|
| 208 |
|
| 209 |
+
[node name="bedroom3Inset" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 210 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 211 |
+
operation = 2
|
| 212 |
+
polygon = PackedVector2Array(13.9637, 15.5592, 10.2616, 15.5592, 10.2616, 12.7507, 13.9637, 12.7507)
|
| 213 |
+
smooth_faces = true
|
| 214 |
+
material = SubResource("StandardMaterial3D_rhl1c")
|
| 215 |
|
| 216 |
+
[node name="kitchenInset" type="CSGPolygon3D" parent="CSGCombiner3D"]
|
| 217 |
transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
|
| 218 |
+
operation = 2
|
| 219 |
+
polygon = PackedVector2Array(12.9766, 5.27906, 9.20648, 5.27906, 9.20648, 2.46742, 12.9766, 2.46742)
|
| 220 |
+
smooth_faces = true
|
| 221 |
+
material = SubResource("StandardMaterial3D_0hll6")
|