How to use this type of data
-
If the DXF file contains CAD Points they'll import in Pro as Cpoints [aka Guide-points].
Then use a tool like my 'Triangulate Points' tool... http://forums.sketchucation.com/viewtopic.php?p=301274#p301274 to make a mesh from those preselected cpoints...If you have the cpoints in a plain TXT file of XYZ values or as CSV/TSV etc, then Didier Bur has a tool to import and then mesh those in one go...
Search the Plugins Index for such tools... -
Yes the file imports in SU as bunch of cpoints....I will try your triangulate plugin. Thanks again.
-
Well... I installed your plugin and it starts triangulating but after small amount of time SU goes into non responsive mode. I do not know if there is issue of number of points that SU can handle. I tried it on couple of different comps on SU 8. (64 bit Windows 7 ; dual 6 core, 32 Gb Ram , Nvidia Quadro 4000 GPU)
-
Unless a there are problems reported in the Ruby Console it doesn't necessarily mean it's broken, because Sketchup goes non-responsive doesn't mean it's stopped.
Let it run for a while and have a coffee and some cake.
When you come back you can always kill the process if it's not finished.
How many points are there?
With thousands of points it could take many many minutes to work out the mesh.
As every point has to be checked against every other to speed it up you could select approx 25% of the points [with a slight overlap] and make 4 meshes in 4 steps- it will be considerably faster than 1/4... On completion you then tidy them back up.
Another issue is that the points might be far far away from the origin and cause Sketchup/OpenGL issues ? If so select all of the cpoints imported and Move then to "[0,0,0]", and retry... -
Here is how it looks like.
-
Imported points data using delauney methods will 'melt' vertical objects as it needs to triangulate facets... some of which won't be what you'll expect.
If you can filter out the buildings in CAD and then export the 'site' mesh points that gives better results... -
Is there other method of triangulating which would be better for buildings.... as I am after buildings really?
-
I managed to do it but using SU8 on the Mac side. SU7 has no such problem on Vista. Kind of interesting.
It took nearly 3 hours and SU did not go non-responsive in both instances. Coffee was good and cake very moist.
The mesh turn out in not very usable state as buildings look like they are melting....maybe good for some Sci-Fi environment.....this Lidar data is kind of disappointing.
The file had 40406 points ... It created 80000 triangles. -
Not that I know of - the problem is working out which points make a facet.
IF the points are in a file and they are always arranged in sets so that they define a triangular face - like in many OBJ files - then it's much easier to replicate those facets in a SKP...
Unfortunately, the DXF data gets muddled once it's imported.
Are there any other file formats like csv/tsv/txt you can get the points data in?
These could be read into a SKP much more readily that a DXF... -
I see....I need to check if there are any other file types available.
-
Hmmm... It does not appear to be available. I was wondering if maybe this is all driven for Autodesk Map
-
You could try meshlab http://www.meshlab.org/ http://meshlabstuff.blogspot.com/
-
Thanks Notareal but as far as I know Meshlab does not import .dxf/dwg.
-
What does it export? If it will take any other sort of standard file type - csv, obj, anything?, maybe we can write an exporter for it.
-
@sepo said:
Thanks Notareal but as far as I know Meshlab does not import .dxf/dwg.
You don't get the LiDAR data in any other format? That unfortunate as meshlab is indeed a very good program to handle point clouds.
Meshlab
import:PLY, STL, OFF, OBJ, 3DS, COLLADA, PTX, V3D, PTS, APTS, XYZ, GTS, TRI, ASC, X3D, X3DV, VRML, ALN
export:PLY, STL, OFF, OBJ, 3DS, COLLADA, VRML, DXF, GTS, U3D, IDTF, X3D
Point Clouds support. Now 3D files that are composed only by points are well supported in PLY and OBJ format. -
Collada is essentialy an xml file - just plain text. It would be relatively easy to export a collada file with the point could data, if it was known what collada elements they need. SketchUp might even be able to do it natively with their collada exporter.
-
I supose I could export .dxf to collada and try it that way....
-
@chris fullmer said:
What does it export? If it will take any other sort of standard file type - csv, obj, anything?, maybe we can write an exporter for it.
Chris
This is website I wanted to get Lidar data from .... http://www.stanfords.co.uk/Business-Mapping/BM/Products/LiDAR_BM-LIDAR.htm -
Any text format file [even DXF] can be parsed and the points extracted in order.
If we know that that say every three of them make a triangular facet we can use that to add geometry.
It'd be a pain in the proverbial to parse a DXF file [it can be done! e.g. I extract 'text' in my dxf-text-importer tool] but other types like OBJ, CSV etc can be readily parsed and used... [DAE doesn't seem to support raw 'points', just facets]
-
Sepo, I have not used it yet but I have installed the tgi3d plugin. I suspect it would handle the stereo pairs quite nicely. This is exactly what their PhotoScan product is supposed to do. Basically you take two or more photos of a surface or surfaces from widely separated areas. Then you mark corresponding points in the photo sets and the software uses these control points to reverse engineer the 3D shape of the surface.
I have also figured out a LIDAR like system of establishing surface control points on small stationary object that does not have strong features to compare photographically. I will post my experiments as time allows. Will be heading to Thailand for a month so it might be a while before I can test the system.
Advertisement