Results 1 to 7 of 7

Thread: SKETCHUP Tut--Grille

  1. #1
    Join Date
    Nov 2006
    Location
    SE Minnesota
    Posts
    2,468

    SKETCHUP Tut--Grille

    Components, Hiding Edges, Arrays, Apply to.rb.

    In the bolt threads tutorial I wrote about using textures instead of actual geometry when possible to indicate details. Sometimes however there might be a need to draw the details. Here's a way to draw a repetitive geometry without loading up the file and the video card too much.



    In this example I'm drawing a grille for an opening in a door. I start out by drawing a single element of the grille, front left. Then I hide the edges that will join the neighbors. This is done with by holding the Shift key while clicking on the edges with the Eraser tool, front right.

    I make this element into a component. For those that have read my babblings before, you know how I like to emphasize the use of components. Components are cool. When there are multiple examples of some object--the grille element in this example--components are the way to go. You can draw one and copy it as many times as you need. SketchUp only has to keep track of the geometry for the first component and then the locations for the rest. This helps keep file size down and performance up.

    The other benefit to using components is in editing. If you need to make a change to them, you only need to edit one. All the others get edited at the same time. If you decide you don't want to edit them all, you can make a component or components Unique. This in effect divorces those components from the original family.

    So, back to the grille. After making the grille element into a component, I locate it at the center of the opening. This is done by using some construction lines to identify that center and then moving the component into place.

    Next, I copy the component using Ctrl+Move tool. I move the copy to one side by the width of the component. Suppose the component is one inch wide. I move the copy 1" and hit Enter. This results in two of the grille elements sitting next to each other. Without selecting any other tools, I type in a multiplier in the form of *n, Enter. This makes multiples of the original. The number you type is equal to the number of copies not including the original. You can experimant with different numbers as long as you don't select another tool. In this case it looks like maybe *6 worked correctly.

    After that, I copy the original in the opposite direction using the same technique. Now I have one entire row of the grille element running across the opening. Next, I'll select that entire row and copy it up and down in the same way experimenting with the multiplier until I get the right number.

    We now have a grille but the edges overlap the edges of the hole. We need to fix the edges so that the grille is cut to fit the opening. For that we will use Make unique from the Context (right click) menu and a Ruby script Plugin called applyto.rb. You can get that script here: http://www.crai.archi.fr/RubyLibrary...uby/applyto.rb Just save this file as applyto.rb in the Plugins file under SketchUp.

    Now we start to edit the grille to fit the opening. Select one of the edge components, right click and choose Make unique. Then edit the component and trace along the edge of the door opening and use Push/Pull to eliminate the waste. Deselect the component and select it again. Right click and Click on Component definitions>Get definition. Then select the other components that should get the same editing, right click and choose Component definitions>Apply definition. Work around the edges of the grille until you're finished.

    I hope this is useful. Keep in mind I'm showing only one use for the techniques but there are any number of other applications that would benefit from these as well. It occurrs to me that this last part might not make a lot of sense to some of you so I'll see what I can do to clear that up.
    Last edited by Dave Richards; 04-22-2007 at 08:42 PM.

  2. #2
    Join Date
    Nov 2006
    Location
    SE Minnesota
    Posts
    2,468
    Let's see if the attached zip file helps. Its an SU file. Once you've got it open click on the page tabs to step through.

  3. #3
    Join Date
    Oct 2006
    Location
    Forest Grove, Oregon USA
    Posts
    290
    That's pretty cool, Dave.

    I've never tried doing grills in TC. I suspect I would have made a single, but full length object the width of one grill element. Dup'd X number, grouped, duplicated the group and flipped it horizontally and placed them on the same plane.

    The SU component idea is a great one. CorelDraw has a similar function which I used in a past life as a designer.

    Thanks, Mike
    Wenzloff & Sons Sawmakers

  4. #4
    Join Date
    Nov 2006
    Location
    SE Minnesota
    Posts
    2,468
    Mike, components are a wonderful thing in SketchUp because of the way sketchup only has to keep track of one instance. I over modelled the steering mechanism I designed for the sailboat I built. The spokes on the wheel and the rim are all components. The roller chain--a case of pure over-modelling--is drawn to scale and with all the link parts. I only drew one link though and made it a component. Then I copied it and ran it through the sprockets. (There's a sprocket you can't see that the chain goes under.) With all that detail, the use of components made it possible to keep the file size down and video card performance up.


  5. #5
    Join Date
    Oct 2006
    Location
    Forest Grove, Oregon USA
    Posts
    290
    Hey Dave--fully agree.

    In CorelDraw it was a clunky thing. Once one was changed, it could take a bit for the rest of the clones to update depending on the overall drawing size. But even at that early implementation, it was a boon. So I can see that in SU it would be a very good thing.

    Question--which I could probably answer myself if I reloaded SU--can a components be made into non-component?

    For example. Say I have some standard cabinet door styles. Plop one form the library onto a drawing, dup it four times, but for design purposes I want to alter just two of four.

    Thanks--the drawing is fantastic!

    Mike
    Wenzloff & Sons Sawmakers

  6. #6
    Join Date
    Nov 2006
    Location
    SE Minnesota
    Posts
    2,468
    You're welcome Mike.

    As far as your question goes, yes, you can do what you ask. It's basically what I did with the grille edge components. I made one unique and copied its definition to the other edge components that would be the same.

    Cabinet doors as components is a beautiful thing in SU. Suppose you had a standard rail and stile profile that you like to use. Maybe also a standard raised panel profile. Draw one door, perhaps to the most common dimensions if there is one, say 12x24. Make that door a component and save it to a component library.

    When you want to use that door style, import the component. If you need a door that is 36" tall, make a copy and then select the copy, right click and choose Make unique. Now edit that door as needed.

    I did a tutorial on resizing as it is related to cabinet doors. It was posted at SMC some time ago. I should see if I can find it and post it here. Or I'll do another one.

  7. #7
    Join Date
    Oct 2006
    Location
    Forest Grove, Oregon USA
    Posts
    290
    Hi Dave, I can pop over there to look--I just cannot respond over there anymore.

    I think at some point, there will be specific questions here about door tuts which will then make it useful to post here.

    Take care, Mike
    Wenzloff & Sons Sawmakers

Similar Threads

  1. Need sketchup help please
    By Bob Gibson in forum Designs, Plans and Sketches
    Replies: 6
    Last Post: 10-14-2015, 10:26 AM
  2. Sketchup to DXF
    By Darren Wright in forum Designs, Plans and Sketches
    Replies: 4
    Last Post: 11-24-2010, 06:24 PM
  3. DXF to SketchUp
    By Dave Richards in forum Designs, Plans and Sketches
    Replies: 4
    Last Post: 06-25-2007, 11:07 PM
  4. An Example from SKETCHUP 6
    By Dave Richards in forum Designs, Plans and Sketches
    Replies: 1
    Last Post: 01-12-2007, 11:32 PM
  5. SketchUp 6 Pro
    By Dave Richards in forum Designs, Plans and Sketches
    Replies: 4
    Last Post: 01-09-2007, 10:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •