What Changed:
Re-added "website" field to the blender_manifest.toml to update website.
What Changed: Updated licence to GPL3. Removed defunct website link. Reformatted code to more closely align with PEP8 Standard. Additional commenting to make the code easier to understand for new programmers.
What stayed the same: No underlying changes to the maze generation process or performance. No new features.
Made necessary adjustments after first review.
significantly improved maze generation speed.
Changelog:
General Changes: Script Version Updated: Incremented from version (0, 1) to (0, 2). Script Name Standardization: Changed from "Blender Maze Generator" to "Maze Generator".
Class and Functionality Enhancements: Class Name Changes: MESH_OT_generate_maze renamed to OBJECT_OT_GenerateMaze to follow more standard naming conventions in Blender API.
Property Changes: cols property in MESH_OT_generate_maze renamed to columns in OBJECT_OT_GenerateMaze for clarity. Added random_seed property to allow for reproducible maze configurations. Added iterations, delete_islands, island_wall_count, apply_solidify, and apply_bevel properties to provide more control over the maze generation process.
New Methods and Functionalities: Added deselect_objects and delete_existing_maze methods to OBJECT_OT_GenerateMaze for better scene management. Introduced create_grid, initialize_maze, get_random_neighbor, visualize_maze, extrude_walls, apply_solidify_modifier, apply_bevel_modifier, remove_non_manifold_vertices, and delete_islands_with_up_to_n_faces functions to modularize the maze generation process. Added apply_transform_and_cleanup to finalize the object transformations and ensure clean geometry.
UI Enhancements: Panel Class Renamed: VIEW3D_PT_maze_panel renamed to VIEW3D_PT_CreateMazeMenu for consistency and clarity. Enhanced UI Interactivity: New UI elements for controlling additional properties like random_seed, iterations, delete_islands, island_wall_count, apply_solidify, and apply_bevel.
Documentation and Comments: Enhanced Docstrings and Comments: Added detailed docstrings to new methods and functions explaining parameters, processes, and error handling. Improved inline comments for better code readability and maintenance.
Error Handling: Robust Error Reporting: Enhanced error handling across new methods with detailed exception reporting to aid in debugging and ensure stability.
Code Structure and Organization: Improved Code Organization: Functions and methods are more modular, allowing easier updates and maintenance. Better separation of concerns, with distinct functions handling specific parts of the maze generation process.