Activity
Mon
Wed
Fri
Sun
Oct
Nov
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
What is this?
Less
More

Memberships

CG Python Academy (Free)

905 members β€’ Free

Creative 3D Community

5.8k members β€’ Free

14 contributions to CG Python Academy (Free)
IGES file import add-on
I finally got my add-on working and packaged; I successfully installed it on another computer. It was a tricky first add-on, and I really appreciate the help I've received here. Huge thanks to @Victor Stepanov! I'll put it up on Github and make it available on Gumroad and Superhive for anyone who wants it off the shelf.
3 likes β€’ 17d
Updated the add-on to detect the scene units (default is meters) and the IGES units in the file header. I figured out that even if I specify the IGES units to be inches, Rhino saves it out as MM but specifies the units in the header, so for example a 1 inch cube is saved as 25.4mm and converts to inches when imported. It doesn't seem to do this with metric units. If I didn't check the file header, it would import as 25.4 inches. The add-on imports with proper units and proper scale now. :D
1 like β€’ 10d
FYI I tried submitting to Superhive, but they "no longer accept legacy add-ons with third party python modules included." I'm not sure if it's worth my time to convert my add-on to the new extension format AND submit a Wheel to PyPI. I'll upload my code to Github and submit the addon to Gumroad.
VS Code can't find bpy_extras
I've been using Blender's built-in text editor to write my addon, and I finally decided to use VS Code. The addon works fine in Blender, but it won't run from VS Code. I'm not sure if it's VS Code or one of the extensions, but it's tripping on this line: from bpy_extras.io_utils import ImportHelper Exception has occurred: ImportError - cannot import name 'ImportHelper' from 'bpy_extras.io_utils' (unknown location) File "/home/gtada/Documents/blender/scripting/iges_import/operator_file_import_iges_002.py", line 75, in <module> from bpy_extras.io_utils import ImportHelper ImportError: cannot import name 'ImportHelper' from 'bpy_extras.io_utils' (unknown location) If anybody has an idea I'd love to hear it. I used the Operator File Import template which includes this module and function.
1 like β€’ Aug 11
@Christian Coppes Thank you for the reply. I double-checked that bpy_extras is indeed installed; also, it works from within Blender's script environment. I actually don't know about "# type: ignore". I'll look it up, but if you have a quick explanation I would deeply appreciate it!
3 likes β€’ Aug 13
Thanks to Victor for helping me figure this out during the coffee break this morning! Cheers! I was trying to use the wrong Python debugger and needed to rename my file to __init__.py. Works great now!
Blender to Rhino bridge
TLDR: Rhino subds > Blender subds Rhino mesh modeling < Blender mesh modeling Create and edit mesh in Blender -> updates in Rhino I sometimes have to use Rhino for work, and while its subdivision surface technology is amazing, its mesh modeling tools are terrible compared to Blender's. I often model a bash mesh in Blender, export as OBJ, import the OBJ into Rhino, convert to subd. It's tedious, and I wish I could make real-time changes in Blender and have it reflected in Rhino immediately. I was checking out Plasticity's Blender Bridge. Looks handy! I saw that they use sockets to send data, so I copied that. I had to install websockets on Blender's Python, but Rhino Python can't seem to use sockets, so I have a separate server running to receive the data and pass it to Rhino. I'll switch to C# on Rhino later so I can eliminate the separate server, but I've never used C#.
1 like β€’ Jun 11
@Christian Coppes That's so cool! Thank you for the links!
0 likes β€’ Jul 17
@Antonio Navarro not yet, but I'm working on it. I'm fairly adept at both apps, but Blender has far better mesh modeling tools. Would be great to make this bidirectional!
Self Introduction
Python beginner, but eager to heavily use Python in the AI era.
0 likes β€’ Jul 7
Welcome, I'm in the same boat!
1-10 of 14
Gregory Tada
3
3points to level up
@gregory-tada-6641
Motorcycle Designer. Los Angeles.

Active 3d ago
Joined Apr 28, 2025
Powered by