Add Lattice Magic
to Addons
#48
6
utils.py
6
utils.py
@ -49,9 +49,9 @@ def get_lattice_point_original_position(lattice: bpy.types.Lattice, index: int)
|
||||
if lattice.points_w == 1:
|
||||
start_vec[2] = 0
|
||||
|
||||
unit_u = 1/(lattice.points_u-1)
|
||||
unit_v = 1/(lattice.points_v-1)
|
||||
unit_w = 1/(lattice.points_w-1)
|
||||
unit_u = 1/(lattice.points_u-0.99)
|
||||
unit_v = 1/(lattice.points_v-0.99)
|
||||
unit_w = 1/(lattice.points_w-0.99)
|
||||
|
||||
unit_vec = Vector((unit_u, unit_v, unit_w))
|
||||
xyz_vec = Vector(get_lattice_vertex_xyz_position(lattice, index))
|
||||
|
Loading…
Reference in New Issue
Block a user