if you can be bothered, i know as much about Python as i do about open heart surgery.....!
it's just testing stuff at the moment, waiting to get some proper Lidar data from the client.... a _____ From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Dan Yargici Sent: 09 January 2013 10:30 To: softimage@listproc.autodesk.com Subject: Re: terrain ascii xyz import Hi Adrian. I used the data that Chris pasted into his mail to test with and that had no spaces... I use huge regular expression to parse the file for valid point data lines and it doesn't expect spaces. I'll tweak it and send it again if you like... DAN On Wed, Jan 9, 2013 at 12:22 PM, adrian wyer <adrian.w...@fluid-pictures.com> wrote: Hey Dan, i gave it a swing, but regardless of my .xyz file formatting, i always get the error message; Error - no points found or not a valid XYZ file!!! have you got an xyz file that works for you, that you caould strip to just a couple of lines so i can see the format? the one i'm trying is like this; 647680.01, 508967.136, 185.622 647680.099, 508967.133, 185.609 647680.124, 508953.779, 184.757 _____ From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Dan Yargici Sent: 09 January 2013 09:34 To: softimage@listproc.autodesk.com Subject: Re: terrain ascii xyz import Hey Chris, was that script of any use? Just curious! :) It's quite slow, as I'm sure you've noticed as you said it was a large file! Never could find a way to speed it up. I just put it down to Python being slow in the end... :/ DAN On Mon, Jan 7, 2013 at 6:54 PM, Chris Marshall <chrismarshal...@gmail.com> wrote: ok thanks guys. I'll see how this goes. I can always break the file down into smaller pieces maybe. Or if Dan's script works well, take a percentage of the point instead. I'll report back! On 7 January 2013 16:51, Vladimir Jankijevic <vladi...@elefantstudios.ch> wrote: oh, all right. If it's huge then this won't work that well I think :( On Mon, Jan 7, 2013 at 5:40 PM, Chris Marshall <chrismarshal...@gmail.com> wrote: That's what I was thinking. Once I get the file into soft, I'll know what I'm dealing with. It's a pretty huge file of points. On 7 January 2013 16:34, Alan Fregtman <alan.fregt...@gmail.com> wrote: With that, then you can use ICE on a grid of sufficient points and set up a tree like... "Get Point ID" and pointcloud getdata --> ID To Location --> .PointPosition --> Set Point Position (Who knows how the terrain is ordered though. It might look horrid.) On Mon, Jan 7, 2013 at 11:22 AM, Dan Yargici <danyarg...@gmail.com> wrote: Hey Chris, I quickly (read - some things may not work!) refactored my old .PLY importer for you. should work... Just rename as .py and run in the script editor. Like Alan suggested though, it's just point data so it just makes a pointcloud. Hope it helps. DAN On Mon, Jan 7, 2013 at 5:09 PM, Chris Marshall <chrismarshal...@gmail.com> wrote: Hi, Sorry for the slow reply on this. We have an xyz file, which is just a grid of points, like this:- -105.2500000000,39.7500000000,1757.129 -105.2500000000,39.7499583333,1758.791 -105.2500000000,39.7499166667,1760.882 -105.2500000000,39.7498750000,1763.025 -105.2500000000,39.7498333333,1765.183 -105.2500000000,39.7497916667,1767.467 -105.2500000000,39.7497500000,1768.741 -105.2500000000,39.7497083333,1771.766 -105.2500000000,39.7496666667,1773.832 -105.2500000000,39.7496250000,1775.873 -105.2500000000,39.7495833333,1777.84 -105.2500000000,39.7495416667,1779.369 -105.2500000000,39.7495000000,1781.255 -105.2500000000,39.7494583333,1783.423 -105.2500000000,39.7494166667,1785.815 -105.2500000000,39.7493750000,1788.552 -105.2500000000,39.7493333333,1791.749 -105.2500000000,39.7492916667,1795.332 -105.2500000000,39.7492500000,1800.269 -105.2500000000,39.7492083333,1804.516 -105.2500000000,39.7491666667,1808.3 So it must be relatively easy to convert this into a grid? Anyone got any ideas or can supply a simple script we can modify that'll read this data and generate a new grid or adjust the height of an existing grid? Thanks Chris On 14 December 2012 19:12, Matt Lind <ml...@carbinestudios.com> wrote: If its ASCII, an importer can probably be written fairly easily. Do you have a sample file? Matt From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Chris Marshall Sent: Friday, December 14, 2012 5:19 AM To: softimage@listproc.autodesk.com Subject: terrain ascii xyz import Hello, Anyone know how to get these into soft? Cheers Chris -- Chris Marshall Mint Motion Limited 029 20 37 27 57 07730 533 115 www.mintmotion.co.uk -- Chris Marshall Mint Motion Limited 029 20 37 27 57 07730 533 115 www.mintmotion.co.uk -- --------------------------------------- Vladimir Jankijevic Technical Direction Elefant Studios AG Lessingstrasse 15 CH-8002 Zürich +41 <tel:%2B41%2044%20500%2048%2020> 44 500 48 20 www.elefantstudios.ch --------------------------------------- -- Chris Marshall Mint Motion Limited 029 20 37 27 57 07730 533 115 www.mintmotion.co.uk _____ No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2221 / Virus Database: 2637/5519 - Release Date: 01/08/13 _____ No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2221 / Virus Database: 2637/5519 - Release Date: 01/08/13