forked from bartvdbraak/blender
Scripts
------- Fix some typos in script tooltips and descriptions-- no code changes.
This commit is contained in:
parent
ef8f92ffe6
commit
83006e51f8
@ -4,7 +4,7 @@
|
|||||||
Name: 'Envelope Symmetry'
|
Name: 'Envelope Symmetry'
|
||||||
Blender: 234
|
Blender: 234
|
||||||
Group: 'Animation'
|
Group: 'Animation'
|
||||||
Tooltip: 'Make envelope symetrical'
|
Tooltip: 'Make envelope symmetrical'
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = "Jonas Petersen"
|
__author__ = "Jonas Petersen"
|
||||||
|
@ -85,7 +85,7 @@ def imageConvertCompat(path):
|
|||||||
|
|
||||||
def vrmlFormat(data):
|
def vrmlFormat(data):
|
||||||
'''
|
'''
|
||||||
Keep this as a valid vrml file, but format in a way we can pradict.
|
Keep this as a valid vrml file, but format in a way we can predict.
|
||||||
'''
|
'''
|
||||||
# Strip all commends - # not in strings - warning multiline strings are ignored.
|
# Strip all commends - # not in strings - warning multiline strings are ignored.
|
||||||
def strip_comment(l):
|
def strip_comment(l):
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Name: 'Mirror Vertex Locations & Weight'
|
Name: 'Mirror Vertex Locations & Weight'
|
||||||
Blender: 241
|
Blender: 241
|
||||||
Group: 'Mesh'
|
Group: 'Mesh'
|
||||||
Tooltip: 'Snap Verticies to X mirrord locations and weights.'
|
Tooltip: 'Snap Verticies to X mirrored locations and weights.'
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = "Campbell Barton aka ideasman42"
|
__author__ = "Campbell Barton aka ideasman42"
|
||||||
@ -11,11 +11,11 @@ __url__ = ["www.blender.org", "blenderartists.org", "www.python.org"]
|
|||||||
__version__= '1.0'
|
__version__= '1.0'
|
||||||
__bpydoc__= '''\
|
__bpydoc__= '''\
|
||||||
This script is used to mirror vertex locations and weights
|
This script is used to mirror vertex locations and weights
|
||||||
It is usefull if you have a model that was made symetrical
|
It is useful if you have a model that was made symmetrical
|
||||||
but has verts that have moved from their mirrored locations slightly,
|
but has verts that have moved from their mirrored locations slightly,
|
||||||
casuing blenders X-Mirror options not to work.
|
causing blenders X-Mirror options not to work.
|
||||||
|
|
||||||
Weights can be mirrored too, this is usefull if you want to model 1 side of a mesh, copy the mesh and flip it.
|
Weights can be mirrored too, this is useful if you want to model 1 side of a mesh, copy the mesh and flip it.
|
||||||
You can then use this script to mirror to the copy, even creating new flipped vertex groups, renaming group name left to right or .L to .R
|
You can then use this script to mirror to the copy, even creating new flipped vertex groups, renaming group name left to right or .L to .R
|
||||||
|
|
||||||
Vertex positions are mirrored by doing a locational lookup,
|
Vertex positions are mirrored by doing a locational lookup,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Name: 'Poly Reduce Selection (Unsubsurf)'
|
Name: 'Poly Reduce Selection (Unsubsurf)'
|
||||||
Blender: 245
|
Blender: 245
|
||||||
Group: 'Mesh'
|
Group: 'Mesh'
|
||||||
Tooltip: 'pradictable mesh simplifaction maintaining face loops'
|
Tooltip: 'predictable mesh simplifaction maintaining face loops'
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from Blender import Scene, Mesh, Window, sys
|
from Blender import Scene, Mesh, Window, sys
|
||||||
@ -50,7 +50,7 @@ def my_mesh_util(me):
|
|||||||
|
|
||||||
for edkey, count in edge_count.iteritems():
|
for edkey, count in edge_count.iteritems():
|
||||||
|
|
||||||
# Ignore verts that connect to edges with more then 2 faces.
|
# Ignore verts that connect to edges with more than 2 faces.
|
||||||
if count != 2:
|
if count != 2:
|
||||||
vert_faces[edkey[0]] = None
|
vert_faces[edkey[0]] = None
|
||||||
vert_faces[edkey[1]] = None
|
vert_faces[edkey[1]] = None
|
||||||
|
Loading…
Reference in New Issue
Block a user