Draft: updated ocumentation of Draft Scale function
This commit is contained in:
committed by
Yorik van Havre
parent
5e8f94d7d6
commit
eb59836ae8
@@ -124,6 +124,10 @@ def scale(objectslist, scale=App.Vector(1,1,1),
|
||||
return newobjlist
|
||||
|
||||
|
||||
# Following functions are needed for SubObjects modifiers
|
||||
# implemented by Dion Moult during 0.19 dev cycle (works only with Draft Wire)
|
||||
|
||||
|
||||
def scale_vertex(obj, vertex_index, scale, center):
|
||||
points = obj.Points
|
||||
points[vertex_index] = obj.Placement.inverse().multVec(
|
||||
@@ -143,9 +147,6 @@ def scale_vector_from_center(vector, scale, center):
|
||||
scaleVectorFromCenter = scale_vector_from_center
|
||||
|
||||
|
||||
# code needed for subobject modifiers
|
||||
|
||||
|
||||
def scale_edge(obj, edge_index, scale, center):
|
||||
scaleVertex(obj, edge_index, scale, center)
|
||||
if utils.isClosedEdge(edge_index, obj):
|
||||
|
||||
Reference in New Issue
Block a user