Hi Everyone,
In case this is useful, I’ve created a script that will produce models that are a pretty good representation of graphene sheets. Please let me know of any suggestions to make it better.
Tom
Hi Everyone,
In case this is useful, I’ve created a script that will produce models that are a pretty good representation of graphene sheets. Please let me know of any suggestions to make it better.
Tom
A couple of observations (personal opinions) to consider.
If you are finished with the script it would likely be more appropriate to be in the " Released Scripts and Themes" category instead of support.
You may want to ensure a more unique naming convention to avoid confusion and potential conflicts.
bpy.ops.object.join()
The command bpy.ops.object.join()
is intended for mesh objects however for ob in bpy.context.scene.objects:
can potentially include lights, cameras, etc which cannot be joined and will cause errors.
Thank you! Those are great suggestions for best practices. I will work on cleaning up the code.
Code is code and it has it’s own purpose. But going for geometry nodes as well is good idea. Since such solution could be useful in many cases, to create any sort of wire-fence or other elements. If you are interested you can even sell it on itch-io.
Thank you for the input. Yeah, I need to learn more about geometry nodes. I’m pretty behind on those.
Tom