Author Topic: The middle distance between the two Plines  (Read 3708 times)

0 Members and 1 Guest are viewing this topic.

HOSNEYALAA

  • Newt
  • Posts: 103
The middle distance between the two Plines
« on: December 03, 2018, 05:26:22 AM »
If possible, calculate the average distance between two Plines
As the attached picture

Crank

  • Water Moccasin
  • Posts: 1503
Vault Professional 2023     +     AEC Collection

didier

  • Newt
  • Posts: 48
  • expatrié
Re: The middle distance between the two Plines
« Reply #2 on: December 04, 2018, 02:12:21 AM »
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
eternal beginner ...
my english is not fluent ...

HOSNEYALAA

  • Newt
  • Posts: 103
Re: The middle distance between the two Plines
« Reply #3 on: December 04, 2018, 03:07:29 PM »
HI didier
is this the average distance of all vertices between polylines ?


HOSNEYALAA

  • Newt
  • Posts: 103
Re: The middle distance between the two Plines
« Reply #4 on: December 04, 2018, 03:44:39 PM »
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

 

HOSNEYALAA

  • Newt
  • Posts: 103
Re: The middle distance between the two Plines
« Reply #5 on: December 04, 2018, 03:53:38 PM »
Thank you Crank
I want a medium distance if possible

Crank

  • Water Moccasin
  • Posts: 1503
Re: The middle distance between the two Plines
« Reply #6 on: December 05, 2018, 01:50:53 AM »
Now I'm not sure what you want:
- the average distance
- the distance between the midpoints of the polylines
Vault Professional 2023     +     AEC Collection

HOSNEYALAA

  • Newt
  • Posts: 103
Re: The middle distance between the two Plines
« Reply #7 on: December 05, 2018, 05:20:26 AM »
hi Crank ,
I want
- the average distance
Thank you

ronjonp

  • Needs a day job
  • Posts: 7526

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2121
  • class keyThumper<T>:ILazy<T>
Re: The middle distance between the two Plines
« Reply #9 on: December 05, 2018, 01:26:35 PM »
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 ?
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

HOSNEYALAA

  • Newt
  • Posts: 103
Re: The middle distance between the two Plines
« Reply #10 on: December 05, 2018, 01:52:41 PM »
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/

HOSNEYALAA

  • Newt
  • Posts: 103
Re: The middle distance between the two Plines
« Reply #11 on: December 05, 2018, 01:55:36 PM »
I'm sorry that my English is not good
I am currently learning writing a codes

HOSNEYALAA

  • Newt
  • Posts: 103
Re: The middle distance between the two Plines
« Reply #12 on: December 08, 2018, 06:30:32 AM »
GOOD