ScriptSpot

Forum topic · General Scripting

precision problem -need help

By titane357 · 2016-10-04

Description

Hi,
I made two little scripts to find the intersection of two vectors, one by picking 4 vertices, one by selecting 2 edges of same polyobject.
Problem is that if sometimes it look ok, sometimes it seems to lack of precision.
Is somebody can help.
thanks

Attachments
Comments (1)

.

TsveTan · 2017-01-10

I think you can make such thing only 2D.
You can find intersection point of two lines (edges) using the equation of a line through 2 points. I have the solution if u need it (2D).