Macro Cut Line/en

Description
This small macro cut a line and create a points, lines , two colours of line.



Usage
Can be used from the Freecad macro editor.


 * 4 : number cuts
 * createPoint : create points or not (0) (Defaut 1)
 * createLine : create line (>0) or not (0) (Defaut 0)
 * biColor : create line biColor (>0) or not (0) (Defaut 0)

you can change the default values in the macro.

With bisColor the lines on the original line is created by a white line red line white line .... the colors are modifiable in the code, line 20 and 23.

Script
ToolBar Icon

Macro_cutLine.FCMacro

Example
Can be used from the Freecad macro editor.

If the macro is copied in the Python console, you can you can use it by:

Links
this function use the function discretize the original code