ifire commited on
Commit
96d9aec
1 Parent(s): ca7bdf2

Try a different release.

Browse files
Files changed (2) hide show
  1. godot.gd +5 -47
  2. node_3d.tscn +143 -164
godot.gd CHANGED
@@ -1,7 +1,7 @@
1
  @tool
2
  extends EditorScript
3
 
4
- var data:Dictionary = {"bathroom1": [9.507042253521128, 5.422535211267606, 7.464788732394367, 5.422535211267606, 7.464788732394367, 3.3098591549295775, 9.507042253521128, 3.3098591549295775], "bedroom1": [11.619718309859156, 4.366197183098592, 9.507042253521128, 4.366197183098592, 9.507042253521128, 1.267605633802817, 11.619718309859156, 1.267605633802817], "living_room": [9.507042253521128, 8.52112676056338, 4.366197183098592, 8.52112676056338, 4.366197183098592, 5.422535211267606, 9.507042253521128, 5.422535211267606], "kitchen": [9.507042253521128, 12.605633802816902, 7.464788732394367, 12.605633802816902, 7.464788732394367, 8.52112676056338, 9.507042253521128, 8.52112676056338], "bathroom2": [11.619718309859156, 9.507042253521128, 9.507042253521128, 9.507042253521128, 9.507042253521128, 6.408450704225352, 11.619718309859156, 6.408450704225352], "bedroom2": [12.605633802816902, 6.408450704225352, 9.507042253521128, 6.408450704225352, 9.507042253521128, 4.366197183098592, 12.605633802816902, 4.366197183098592], "bedroom3": [12.605633802816902, 14.71830985915493, 9.507042253521128, 14.71830985915493, 9.507042253521128, 11.619718309859156, 12.605633802816902, 11.619718309859156], "bathroom3": [9.507042253521128, 16.760563380281692, 7.464788732394367, 16.760563380281692, 7.464788732394367, 12.605633802816902, 9.507042253521128, 12.605633802816902], "bedroom4": [13.661971830985916, 11.619718309859156, 9.507042253521128, 11.619718309859156, 9.507042253521128, 9.507042253521128, 13.661971830985916, 9.507042253521128]}
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
- root.add_child(csg_combiner_plate, true)
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
- if room_name == "corridor":
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=28 format=3 uid="uid://dt01uew1tusvb"]
2
 
3
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a5yt8"]
4
- albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
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="StandardMaterial3D_0sjvw"]
13
- albedo_color = Color(0.545724, 0.637597, 0.693872, 1)
14
 
15
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_s16gk"]
16
- albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
17
 
18
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_e253c"]
19
- albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
20
 
21
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_b6uvc"]
22
- albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
23
 
24
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m87yy"]
25
- albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
26
 
27
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_p10ee"]
28
- albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
29
 
30
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ho0ft"]
31
- albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
32
 
33
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jd8um"]
34
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
35
 
36
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_taeli"]
37
  albedo_color = Color(0.947306, 0.730461, 0.467784, 1)
38
 
39
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4tb10"]
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="StandardMaterial3D_gh5vd"]
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="StandardMaterial3D_7v6ec"]
52
  albedo_color = Color(0.208637, 0.590619, 0.822786, 1)
53
 
54
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7ftny"]
55
  albedo_color = Color(0.955973, 0.187821, 0.215861, 1)
56
 
57
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ylbrl"]
58
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
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="StandardMaterial3D_msi2a"]
64
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
65
 
66
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kxlmc"]
67
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
68
 
69
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_utua4"]
70
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
71
 
72
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_o4aiy"]
73
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
74
 
75
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ypcj3"]
76
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
77
 
78
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8ssen"]
79
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
80
 
81
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1dqqd"]
82
- albedo_color = Color(0.0666667, 0.203922, 0.301961, 1)
83
 
84
  [node name="Node3D" type="Node3D"]
85
 
86
- [node name="CSGCombiner3D2" type="CSGCombiner3D" parent="."]
87
 
88
- [node name="bathroom1" type="CSGPolygon3D" parent="CSGCombiner3D2"]
89
- transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 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="bedroom1" type="CSGPolygon3D" parent="CSGCombiner3D2"]
94
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
95
- polygon = PackedVector2Array(11.6197, 4.3662, 9.50704, 4.3662, 9.50704, 1.26761, 11.6197, 1.26761)
96
- material = SubResource("StandardMaterial3D_3ku6b")
 
 
97
 
98
- [node name="living_room" type="CSGPolygon3D" parent="CSGCombiner3D2"]
99
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
100
- polygon = PackedVector2Array(9.50704, 8.52113, 4.3662, 8.52113, 4.3662, 5.42254, 9.50704, 5.42254)
101
- material = SubResource("StandardMaterial3D_x10lu")
 
 
102
 
103
- [node name="kitchen" type="CSGPolygon3D" parent="CSGCombiner3D2"]
104
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
105
- polygon = PackedVector2Array(9.50704, 12.6056, 7.46479, 12.6056, 7.46479, 8.52113, 9.50704, 8.52113)
106
- material = SubResource("StandardMaterial3D_0sjvw")
 
 
107
 
108
- [node name="bathroom2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
109
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
110
- polygon = PackedVector2Array(11.6197, 9.50704, 9.50704, 9.50704, 9.50704, 6.40845, 11.6197, 6.40845)
111
- material = SubResource("StandardMaterial3D_s16gk")
 
 
112
 
113
- [node name="bedroom2" type="CSGPolygon3D" parent="CSGCombiner3D2"]
114
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
115
- polygon = PackedVector2Array(12.6056, 6.40845, 9.50704, 6.40845, 9.50704, 4.3662, 12.6056, 4.3662)
116
- material = SubResource("StandardMaterial3D_e253c")
 
 
117
 
118
- [node name="bedroom3" type="CSGPolygon3D" parent="CSGCombiner3D2"]
119
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
120
- polygon = PackedVector2Array(12.6056, 14.7183, 9.50704, 14.7183, 9.50704, 11.6197, 12.6056, 11.6197)
121
- material = SubResource("StandardMaterial3D_b6uvc")
 
 
122
 
123
- [node name="bathroom3" type="CSGPolygon3D" parent="CSGCombiner3D2"]
124
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
125
- polygon = PackedVector2Array(9.50704, 16.7606, 7.46479, 16.7606, 7.46479, 12.6056, 9.50704, 12.6056)
126
- material = SubResource("StandardMaterial3D_m87yy")
 
 
127
 
128
- [node name="bedroom4" type="CSGPolygon3D" parent="CSGCombiner3D2"]
129
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
130
- polygon = PackedVector2Array(13.662, 11.6197, 9.50704, 11.6197, 9.50704, 9.50704, 13.662, 9.50704)
131
- material = SubResource("StandardMaterial3D_p10ee")
 
 
132
 
133
- [node name="bathroom1Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
134
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
135
- operation = 2
136
- polygon = PackedVector2Array(9.34024, 5.24998, 7.63159, 5.24998, 7.63159, 3.48242, 9.34024, 3.48242)
137
- material = SubResource("StandardMaterial3D_ho0ft")
138
 
139
- [node name="bedroom1Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
140
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
141
- operation = 2
142
- polygon = PackedVector2Array(11.4845, 4.1679, 9.64224, 4.1679, 9.64224, 1.4659, 11.4845, 1.4659)
143
- material = SubResource("StandardMaterial3D_jd8um")
144
 
145
- [node name="living_roomInset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
146
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
147
- operation = 2
148
- polygon = PackedVector2Array(9.30149, 8.39723, 4.57175, 8.39723, 4.57175, 5.54643, 9.30149, 5.54643)
149
- material = SubResource("StandardMaterial3D_taeli")
150
 
151
- [node name="kitchenInset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
152
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
153
- operation = 2
154
- polygon = PackedVector2Array(9.39971, 12.391, 7.57212, 12.391, 7.57212, 8.73579, 9.39971, 8.73579)
155
- material = SubResource("StandardMaterial3D_4tb10")
156
 
157
- [node name="bathroom2Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
158
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
159
- operation = 2
160
- polygon = PackedVector2Array(11.4845, 9.30875, 9.64224, 9.30875, 9.64224, 6.60675, 11.4845, 6.60675)
161
- material = SubResource("StandardMaterial3D_jugi7")
162
 
163
- [node name="bedroom2Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
164
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
165
- operation = 2
166
- polygon = PackedVector2Array(12.4052, 6.27638, 9.70743, 6.27638, 9.70743, 4.49827, 12.4052, 4.49827)
167
- material = SubResource("StandardMaterial3D_gh5vd")
168
 
169
- [node name="bedroom3Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
170
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
171
- operation = 2
172
- polygon = PackedVector2Array(12.4359, 14.5486, 9.67675, 14.5486, 9.67675, 11.7894, 12.4359, 11.7894)
173
- material = SubResource("StandardMaterial3D_0yx83")
174
 
175
- [node name="bathroom3Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
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(9.40117, 16.5452, 7.57066, 16.5452, 7.57066, 12.821, 9.40117, 12.821)
179
- material = SubResource("StandardMaterial3D_7v6ec")
 
180
 
181
- [node name="bedroom4Inset" type="CSGPolygon3D" parent="CSGCombiner3D2"]
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(13.448, 11.5109, 9.72097, 11.5109, 9.72097, 9.61582, 13.448, 9.61582)
185
- material = SubResource("StandardMaterial3D_7ftny")
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="CSGCombiner3D_Plate"]
191
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
192
- polygon = PackedVector2Array(9.54874, 5.46567, 7.42309, 5.46567, 7.42309, 3.26672, 9.54874, 3.26672)
193
- depth = 0.2
194
- material = SubResource("StandardMaterial3D_ylbrl")
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="CSGCombiner3D_Plate"]
221
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
222
- polygon = PackedVector2Array(12.6557, 6.44147, 9.45694, 6.44147, 9.45694, 4.33318, 12.6557, 4.33318)
223
- depth = 0.2
224
- material = SubResource("StandardMaterial3D_o4aiy")
 
225
 
226
- [node name="bedroom3Inset" type="CSGPolygon3D" parent="CSGCombiner3D_Plate"]
227
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
228
- polygon = PackedVector2Array(12.6481, 14.7607, 9.46462, 14.7607, 9.46462, 11.5773, 12.6481, 11.5773)
229
- depth = 0.2
230
- material = SubResource("StandardMaterial3D_ypcj3")
 
231
 
232
- [node name="bathroom3Inset" type="CSGPolygon3D" parent="CSGCombiner3D_Plate"]
233
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
234
- polygon = PackedVector2Array(9.53351, 16.8144, 7.43832, 16.8144, 7.43832, 12.5518, 9.53351, 12.5518)
235
- depth = 0.2
236
- material = SubResource("StandardMaterial3D_8ssen")
 
237
 
238
- [node name="bedroom4Inset" type="CSGPolygon3D" parent="CSGCombiner3D_Plate"]
239
  transform = Transform3D(1, 0, 0, 0, 6.12303e-17, -1, 0, 1, 6.12303e-17, 0, 0, 0)
240
- polygon = PackedVector2Array(13.7155, 11.6469, 9.45356, 11.6469, 9.45356, 9.47985, 13.7155, 9.47985)
241
- depth = 0.2
242
- material = SubResource("StandardMaterial3D_1dqqd")
 
 
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")