blenderproc.python.modules.loader.IKEALoaderModule module¶
-
class
blenderproc.python.modules.loader.IKEALoaderModule.
IKEALoaderModule
(config)[source]¶ Bases:
blenderproc.python.modules.loader.LoaderInterface.LoaderInterface
This class loads objects from the IKEA dataset.
Objects can be selected randomly, based on object type, object style, or both.
As for all loaders it is possible to add custom properties to the loaded object, for that use add_properties.
Configuration:
Parameter Description Type data_dir The directory with all the IKEA models. Default: ‘resources/IKEA’ string category The category to use for example: ‘bookcase’. This can also be a list of elements. Default: None. Available: [‘bed’, ‘bookcase’, ‘chair’, ‘desk’, ‘sofa’, ‘table’, ‘wardrobe’] string/list style The IKEA style to use for example: ‘hemnes’. Default: None. See data_dir for other options. string