[Plugin] Cloud.rb for SU6

[Plugin] Cloud.rb for SU6

Postby Didier Bur » Sun Nov 04, 2007 4:42 pm

Here is the update of cloud.rb for SU6 (won't work with SU5 ;)
(French version available at the Ruby Library Depot)
Enjoy,
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: Cloud.rb for SU6

Postby Gaieus » Mon Nov 05, 2007 12:52 am

Yesss!

Thank you SOOO much, Didier!
It works like charm now!

I get you a beer (or a wine - since you're French) when you get around here!
0
User avatar
Gaieus 
 

Re: Cloud.rb for SU6

Postby Edson » Mon Nov 05, 2007 12:52 am

i could not download it at all. on firefox it downloaded as a quicktime movie (not even a workaround like opening it in a text app and saving it again worked). on safari i got a message saying it is an application (download.php).

is there something you guys can do to help me? gai, coul you send me the file that worked for you so well. thanks.

edson
0
edson mahfuz, architect | porto alegre • brasil
http://www.mahfuz.arq.br
User avatar
Edson 
Global Moderator
 

Re: Cloud.rb for SU6

Postby Gaieus » Mon Nov 05, 2007 1:02 am

Edson,

Here it is zipped. I hope you can download it now.
0
User avatar
Gaieus 
 

Re: Cloud.rb for SU6

Postby Didier Bur » Mon Nov 05, 2007 1:03 am

Gaeius,
What about a bottle (or two) of Tokaji Aszu ?
Wait for me (I'll be in Hungary next year :D
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: Cloud.rb for SU6

Postby Gaieus » Mon Nov 05, 2007 1:03 am

OK Didier, but that's only for the desseer (it's kind of sweet).

I'd rather have some (dry) Cabernet Sauvignon form Villány (about 20 kms from where I live) with the beef first.

0
User avatar
Gaieus 
 

Re: Cloud.rb for SU6

Postby mateo soletic » Mon Nov 05, 2007 1:04 am

Thank You, Didier.
0

mateo soletic 
 

Re: Cloud.rb for SU6

Postby Edson » Mon Nov 05, 2007 1:05 am

Gaieus wrote:Edson,

Here it is zipped. I hope you can download it now.

i am afraid it did not work. this time i was able to download it as a text but look what kind of text i got?

cheers.
0
edson mahfuz, architect | porto alegre • brasil
http://www.mahfuz.arq.br
User avatar
Edson 
Global Moderator
 

Re: Cloud.rb for SU6

Postby Gaieus » Mon Nov 05, 2007 1:05 am

That's cool Edson - it is supposed to look like that for Didier encrypted it. Just copy it into the Plugins folder (or wherever you do this on Mac) and it will work, believe me!
0
User avatar
Gaieus 
 

Re: Cloud.rb for SU6

Postby Edson » Mon Nov 05, 2007 1:06 am

thanks gai. i have no need to know what is inside the script. it is enough that it works!!
0
edson mahfuz, architect | porto alegre • brasil
http://www.mahfuz.arq.br
User avatar
Edson 
Global Moderator
 

Re: Cloud.rb for SU6

Postby Gaieus » Mon Nov 05, 2007 1:06 am

And does it?
0
User avatar
Gaieus 
 

Re: Cloud.rb for SU6

Postby Didier Bur » Mon Nov 05, 2007 1:06 am

Hi Mateo,
I'm going to Croatia next week. Where are you living ?
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: Cloud.rb for SU6

Postby Edson » Mon Nov 05, 2007 1:06 am

Gaieus wrote:And does it?

well, i do not have any input file to test it with right now. could you send me on
0
edson mahfuz, architect | porto alegre • brasil
http://www.mahfuz.arq.br
User avatar
Edson 
Global Moderator
 

Re: Cloud.rb for SU6

Postby ELYSIUM » Mon Nov 05, 2007 1:11 am

Hi all

Didier, thanks for this script! :D


I have tried to make a cloud of the Roman forum using the data from this site:

http://dlib.etc.ucla.edu/projects/Forum/geospatial

But the end result is not in the right scale.
I cant understant what i'm doing wrong, can anyone help me?

here is the SKP. file with my result:

Many thanks.
0

ELYSIUM 
 

Re: Cloud.rb for SU6

Postby Gaieus » Mon Nov 05, 2007 1:11 am

Edson,

Go to the Ruby Library Depot site (of Didier) and there you'll find a test (*.dat) file for the script.
_______

Pedro,

The data provided on the website is probably in centimetres and your model is in feet.
Change the template/Units in your file where you're importing the data file, import it (and later you may change the units back).

I hope this works - please, let us know!
0
User avatar
Gaieus 
 

Re: Cloud.rb for SU6

Postby ELYSIUM » Mon Nov 05, 2007 1:13 am

Tks Gaieus!!

That was the problem, i set the units to meters and it is perfect.
That was a real beginner mistake! lol
The first thing i do in a new model is change the units. How could i forgot it this time! tks.
0

ELYSIUM 
 

Re: Cloud.rb for SU6

Postby Gaieus » Mon Nov 05, 2007 1:14 am

Well, Pedro, everyone makes mistakes - especially when they are sooo obvious!
:)
0
User avatar
Gaieus 
 

Re: Cloud.rb for SU6

Postby Ben Ritter » Mon Nov 05, 2007 1:14 am

Does anyone know why my result is the wrong scale and inverted/mirrored?

Ben
0

Ben Ritter 
 

Re: Cloud.rb for SU6

Postby Gaieus » Mon Nov 05, 2007 1:14 am

Ben,

You might be using another template file ("units-wise") than the input is. That was "ELISYUM"'s problem, too (see above).

I don't know about mirroring. Maybe the order of the date-input? (It should be x,y,z - in this order).
0
User avatar
Gaieus 
 

Re: Cloud.rb for SU6

Postby not registered yet » Mon Nov 05, 2007 1:15 am

Didier Bur wrote:Here is the update of cloud.rb for SU6 (won't work with SU5 ;)
(French version available at the Ruby Library Depot)
Enjoy,

How does it work? :)

poster-Invader ZIM
0

not registered yet 
 

Re: Cloud.rb for SU6

Postby Didier Bur » Mon Nov 05, 2007 1:15 am

RTFM :D
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: Cloud.rb for SU6

Postby Gaieus » Mon Nov 05, 2007 1:16 am

Didier Bur wrote:RTFM :lol:

May I suspect what this means, Didier?
:D
0
User avatar
Gaieus 
 

Re: Cloud.rb for SU6

Postby SchreiberBike » Mon Nov 05, 2007 1:16 am

Gaieus wrote:May I suspect what this means, Didier?
:D

I found a source to Read the Manual at: http://www.crai.archi.fr/RubyLibraryDep ... /Cloud.pdf


And I've got a question.
What data sources do you use for this? Are there terrain maps on the web in this format?
0

SchreiberBike 
 

Re: Cloud.rb for SU6

Postby Gaieus » Mon Nov 05, 2007 1:17 am

SchreiberBike wrote:I found a source to Read the Manual at: http://www.crai.archi.fr/RubyLibraryDep ... /Cloud.pdf

Yeah, it's right next to the script - as Didier noted above.

As for the input - use simple text files with the x,y,z coordinates of every single point entered into a line each.

The source of this data file... well, wherever you can get it. I enter my own measurements or use a survey station and get the data as a text file or anything.

This script is mainly for you to use your own data than for importing because by importing you can usually have your mesh already.
0
User avatar
Gaieus 
 

Re: Cloud.rb for SU6

Postby Fletch » Mon Nov 05, 2007 1:18 am

Didier, thank you for ALL your ruby scripts at your site... found a couple new ones I hadn't seen before.

you have a tiny glitch...
http://www.crai.archi.fr/RubyLibraryDep ... f-v2-1.zip is missing the '.zip' in the link, so that it's a broken link. I just added the ".zip" to my address line, and it d/ls just fine.

thanks again for your site.
The pushpull multiple faces with 2 selected points is going to be my new favorite tool! It's just what I came here looking for! :D
0

Fletch 
Twilight Render
 

Re: Cloud.rb for SU6

Postby Didier Bur » Mon Nov 05, 2007 1:18 am

Thanks Fletch,
Normally Rick Wilson's freebies links are redirecting you to Smustard as he requested. So the link is buggy twice. :roll: Will fix that asap.
Regards,
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: Cloud.rb for SU6

Postby linea » Mon Nov 05, 2007 1:19 am

Didier. Just downloaded cloud.rb. I had not come across this script until now. I haven't worked with point clouds before but this could be brilliant for my work.

Thanks
0

linea 
 

Re: [Plugin] Cloud.rb for SU6

Postby Monotonx » Fri Oct 17, 2008 10:02 pm

I have a Problem with a large point cloud:

I'm able to import the Points (round about 80.000) with your script but if I tell the script to triangulate the points my Pc hangs up (It's just to much point at once)

Is there a posibility or another script to mesh only a few points at once to prevent sketchup from hanging up?

I hope anyone can help me :(

greetings

Markus
0

Monotonx 
 

Re: [Plugin] Cloud.rb for SU6

Postby Monotonx » Fri Oct 17, 2008 10:26 pm

I tried to attach the text file with the model - but it was too large.

so i divided the koordinates into three separate files and also attached a zipped file with the point cloud as sketchup-file
0

Monotonx 
 

Re: [Plugin] Cloud.rb for SU6

Postby TaffGoch » Sat Oct 18, 2008 3:20 am

Monotonx,

Before "Cloud" there was...

At the Ruby Library Depot (http://www.crai.archi.fr/RubyLibraryDepot/Ruby/en_geo_page.htm) there is a plugin named, "points_cloud_triangulation" that you need to download, and drop into your SketchUp "plugins" folder.
http://www.crai.archi.fr/RubyLibraryDepot/Ruby/points_cloud_triangulation.rb

You can use "cloud" to import the guidepoints, but skip the triangulation. Then, select only a portion of the the guidepoints, and triangulate with "points_cloud_triangulation." This plugin will permit you to complete the task in selected sections.

This ruby requires another rubyscript to function, "delauney2.rb" (but the link is broken.) Playing around, I found that it's misspelled. The correct download link is:
http://www.crai.archi.fr/RubyLibraryDepot/Ruby/delauney2.rb
(Also drop in the "plugins" folder.)

When you next start SketchUp, a new menu item will appear in the "Plugins" menu list -- "Triangulate points"

To use it, select a set of guidepoints then run "Triangulate points". I should caution you not to select too many points. I selected ~8,000 guidepoints, and it took over 15 minutes to parse through them. It was, however, successful at producing the edges and triangular faces, although some outer edge cleanup is required.

Might that serve your purpose?

Regards,
Taff
0
"Information is not knowledge." -- Albert Einstein
User avatar
TaffGoch 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: Google Bot, konradt, rafaelyu and 8 guests

Visit our sponsors: