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

0 Members and 1 Guest are viewing this topic.

HOSNEYALAA

  • Mosquito
  • Posts: 18
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

  • Swamp Rat
  • Posts: 1431

 Vault Professional 2018   /   Building Design Suite Ultimate 2017  /  AEC Collection 2018+2019   /   Acad Qubit

didier

  • Newt
  • Posts: 26
  • 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

  • Mosquito
  • Posts: 18
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

  • Mosquito
  • Posts: 18
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

  • Mosquito
  • Posts: 18
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

  • Swamp Rat
  • Posts: 1431
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 2018   /   Building Design Suite Ultimate 2017  /  AEC Collection 2018+2019   /   Acad Qubit

HOSNEYALAA

  • Mosquito
  • Posts: 18
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: 6805

Windows 10 x64 - AutoCAD /C3D 2019

Custom Build PC

kdub

  • SuperMod
  • Swamp Rat
  • Posts: 1138
  • 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

Sometimes the question is more important than the answer.

HOSNEYALAA

  • Mosquito
  • Posts: 18
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

  • Mosquito
  • Posts: 18
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

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