AnyLogic
Expand
Font size

Importing 3D objects into a model

AnyLogic includes a library of 3D images for commonly modeled objects such as people, nurses, doctors, trucks, lorries, forklifts, warehouses, and factories. You can use these built-in 3D objects directly without searching for external 3D model files. If you need an object that isn't included in the library, you can import your own 3D model file using the AnyLogic 3D Object element. Supported file formats include .dae, .gltf/.glb, .fbx, and .obj.

You can follow the provided below scenario to import a custom 3D object into the model.

Since this scenario involves usage of third-party software, we cannot guarantee that importing a 3D object will be successful.

1. Download a 3D model file in .kmz format

You can search for a 3D model file online. We will show you how to import 3D models from 3D Warehouse, one of the most popular storages. This website features an easy-to-navigate interface allowing users to download 3D models uploaded by the user community.

  • Search for a 3D model file on the 3D Warehouse website and download it in the Google Earth .kmz format.

We will now bring .kmz file to Collada file format, which is a common interchange format.

2. Extract the Collada format files

  • Change the file extension of the downloaded file from .kmz to .zip and extract its contents into a folder.
  • Make sure that the Collada model file (the file with the .dae extension) is present inside the folder.
  • If there are any textures supplied with the model (commonly located in the images or textures images or textures sub-folders), move them from the sub-folder to the parent folder. For example, if the texture files are located in the C:\MyModel\textures folder, move them to the C:\MyModel folder.

The produced file can now be added to AnyLogic model as 3D object.

How can we improve this article?