Improve make_sketch and geometric related functions
This commit is contained in:
committed by
Yorik van Havre
parent
bec4195642
commit
1ad7b9788b
@@ -444,7 +444,10 @@ def placements_on_path(shapeRotation, pathwire, count, xlate, align,
|
||||
Each copy will be distributed evenly.
|
||||
"""
|
||||
closedpath = DraftGeomUtils.isReallyClosed(pathwire)
|
||||
normal = DraftGeomUtils.getNormal(pathwire)
|
||||
normal = DraftGeomUtils.get_normal(pathwire)
|
||||
# for backward compatibility with previous getNormal implementation
|
||||
if normal == None:
|
||||
normal = App.Vector(0, 0, 1)
|
||||
|
||||
if forceNormal and normalOverride:
|
||||
normal = normalOverride
|
||||
|
||||
Reference in New Issue
Block a user