Macro Perpendicular To Wire

Description
This macro positioned your object perpendicularly to wire selected.

Usage

 * : select the path (May be an element or sub-element)
 * : select the object to align
 * : run the macro

Script
The icon toolBar

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:



Example




for discretize other parameters

The discussion on the forum [Spiralbohrer]

Version
Ver 00.02 2019-04-06 : Python 3