Add offset options to Draft PathArray (#8295)
* Add offset options to Draft PathArray Allows user to specify a starting and ending offset to items in Draft PathArrays. * [Draft] path array offset --------- Co-authored-by: Roy-043 <info@b-k-g.nl>
This commit is contained in:
@@ -112,6 +112,8 @@ class PathArray(gui_base_original.Modifier):
|
||||
tan_vector = App.Vector(1, 0, 0)
|
||||
force_vertical = False
|
||||
vertical_vector = App.Vector(0, 0, 1)
|
||||
start_offset = 0.0
|
||||
end_offset = 0.0
|
||||
use_link = self.use_link
|
||||
|
||||
_edge_list_str = list()
|
||||
@@ -134,6 +136,8 @@ class PathArray(gui_base_original.Modifier):
|
||||
_cmd += "tan_vector=" + DraftVecUtils.toString(tan_vector) + ", "
|
||||
_cmd += "force_vertical=" + str(force_vertical) + ", "
|
||||
_cmd += "vertical_vector=" + vertical_vector_str + ", "
|
||||
_cmd += "start_offset=" + str(start_offset) + ", "
|
||||
_cmd += "end_offset=" + str(end_offset) + ", "
|
||||
_cmd += "use_link=" + str(use_link)
|
||||
_cmd += ")"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user