[Tutorial] Create a (TIN) from Surveyed Pts - using SU only
-
Here is the file location of the script:
http://www.crai.archi.fr/RubyLibraryDepot/Ruby/delaunay.rb
http://www.crai.archi.fr/RubyLibraryDepot/Ruby/delaunay.rband here is the Ruby Script Index page http://www.crai.archi.fr/RubyLibraryDepot/Ruby/
Eugene
-
Not been able to check on this for a while....
I've had a look at the drawing full of spot heights that I have and they are all at the correct z value....however, it is just text, not crosses etc.
Is there a quick way to create these crosses where the text is? I had a look at that autolisp, it looks mind boggling!
-
This might be a bit OT as you need AutoCad...
I took an old Autolisp program I once made and modified it to do this:
Scan a selection for text entities. Read the text and convert it to a number and multiply it with an user supplied factor (for unit conversions). Draw a line from the text insertion point to the text upper right corner, using the text as the Z height of the line endpoints. Repeat until all texts in the selection have been processed.
The result should be a cloud of small lines that the SU Sandbox from Contours tool can cover with a surface.
How it works:
- copy the txt23d.lsp file somewhere where Autocad can find it. It should work if put in the same directory as the drawing file to process.
- type (load "txt23d") to the AutoCad command line and press Enter
- type txt23d and Enter
- It asks the user for a selection
- It asks the user for a Z scale factor
Disclaimer: The lisp has almost none error checking. Scale factor should reset itself to 1 if you forget to give one. It's not rocket science - the real height point may be not exactly at the text insertion.
Anssi
-
That did the job! Thanks so much for that. Just got to find the time to put the guide points into SU and it should be sorted.
Cheers again
-
I could really, really, really do with that lisp script... but only have acad LT
-
How do I get a spreadsheet or comma separated x,y,z points into SU without having to actually position points manually? Is there a way to automate this?
Cheers
-
Hi,
Sure, use Didier's Cloud plugin; works great.
-
Hi all
Its getting confusing: the script is installed and delaunay2 installed.
The file is imported from an autocad file with simple points that i put in Z coordinates in acad.
When imported in SU they appears as little crosses ( cannot succeed in zooming on them to see exactly), and when i try to triangulate them, the ruby says " Some objects of the selection aren't construction points". How is this possible since they are all similar and all points?
Nothing happens then..Is there any way i can resolve this?
I've put a sample from points ( acad) here if anyone has a hint!
http://dl.dropbox.com/u/2095112/3Dpoints.dwgthnx
Nils -
Good lord!
I've found it!
3D points from surveyors are often blocks in acad. When i imported them, i forgot that, and they were in SU still components!.
A simple select all + explode solved the issue and made it possible to triangulate!Relief!
Sorry for the buzz!
N -
@messire said:
A simple select all + explode solved the issue and made it possible to triangulate!
Yup - I was already starting to write this up - good that I read the very last post.
-
I am tagging this for future reference.
mitcorb -
I'm trying to follow this thread to create a 3D landscape. I have the survey points or 'crosses' in SketchUp, all in the correct x,y,z positions. I selected all and exploded the components without any problem. I then reselected all the crosses, and selected the 'Set Centre Point' - but it puts a single construction point in the middle of the drawing - not one at the centre of each cross.
I'm using SU Pro ver 7.1.6860
Can anyone see what I'm doing wrong?
Grateful for any pointers!!
D...
-
Hi D...
Do the other way round (provided that those components er the instances of the same component definition) as the order is important:
- Edit one of them (double click)
- Set the centerpoint inside in that component - now if they are all the same components, each should be updated instantly with this centerpoint in them
- delete the geometry - i.e. the "crosses" - leaving only the centerpoint inside the component
- NOW exit the component and explode all...
Advertisement