pyslapi
pyslapi copied to clipboard
Unexpected instancing of groups with the same name.
Describe the bug Importing groups that directly contains geometry entities (lines/faces) with the same name produces unexpected result of instancing.
To Reproduce Steps to reproduce the behavior:
- In SketchUp, draw two geometries—e.g. a box and a cylinder—and group them separately.
- In Entity Info, give the two groups the same instance name.
- Import the file to Blender.
- Instead of importing them as different objects, as appeared in SketchUp, the objects in Blender are instances of one of the objects.
- If two nesting groups have the same instance name, any geometry entity directly inside the group has similar behavior.
Expected behavior SU groups that have the same name should not be treated as instances. Using the same instance name for different geometry groups is a common practice to facilitate quick search in outliner.
Nevertheless, boolean operations in SU will produce identical instance names. This could cause issues too.
Screenshots
If applicable, add screenshots to help explain your problem.
System Info
- Operating System: Windows 10.0.19043
- Blender Version 3.1.0
- SketchUp Version 2021 (21.1.332)
- Importer Version v.0.23.0 (From a forked repo)