0.1.39
Loading...
Searching...
No Matches
PlantArchitecture.py File Reference

Go to the source code of this file.

Classes

class  pyhelios.PlantArchitecture.PlantArchitectureError
 Raised when PlantArchitecture operations fail. More...
 
class  pyhelios.PlantArchitecture.PlantArchitecture
 High-level interface for plant architecture modeling and procedural plant generation. More...
 

Namespaces

namespace  pyhelios
 
namespace  pyhelios.PlantArchitecture
 

Functions

 pyhelios.PlantArchitecture.validate_vec3 (value, name, func)
 
 pyhelios.PlantArchitecture.validate_vec2 (value, name, func)
 
 pyhelios.PlantArchitecture.validate_int2 (value, name, func)
 
None pyhelios.PlantArchitecture._validate_build_parameters (Optional[dict] build_parameters, Optional[str] plant_model, Optional[List[str]] accepted=None)
 Check build parameter types, and names against those the plant model accepts.
 
str pyhelios.PlantArchitecture._resolve_user_path (Union[str, Path] filepath)
 Convert relative paths to absolute paths before changing working directory.
 
 pyhelios.PlantArchitecture._plantarchitecture_working_directory ()
 Context manager that temporarily changes working directory to where PlantArchitecture assets are located.
 
 pyhelios.PlantArchitecture.is_plantarchitecture_available ()
 Check if PlantArchitecture plugin is available for use.
 
 pyhelios.PlantArchitecture._surfaces_phytomer_callback_errors (method)
 Re-raise an exception from a Python phytomer creation or callback function out of the call that ran it.
 
PlantArchitecture pyhelios.PlantArchitecture.create_plant_architecture (Context context)
 Create PlantArchitecture instance with context.
 

Variables

 pyhelios.PlantArchitecture.logger = logging.getLogger(__name__)
 
 pyhelios.PlantArchitecture._pending_callback_error = None