## Maya Training

Creating characters In Maya and Zbrush

## Maya Training

Creating character renders in Maya 2017 and Arnold

## Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums

# Welcome to Simply Maya

 Simply Maya User Community - Maya Tutorials exploring methods for putting holes in cylinders...
 Register FAQ Members List Calendar Mark Forums Read

 03-12-2009, 10:37 AM #1 ctbram Moderator     Join Date: Jan 2004 Location: Michigan, USA Posts: 2,996 Thanks: 42 Thanked 582 Times in 532 Posts exploring methods for putting holes in cylinders... I was just experimenting with some things that tend to be difficult in modeling, one of which was putting holes in a cylinder, and I came up with the following. There are often times when you would like to put holes into a cylindrical shape, for example a heat guard around a muffler or truck exhaust stacks or perhaps a kind of thingy you see on gun silencers and such. One way of approaching the problem is to use boolean difference and a bunch of cylinders stuck into the main cylinder. This works but can be messy and time consuming to clean up, so I thought I would try a different method. I laid everything out on a poly plane, then used a bend deformer to roll the plane into a cylinder, merged the verts at the top, and finally extruded a couple times for thickness and tight corners. I came up with two geometric patterns. Both start with just the top face of a 8-sided poly cylinder. I extrude in the hole. Then I created two different patterns with 8 unit holes (see the images below). Next I simply used the bend deformer to wrap them into a cylinder using a curvature value of 3.141592 (remember PI). Since the bend is from the center you are making a curvature of PI from both ends so the total curvature is 2PI which is the number of radians in a complete circle. I came up with two patterns one uses fewer polygons but has a subtle wave pattern that I find makes a pleasing form. The other makes a more uniforn cylindrical surface, but has a slightly denser mesh. To make this pattern, I just started with the octagonal pattern and replaced all the diagonal cuts with horizontal and vertical ones so the edges flow more uniformly along the height and span of the cylinder. I can see applications where I will be using both styles. This method has other applications as well. Applying a wrap deforming to a plane of any size you can form a mesh with holes in it around any surface such as a helmet or shoulder pads. I hope that folks might find this idea useful in their own work. __________________ "If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675 Last edited by ctbram : 13-12-2009 at 01:13 PM.
 03-12-2009, 11:17 AM #2 daverave The thin red line     Join Date: Aug 2009 Location: England Posts: 4,471 Thanks: 101 Thanked 952 Times in 879 Posts Hi ctbram Yet again you have made me think how I have done things in the past in lightwave and now in maya. The low poly one looks like you get with say a cheeper manufacture item, the high poly looks like high machined item..........thanks for sharring........dave PS. may be there should be a forume for "how to"?
 04-12-2009, 02:33 AM #3 3ddon Registered User   Join Date: May 2009 Posts: 153 Thanks: 0 Thanked 0 Times in 0 Posts sounds very interesting,please make a video/make a tutorial with screenies..........because I'm newbie........
 04-12-2009, 06:43 AM #4 ctbram Moderator     Join Date: Jan 2004 Location: Michigan, USA Posts: 2,996 Thanks: 42 Thanked 582 Times in 532 Posts Here is a video of the process. maya holes in cylinder tut wNarration - YouTube __________________ "If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675 Last edited by ctbram : 25-11-2012 at 05:50 PM.
 The Following User Says Thank You to ctbram For This Useful Post: duyquyen (23-11-2012)
 04-12-2009, 11:25 AM #5 daverave The thin red line     Join Date: Aug 2009 Location: England Posts: 4,471 Thanks: 101 Thanked 952 Times in 879 Posts Nice video, if you had a bigger hole on the same size pipe would you have to increase the geometry of the circle? .....dave
 04-12-2009, 08:22 PM #6 daverave The thin red line     Join Date: Aug 2009 Location: England Posts: 4,471 Thanks: 101 Thanked 952 Times in 879 Posts Had to have a go Attached Thumbnails
 05-12-2009, 03:12 AM #7 ctbram Moderator     Join Date: Jan 2004 Location: Michigan, USA Posts: 2,996 Thanks: 42 Thanked 582 Times in 532 Posts Here is a tutorial that shows how I would create the version that has the smoother surface topology. In this video I start with a 6-sided polygon and redraw some of the topology so that the edge flow is around and along the height of the cylinder resulting in a smoother surface. I also show how to make a fast render setup without having to hassle with lights. Finally, as an added bonus I show how to also make a wire frame render using mental rays contour render feature. Here is what we make: and here is the link to the video: hole in cyl tut2 web - YouTube There is also a higher resolution quicktime version without audio in the same folder. NOTES: I rushed a bit so here is a summary of the important bits to know for the contour render setup : 1. You must turn on contour render in 2 places - in the render globals/mental ray/features AND on the shader group for the material on the object itself - mental ray/contour render. 2. also remember to check draw around polygon faces just under where you turn on contour rendering in the RENDER GLOBALS section. 3. I mentioned to set the over sampling to 2 but did not mention that setting the filter type to triangle and the filter support to 2 will also help to make the lines very smooth. I hope this helps and if people find this kind of stuff useful I will try to make more of them. Cheers! __________________ "If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675 Last edited by ctbram : 25-11-2012 at 05:52 PM.
 The Following User Says Thank You to ctbram For This Useful Post: BeAstMaSter (01-12-2012)
 05-12-2009, 11:07 AM #8 daverave The thin red line     Join Date: Aug 2009 Location: England Posts: 4,471 Thanks: 101 Thanked 952 Times in 879 Posts Nice video, could you do one for the modo piston Boolean. I understand why you do it this way but I think there are a lot of newbies who do not understand the need to clean up the mesh...........dave
 05-12-2009, 12:00 PM #9 ctbram Moderator     Join Date: Jan 2004 Location: Michigan, USA Posts: 2,996 Thanks: 42 Thanked 582 Times in 532 Posts sure thing Dave. I will do a video on a three piston actuator including how to rig it. __________________ "If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675
 05-12-2009, 08:33 PM #10 3ddon Registered User   Join Date: May 2009 Posts: 153 Thanks: 0 Thanked 0 Times in 0 Posts thanks for the great videos ctbram........
 07-12-2009, 03:17 PM #11 ctbram Moderator     Join Date: Jan 2004 Location: Michigan, USA Posts: 2,996 Thanks: 42 Thanked 582 Times in 532 Posts hmm it appears this method is useful for more then just putting circular holes in a cylinder! How is this for an abstract shape? Maybe its an ornate medieval candle guard or perhaps the main element of the flux capacitor. (smile). __________________ "If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675 Last edited by ctbram : 13-12-2009 at 01:14 PM.
 08-12-2009, 02:10 AM #12 ctbram Moderator     Join Date: Jan 2004 Location: Michigan, USA Posts: 2,996 Thanks: 42 Thanked 582 Times in 532 Posts Redid the design a little to even out the negative space (holes). __________________ "If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675 Last edited by ctbram : 13-12-2009 at 01:14 PM.
 08-12-2009, 09:53 AM #13 ctbram Moderator     Join Date: Jan 2004 Location: Michigan, USA Posts: 2,996 Thanks: 42 Thanked 582 Times in 532 Posts This is probably boring you all but I am having fun playing with different patterns (smile)... Started with a Maltese kinda cross shape... __________________ "If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675 Last edited by ctbram : 13-12-2009 at 01:15 PM.
 08-12-2009, 10:10 AM #14 Gen Moderator     Join Date: Dec 2006 Location: South FL Posts: 3,459 Thanks: 14 Thanked 635 Times in 558 Posts That last shape is pretty neato (yes I said neato). __________________ - Genny __________________ ::|| My CG Blog ||:: ::|| My Maya FAQ ||:: ::|| PMM Linear Lighting Buddy||:: ::|| My CGS Gallery ||::
 08-12-2009, 10:38 AM #15 ctbram Moderator     Join Date: Jan 2004 Location: Michigan, USA Posts: 2,996 Thanks: 42 Thanked 582 Times in 532 Posts Applying another bend deformer you can get interesting toroidal shapes... ...maybe this is the heart of the flux capacitor (smile). __________________ "If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675 Last edited by ctbram : 08-12-2009 at 10:47 AM.

A little bit about who we are