maps4fs 1.0.3__tar.gz → 1.0.4__tar.gz

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 maps4fs might be problematic. Click here for more details.

Files changed (29) hide show
  1. {maps4fs-1.0.3 → maps4fs-1.0.4}/PKG-INFO +1 -1
  2. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/background.py +2 -2
  3. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/grle.py +0 -1
  4. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs.egg-info/PKG-INFO +1 -1
  5. {maps4fs-1.0.3 → maps4fs-1.0.4}/pyproject.toml +1 -1
  6. {maps4fs-1.0.3 → maps4fs-1.0.4}/LICENSE.md +0 -0
  7. {maps4fs-1.0.3 → maps4fs-1.0.4}/README.md +0 -0
  8. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/__init__.py +0 -0
  9. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/__init__.py +0 -0
  10. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/component.py +0 -0
  11. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/config.py +0 -0
  12. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/dem.py +0 -0
  13. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/game.py +0 -0
  14. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/i3d.py +0 -0
  15. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/map.py +0 -0
  16. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/path_steps.py +0 -0
  17. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/qgis.py +0 -0
  18. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/texture.py +0 -0
  19. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/generator/tile.py +0 -0
  20. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/logger.py +0 -0
  21. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/toolbox/__init__.py +0 -0
  22. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/toolbox/background.py +0 -0
  23. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs/toolbox/dem.py +0 -0
  24. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs.egg-info/SOURCES.txt +0 -0
  25. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs.egg-info/dependency_links.txt +0 -0
  26. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs.egg-info/requires.txt +0 -0
  27. {maps4fs-1.0.3 → maps4fs-1.0.4}/maps4fs.egg-info/top_level.txt +0 -0
  28. {maps4fs-1.0.3 → maps4fs-1.0.4}/setup.cfg +0 -0
  29. {maps4fs-1.0.3 → maps4fs-1.0.4}/tests/test_generator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maps4fs
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Generate map templates for Farming Simulator from real places.
5
5
  Author-email: iwatkot <iwatkot@gmail.com>
6
6
  License: MIT License
@@ -213,7 +213,7 @@ class Background(Component):
213
213
  mesh.apply_transform(rotation_matrix_y)
214
214
  mesh.apply_transform(rotation_matrix_z)
215
215
 
216
- self.logger.info("Mesh generated with %s faces, will be simplified", len(mesh.faces))
216
+ self.logger.debug("Mesh generated with %s faces, will be simplified", len(mesh.faces))
217
217
 
218
218
  # Simplify the mesh to reduce the number of faces.
219
219
  mesh = mesh.simplify_quadric_decimation(face_count=len(faces) // simplify_factor)
@@ -223,7 +223,7 @@ class Background(Component):
223
223
  self.mesh_to_stl(mesh)
224
224
 
225
225
  mesh.export(save_path)
226
- self.logger.info("Obj file saved: %s", save_path)
226
+ self.logger.debug("Obj file saved: %s", save_path)
227
227
 
228
228
  def mesh_to_stl(self, mesh: trimesh.Trimesh) -> None:
229
229
  """Converts the mesh to an STL file and saves it in the previews directory.
@@ -59,7 +59,6 @@ class GRLE(Component):
59
59
 
60
60
  # Create the InfoLayer PNG file with zeros.
61
61
  info_layer_data = np.zeros((height, width), dtype=data_type)
62
- print(info_layer_data.shape)
63
62
  cv2.imwrite(file_path, info_layer_data) # pylint: disable=no-member
64
63
  self.logger.debug("InfoLayer PNG file %s created.", file_path)
65
64
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maps4fs
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Generate map templates for Farming Simulator from real places.
5
5
  Author-email: iwatkot <iwatkot@gmail.com>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "maps4fs"
7
- version = "1.0.3"
7
+ version = "1.0.4"
8
8
  description = "Generate map templates for Farming Simulator from real places."
9
9
  authors = [{name = "iwatkot", email = "iwatkot@gmail.com"}]
10
10
  license = {text = "MIT License"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes