Macro Perpendicular To Wire/fr

Description
This macro positioned your object perpendicularly to wire selected.

Use

 * : select the path
 * : select the object to align
 * : run the macro

Script
Macro Perpendicular To Wire.FCMacro

Options
Principle :

the line is cut in x points with "discretize" (here Number=500 cuts begin 0 to 499 you can modify)

the perpendicularity is calculate between 2 points modify :

1:



2:



3:



4:



for discretize other parameters

The discussion on the forum [Spiralbohrer]