Changeset View
Changeset View
Standalone View
Standalone View
add_mesh_BoltFactory/Boltfactory.py
| Context not available. | |||||
| else: | else: | ||||
| mesh = createMesh.Create_New_Mesh(self, context) | mesh = createMesh.Create_New_Mesh(self, context) | ||||
| obj = object_utils.object_data_add(context, mesh, operator=self) | obj = object_utils.object_data_add(context, mesh, operator=self) | ||||
| obj.data.use_auto_smooth = True | |||||
| bpy.ops.object.shade_smooth() | |||||
| obj.data["Bolt"] = True | obj.data["Bolt"] = True | ||||
| obj.data["change"] = False | obj.data["change"] = False | ||||
| Context not available. | |||||