It is currently Thu Sep 02, 2010 9:56 pm

Registration
Login Help

Advertise Here

[Plugin] Round Edge - v1.0 (by Bezier)

FAQMembersRegisterLogin

[Plugin] Round Edge - v1.0 (by Bezier)

Postby Fredo6 on Mon Jun 09, 2008 9:23 pm

[Edit 9 Jul 09] I published a new script, RoundCorner 2.0, which does true rounding at corners (and keep te Sharp mode). You may consider to use this script instead.
Snap17.jpg

Here is the link to the main post of that thread.http://forums.sketchucation.com/viewtopic.php?f=180&t=20485&hilit=plugin


-----------------------------------------

Here is a script that typically would round the edges and corners of a cube. As I still don't get the subtle differences between Bevel and Chamfer, I simply called it RoundEdge. The picture below gives some idea of what it intends to do.
SampleRoundEdge.jpg

There's still a lot of work to do, as you can guess that the topological situations are numerous enough that you have to treat many cases. So this is very a first version, with profiles of the rounding shape generated with Bezier curves, to ensure the tangency at the intersection with original faces.

Though I am not totally sure, I anticipate that the tool can be extended to support custom profiles.

Doc is attached in PDF in the subfolder RDE_DIR (only in English for the time being).
It should work in Sketchup v5 and v6, and on PC or Mac (thanks to confirm). As usual, the button coming in the toolbar is my own artistic design (I guess you would notice anyway :ecstatic: )
You do not have the required permissions to view the files attached to this post.
User avatar
Fredo6
 
Posts: 948
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby remus on Mon Jun 09, 2008 9:24 pm

:fro: sweet fred, another wicked pugin.
User avatar
remus
Global Moderator
 
Posts: 7995
Joined: Fri Nov 30, 2007 8:48 am
Location: UK
Name: remus
Operating system: vista
SketchUp version: 7.whatever

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby remus on Mon Jun 09, 2008 9:40 pm

Damm, well i installe dit and its not working. I select a few edges, run the script and it doesnt do anyhing apart from change the cursor to a little 'invalid selection' thing.

This is what the ruby console says:
Code: Select all
Error: #<ArgumentError: Cannot convert argument to Sketchup::Point3d>
C:/Program Files/Google/Google SketchUp 6/Plugins/BzRoundEdge.rb:229:in `intersect_line_plane'
C:/Program Files/Google/Google SketchUp 6/Plugins/BzRoundEdge.rb:229:in `compute_borders_at_edge_end'
C:/Program Files/Google/Google SketchUp 6/Plugins/BzRoundEdge.rb:303:in `construct_edge'
C:/Program Files/Google/Google SketchUp 6/Plugins/BzRoundEdge.rb:165:in `construct_all_vertices'
C:/Program Files/Google/Google SketchUp 6/Plugins/BzRoundEdge.rb:164:in `each'
C:/Program Files/Google/Google SketchUp 6/Plugins/BzRoundEdge.rb:164:in `construct_all_vertices'
C:/Program Files/Google/Google SketchUp 6/Plugins/BzRoundEdge.rb:163:in `each'
C:/Program Files/Google/Google SketchUp 6/Plugins/BzRoundEdge.rb:163:in `construct_all_vertices'
C:/Program Files/Google/Google SketchUp 6/Plugins/BzRoundEdge.rb:539:in `execute_drawing'
C:/Program Files/Google/Google SketchUp 6/Plugins/BzRoundEdge.rb:667:in `onLButtonUp'
User avatar
remus
Global Moderator
 
Posts: 7995
Joined: Fri Nov 30, 2007 8:48 am
Location: UK
Name: remus
Operating system: vista
SketchUp version: 7.whatever

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby Fredo6 on Mon Jun 09, 2008 9:53 pm

Remus,

Sorry for this. A last minute problem and I took the wrong version.
I reloaded one on the main message that should work.

Fredo
User avatar
Fredo6
 
Posts: 948
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby remus on Mon Jun 09, 2008 9:59 pm

Cheers fred, works like a charm.
User avatar
remus
Global Moderator
 
Posts: 7995
Joined: Fri Nov 30, 2007 8:48 am
Location: UK
Name: remus
Operating system: vista
SketchUp version: 7.whatever

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby kwistenbiebel on Mon Jun 09, 2008 10:48 pm

Cool Fredo!
This is one the render geeks appreciate :)
Thank you!
kwistenbiebel
 
Posts: 2625
Joined: Thu Nov 22, 2007 6:13 pm

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby Daniel S on Tue Jun 10, 2008 1:46 am

Thank you Fredo!!! :ecstatic: :ecstatic:
I didn´t imagine that you were going to surprise us so soon with another awesome plugin :ecstatic:

Your assumption that only edges that are not ‘Soft’, ‘Hidden’ or ‘Soft’ can be selected is a great idea and the Explicit and Implicit selection is fantastic too.

I tried the plugin and the problems that I have are the ones of the "known problems" on the PDF. Hope that you can fix the issues of Adjacent Convex and Concave edges and the Sheared surfaces before the incorporation of the custom profiles feature. Perhaps will add to the list of problems when there is something like the attached image.

Thank you again Fredo!,
Daniel S

P.S. I´m thinking: If only one person can make all this incredible plugins so quick with limited time... what the SU team working full time on SketchUp will bring to us on SU7??
You do not have the required permissions to view the files attached to this post.
Presenting my New SketchUp Blog:
http://www.sketching3d.com.ar/
User avatar
Daniel S
 
Posts: 319
Joined: Mon Nov 12, 2007 6:06 pm
Location: Mar del Plata, Buenos Aires, Argentina
Operating system: Windows 7
SketchUp version: SketchUp Pro 8

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby kwistenbiebel on Tue Jun 10, 2008 1:55 am

Daniel S wrote:P.S. I´m thinking: If only one person can make all this incredible plugins so quick with limited time... what the SU team working full time on SketchUp will bring to us on SU7??


Don't start :evil: .

...but I recently imagined them (G-team) scratching their heads saying: 'are these GE tools gonna be enough?' , while the other one replies 'Not a problem,mate,we make things for the masses, not for a CG niche market'....' Pffw,Oh good, well I am off then, it seems the wind is gaining strength, time to hit the waves, cheerio'...etc... :D
kwistenbiebel
 
Posts: 2625
Joined: Thu Nov 22, 2007 6:13 pm

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby Whaat on Tue Jun 10, 2008 3:24 am

kudos on the wicked looking plugin! Looking forward to playing with it!
Whaat
 
Posts: 618
Joined: Wed Nov 14, 2007 9:51 pm
Location: Saskatchewan, Canada
Name: Dale Martens
Operating system: MS Vista, OSX 10.5.6
SketchUp version: Google SU7 Pro

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby kmead on Tue Jun 10, 2008 3:50 am

Wow, very nice indeed. This has been asked for many many times over the last few years. And very nicely executed.

I do have a quibble which may or may not be shared by all:

The intersection of the rounded edges should meet in a semi-spherical intersection when three arcs meet at a corner, versus the hipped or groined intersection that is now occurring.

In any case, another very appreciated remarkable piece of work.

All the best and thank you.

Karl Mead
kmead
 
Posts: 73
Joined: Wed Nov 21, 2007 3:08 am

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby tomislavm on Tue Jun 10, 2008 9:51 am

Thank You!
I like this ruby and it works good!
All the best and thank you again!
tomislavm
 
Posts: 320
Joined: Wed Nov 21, 2007 9:35 am

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby Macs on Tue Jun 10, 2008 10:10 am

How to make a 10 sided dice...
just combo some SU scripts! total time 5 minutes
great work Fredo! :thumb: :thumb:
You do not have the required permissions to view the files attached to this post.
Macs
 
Posts: 18
Joined: Thu Apr 24, 2008 9:59 am

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby Dylan on Tue Jun 10, 2008 12:29 pm

Fredo this is just fantastic, Thankyou! :thumb:
User avatar
Dylan
Global Moderator
 
Posts: 1934
Joined: Mon Oct 22, 2007 1:41 pm
Location: Sheffield & Royston (Herts), UK
Name: Dylan Morton
Operating system: OSX/Win7
SketchUp version: I would have to kill you!

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby mateo soletic on Tue Jun 10, 2008 12:34 pm

Fredo,
Thank You very much.
User avatar
mateo soletic
 
Posts: 1688
Joined: Mon Nov 12, 2007 6:04 pm
Location: Dubrovnik,Croatia
Operating system: Windows XP
SketchUp version: 7

Re: [Plugin] Round Edge - v1.0 (by Bezier)

Postby Juju on Tue Jun 10, 2008 1:19 pm

Nice! Thanks!
Save the Earth, it's the only planet with chocolate.

Image

Keeping things organised is not a sin. ;)
User avatar
Juju
 
Posts: 1125
Joined: Mon Oct 22, 2007 1:45 pm
Location: Durbanville, Cape Town, South Africa.
Name: Julian Smith
Operating system: XP SP3 / OS X / Vista SP1 / Win 7 RC1
SketchUp version: SU 7.0.10274 (Pro)

SketchUcation One-Liner Adverts

by Ad Machine on 5 minutes ago

Driving Dimensions - History-free parametric design in Google SketchUp
Ad Machine
Robot
 
Posts: 2010

Next

 

Advertise Here

Who is online

Users browsing this forum: Google Adsense Bot and 2 guests