Post #1320: Just sharing a cool spline draw macro I made for PME:

📋 Metadata

  • Author: Way2Close
  • Date: 2018-04-08 22:10:40
  • Type: showcase
  • Quality Score: 8/10
  • Reply to: post_01319

🏷️ Tags

macro intermediate scripting

  • Macro Editor
  • Python Scripting

💬 Content

Just sharing a cool spline draw macro I made for PME:

import bpy
bpy.ops.object.select_all(action=‘DESELECT’)
bpy.ops.curve.simple(Simple_Change=False, Simple_Type=‘Point’, Simple_startlocation=(0.0, 0.0, 0.0), shape=‘3D’)
bpy.ops.object.mode_set(mode=‘EDIT’, toggle=False)
bpy.ops.curve.select_all(action=‘SELECT’)
bpy.ops.curve.delete(type=‘VERT’)
bpy.context.object.data.show_normal_face = False
bpy.ops.curve.draw(‘INVOKE_DEFAULT’)


❤️ 1 likes


🔗 View on Blender Artists