Author Topic: Elevations points  (Read 10736 times)

0 Members and 1 Guest are viewing this topic.

Fabricio28

  • Swamp Rat
  • Posts: 670
Elevations points
« on: February 24, 2015, 12:38:50 PM »
Hi guys,

I'm trying to get the elevations of my project.

There are contours of the surface (polyline) that I put the elevations.

But I don't know if it is possible to get some elevations.

Could you help me out please?

Thank in advance
« Last Edit: February 24, 2015, 12:42:54 PM by FABRICIO28 »

ronjonp

  • Needs a day job
  • Posts: 7527
Re: Elevations points
« Reply #1 on: February 24, 2015, 01:34:04 PM »

A haxers way of doing it :)

Maybe pick the two closest contours, draw a 3dpolyline between them (snapping to nearest), then add a point on that 3d polyline snapping to nearest. You will see the elevation of the point.




Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Fabricio28

  • Swamp Rat
  • Posts: 670
Re: Elevations points
« Reply #2 on: February 24, 2015, 01:40:42 PM »

A haxers way of doing it :)

Maybe pick the two closest contours, draw a 3dpolyline between them (snapping to nearest), then add a point on that 3d polyline snapping to nearest. You will see the elevation of the point.

Thank you for replay my friend Ron,

How Can I do that?

I have no idea to be honest. Could you help me please?

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: Elevations points
« Reply #3 on: February 24, 2015, 01:45:10 PM »
Looking for something like this ?


Fabricio28

  • Swamp Rat
  • Posts: 670
Re: Elevations points
« Reply #4 on: February 24, 2015, 01:49:52 PM »
Looking for something like this ?

Hi,

Is it possible get the elevation from the middle of the polylines?

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: Elevations points
« Reply #5 on: February 24, 2015, 01:55:29 PM »
The accuracy of the elevation will not be very good, typically the contours are generated off a TIN, then smoothed so the contours themselves are not spot on.  But in answer to your question yes that is possible.

« Last Edit: February 24, 2015, 01:59:01 PM by snownut2 »

Fabricio28

  • Swamp Rat
  • Posts: 670
Re: Elevations points
« Reply #6 on: February 24, 2015, 02:01:27 PM »
The accuracy of the elevation will not be very good, typically the contours are generated off a TIN, then smoothed so the contours themselves are not spot on.  But in answer to your question yes that is possible.

The contours are generated from a TIN in the other program (Topograph).
I've imported just the contours from autocad without elevations.


TIN file
« Last Edit: February 24, 2015, 02:05:28 PM by FABRICIO28 »

ymg

  • Guest
Re: Elevations points
« Reply #7 on: February 24, 2015, 02:05:54 PM »
Fabricio,

There are various way to do it.

If you have the triangulation that generated the contour
Find your Z on the the faces of the TIN.

If you don't you could recreate it from the contour then
proceed as above.

A third way would be to do a fence selection from your point
going East.  Then do another fence selection from your point
but going Westward.  Now you can use the data returned by
ssnamex to find the nearest apparent intersection to your
point.  Selecting the entities at both the east point and the west
point you now have the 2 lwpolylines with gives you their respective
elevation. 
Now you can form a 3d line with the information above.
All that is left is to project your point to that line.

I agree with Snownut that interpolating from contour is
not the best way. 

RonJomp's way, if it's only for a few point is good!
Just issue command "3DPOLY" now pick with osnap
to nearest left polyline do the same on the right.
You now have your 3d line. Now pick a point on
this line again with osnap to nearest.  You got your Z

ymg
« Last Edit: February 24, 2015, 02:17:30 PM by ymg »

Fabricio28

  • Swamp Rat
  • Posts: 670
Re: Elevations points
« Reply #8 on: February 24, 2015, 02:10:32 PM »
@snownut2,
Sounds to be good for me. How can I do that?
I've attached the PolyfaceMesh, is it help?

@ymg
Thank you for replay,
Quote
If you have the triangulation that generated the contour
Find your Z on the the faces of the TIN.
How Can I find Z?

I've attached the triangulation


Regards

ronjonp

  • Needs a day job
  • Posts: 7527
Re: Elevations points
« Reply #9 on: February 24, 2015, 02:49:13 PM »

A haxers way of doing it :)

Maybe pick the two closest contours, draw a 3dpolyline between them (snapping to nearest), then add a point on that 3d polyline snapping to nearest. You will see the elevation of the point.

Thank you for replay my friend Ron,

How Can I do that?

I have no idea to be honest. Could you help me please?


See attached.

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

ymg

  • Guest
Re: Elevations points
« Reply #10 on: February 24, 2015, 02:54:13 PM »
Fabricio,

Look at the thread  :Triangulation Re-visited



ymg

Fabricio28

  • Swamp Rat
  • Posts: 670
Re: Elevations points
« Reply #11 on: February 24, 2015, 02:57:12 PM »

A haxers way of doing it :)

Maybe pick the two closest contours, draw a 3dpolyline between them (snapping to nearest), then add a point on that 3d polyline snapping to nearest. You will see the elevation of the point.

Thank you for replay my friend Ron,

How Can I do that?

I have no idea to be honest. Could you help me please?


See attached.

Awesome Ron,
It seems to be field text. How Can I do that?

Regards

ronjonp

  • Needs a day job
  • Posts: 7527
Re: Elevations points
« Reply #12 on: February 24, 2015, 03:06:57 PM »
Command: FIELD
Field Category: Object >> Select your point
Property = Position
Uncheck X,Y


Make sure OSNAPZ is set to 0 when drafting.




Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Fabricio28

  • Swamp Rat
  • Posts: 670
Re: Elevations points
« Reply #13 on: February 24, 2015, 03:08:14 PM »
Fabricio,

Look at the thread  :Triangulation Re-visited



ymg

Hi ymg,

Your code is fantastic!
But I don't know how to use it.

I don't need create point in my project, I have polyface mesh.
Is it possible create a elevation surface from my triangulation file?

Fabricio28

  • Swamp Rat
  • Posts: 670
Re: Elevations points
« Reply #14 on: February 24, 2015, 03:47:28 PM »
Command: FIELD
Field Category: Object >> Select your point
Property = Position
Uncheck X,Y


Make sure OSNAPZ is set to 0 when drafting.

Thank you Ron,
Worked great!  :-D