This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
from bpy import context | |
from mathutils import Vector | |
import bmesh | |
up = Vector((0, 0, 1)) # z axis | |
north = Vector((0, 1, 0)) # y axis | |
def stroke(bm, v, n, w): | |
v1 = bm.verts.new(v + w / 2 * n) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bl_info = { | |
"name": "Set mesh origin to selected geometry", | |
"author": "batFINGER", | |
"version": (1, 0), | |
"blender": (2, 80, 0), | |
"description": "Set mesh origin to selected geometry", | |
"warning": "", | |
"wiki_url": "", | |
"category": "Add Mesh", | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bl_info = { | |
"name": "Spiral Mesh", | |
"author": "batFINGER", | |
"version": (1, 0), | |
"blender": (2, 80, 0), | |
"location": "View3D > Add > Mesh > Spiral Mesh", | |
"description": "Adds a Spiral Thingy", | |
"warning": "", | |
"wiki_url": "", | |
"category": "Add Mesh", |
OlderNewer