CSS/SCRIPT

Monday, January 18, 2010

Street Lamp - Modeling and Wrapping the Stem

Some valuable advice to learn how to obtain a rotational solid and wrap a picture around it using the Projected property

IMPORTANCE
DIFFICULTY





You can find the model with the seven steps in 3D Warehouse; entering in the model you can test the individual actions and make new discoveries...
You can also watch a video of this tutorial on YouTube (2' 45")

The entire process consists in seven step and will consuming from 10 minutes to more than one hour, depending on the level of your knowledges. If you've never dealt with these topics, I strongly suggest you read this tutorial: now spending half hour, you will in future save many hours/days of work and obtain more satisfactory results.

The illustration below shows, in a nutshell, the content on this tutorial. From an image of a street lamp, we will draw half profile of the stem and use it to generate - through rotation - the 3D stem of the lamp. To paint the stem, we will simply define as Projected the starting image, select all its elements and apply to them this texture with a single clicking using the Bucket tool.





THE SEVEN STEPS



STEP 1 - Draw rectangle (VERY EASY)
Draw a rectangle with the basis parallel to x/red axis and the height parallel to the z/blue axis

STEP 2 - Import the image (EASY)
Import as texture the image of the Street Lamp - of course in this step you will give the rectangle the right size for your model!

STEP 3 - Draw the emi-profile (MAY BE DIFFICULT)
This step is not too difficult but it's crucial for the quality of the final result!
You have to draw exactly the right (or, if you prefer, the left) half of the profile of the lamp stem. Use the Line command.

To avoid the lines go outside the rectangle (it can happen!), I advise you to adopt this precaution:
  1. click WITH SINGLE CLICK over the face of the rectangle in order to selecting its surface (caution: don't click with double click!)
  2. now click with the right-button in order to obtain the context menu for the face
  3. from this menu choose Align View
  4. right-click again on the face as in 2
  5. now choose the Zoom Extent command    
Now you can see your rectangle maximized and fully stretched on the screen!

I realize that at first glance this seems a bit complicated, but I assure you that once applied, you will not forget this most useful procedure and you will use it very often!

NOTE - The contour of emi-profile must be a closed line, wich must delimit a single area (unless this happens, you can not go to next step). 

STEP 4 - Bring out the emi-profile (A BIT MORE DIFFICULT...)

The crux of this step cosistes of extracting the emi-profilo copying it to a location just exactly perpendicular to the extraction point! Note that even a small difference could lead a result wich does not correspond to our expectations! 

In order to obtain this result, I advise you to adopt this precaution:
  1. draw a segment from the central lower point of the lamp in the y/green direction (exactly perpendicular to the rectangle)
  2. click (or even double-click) over the face of the emi-profilo in order to select this face
  3. now choose the Move/Copy tool: the cursor will take the form of a cross with the tips
    => in this way SketchUp tells you that it is preparing to make the Move of the selected surface
  4. without clicking at any point, press the Control key: near the cross of the cursor will now appear a little + (plus)
    => in this way SkethUp tells you that it is preparing to make a Copy of the selected surface
  5. now you can perform the Copy itself, and so Copy the emi-profile at the end of the line previously drawed
STEP 5 - Prepare the Follow-Me operation (EASY)

In this step you must draw a regular polygon using the Circle tool. Therefore you must click on Circle tool - the cursor will take a form of a lapis with a little circle around its tip.

Now we should observe these basic facts:
  1. the little circle change its color depending on where you position the cursor: this color shows you in what plan SketchUp will draw your poligon! for instance, if the color is RED, then SketchUp will draw your polygon in a plan perpendicular to x/red axis, if GREEN to y/green axis, if BLUE to z/blue axis and if it is BLACK the SketchUp will draw your polygon in a plan oblique than the main planes
  2. if you look in the low right corner of the SketchUp workspace, you can see a number (probably the number 24): this number indicates how many sides will have the polygon you will draw with the next Circle operation!
    NOTABLE! the low right corner of the SketchUp workspace is reserved to manage the Value Control Block (VCB), a command system through wich we can provide some interesting commands and parameters to SketchUp!
    Now if you type another number, for instace 12 (clicking on key 1 and then on key 2) and then press Enter key to confirm your input, this value (12) will appear in the VCB (Value Control Block) and you are sure that the next polygon will have 12 sides! you can also retype or correct the value in VCB as long as you not draw the polygon or not abandon the Circle comand
To return to our problem, having forced 12 in VCB you must pointing the lapis tip at the end of the segment drawed in Step 4.1, and then you must draw a dodecagon with a radius larger than the half-width of the street lamp.

STEP 6 - Generate the 3D lamp stem (MUCH EASIER THAN YOU THOUGHT...!)
The procedure to be used is very simple:
  1. first select the polygon, clicking with a single click over its surface: the surface will be selected
    => we can name this polygon THE LEADER FIGURE, id est the figure that determines the movement
  2. click on the Follow Me tool: the cursor will take the form of... Follow Me!
  3. now simply click (single-click) on any point of the emi-profile obtained in Step 5
    => we can name this figure THE TAKEN AROUND FIGURE, id est the figure that The Leader Figure takes around to generate our unbelievable result!
A little spell...! If this gives you a great satisfaction, this means that the modeling is for you...

STEP 7 - Paint the stem - (NOT DIFFICULT AND SIMPLY... MAGIC!)

Even in this case the procedure to be used is almost simple:
  1. Define the SOURCE FACE as Projected
    You must right-click over the emi-profile, choose the last row, Texture, and set the sub-voice Projected so that it is flagged (note that this voice functions as a switch)
    See the big picture at the beginning of this tutorial!
  2. Select the TARGET FACES (id est all the elements of the lamp)
    The simpler way to obtain this is (1) erasing the segment between the rectangle and the polygon and  (2) triple-clicking on any point of the polygon (or the lamp): the triple-click is very powerful, and causes the selection of all items connencted to the triple-clicked segment/face
  3. Correctly set the PAINT tool to the SOURCE TEXTURE
    This point is crucial but it's easy to do:
    - First you must click on the PAINT tool: the cursor will take the form of a Bucket
    - Then you must press the Alt key and hold it pressed: the cursor will take the form of a Dropper,
    - Lastly you must click over the SOURCE FACE (id est the emi-profile)
  4. And now... PAINT all the TARGET FACES in A Single Shot!
    Now you must release the Alt key - so the cursor from a Dropper returns a Bucket. With this Bucket you can simply click on any point of the selected stem... a magically paint the whole stem in a single shot!
    As you can see yourself doing various tests and trials, the projection is always exactly perpendicular to the figure defined as Projected, and the result is just what we can obtain projecting a luminous image over solid objects.


    And that's it! Please notify me any typos or not clear topics and send me your comments using the COMMENTI/COMMENTS link at the bottom of this page!



    Arrimado á su lanza ponía los ojos en las armas...
    Paul Gustave Louis Christophe Doré
    watercolored by A. Audet
    1905-Barcelona-Tasso-01-014
    (see Greetings)

    .

    4 comments:

    José Manuel said...

    I like your blog design.
    I should like designing mine, but I haven´t knowledge of programing HTML code.

    You have a very good taste.
    Everything you do, you do the best.
    Have fun Sketching

    Incorrect Ed said...

    Interesting blog and good tutorials.
    Keep up the good work!

    Andrii Proskurniak said...

    Thanks alot. You`r giving nice examples!!!

    fallout 4 nexus said...

    Nice Post...you are all ways comming out with some grate stuff 8 ball pool apk mod apk plus

    Post a Comment