Help Me Draw A Dome [TUTORIAL]
-
Well, did a bit of website building and css coding (damn, that IE screws up everything!)
So back now and let's rotate that slicing plane.
First, turn on hidden geometry (View menu again) because we will need it. Then align the rotate tool as we did above. You can now release the mouse button - the Rotate tool is stuck in its position. You can even use the middle mouse button (press the scroll wheel) to Orbit to a better position.
Grab the plane at its corner by simply clicking on it (this is also an endpoint in the dome) and start rotating, Snap it to the nearest (or actually whichever) midpoint.
We need to do this to avoid visible seams between the parts/slices of the dome when we chop it up (like it is nicely visualized by TIG here, in another topic and there is a good tutorial about it by Eric here).Well, we now need a copy of this plane rotated around the same axis and by 60 degrees as you need 6 segments for the dome and 360/60=60. This is done by a method called "Copy Rotate". Align the Rotate tool again where before, grab the corner of the plane again but now hit the Ctrl key, too. With the Ctrl key, we will not only rotate but "Copy-Rotate" the plane - i.e. the original instance will remain there.
Start rotating and go ahead by 8 segments (we have 48 segments in the circle and 48/6=8) OR until you can see "60" in the Measure box at the bottom right. Alternatively (and this is the fastest) just type 60 and hit Enter (note you can always do this when the Measurement box is active - i.e. ready to accept input - just you need to know what kind of input it is looking forward to).
And voilà - we are done. Next tool is the "Intersect" tool. -
So what's up, D0me?
I have already finished the job:
-
Hi Gai
Firstly my sincere apologies. My progress has been slow in the past day or so.Due to unforseen circumstances, I didn't have time to do much till now, but I've started with the instructions in reply http://forums.sketchucation.com/viewtopic.php?f=79&t=24930&st=0&sk=t&sd=a&start=30#p214687
@unknownuser said:
Now to get back to the Rotate tool... (in the meanwhile, I also grouped our "slicing plane" for easier management).
How do I group my slicing plane for easier management?
I notice that you have also completed the sketch. Looks great. I'm almost there.
I hate to do this at such a late stage but I have another addition to the sketch. I'd say this request is quite late since you have already completed, but if we can accomplish this then that'll be cool and if not then its no train smash. I think you've already got me to a stage that I didn't even think was possible.
I completely forgot that there is an opening in the dome. I have attached an image which details the description of what I mean.Thanks
-
As for grouping - we do this the same way we did previously. Double click on the face - it will select the face and its bounding edges (in case other, more complex geometry is involved and you want to select everything, a triple click would select all connected geometry).
Now right click on the selection and choose "Make group" from the context menu.
As for the opening - I was kind of expecting it and we can do it later.
Now let's concentrate on the steps outlined above (and of course, no problem with being late for the class, I had my things to occupy myself with).
-
Hi Gai
This Rotation tool took its toll on me. I just couldn't quite get the hang of it at first but after repeatedly reading your instructions and not forgetting the informative pictures you attached, I finally managed to find my way around (excuse the pun). Finding the midpoint was the hardest as SU dosent easily snap onto midpoints as easily as it snaps on to endpoints but hey, whats the fun of it if it dosent make you sweat.
I've attached the sketch. Please check it and see if what I've done is correct.
Ready to continue, Sir!
-
Well, looks like this is it. Well done!
(Although you seem to have rotated it in the other direction - or the same direction but by 120 degrees instead - it does not matter).
Now we are going to use these rotated planes to slice up our model. This is going to be done with a tool called "Intersection". Just a few words bout this tool first. When you use this command, where two different objects go through each other, SU will create lines. Very important thing to remember that it will always create these lines in the editing context you are in.
As we have groups in our model, and we are now "outside" of them, if we did this intersection outside of their editing context, these lines would also appear outside - i.e. would not become part of the geometry of anything inside the groups (in our case, the domes). So this means we have to get inside the groups' editing contexts - and since we can only do that one at a time, we will need to do this twice.I will only show you one example however - you will do it with the other dome the exact same way.
First of all, we have to hide one of the domes otherwise SU will intersect the one we are working with with that one too. The fist image shows what we do NOT want and what we would get if we didn't hide the other dome (this rarely happens but you have this weird setup with two, touching domes)
So right click on either dome (I chose the inner one) and hide it.
Now do what you could see in the first image - edit the group - select all (if you triple click the dome group at the beginning, you will not only get into its editing context like when double clicking but all the geometry will also be selected - so you can spare two clicks), right click, intersect with model etc. This is what you should get.
Now comes the boring part - clean up unnecessary and unwanted geometry (in several steps - without further, written comment):
We also close the sides of our slice by using the line tool
Some further cleanup
And voilà - this is our first slice we ende up with. Dont worry that we have lost the rest of the dome, as you need six identical slices, we are going to copy this piece around five more times.
Now unhide the previously hidden, inner dome from the Edit menu > Unhide > either "Last" or "All", hide the slice we have just claned up and do all the steps we did above with the innder dome. Best would be to keep the piece right under the one we have just finished. -
Hi Gai
Please help!
I cant seem to get pass this pointI have followed you instructions by right clicking the inner dome and selecting hide. That worked fine.
I then tripple clicked on the dome that's visible and then right clicked it and selected intersect with model. I've succeeded there as well.
I then erased the 3 bits you asked me to erase and that worked as well. After this point, I am unable to erase the inner surface of the dome. When I try to select the inner surface of the dome, I can only select bits and pieces of it (The small square like pieces created by the segments) but I cant seem to select the entire pie piece of it.I also wanted to know whether my sketch is correct compared to yours since I notice that at the point where you started erasing bits of the dome, your images dont have the slicing plane like mine do. Did you remove the slicing plane?
Thanks
Regards
D0me
-
Okay, no problem, there is an easy fix.
This is actually what I wanted to avoid by hiding the inner dome (as its hidden edges now intersected with the outer dome as well). No problem however - apart from the intersection lines we wanted to create, now new geometry was created - just old, softened edges hardened.There could have been a whole bunch of ways to avoid this - I though I found an easy one and I don't know why it didn't work for you as I cannot "Undo" your steps once you closed the model.
Anyway,
- go into the group again,
- select all by triple clicking,
- right click and choose "Soften/Smooth edges.
- When the popup opens, make sure that "Soften coplanar" (edges) is NOT checked and move the slider a bit (just enough to "touch" it).
Since we have rotated our slicing planes to the midpoints, we cut the facets in the middle thus creating two but perfectly coplanar ones of each. This is why we can use this trick now and soften everything else BUT what we actually need.
When you have done this, you will be able to go on cleaning the stuff.
If the other dome behaves the same, naughty way, deal with it similarly.
-
Hi Gai
After my last post, I decided to take another stab at it.
I made a backup of the file before proceeding with intersection, so I restored the backup and from the top of you instructions, I went through again step by step and voila!!! I got. Immediately after succeeding, I refreshed the page and then found your post with the solution. It's actually a good thing I saw your post later late. Gave me a chance to overcome the hurdle. I love challenges and that's the best way to learn. I learned something about SU. It is very sensitive to clicks in terms of where you click, how many times you click and so on.It's really overwhelming when the problem is resolved after numerous attempts.
I've attached the latest sketch. As you can see, I've left the slicing planes. Wasn't too sure whether to delete or hide them.
I must thank you for your patience. I am a bit of a slow learner but grasping on quite well.
So where to next, teacher?
Regards
D0me
-
Okay - downloading...
-
Hi
Thought I'd let you know that I used the instructions from your last post to resolve the promlematic file named Learning-Latest-Optomised_Gai-2.skp and I was successfull there as well.
Thanks
-
@d0me said:
I've attached the latest sketch. As you can see, I've left the slicing planes. Wasn't too sure whether to delete or hide them.
Well, we won't need them any more so you can safely delete them. Also, open your Layer dialog (Window menu) and delete the slice layer (I left it there) and delete its content, too (there are my slices)
@d0me said:
Thought I'd let you know that I used the instructions from your last post to resolve the promlematic file named Learning-Latest-Optomised_Gai-2.skp and I was successfull there as well.
Okay, good to know you got that, too.
Also, above my things were not visible (slicing planes and all) because I used that "Hide rest of model" function you also have now with Ctrl+H.
Now, first of all, we need components of these groups (We could also have started with them of course). Components are actually like groups but they have some extra features like you can set their internal axes (see below), can be exported and reloaded like separate skp files, can "glue" to faces (group too but you cannot control that), can cut holes like for openings etc. but most importantly for us now: there is one definition of a component and there can be several instances. SU only "keeps in mind" one definition so if you place a whole bunch of them, it needs to count the geometry only once and remember the place, orientation etc. the instances only. This saves file size and also, if you edit one component and make changes, all the others will reflect/inherit these changes.
Now right click on each group and make component. Immediately after, open your Component browser (Window menu) and go to "In model" and rename your stupidly named components to something meaningful first. Also notice (to your utmost horror) that the component thumbnails are upside down.
The simple reason - remember when your whole model was upside down? Groups also have axes (although we cannot control them) and this state got frozen when you made them upside down. We need to change this (and as we would change the component axes anyway for our task now, as I am sure we will flip/mirror some in the future and that happens along component axes, this is not a big problem).
So right click on one (I chose the inner first) and "Change axes" - hope the image instructions are enough.
Also, with the outer dome, change the axes similarly (it's now outside but that's not a problem)
And now we are going to make a "Radial array". Select both components and start like the Copy Rotate some pages above:Rotating one instance of the component - but read the yellow label before finishing. What have you got?
-
Cool. Super Cool.
X5 and voila. 5 pieces instantly join to form the dome in its entirety.
Wow, what an accomplishment even though you walked me all the way.
Thanks a millionCan't wait to continue.
-
I just noticed that under Window > Components, the dome is still upside down.
Is that normal?
-
Hi Gai
Sorry for posting in parts, but I was using the orbit tool to look around the dome and then when I brought my dome back to what it was, the entire colouring of the dome went crazy. The dome was in an xrayed format yet I didn't select xray.
Sketch Attached.
-
@d0me said:
I just noticed that under Window > Components, the dome is still upside down.
Is that normal?
Yes, unfortunately the thumbnails do not refresh. I would not call it a bug as they have never "tried" to fix it - rather a lack of feature.
If you want to change that, here is how (and it's a useful tool anyway).
- Right click on a component either in the model space or in the component browser and "Save as..."
- Remember where you save it - and open that file (now also learn that components are actually full fledges skp models - just "embedded" into your model) it will open "normally" - i.e. not upside down.
- Orbit to have the best view as you wish (turn on colours again, turn off hidden geometry) and simply save.
- Now go back to your original model, right click the component again and "Reload".
Now the thumbnail will change, too. Do it - just out of practice, if you wish.
-
@d0me said:
The dome was in an xrayed format yet I didn't select xray.
Well, the dome IS in X-ray. Press the X-ray button in your face style toolbar and it gets back to normal.
Also, maybe it's time to go back to Perspective mode (at least to me, it feels so much more comfortable and natural).Next thing will be that "door" or something. So what are the plans? How big, what shape (maybe arched) etc.?
-
@unknownuser said:
Yes, unfortunately the thumbnails do not refresh. I would not call it a bug as they have never "tried" to fix it - rather a lack of feature.
YOU can fix it - select an instance of the component, and type/paste
Sketchup.active_model.selection[0].definition.refresh_thumbnail
into the Ruby Console to refresh the selected component's thumbnail...
Alternatively, type/pasteSketchup.active_model.definitions.each{|d|d.refresh_thumbnail}
into the Ruby Console to refresh all of your component's thumbnails, with no selecting required...
-
An even cleverer way is to write a short script
require 'sketchup.rb' def refreshthumbnails Sketchup.active_model.definitions.each{|d|d.refresh_thumbnail} end#def refreshthumbnails
copy/paste this code into a file called
refreshthumbnails.rb
in the Plugins folder - that way your component thumbnails will update whenever the model opens and typingrefreshthumbnails
into the Ruby Console will fix any changed or new components' thumbnails too...
-
Now you've scared poor D0me away I'm afraid, TIG!
But million thanks for this!
Advertisement