[Plugin] Terrain Reshaper

[Plugin] Terrain Reshaper

Postby Didier Bur » Wed Jul 16, 2008 2:40 pm

Hi all,
The excellent method to "reshape" a terrain by Plot-Paris has been implemented in this beta version (French version also available soon). Quick start PDF included.
Feedback welcome !
Enjoy,

Please get the latest version from the PluginStore

Download


terrain_reshaper.jpg
1
Didier Bur
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [Plugin] Terrain Reshaper

Postby pav_3j » Wed Jul 16, 2008 2:42 pm

wow, thank you very much didier!

and thank you plot-paris, wherever you may be!

pav
0
Just won the 'Who is Least Competitive Championships' where trying to win will make you lose. Trying to lose makes you win which makes you lose. Not trying at all makes you lose which makes you win which makes you lose.

pav_3j 
 

Re: [Plugin] Terrain Reshaper

Postby plot-paris » Wed Jul 16, 2008 3:12 pm

Didier, this is marvellous! thank you so much! :ecstatic:

some observations after a first short try.

after completion of the process you have to smooth the terrain manually (context click > soften/smooth edges). does it make sense to automate this process or would that bring disadvantages? :?

indeed, with the "merge coplanar faces" function you are likely to use some faces, especially near the border.

really great is, that the borders are maintained - thus the reshaped terrain does still perfectly fit into surrounding geometry. :thumb:

what would be great: if holes in a terrain would be cept. but thats probably the same mentioned issue you want to fix in the next release (if you do succeed in fixing it, you are one step ahead of SketchUp's from contours function ;) ).
1
User avatar
plot-paris 
 

Re: [Plugin] Terrain Reshaper

Postby alexschreyer » Wed Jul 16, 2008 3:24 pm

Great plugin! Looking forward to trying this out. Maybe this could be the start of a panelizing plugin as well (similar to the Rhino version). At this point it seems to implement a regular grid on the projected surface. Would it be possible to re-use code from the "lines on surface" plugin to make it possible to apply a grid directly to the surface?
0
Author of "Architectural Design with SketchUp":
http://sketchupfordesign.com/
User avatar
alexschreyer 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Terrain Reshaper

Postby ilay7k » Wed Jul 16, 2008 4:47 pm

Thank you! :berserk:
0

ilay7k 
 

Re: [Plugin] Terrain Reshaper

Postby Edson » Wed Jul 16, 2008 5:22 pm

great work, didier! you --and a few other ruby coders-- are taking SUp to a very high level.

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

Re: [Plugin] Terrain Reshaper

Postby marcosrodrigues » Wed Jul 16, 2008 5:38 pm

alexschreyer wrote:(...) Maybe this could be the start of a panelizing plugin as well (similar to the Rhino version) (...)


:thumb:
0
| menos é mais

marcosrodrigues 
 

Re: [Plugin] Terrain Reshaper

Postby Didier Bur » Wed Jul 16, 2008 6:25 pm

Hi,

thats probably the same mentioned issue you want to fix in the next release

Exactly: faces outside borders and in "former holes" will be removed automatically.
does it make sense to automate this process

That's very easy to do by script but IMHO this will have to be an option of the dialog box, I don't intend the user to have a smoothed/soften terrain if he doesn't want to.
this could be the start of a panelizing plugin

Call me stupid but I don't know what a 'panelize' operation is ?
0
Didier Bur
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [Plugin] Terrain Reshaper

Postby ilay7k » Wed Jul 16, 2008 6:30 pm

I don't know what a 'panelize' operation is

http://en.wiki.mcneel.com/default.aspx/ ... mands.html
0

ilay7k 
 

Re: [Plugin] Terrain Reshaper

Postby marcosrodrigues » Wed Jul 16, 2008 6:31 pm

c'est pas grave, Didier :) not a problem
http://en.wiki.mcneel.com/default.aspx/ ... mands.html

I used it to do this: http://farm4.static.flickr.com/3104/267 ... 1d61_b.jpg

oh, you beat me, Ilya ;)
0
Last edited by marcosrodrigues on Wed Jul 16, 2008 6:36 pm, edited 1 time in total.
| menos é mais

marcosrodrigues 
 

Re: [Plugin] Terrain Reshaper

Postby ilay7k » Wed Jul 16, 2008 6:36 pm

sorry :roll:
--
it will be nice to see grasshopper-like plugin too - http://grasshopper.rhino3d.com/
0

ilay7k 
 

Re: [Plugin] Terrain Reshaper

Postby Didier Bur » Wed Jul 16, 2008 6:54 pm

OK, I'm less stupid now than this morning 8-)
0
Didier Bur
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [Plugin] Terrain Reshaper

Postby cyan.archnet » Thu Jul 17, 2008 3:45 am

Marvelous plugin, THANKS A LOT!
0

cyan.archnet 
 

Re: [Plugin] Terrain Reshaper

Postby urgen » Thu Jul 17, 2008 7:39 am

...thanks Didier,very useful! :thumb:
0
--pupil forever...------
User avatar
urgen 
 

Re: [Plugin] Terrain Reshaper

Postby juju » Thu Jul 17, 2008 11:17 am

Didier, you're the MAN! *thumps chest twice with thumb side of fist*

The smoothing can be done with Matt666's smoothing plugin, should work like a charm...
0
Save the Earth, it's the only planet with chocolate.
User avatar
juju 
Premium Member
Premium Member
 

Re: [Plugin] Terrain Reshaper

Postby chango70 » Thu Jul 17, 2008 12:48 pm

Man u are the reason Sketchup is half as cool as it is for me! Keep it up!
0

chango70 
 

Re: [Plugin] Terrain Reshaper

Postby boerenkool » Thu Jul 17, 2008 1:05 pm

Mille grazie !
0

boerenkool 
 

Re: [Plugin] Terrain Reshaper

Postby redot » Thu Jul 17, 2008 3:54 pm

Thanks Didier. Great plugin
:thumb:
0

redot 
 

Re: [Plugin] Terrain Reshaper

Postby plot-paris » Thu Jul 17, 2008 5:18 pm

hi Didier,

I just wanted to clean up a terrain. I used the options

-create group: yes
-delete original: yes
-merge faces: no
-size 600mm

when it was finished it looked like this



the original terrain had not been deleted. but the new terrain was incomplete where the old mesh was visible (see image above). no idea, why it didnt work. just thought I would tell, in case you have a clue. ;)
0
User avatar
plot-paris 
 

Re: [Plugin] Terrain Reshaper

Postby Didier Bur » Thu Jul 17, 2008 5:50 pm

Hi,
The smoothing can be done with Matt666's smoothing plugin

Fredo6,Matt666 and me, the french connection :roflmao:

@Plot-paris:
Could you PM me the SKP file ? I'm curious to know what bug's still there :bounce:
0
Didier Bur
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [Plugin] Terrain Reshaper

Postby pilou » Thu Jul 17, 2008 6:04 pm

And if Ruby was my cup of tea, that will the The Four Musketeers! :roflmao:
Frenchy Pilou
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Terrain Reshaper

Postby REGIS » Thu Jul 17, 2008 9:56 pm

And if Ruby was my cup of tea, that will the "club des cinq" :roflmao:

@Plot-paris:

Can you show us or share the starting idea, I would like to see before you apply model with contours.(perhaps I've got an idea using your technic to model terrain).

After a few tests using different methods, I let you guess
who's who.
contours.jpg


regards
0

REGIS 
 

Re: [Plugin] Terrain Reshaper

Postby plot-paris » Fri Jul 18, 2008 8:46 am

good morning REGIS,

the initial idea was discussed in this thread.

for the who is who test - could you give us some multiple choice answers? ;)
0
User avatar
plot-paris 
 

Re: [Plugin] Terrain Reshaper

Postby putnik » Thu Aug 14, 2008 4:40 am

Didier, amazingly useful tool! Thanks so much! :berserk: Thank you plot-paris and everyone else from this topic for this most excellent idea
0

putnik 
 

Re: [Plugin] Terrain Reshaper

Postby putnik » Thu Aug 14, 2008 4:48 am

Didier, don't know if it's possible to do, but it would be helpful (me thinks) if the the script somehow retained the information collected at the "Parsing terrain.." stage, in case one wants to reshape the terrain again with, say, differently sized triangles.
0

putnik 
 

Re: [Plugin] Terrain Reshaper

Postby johnnybfunk » Wed Apr 01, 2009 4:19 pm

Hey,

I've imported 6-7 GE terrain meshes, exploded them, put them all in a group, and then tried to run didier's plugin. :| It didn't come out as expected.
The problem is, i think, that i didn't really merge the different meshes before runnig the script, and that all 6 or 7 of them reacted as independent meshes.
Does anybody have a quick and easy solution for stitching together different meshes imported from GE?

Thank you,


Félix
0

johnnybfunk 
 

Re: [Plugin] Terrain Reshaper

Postby Chris Fullmer » Wed Apr 01, 2009 5:14 pm

Hi Felix, I think that the problem is just that you need to select all the terrains you want to reshape and turn them into a single group. Then just select the 1 group and run the plugin. It will not accept a selection of loose geometry. Only a single group.

Hope that helps,

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Terrain Reshaper [Suggestion/Request]

Postby JClements » Wed Aug 12, 2009 3:24 am

Didier:

Suggestion/Request

When dealing with a large terrain surface, the Parsing, Triangulation, and Merging functions of the script can take quite a while.

I was wondering if at the end of each function (before the user goes to the next) if an elapsed time could be shown. At the completion of the script, then a final dialog would be displayed showing the elapsed time of each function.

This way, if you had to convert a series of similar terrains, you wouldn't have to wait around at your computer ... just go do something else and come back according the to elapsed times of the first reshaping session. :)
0
John
Illustrator
Beaverton, Oregon
User avatar
JClements 
Premium Member
Premium Member
 

Re: [Plugin] Terrain Reshaper

Postby olishea » Fri Aug 14, 2009 12:15 pm

effing fantastic plugin. i could have done with this a few weeks back, works great
0
oli
User avatar
olishea 
Premium Member
Premium Member
 

Re: [Plugin] Terrain Reshaper

Postby plot-paris » Mon Aug 17, 2009 7:09 am

sometimes, when you have got a terrain with a lot of detail in places and very little information in others, the terrain reshaper has to be set according to the highest level of detail. that results in models with unnecessarily large numbers of vertexes.

therefore the idea for an improved plugin - the Dynamic Terrain Reshaper! you define a maximum vertex size and a minimum vertex size. then the plugin calculates the whole terrain with the large vertices and subdivides, where neccessary, until it reaches the minimum vertex size limit.
was that comprehensible?
0
User avatar
plot-paris 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: No registered users and 27 guests

Visit our sponsors: