Hello - This is my first first post as an Addon developer. I’m writing an Addon to support importing high resolution plant models from Laubwerk (I’m an independent open source software developer unaffiliated with Laubwerk). I have a working prototype and now that I’ve got the basics working and have some of the concepts down, I want to check in here on the best way to compose objects.
I create a low-res object as the parent of a high-res object. Low-res is visible in the viewport, high-res is rendered. As far as the user is concerned this is “one thing”. I have disabled “selectable” for the high-res model (for the case where they want to view it in the viewport) and the user interacts with the low-res object to translate, scale, or rotate. This all works well.
The challenge I currently have is deleting the parent leaves the child in the scene, where I would expect to be able to delete “the tree” which is presented to the user as the low-res object in the viewport.
Am I thinking about object composition the right way here, or is my brain still stuck up in SketchUp land and I need to adjust to think in Blender terms?
Is the Parent/Child mechanism the right approach for this kind of composing?
Should I be using a custom collection to contain the two objects instead? (still can’t delete with X in the 3D viewport).
For example, the viewport looks like the upper-left by default. It can be configured to show the high-res in the viewport as in the lower-left, but only the low-res is selectable. Either way, only the high-res is rendered as in the lower right. (apologies, new user limitation of one image )
If anyone is interested in the project itself, it is available on GitHub here: