jesterKing / import_3dm

Blender importer script for Rhinoceros 3D files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for loading linked blocks from external files

s3ththompson opened this issue · comments

Is your feature request related to a problem? Please describe.
import_3dm does not handle Rhino files with blocks linked to separate files. Linked block instances are imported as empty collections.

Describe the solution you'd like
import_3dm should at least import linked block instances by reading external files and populating Blender collections correctly. in the future, it may be desirable to mirror the file structure of the Rhino files with multiple linked Blender files, but this would be out of scope for initial implementation.

Additional context
rhino3dm recently gained support for reading source files from linked blocks. Version 0.16.0 adds support for InstanceDefinition.SourceArchive and InstanceDefinition.UpdateType properties.

That means I'll have to take a look at updating the latest rhino3dm and have it tested!