Blender Tutorial: Scripting Cont. – Finishing the Object Adder Add-on [Python – bpy]

5 thoughts on “Blender Tutorial: Scripting Cont. – Finishing the Object Adder Add-on [Python – bpy]

  • [ ] are brackets, ( ) are parentheses, { } are braces. I haven't used Blender's Python editor so I don't know if it has any of the bells and whistles of other Python editors. Usually your editor will automatically add a closing brace, parenthesis, bracket, quote or double quote for you when you type the opening one. Also, many editors have auto completion for text so you don't need to type everything. That way you can avoid using short forms of stuff and save other programmers from having to look back through your code to find out what the short form actually means. I've always been of a mind that code should be easy to read but I'm in the minority. I've usually dealt with compiled languages so the size of the source code is irrelevant so should be large with lots of comments. I can understand wanting to keep source size under control in an interpreted language like Python but I still want it easy to read.

Leave a Reply

Your email address will not be published. Required fields are marked *