[Tutorial > Modeling] A Cube with Radiused Edges

Share or learn with the Pros

[Tutorial > Modeling] A Cube with Radiused Edges

Postby Dave R » Thu Dec 27, 2007 10:41 pm

A SketchUp user elsewhere asked me how to create a cube with a radius applied to all the edges. I did the attached tutorial and illustration. Obviously this could be used for other shapes perhaps with slight modifications.

Here's the text to go along with it.

1. Square (12x12 inches in my example) with radiused corners. (1" in my example)
2. Pulled up so the height is the same as the radius. Delete upper face. Draw a radius profile on the inside.
3. Run Follow Me on the profile. Clean up as needed.
4. Heal face on top by tracing an edge with the Pencil tool. Use Push/Pull to pull the face up. (5" in my example. 1/2 the total height of the cube minus the radius dimension. Delete the face. Clean up any visible lines--Ctrl+Eraser.
5. Select the geometry and copy it with Ctrl+Move. Move it up above the original. Mirror it with Scale and -1.
6. Move the top down onto the bottom. Delete the seam line edges.

Howzzat?
0
Last edited by Dave R on Thu Dec 27, 2007 11:45 pm, edited 1 time in total.
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: A Cube with Radiused Edges

Postby tinanne » Thu Dec 27, 2007 11:25 pm

This is great Dave! I'll give it a try later, thanks for taking the time to post here :)
0
Executive Director : American Society of Architectural Illustrators
AIP 30 Competition opens soon. ASAI.org

Architectural Rendering
User avatar
tinanne 
Premium Member
Premium Member
 

Re: A Cube with Radiused Edges

Postby SchreiberBike » Fri Dec 28, 2007 12:17 am

Simply elegant.
0

SchreiberBike 
 

Re: A Cube with Radiused Edges

Postby Jean-Franco » Fri Dec 28, 2007 12:22 am

an example of Dave's method applied there.
0
Jean-Franco
User avatar
Jean-Franco 
 

Re: A Cube with Radiused Edges

Postby Fletch » Fri Feb 15, 2008 4:54 am

Thanks Dave! I came here specifically tonight looking for an answer to this very question.

I find it odd, don't you?, that this is not a ruby script tool already. :cry:
0

Fletch 
Twilight Render
 

Re: A Cube with Radiused Edges

Postby Gaieus » Fri Feb 15, 2008 7:51 am

It is also a pity that Kerky (or SU2KT?) does not support bevelling edges in models imported from SU.

Note also that sometimes (when the poly-count of the two halves that you want to join at the end is too high) it is impossible to soften (or actually delete) the seam between the two halves. The workaround is to make a group of the half first, do the copy+move and flip, move it back and explode the groups. Now you can delete the seam.
0
User avatar
Gaieus 
 

Re: A Cube with Radiused Edges

Postby jeff hammond » Fri Feb 15, 2008 2:46 pm

gaieus.

you can also try select all then intersect with model.. after that, you'll be able to delete the seam..
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: A Cube with Radiused Edges

Postby Edson » Sat Feb 16, 2008 11:00 am

Dave R wrote:Here's the text to go along with it.
Howzzat?


dave,

just found this wonderful tut. thanks. i hope you do not mind my copying/pasting the text you posted here onto the skippy. this way when i open it again a few months from now i will know what it is about and how it is done.

suggestion: on future tuts do include the text for the sake of clarity.

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

Re: A Cube with Radiused Edges

Postby fmxpghjippv51u3 » Mon Feb 25, 2008 11:52 am

Dave R wrote:A SketchUp user elsewhere asked me how to create a cube with a radius applied to all the edges. I did the attached tutorial and illustration. Obviously this could be used for other shapes perhaps with slight modifications.

Here's the text to go along with it.

1. Square (12x12 inches in my example) with radiused corners. (1" in my example)
2. Pulled up so the height is the same as the radius. Delete upper face. Draw a radius profile on the inside.
3. Run Follow Me on the profile. Clean up as needed.
4. Heal face on top by tracing an edge with the Pencil tool. Use Push/Pull to pull the face up. (5" in my example. 1/2 the total height of the cube minus the radius dimension. Delete the face. Clean up any visible lines--Ctrl+Eraser.
5. Select the geometry and copy it with Ctrl+Move. Move it up above the original. Mirror it with Scale and -1.
6. Move the top down onto the bottom. Delete the seam line edges.

Howzzat?


How can i draw the square with rounded corners? Is there a menue for it?
0

fmxpghjippv51u3 
 

Re: A Cube with Radiused Edges

Postby Gaieus » Mon Feb 25, 2008 11:59 am

No, you use the arc tool to create the rounded corners.
0
User avatar
Gaieus 
 

Re: A Cube with Radiused Edges

Postby Dave R » Mon Feb 25, 2008 6:45 pm

Edson, thank you.

Gai, I guess I missed a step? ;)
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby MarkoJovanovic » Mon May 11, 2009 2:18 pm

Yeah, but how to add fillet edges on current cubical component that has no radiused edges...is that posible?????!!!!!
0

MarkoJovanovic 
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby Gaieus » Mon May 11, 2009 5:39 pm

Hi Marko,

You can also use plugins for that like "Round Edge" or "Sketchy Bevel".

Neither will give you the exact same result but most of the times they should be sufficient.
0
User avatar
Gaieus 
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby waltw » Tue May 19, 2009 3:34 am

Another method is to use the follow me tool. Knowing that SU has issues with small facets, I used a 100' x 100' rectangle as the base geometry to create a cube. Didn't find any holes, but close up shows there still needs to be some line hiding if you're after perfection. A 10" x 10" cube after follow me has the annoying little holes in the corners. I upped the arc segments on the smaller cube to 24 vs 12 on the larger cube.

A few of these little boxes and 2 gigs of RAM with a 2 year old video card shows some strain.

Same technique works with other various shapes to end up with a variety of radius cornered shapes, some requiring more cleanup than others.


SanitaryCube.skp
0

waltw 
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby Gaieus » Tue May 19, 2009 10:35 pm

Nice version, Walt. I's also in The Daily CatchUp now:
http://news.sketchucation.com/creating- ... -sketchup/
;)
0
User avatar
Gaieus 
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby Gaieus » Tue Jul 05, 2011 7:12 am

Dave, I get a BugsPlat any time I want to open this file. Can you open it?

(I can import it into a new file but I guess there are scenes in here which of course, will not import).
0
User avatar
Gaieus 
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby Jim436 » Tue Jul 05, 2011 1:46 pm

Well, I have no problem opening the file, (Radiused Cube.skp)
But, zooming in with "show hidden lines", I am seeing in each of the 8 corners a small face that did not fill. The finished cube seems to have 8 little holes in it.
I know that scaling up, then back down, should fill these faces, but was wondering if follow me can be coaxed into working more cleanly?
0

Jim436 
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby Dave R » Tue Jul 05, 2011 1:54 pm

There's nothing you can do about the small faces issue except avoid them. My general method for that is to scale up before performing an operation that creates them. You can scale up and back down or my choice is to make a component of the geometry where it sits, make a copy, scale the copy and do what I need to do. then close the large copy of the component and delete it. No need to scale back down and potentially have to move the component back into place.

BTW, this is an old thing. Now I would use the Round Corners plugin instead of doing it the way I showed way back then.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby Dragoonprogramming » Wed Jul 06, 2011 2:02 am

I know this may be to easy... but why not use the fredo6 round corners plugin?
Seems lie you can achieve the same result much easier.
0
"...And if he says that one more time i'll punch him right in the throat" - Armstrong and Getty
My website http://dragoonprogramming.weebly.com/

Dragoonprogramming 
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby Dave R » Wed Jul 06, 2011 2:12 am

Taylor, the tutorial was originally written before Round Corners and if you'll read the last sentence of my post before yours that was the suggestion I made.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby Jim436 » Wed Jul 06, 2011 2:50 am

Now I would use the Round Corners plugin instead of doing it the way I showed way back then.

Ah, I wasn't even looking at the dates. That sure was way back then. Ancient even :P
0

Jim436 
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby jeff hammond » Wed Jul 06, 2011 2:55 am

jim4366 wrote:Well, I have no problem opening the file, (Radiused Cube.skp)
But, zooming in with "show hidden lines", I am seeing in each of the 8 corners a small face that did not fill. The finished cube seems to have 8 little holes in it.
I know that scaling up, then back down, should fill these faces, but was wondering if follow me can be coaxed into working more cleanly?


that's actually a fault of the follow me tool as opposed to the scale.. there are work arounds but they aren't quick.. i have a video floating around showing my old workaround that i might dig up. (you either have to followme 360º then cut it up or draw the corner manually which is how i used to do)

nowadays, i use TIG's lathe (via his extrude edges suite) for drawing portions of a sphere like that.

@dave.
this might sound odd (or maybe not?) but i remember this post from way back.. that exact picture in the OP is what got me hyped on rendering.. (and i still like the clay look.. most of my present day renders are still clayish but it all started with your picture ;) )


[edit]- found the video in this thread:
viewtopic.php?p=268160#p268160

the thread was when su8 first came out and they used an obvious FredoRoundCorner box as an example solid because otherwise, this same problem would of shown up and prevented the box from being solid :D

(or maybe they drew the box with one of the workarounds? nah..)
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby mitcorb » Wed Jul 06, 2011 3:55 am

I remember vaguely, that someone showed that you could create the round corner cube using the perimeter of a filleted square lying on the ground plane xy, as the followme path and place the same thing vertically and centered above it. Select only the edge of the ground plane object and click follow me on the face of the square above it. In fact, I just did it. I made the fillet corners with TIG's 2dtools fillet.
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby jeff hammond » Wed Jul 06, 2011 4:06 am

mitcorb wrote:I remember vaguely, that someone showed that you could create the round corner cube using the perimeter of a filleted square lying on the ground plane xy, as the followme path and place the same thing vertically and centered above it. Select only the edge of the ground plane object and click follow me on the face of the square above it. In fact, I just did it. I made the fillet corners with TIG's 2dtools fillet.


that sort of works but you still run into the follow me error..
check the skp:

doing_it_like_that.skp



(this is the same problem as trying to offset a radius in sketchup. the end segments are treated as single lines instead of being considered as part of an arc)
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby Gaieus » Wed Jul 06, 2011 7:01 am

Well, I'd also use the plugin now just wanted to teach somebody how to do it with the native tools first (the "prize" was that I showed the plugin after the success).

You know guys that I am "old school" from certain points. Best is to master SU first of all and then become lazy and use the plugins.
0
User avatar
Gaieus 
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby mitcorb » Wed Jul 06, 2011 1:01 pm

I examined my skp and after scaling it up 10x, zooming almost to clipping, I noticed a chevron shaped overlapping condition at the top and bottom faces of the cube at each corner with hard line edges. Selecting and deleting an edge resulted in the adjacent face disappearing. Going a little further with stitching vertices closed the open faces. Obviously, the closure did not result in uniform "contours". However, I did get closure, and I presume, watertight.
So, some "error" does still occur, but in my case, not a residual open face--unless I did not scale up enough.
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby Dave R » Wed Jul 06, 2011 1:29 pm

Those little chevron-shaped faces are common with Follow Me when you run a profile around an arc of the same or smaller radius. If you scale up, select all of the neighboring geometry and then run Intersect Faces>With Selection, you can safely delete those faces and the unneeded edges without losing the adjoining faces.

It occurred to me some time ago that what is happening is similar to what happens when you wrap a piece of packaging tape around a similar shape. You'll get little flags sticking up. It's also similar to what happens to a bed sheet at the corners of a mattress but you don't cut off the sheet; you just make hospital corners.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby mitcorb » Wed Jul 06, 2011 1:42 pm

Yeah, I know about hospital corners. :roll: My wife is a healthcare professional. Maybe sketchup needs a hospital corner plugin :mrgreen:
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby jeff hammond » Wed Jul 06, 2011 5:13 pm

Dave R wrote:Those little chevron-shaped faces are common with Follow Me when you run a profile around an arc of the same or smaller radius.


fwiw, the error always happens.. it's just more noticeable in situations where the profile length is equal to (or longer than) the radius..

It occurred to me some time ago that what is happening is similar to what happens when you wrap a piece of packaging tape around a similar shape. You'll get little flags sticking up. It's also similar to what happens to a bed sheet at the corners of a mattress but you don't cut off the sheet; you just make hospital corners.


i expect something like that to happen when the profile is longer than the radius but it should not happen when it's equal to or less than the radius..

the problem lies in the fact that sketchup uses segments instead of [math based curves].. i understand that it's nearly impossible (or absolutely impossible?) for sketchup to determine where a straight segment begins to blend to a curved section.. it can only see it as a kink.
however, i think if the curved section is recognized by SU as an arc then it should be able to deal with it in a proper manner but it still fails..

here's a skp showing what goes wrong:

followmeerror.skp



this same error happens over and over with quite a few tools/plugins.. sketchup, as far as i'm concerned, is extremely accurate but anything dealing with offsets (the followme tool for instance, is making offset lines) is where sketchup falls flat on it's face (if accuracy is key).. this single flaw is what led me to begin learning a nurbs based app a year or two ago..
i still do most of my designs in sketchup (and actually, a roughed out version of the more difficult stuff happens first in sketchup) but when it comes time to do construction drawings for the more complex curved based structures, i go to nurbs..
it's a pretty good setup actually ;)

[EDIT- well, i might of said that wrong.. i use sketchup for quite a bit of the complex stuff as well but i stay away from the :followme: and :offset: as well as any of the methods that will generate these errors.. often leading to a bit more drawing time but it's worth it]
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Tutorial > Modeling] A Cube with Radiused Edges

Postby gilles » Thu Jul 07, 2011 10:37 am

Dave R wrote:
Those little chevron-shaped faces are common with Follow Me when you run a profile around an arc of the same or smaller radius.


Here is my way to avoid this:
0
" c'est curieux chez les marins ce besoin de faire des phrases "
User avatar
gilles 
Top SketchUcator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to SketchUp Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests

Visit our sponsors: