I’m developing some Python scripts and I need help.
What I want to achieve is an script which will be a combination of Offset and ArrayCrv.
For better understanding I’ll describe the proccess in points.
The input is a planar curve.
- I want to offset this curve in two directions at once (at constant distances) (I have this part already done)
- I want to draw a perpendicular line on one of the end of input curve in the direction which has been pointed when selecting the offset direction.
- Then I want to ArrayCrv this perpendicular line whith constant number of items (input line is the path)
How can I achieve the points 2 and 3? Please give me some hints.
Also I have an additional question.
How to use a written script as a function, I mean not by loading it every time with the RunPythonScript function.