pyslapi icon indicating copy to clipboard operation
pyslapi copied to clipboard

Unexpected instancing of groups with the same name.

Open SerLinkzero opened this issue 2 years ago • 0 comments

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:

  1. In SketchUp, draw two geometries—e.g. a box and a cylinder—and group them separately.
  2. In Entity Info, give the two groups the same instance name.
  3. Import the file to Blender.
  4. Instead of importing them as different objects, as appeared in SketchUp, the objects in Blender are instances of one of the objects.
  5. 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. Screenshots-01

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)

SerLinkzero avatar May 07 '22 11:05 SerLinkzero