TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: HOSNEYALAA on December 03, 2018, 05:26:22 AM
-
If possible, calculate the average distance between two Plines
As the attached picture
-
http://www.jefferypsanders.com/autolisp_Rollin.html
-
Coucou
is this the average distance of all vertices between polylines ?
or is it the distance from the middle of the first polyline to the second ?
amicalement
-
HI didier
is this the average distance of all vertices between polylines ?
-
The Green Line is not straight
It is taller than the blue line
As is attached
Is it possible to calculate the area space between the two lines?
And divide the value of the area ON the ((horizontal)) length of the short blue line
-
Thank you Crank
I want a medium distance if possible
-
Now I'm not sure what you want:
- the average distance
- the distance between the midpoints of the polylines
-
hi Crank ,
I want
- the average distance
Thank you
-
Now I'm not sure what you want:
- the average distance
- the distance between the midpoints of the polylines
When in doubt post it everywhere :evil:
https://www.cadtutor.net/forum/topic/66462-the-middle-distance-between-the-two-plines/?tab=comments#comment-545205
https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/hosneyalaa-the-middle-distance-between-the-two-plines/td-p/8445283
-
HOSNEYALAA
I am confused.
The drawing is different to the picture you posted.
I assume you want the distance from the middle of one Pline to the middle of another Pline.
The measured distance need not be perpendicular to either Pline.
Is that correct ??
Have you attempted to write any code yourself ? ...
or do you want someone to write the code for you ?
-
Thank you kdub
The average distance between the two lines was required
The solution has been solved
https://www.cadtutor.net/forum/topic/66462-the-middle-distance-between-the-two-plines/
-
I'm sorry that my English is not good
I am currently learning writing a codes
-
GOOD