voxcity 0.3.22__py3-none-any.whl → 0.3.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of voxcity might be problematic. Click here for more details.

@@ -927,12 +927,12 @@ def create_multi_view_scene(meshes, output_directory="output"):
927
927
  """
928
928
  Create multiple views of the scene from different angles.
929
929
  """
930
- # Get the first mesh to compute bounding box
931
- first_mesh = next(iter(meshes.values()))
932
- vertices = first_mesh.vertices
930
+ # Compute overall bounding box across all meshes
931
+ vertices_list = [mesh.vertices for mesh in meshes.values()]
932
+ all_vertices = np.vstack(vertices_list)
933
933
  bbox = np.array([
934
- [vertices[:, 0].min(), vertices[:, 1].min(), vertices[:, 2].min()],
935
- [vertices[:, 0].max(), vertices[:, 1].max(), vertices[:, 2].max()]
934
+ [all_vertices[:, 0].min(), all_vertices[:, 1].min(), all_vertices[:, 2].min()],
935
+ [all_vertices[:, 0].max(), all_vertices[:, 1].max(), all_vertices[:, 2].max()]
936
936
  ])
937
937
 
938
938
  # Compute the center and diagonal of the bounding box
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voxcity
3
- Version: 0.3.22
3
+ Version: 0.3.23
4
4
  Summary: voxcity is an easy and one-stop tool to output 3d city models for microclimate simulation by integrating multiple geospatial open-data
5
5
  Author-email: Kunihiko Fujiwara <kunihiko@nus.edu.sg>
6
6
  Maintainer-email: Kunihiko Fujiwara <kunihiko@nus.edu.sg>
@@ -27,11 +27,11 @@ voxcity/simulator/view.py,sha256=zNbfTLQ2Jo0V5-rFA3-xamRjOuw3H3MBrLKpQp8x3hY,367
27
27
  voxcity/utils/__init_.py,sha256=nLYrj2huBbDBNMqfchCwexGP8Tlt9O_XluVDG7MoFkw,98
28
28
  voxcity/utils/lc.py,sha256=RwPd-VY3POV3gTrBhM7TubgGb9MCd3nVah_G8iUEF7k,11562
29
29
  voxcity/utils/material.py,sha256=Vt3IID5Ft54HNJcEC4zi31BCPqi_687X3CSp7rXaRVY,5907
30
- voxcity/utils/visualization.py,sha256=WZkwxihy6XrSxMOPgAs0--MeoKK_lKIHRdPW9d-hQbQ,48626
30
+ voxcity/utils/visualization.py,sha256=0igc1s9cu0K8RF5SVmd1THDXBvXH0sZ-ohlEtMIvAsY,48682
31
31
  voxcity/utils/weather.py,sha256=P6s1y_EstBL1OGP_MR_6u3vr-t6Uawg8uDckJnoI7FI,21482
32
- voxcity-0.3.22.dist-info/AUTHORS.rst,sha256=m82vkI5QokEGdcHof2OxK39lf81w1P58kG9ZNNAKS9U,175
33
- voxcity-0.3.22.dist-info/LICENSE,sha256=-hGliOFiwUrUSoZiB5WF90xXGqinKyqiDI2t6hrnam8,1087
34
- voxcity-0.3.22.dist-info/METADATA,sha256=X27qtDw9i9619sVIcpoKLZ11DOHa_uOOLj3oRdSRcgc,25186
35
- voxcity-0.3.22.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
36
- voxcity-0.3.22.dist-info/top_level.txt,sha256=00b2U-LKfDllt6RL1R33MXie5MvxzUFye0NGD96t_8I,8
37
- voxcity-0.3.22.dist-info/RECORD,,
32
+ voxcity-0.3.23.dist-info/AUTHORS.rst,sha256=m82vkI5QokEGdcHof2OxK39lf81w1P58kG9ZNNAKS9U,175
33
+ voxcity-0.3.23.dist-info/LICENSE,sha256=-hGliOFiwUrUSoZiB5WF90xXGqinKyqiDI2t6hrnam8,1087
34
+ voxcity-0.3.23.dist-info/METADATA,sha256=3d-aX-RUTzV_M3d78PDxTVG3HwIdbc_Af4bEa4ZMxZE,25186
35
+ voxcity-0.3.23.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
36
+ voxcity-0.3.23.dist-info/top_level.txt,sha256=00b2U-LKfDllt6RL1R33MXie5MvxzUFye0NGD96t_8I,8
37
+ voxcity-0.3.23.dist-info/RECORD,,