graphic:python:blender

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
graphic:python:blender [2024/01/31 07:47] – [Blender variable naming standards] yinggraphic:python:blender [2024/01/31 08:00] – [Blender variable naming standards] ying
Line 443: Line 443:
         default = False         default = False
     )      ) 
 +    
 +class ToolProps(bpy.types.PropertyGroup):
 +    email : StringProperty(
 +        name="email",
 +        description="User email",
 +        default=""
 +    )
 +class TOOL_PROPS(bpy.types.PropertyGroup):
 +    lon: FloatProperty()
 +    lat: FloatProperty()
 +class BUILDMAKER_PG_color(PropertyGroup):
 +    color: FloatVectorProperty(subtype='COLOR', min=0, max=1, update=updColor, size=4)
 </code> </code>
 ===== common blender api commands ===== ===== common blender api commands =====
  • graphic/python/blender.txt
  • Last modified: 2024/06/12 06:47
  • by ying