MCPcopy Create free account
hub / github.com/coldtype/st2 / ST2Text3DSettingsPanel

Class ST2Text3DSettingsPanel

ST2/font.py:48–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47
48class ST2Text3DSettingsPanel(bpy.types.Panel):
49 bl_label = "3D Settings"
50 bl_idname = "ST2_PT_30_TEXT3DPANEL"
51 bl_space_type = "VIEW_3D"
52 bl_region_type = "UI"
53 bl_category = "ST2"
54 bl_options = {'DEFAULT_CLOSED'}
55
56 @classmethod
57 def poll(cls, context):
58 ko = search.active_key_object(context)
59 if ko and ko.data:
60 return True
61
62 def draw(self, context):
63 ko = search.active_key_object(context)
64 layout = self.layout
65
66 row = layout.row()
67 row.prop(ko, "rotation_euler", text="Rotation")
68 row = layout.row()
69 row.prop(ko.data, "extrude", text="Extrude")
70 row.prop(ko.data, "bevel_depth", text="Bevel")
71 row = layout.row()
72 row.prop(ko.data, "fill_mode", text="Fill Mode")
73
74
75

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected