[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.
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.
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.
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:
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!,
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...
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.
I created Dilbertville, sorry about that...
How to make a 10 sided dice...
just combo some SU scripts! total time 5 minutes
great work Fredo!
...standart shape (components)+Round Edge - v1.0 ...delete some faces
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.
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.
Love the fact that some HATE my avatar.....
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.