SketchUcation Plugin Store

 

 

[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,
terrain_reshaper.jpg
Please, register (free) to access all the attachments on the forums.
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1239
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
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
 
Posts: 654
Joined: Tue Jan 08, 2008 5:40 pm
Location: canterbury, uk
Name: Luciano

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 ;) ).
User avatar
plot-paris
 
Posts: 1559
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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?
Author of "Architectural Design with SketchUp":
http://sketchupfordesign.com/
User avatar
alexschreyer
 
Posts: 137
Joined: Mon Jan 28, 2008 6:58 am
Location: Amherst, MA, USA
Name: Alexander Schreyer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: [Plugin] Terrain Reshaper

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

Thank you! :berserk:
ilay7k
 
Posts: 332
Joined: Wed Nov 14, 2007 3:49 pm
Location: Kazakhstan
Name: Ilya Shpilkin
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Advanced

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.
edson mahfuz, architect
http://www.mahfuz.arq.br

Anyone can get you more for more, but it takes genius to get you more for less.
User avatar
Edson
Global Moderator
 
Posts: 2663
Joined: Mon Oct 22, 2007 1:46 pm
Location: Porto Alegre, Brasil
Name: Edson Mahfuz
Operating system: Mac
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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:
| menos é mais
marcosrodrigues
 
Posts: 54
Joined: Tue Jun 10, 2008 2:14 am
Location: Salvador, Brasil
Name: Marcos

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 ?
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1239
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
ilay7k
 
Posts: 332
Joined: Wed Nov 14, 2007 3:49 pm
Location: Kazakhstan
Name: Ilya Shpilkin
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Advanced

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 ;)
Last edited by marcosrodrigues on Wed Jul 16, 2008 6:36 pm, edited 1 time in total.
| menos é mais
marcosrodrigues
 
Posts: 54
Joined: Tue Jun 10, 2008 2:14 am
Location: Salvador, Brasil
Name: Marcos

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/
ilay7k
 
Posts: 332
Joined: Wed Nov 14, 2007 3:49 pm
Location: Kazakhstan
Name: Ilya Shpilkin
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Terrain Reshaper

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

OK, I'm less stupid now than this morning 8-)
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1239
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Terrain Reshaper

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

Marvelous plugin, THANKS A LOT!
cyan.archnet
 
Posts: 52
Joined: Tue Jun 03, 2008 10:32 am

Re: [Plugin] Terrain Reshaper

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

...thanks Didier,very useful! :thumb:
--pupil forever...------
User avatar
urgen
 
Posts: 626
Joined: Mon Nov 12, 2007 10:06 pm

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...
Save the Earth, it's the only planet with chocolate.



Keeping things organised is not a sin. ;)
juju
 
Posts: 1127
Joined: Mon Oct 22, 2007 1:45 pm
Location: Durbanville, Cape Town, South Africa.
Name: Juju

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!
chango70
 
Posts: 587
Joined: Tue Mar 25, 2008 3:06 pm
Location: London

Re: [Plugin] Terrain Reshaper

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

Mille grazie !
boerenkool
 
Posts: 3
Joined: Thu May 08, 2008 7:39 pm

Re: [Plugin] Terrain Reshaper

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

Thanks Didier. Great plugin
:thumb:
redot
 
Posts: 99
Joined: Thu Apr 10, 2008 2:08 pm
Location: Dublin, Ireland
Name: redot
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Advanced

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. ;)
User avatar
plot-paris
 
Posts: 1559
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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:
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1239
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

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
Please, register (free) to access all the attachments on the forums.
REGIS
 
Posts: 925
Joined: Mon Nov 19, 2007 11:25 pm
Location: Toulouse; France
Name: Régis Revaux

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? ;)
User avatar
plot-paris
 
Posts: 1559
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
putnik
 
Posts: 67
Joined: Thu Nov 15, 2007 2:04 am
Location: Melbourne, Australia
Name: Kesha Chakhvorostov

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.
putnik
 
Posts: 67
Joined: Thu Nov 15, 2007 2:04 am
Location: Melbourne, Australia
Name: Kesha Chakhvorostov

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
johnnybfunk
 
Posts: 1
Joined: Sun Feb 08, 2009 11:13 pm

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
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6760
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

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. :)
John
Illustrator
Beaverton, Oregon
User avatar
JClements
Premium Member
Premium Member
 
Posts: 774
Joined: Wed Nov 14, 2007 4:32 pm
Location: Portland/Beaverton, Oregon
Name: JClements
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: illustration, cartoons
Level of SketchUp: Intermediate

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
oli
User avatar
olishea
Premium Member
Premium Member
 
Posts: 2589
Joined: Sat Nov 01, 2008 4:22 pm
Location: Manchester, UK
Name: Oliver Shea

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?
User avatar
plot-paris
 
Posts: 1559
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Artisan Organic Toolset - a set of powerful organic modeling tools.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

Next

Return to Plugins

Who is online

Users browsing this forum: emorgan, FierceFox and 9 guests