blender.blender.Blender
Blender()
Attributes
BASE_DIR
instance-attribute
BASE_DIR = config.common_config.blender_root_dirname
blank_filename
instance-attribute
blank_filename = config.camera_config.blender_blank_filename
coordinate_type
instance-attribute
coordinate_type = config.camera_config.coordinate_type
light_data
instance-attribute
light_data = config.camera_config.light_data
lights
instance-attribute
lights = config.camera_config.lights
location
instance-attribute
location = config.camera_config.location
param_split_flag
instance-attribute
param_split_flag = config.common_config.split_name_flag
project_dirname
instance-attribute
project_dirname = config.common_config.project_dirname
render_filename
instance-attribute
render_filename = config.camera_config.blender_render_filename
Functions
render_gltf_obj
render_gltf_obj(args)
run_blender_script
run_blender_script(save_img_obj_path: str, obj_camera_position: List[float], obj_rz_degree: float, obj_mesh_path: str, bg_calib_path: str, save_log_dir: str, lens: str, shift_x: str, shift_y: str, sensor_fix: str, sensor_height: str, sensor_width: str, image_height: str, image_width: str) -> numpy.ndarray
| Parameters: |
|
|---|
| Returns: |
|
|---|