by fredo6 » 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  )
Last edited by fredo6 on Mon Aug 22, 2011 10:41 pm, edited 5 times in total.
-

fredo6
- PluginStore Author

-
- Posts: 3891
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by remus » Mon Jun 09, 2008 9:24 pm
 sweet fred, another wicked pugin.
-
remus
-
- Posts: 8044
- Joined: Fri Nov 30, 2007 8:48 am
- Location: UK
- Name: remus
-
by remus » 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'
-
remus
-
- Posts: 8044
- Joined: Fri Nov 30, 2007 8:48 am
- Location: UK
- Name: remus
-
by fredo6 » 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
-

fredo6
- PluginStore Author

-
- Posts: 3891
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by remus » Mon Jun 09, 2008 9:59 pm
Cheers fred, works like a charm.
-
remus
-
- Posts: 8044
- Joined: Fri Nov 30, 2007 8:48 am
- Location: UK
- Name: remus
-
by kwistenbiebel » Mon Jun 09, 2008 10:48 pm
Cool Fredo! This is one the render geeks appreciate  Thank you!
-
kwistenbiebel
-
- Posts: 2726
- Joined: Thu Nov 22, 2007 6:13 pm
by Daniel S » Tue Jun 10, 2008 1:46 am
Thank you Fredo!!! I didn´t imagine that you were going to surprise us so soon with another awesome plugin 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??
-
Daniel S
-
- Posts: 341
- Joined: Mon Nov 12, 2007 6:06 pm
- Location: Mar del Plata, Buenos Aires, Argentina
- Operating system: Windows
- SketchUp version: 2015
- License type: Pro
- SketchUp use: product design
- Level of SketchUp: Intermediate
-
by kwistenbiebel » 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  . ...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... 
-
kwistenbiebel
-
- Posts: 2726
- Joined: Thu Nov 22, 2007 6:13 pm
by Whaat » Tue Jun 10, 2008 3:24 am
kudos on the wicked looking plugin! Looking forward to playing with it!
-
Whaat
- PluginStore Author

-
- Posts: 1089
- Joined: Wed Nov 14, 2007 9:51 pm
- Location: Saskatchewan, Canada
- Name: Whaat
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by kmead » 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
I created Dilbertville, sorry about that...
-

kmead
-
- Posts: 113
- Joined: Wed Nov 21, 2007 3:08 am
- Location: The left coast of MI, once from the left coast
- Name: Karl Mead
- Operating system: Mac
- SketchUp version: 2013
- License type: Pro
- SketchUp use: product design
- Level of SketchUp: Intermediate
by tomislavm » 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: 430
- Joined: Wed Nov 21, 2007 9:35 am
- Location: Croatia,Osijek
- Operating system: Windows
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: historical reconstruction
- Level of SketchUp: Advanced
by Macs » 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! 
-
Macs
-
- Posts: 18
- Joined: Thu Apr 24, 2008 9:59 am
by dylan » Tue Jun 10, 2008 12:29 pm
Fredo this is just fantastic, Thankyou! 
-
dylan
-
- Posts: 1930
- Joined: Mon Oct 22, 2007 1:41 pm
- Location: Royston (Herts), UK
- Name: Dylan
- Operating system: Mac
- SketchUp version: 2016
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Beginner
by mateo soletic » Tue Jun 10, 2008 12:34 pm
Fredo, Thank You very much.
-
mateo soletic
-
- Posts: 1184
- Joined: Mon Nov 12, 2007 6:04 pm
- Location: Dubrovnik,Croatia
-
by juju » Tue Jun 10, 2008 1:19 pm
Nice! Thanks!
Save the Earth, it's the only planet with chocolate.
-

juju
- Premium Member

-
- Posts: 2582
- Joined: Mon Oct 22, 2007 1:45 pm
- Location: Durbanville, Cape Town, South Africa.
- Name: Juju
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by STRANGEZOND » Tue Jun 10, 2008 1:45 pm
Thanks! Very useful!
-
STRANGEZOND
-
- Posts: 4
- Joined: Sat Mar 22, 2008 7:35 pm
by dtrarch » Tue Jun 10, 2008 3:17 pm
Hi Fredo
I thought this would never show up. Simply amazing and thank you so very much.
dtr
-
dtrarch
- Premium Member

-
- Posts: 510
- Joined: Tue Nov 13, 2007 8:03 pm
by boofredlay » Tue Jun 10, 2008 4:01 pm
Thank you!
-

boofredlay
- Global Moderator
-
- Posts: 9529
- Joined: Mon Oct 22, 2007 1:50 pm
- Location: Huntsville/Madison Alabama
- Name: Eric Lay
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by urgen » Tue Jun 10, 2008 4:07 pm
--pupil forever...------
-

urgen
-
- Posts: 640
- Joined: Mon Nov 12, 2007 10:06 pm
by pilou » Tue Jun 10, 2008 4:54 pm
-

pilou
- Top SketchUcator
-
- Posts: 19584
- Joined: Wed Jan 23, 2008 10:33 pm
- Name: Pilou
- Operating system: Windows
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Advanced
-
by urgen » Tue Jun 10, 2008 5:19 pm
...standart shape (components)+Round Edge - v1.0 ...delete some faces 
--pupil forever...------
-

urgen
-
- Posts: 640
- Joined: Mon Nov 12, 2007 10:06 pm
by Stinkie » Tue Jun 10, 2008 7:52 pm
Thank you! Very cool.
-

Stinkie
-
- Posts: 3469
- Joined: Mon Nov 12, 2007 1:16 pm
- Location: Yes.
- Name: Stinkie
- Operating system: Windows
- SketchUp version: 2014
- License type: Free/Make
- SketchUp use: other
- Level of SketchUp: Intermediate
by breezmisha » Tue Jun 10, 2008 7:55 pm
(= all try not wait! thanks great! 
-
breezmisha
-
- Posts: 3
- Joined: Thu May 22, 2008 11:42 pm
by Ben Ritter » Tue Jun 10, 2008 8:54 pm
Fredo,
Thank you very much.
-
Ben Ritter
-
- Posts: 461
- Joined: Wed Nov 14, 2007 4:55 pm
- Name: Ben Ritter
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by cnicolapc » Tue Jun 10, 2008 9:02 pm
Thank You very much.
-
cnicolapc
-
- Posts: 1
- Joined: Sat May 03, 2008 7:56 am
by fredo6 » Tue Jun 10, 2008 10:45 pm
kmead wrote: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.
I think it would be manageable to make a 'polished, round' join for 3 edges, whatever is their orientation. It's probably a geometrical headache, but the method would be mathematically exact, and imply no surface intersection. This is simply based on the remark that if the 3 edges are mutually orthogonal, as in a cube, you can draw a spherical join. Then, because you can always transform geometrically 3 edges with any orientations into orthogonal axes (via 3 plane shear transformations), you could deform the join as well with these transformations. This would give a junction with no groined intersection. This would work for 2 edges too. For 4 edges or more, I am not sure there is a geometrical shear transformation, preserving parallels, that could allow to transform them into a regular topology. But maybe I am wrong! Anyway, this is just for future work, but it's an interesting idea to explore.
-

fredo6
- PluginStore Author

-
- Posts: 3891
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by ScottPara » Wed Jun 11, 2008 1:59 am
I tried the ruby and I am impressed just in the time savings involved. My question is why is it still making hard corners? The far cube is from the script the closest one is using the longer method of rounding the profile the extruding and then rounding the top and bottom flats. Am I missing something, as I thought this is what the result I would have got fromt he script.
Scott
Love the fact that some HATE my avatar.....
-
ScottPara
-
- Posts: 1075
- Joined: Tue Nov 20, 2007 1:54 pm
- Location: Around
- Name: scottpara
-
by fredo6 » Wed Jun 11, 2008 8:32 am
As said in my previous post, I need to check if it's manageable when edges have any orientation (I think it is), and also confirm that it only works for intersection of 2 or 3 edges only, not more.
Note also that the 'true' rounding generate much more faces at the corners.
The initial version was more a trial and is closer to the spirit of a FollowMe. The interest, in my mind, is that it should be capable to handle custom profiles, allowing to decorate edges with profiled shapes. It also helped me to check how Sketchup handles surface intersections (which you can see is not always perfect, due to precision problems).
So, don't worry, I keep the request in my list.
-

fredo6
- PluginStore Author

-
- Posts: 3891
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by ScottPara » Wed Jun 11, 2008 11:42 am
Thanks Fredo!
Love the fact that some HATE my avatar.....
-
ScottPara
-
- Posts: 1075
- Joined: Tue Nov 20, 2007 1:54 pm
- Location: Around
- Name: scottpara
-
by marne » Wed Jun 11, 2008 1:05 pm
Wow! Thanks for this great plugin! This is a true little helper. 
-
marne
-
- Posts: 97
- Joined: Mon Nov 12, 2007 2:57 pm
- Location: Germany
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|