News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

3D Model from Topo Map PDF

Started by Alvin Gregorio, May 10, 2024, 10:19:40 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Alvin Gregorio

You'd think I'd be experienced at this.  But no.

How would you go about creating a reasonably accurate 3D model in TurboCAD Platinum of the terrain as depicted in the attached Topo Map PDF?

Note:  I don't have the Civil Design Suite
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

BruceH

Alvin

You can add me to the list; this is something that I would also like to know how to do!
Bruce H.
TurboCAD V14Pro, TurboCAD V15Plat, V2020Plat, V2021Plat, V2022Plat, V2023 Plat, V2024 Plat
Win 11 24H2 Pro 128GB AMD Ryzen 9 3900X 3.7Ghz/4.1Ghz
 Gigabyte X570 Aorus, Nvidia RTX 3050, 1TB SSD, Dual 31.5" monitors (2560 x 1440)

Dan Thomason

Hello Alvin,
I downloaded the file and inserted the PDF as a vector graphic then exploded it once and started checking the elevations of the topo lines. Well everything is on posZ as 0.00 which means you will need to translate each contour to its given z or vertical value. I used to do this quite often when I was my company's senior survey manager. From there you will have to convert it all to a surface and then assign a thickness to the whole surface (I do not remember exactly how I did this thickening of the surface but will work on it).
Daniel
HP Envy Intel Core7 @1.7GHz    32.0 GB Ram   NVIDIA GeForce 3050
TC 2025.1 Platinum    Been updating since 2004

BruceH

Alvin

Would this site give you enough detail?

https://cadmapper.com/

It is free to use for areas under 1Km
Bruce H.
TurboCAD V14Pro, TurboCAD V15Plat, V2020Plat, V2021Plat, V2022Plat, V2023 Plat, V2024 Plat
Win 11 24H2 Pro 128GB AMD Ryzen 9 3900X 3.7Ghz/4.1Ghz
 Gigabyte X570 Aorus, Nvidia RTX 3050, 1TB SSD, Dual 31.5" monitors (2560 x 1440)

nikkipollard

#4
It will take while

Try moving the contour lines (isolines) to the correct height.
Then insert a terrain, turn on nearest snap and snap along each contour. -

My usual method wouldn't work for this site -  but it works well enough for small architectural jobs with simple terrains.
Trace the contours with Splines. Move them vertically so that they are at the correct height.
Loft the contours.
Draw the shape of the site and extrude it in both directions making sure that the extrusion is higher and lower then the loft.
Slice the extrusion by surface.
I like this method because the sections and elevations need less clean up.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

nikkipollard

Years ago I used Sketchup to do something similar to the web site Bruce shared.
I don't know if that function is still available in Sketchup.
I am also not sure if it was accurate as using surveyed contours.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

Thanks for the input thus far everyone.

Bruce-- I didn't feel like creating an (seemingly required) account at yet another website.  I might go back and explore  cadmapper at another time; I'd be curious how accurate their results are compared to that of an actual surveyor or lidar.

I have a use for my 3D model.  But I also thought it just good exercise in using TurboCAD's Arch/Terrain Tool or other mesh tools.

I know there are fellow TurboCADers that are utilizing the Terrain Tool effectively for something like this.  I am interested in their process.  Do they start with first purchasing from a public or private entity a set of coordinates obtained via survey, lidar, or similar.  That being in an X,Y,Z format?
Or what?  How?

I'm thinking:  The Surveyors' Points in the ALTA topo map, which include elevations-- perhaps that's all the survey engineers used in their surface modeler application for that application to create the topography.
  So maybe rather than my trying in TurboCAD to use the resultant topo lines to create the mesh, I place Point objects at each of the Surveyor Points and use those for the TC/Arch/Terrain Tool.  And hopefully the developers got it pretty much right and the topo is accurately created.

I am interested in hearing how other TurboCADers go about doing this in TurboCAD, when provided what I've been provided-- a printed-in-PDF 2D survey/topo map.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

#7
I exploded the pdf down to graphic components, the line segments that compose the elevation point crosses are within a length range and an angular range around 45 degrees or 315 degrees, so I used selection query criteria and found that in this .pdf, there are 283 lines within these ranges from a total of 26113, so 283 surveyed elevation points.  Then TC Coordinates Export Palette can be used to get mid-points of these line segments, which in this case is the crosspoint intersection, the actual elevation point.  They're 2D though, and you'll have to enter the elevation manually.  OCR could partially automate entering the elevations too, if you've access to an OCR tool that can read the elevations.  Once you've done that you can paste the coords into notepad++ and save as .xyz, then use that file with Import Terrain.   The bugbear is that entering 283 elevations is a boring PITA.  If you're interested, the query that gave me 283 surveyed points is 'Object type'= 'Line' AND 'Length'>'635.0 mm' AND 'Length'<'670.0 mm' AND ('Angle'> '41' AND 'Angle'< '49') , but the length range is dependent on the random size I inserted the underlay at.

Alvin Gregorio

Thanks Murray.
Yes, I was thinking to next try TurboCAD's Select By Query to isolate the survey points.

It's a bummer the 2-sheet ALTA/N.S.P.S. Land Title Survey document supplied to me-- though had Layers within it-- none of the Layers applied to this topo sheet.  So that I could initially isolate out the points in the PDF.
__________
If I had more "authority" with this Civil_Engineering/Surveying company, I guess I could just request of them to provide me all their digital files for this project, which I would assume would include some sort of 3D surface model that I could figure out how to incorporate into something more TurboCAD-ish.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

Is the title survey held by the municipal authority or some other public body, or private?  If the owners are obliged to supply it to the authority for planning approval, it might be accessible to you from the authority or the owners. TC's Import terrain makes quite a nice model, IMO, and you can tart it up adding nodes so its profiles are similar to this underlays.  The forum member WildTurbo appears to have the Civil plugin, maybe PM them?  Might be something useful you can work out. 

Alvin Gregorio

I was able to use the Select By Query Angle>=45 AND Angle<=46, to isolate just one half of each of the survey points lines (I used TurboCAD's Import pdf page as vector graphics Tool to bring them in).

That ended up including the little lines of the exploded chain link fence line style (from the initial CAD file).
But I can quickly select those and delete them.

So I can now Group just the singular half of each of the survey points.
I could then edit their elevations to correspond to the text note of their elevations.1
Then Copy/Paste that into a blank Drawing file.
Then use TC Coordinates palette to export to comma-separated .txt file.
Then use that .txt file for Arch/Terrain Tool in TurboCAD.

I am wondering though how accurate the Terrain Tool meshes the points.
I've explored that local 2-foot-tall-dry-weeds-covered parcel the other day; I know about what it's supposed to blend like.

1First I have to ask myself if I am willing expend my time on the tedium of editing the Z values of all these >44°<46° Lines.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Quote from: Alvin Gregorio on May 11, 2024, 09:09:38 AMI was able to use the Select By Query Angle>=45 AND Angle<=46, to isolate just one half of each of the survey points lines (I used TurboCAD's Import pdf page as vector graphics Tool to bring them in).
That gets me down to 285 Lines-- one-halfs of the survey points.
Still quite a lot.  Maybe an hour or bit more to edit their elevations.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Shoot.  Just realized a made a basic mistake in all that above.
I negligently entered >=45 when I intended to enter >=44, in the Select By Query

Will have to start over.  Or add the 44°-45° Lines to the Group.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

To capture more of the survey points 44°-46° half-lines, and capture less of anything unwanted (non survey points), I edited my Select By Query to Angle>=44 AND Angle<=46 AND Length>=1 AND Length<=2.
I think that gets them all, and only them.  (Edit:  Nope.  Some are rotated such that they fall well out of that 44°-46° range; I'll have to figure out something else or additional.)

That gets me to a quantity of 328.
Make it 2 hours, to edit their Z coordinates.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Ståle

This is a link to a Youtube video on how to make terrain model frm å pdf map.
https://www.youtube.com/watch?v=x479qkbHMPg
TC Platinum 2023

murray dickinson

#15
Alvin, last night my lazy angel whispered to me that voice to text in Notepad++ for the elevations would  be easier, or select the line segments in TC and read the adjacent elevations to enter the Z position into the Inspector bar, then use the coords palette as I described.   I followed the youtube link above that new poster Ståle offered above, it's one of Kai Sannes' videos, and he doesn't get into making the terrain until the third in that series: he suggests isolating and elevating the elevation polylines and importing the coordinate export palette's extraction for terrain.  That would be quicker than editing the surveyed points, but you could add those in too if you need to. 

Jeff_in_90620

Quote from: Alvin Gregorio on May 11, 2024, 08:30:09 AMthe 2-sheet ALTA/N.S.P.S. Land Title Survey document supplied to me-- though had Layers within it-- none of the Layers applied to this topo sheet.  So that I could initially isolate out the points in the PDF

I have not finished the work, but after I exploded the imported PDF, I was able to determine that the Isolines had a unique color.  I was able to Select by Color put them all on a new Layer.

The arrow heads are a nightmare; many Polylines and white triangles for what should be a simple diagram, but they were easily selected and moved to a different Layer.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

nikkipollard

#17
After watching Kai's video
I imported the pdf as vectors.
Used select by colour to separate the graphics into layers.
changed the z value of the contour lines
Selected the contours and copy and pasted them into a new clean drawing
Used TC Coordinate Palette to extract all  coordinates of the vertices.
Imported as an architectural Terrain.
It works well except, the terrain is very slow to manipulate and the edges don't quite match the contours, in some places.
I would like to know what setting others use for terrain tool.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

nikkipollard

I went back and watched the video again. I see that Kai explodes the terrain and slices the edges off.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio


I didn't consider the slight variation in Color, to select_by and isolate graphics.  That could prove useful for me.

My hunch still is that the survey points are what the Civil/Survey engineer's application used to create the topo lines.  Therefore it would more accurate for me to use those in TurboCAD/Terrain to optimally replicate the topo lines, but in accurate 3D.
___________
Isolating the topo lines and setting their Z value (minus 800) then Copy/Paste into new blank drawing was the first thing I tried.
   TC Coordinate Palette kept producing some crazy Z coordinates-- though I only had Endpoints of Polylines and Vertices of Polylines ticked to export.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

In the PDF Imported as vector graphics, I
>deleted a bunch of extraneous stuff, such as exploded overhead power lines, notes, etc
>Set up the Grid to be such that I could work in an orderly system
>With Running Snaps, set to Intersection only, inserted 3D Point objects, on the 0,0,0 workplane; Intersection-snapping to the two surveyor-points' lines that are the exploded of their point object
>my TC Point objects are Blue and 2' and on their own Layer-- easily distinguishable

So I thought-- Okay, just a little more tedious boring monotonous work-- set each Point object's Z elevation to correspond to the surveyor's grade elevation.  And change their Color to Red, so I would know I completed the Z change.

I have 463 Point objects.
___
Henry once accused me of having patience and being tenacious.
But I don't think even I have the patience to set 463 Points' elevations.  Not in one sitting, that's for sure.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

Wouldn't it be nice if Tim and crew could do something useful with Copilot like read OCR on the elevation value while the adjacent point's selected and enter the value into Inspector Bar's Z value?  V7 Pro was bundled with Corel Scan, which had an OCR utility, it could read AutoCAD-style polyline text accurately, but I don't remember ever trying it with non-ortho text, ie numbers sloped or upside-down.

nikkipollard

Quote from: Alvin Gregorio on May 12, 2024, 05:52:02 AM
I didn't consider the slight variation in Color, to select_by and isolate graphics.  That could prove useful for me.

My hunch still is that the survey points are what the Civil/Survey engineer's application used to create the topo lines.  Therefore it would more accurate for me to use those in TurboCAD/Terrain to optimally replicate the topo lines, but in accurate 3D.
___________
Isolating the topo lines and setting their Z value (minus 800) then Copy/Paste into new blank drawing was the first thing I tried.
   TC Coordinate Palette kept producing some crazy Z coordinates-- though I only had Endpoints of Polylines and Vertices of Polylines ticked to export.

I would think that the surveyors software interpolates the surveyed points to generate the isolines - the same way that the terrain tool does. That is why I used that.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

#23
Quote from: nikkipollard on May 12, 2024, 09:26:49 PMI would think that the surveyors software interpolates the surveyed points to generate the isolines - the same way that the terrain tool does. That is why I used that.
Right.  But the survey points to interpolate the topo isolines; not the interpolated topo isolines to interpolate the topo isolines.

I just find it hard to believe that if I used the points derived (interpolated) from the actual survey points, the result via TC Terrain Tool would be accurate.

The first thing I tried was to raise the otherwise-2D topo isolines, then Copy/Paste into new Drawing, then TC Coordinate Palette into Notepad .txt file, then TC Terrain Tool via that .txt file is how I first started-- since there were so few topo lines, versus the number of survey points.
It didn't come out accurate-- from what I recalled from my recent field visit.

I've started raising the ~463 TC Points that I placed.  Intermittently, when I'm bored, when I otherwise would be knitting or something.
I have my Property Toolbar floating nearby; and my Inspector Bar displaying Pos_Z only-- to make this quicker.
___
What I really need to do is man up (if you'll pardon the expression) and call the engineering/survey firm and have them provide me a .dxf of their 3D surface model.
They are contracted by the development side of the umbrella company of which the construction company I am currently employed by also is under (i.e.: same company-- development and construction), after all.

What got me started on this-- I wanted to print a 3D Model to ship to the Development Manager, because he's having a hard time conceptualizing how the grading (for storm drain) is going work for this sloped property that we're going to build apartments on.
And sort of wanted to "impress" him (for lack of a better word) by this construction superintendent sending him a 3D Printed model.  ;)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nikkipollard

I am fairly certain that for a stormwater management plan the Isolines will be accurate enough.
His survey seems to be taken in a grid format.
You could manually draw a cross section - the old school way and compare it to a section through the terrain.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

#25
I tried using the elevated-Z topo lines.  For TC Coordinate Palette to Notepad .txt file to TC Terrain Import.

It works.  Not great; but it works.  Too many nodes in each topo polyline.

I think I'm going to give up.  It's not a $paying project anyway.

I suppose the TC Terrain/Import function is intended for when municipalities or surveyors or similar share with us their X,Y,Z coordinates file.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

There are some references to OCR for GIS on the net, so this probably crops up not infrequently.  I had a dig through my old kit last night and found my discs for V7 Pro, so within the next couple of days, I might be able to resurrect the Corel Scan OCR on them, but all I can see coming of that is a table of elevation values to manually copy and paste.  Limited utility, I also queried Bing's ChatGPT copilot but it can't see or interact with anything onscreen.  Microsoft claims that OneNote can OCR from pictures, but I couldn't make that work either.  Got a couple of other thought bubbles to play with before I throw up my hands and surrender.

Jeff_in_90620

I experimented with it, but Lofting provided some problems.  To avoid ACIS errors, I had to use small groups of Isolines.


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

murray dickinson

The inconvenience and long-windedness of manual data entry makes producing terrain from an underlay like this...inconvenient and long-winded....but TC's terrain is comparable with other methods if you've got easier ways.  I've been bashing away at this and the pic shows what I got with about 390 points, the terrain set to level 2 smoothing, using the butterfly algorithm, whatever that means, instead of default, and isoline levels approximating those in the underlay.  And they're really not too far away...
Other interesting things I discovered is that Windows' Snipping Tool has had OCR built in since around September last year, and it works very well, accurately recognising the text and numbers in the underlay if the zoom level's good enough, and even the + markers, so it's possible to scrape the Z elevations, use Notepad++ or Excel to clean up the list, and then use digitising to correlate the X and Y locations.  More sophisticated ways aren't far off, either.  Microsoft has a couple of open community projects that expose the OCR so that the text's pixel coordinates in the image can be scraped too, which would let the text's justification be recognised and its angular alignment, because  Snipping Tool's OCR isn't fussy about things being orthogonal, it works at any angle.  Pretty good, kudos Microsoft.

murray dickinson

I've been over the .pdf a few times, I think I've gotten every readable Z coordinate from it, I arrived at 490 points, set the isolines as close as I could, level 2 smoothing, butterfly setting (what IS that?) and this is what TC can do with that.  Some areas look really close, I think that some data has been clipped. 

Alvin Gregorio

Thank You Murray

For doing the tedious work on my project that I wasn't willing to do.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

I'm running in (figuratively speaking, they tell me it'll wear out quicker running like I used to be able to) a new hip, so I had a bit of down time to occupy, Alvin.  Learned some stuff doing it, too.

Alvin Gregorio

I was just supplied the Civil Engineer's* 1st Submittal for this 60-unit apartment project.
Which includes the "Existing Site Conditions", from the initial survey.

That sure makes this a lot easier and faster. 🙄


   *same firm that did the initial survey
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

Sure does!  I exported the vertex coords of the isolines they gave you, reimported them as terrain.  The isolines that TC takes from the surface it created are pleasingly similar to the originals.