How do I draw a circle on a cylinder?
Or any arbitrary Polyline on the surface of a cylinder? Simple projection didn't work because I want to 'attach' a circle ON the surface. Say differently, how do I 'BEND' a flat circle in a 3-D space along the surface of a cylinder?
I saw a guy who was wondering how to put 2-D Australia map on the globe in other forum. I guess my question is a little bit simpler than that because we need to bend in only single-dimension. I couldn't find any menu or command for this and now I am considering to write a VBA program which can transform the curve on cylinder mathematically but this will be a tedious work. Is there anybody to help me with possibly simpler way to do this?
FIY I got ONLY a 'regular' AutoCAD 2005.
Thanks,
fudata
from BC, Canada
RE: How do I draw a circle on a cylinder?
Extrude your circle into a cylinder that protrudes "into" the existing cylinder. Make a copy of the first cylinder and Subtract it from the cylinder made from the circle. You now have the original cylinder plus a cylinder with a bite out of it wher it meets the original. Go from there - maybe Explode the new cylinder and delete all but the curved end face.
RE: How do I draw a circle on a cylinder?
Thank you John.
But I think your approach is the one I mentioned as 'Simple Projection'. I tried it already and realized that the projected (or equivalently same as the crossing line of two cylinders) circle is not the same as a 'circle bended following a cylindrical surface'.
Maybe I didn't describe my problem correctly before.
fudata
RE: How do I draw a circle on a cylinder?
Hi fudata
Try this:
1. Create the cylinder you want to 'draw' the circle on
2. Create a cylinder representing the circle you want to imprint which intersects the first cylinder (through one side only, unless you want the circle drawn on both sides)
3. Use the IMPRINT command from the Solids Editing toolbar.
Hope this helps.
RE: How do I draw a circle on a cylinder?
Quote:
Originally Posted by fudata
Thank you John.
But I think your approach is the one I mentioned as 'Simple Projection'. I tried it already and realized that the projected (or equivalently same as the crossing line of two cylinders) circle is not the same as a 'circle bended following a cylindrical surface'.
Maybe I didn't describe my problem correctly before.
fudata
No, I think you didn't read the answer correctly. Look again.
RE: How do I draw a circle on a cylinder?
Hmm. You're right that you can't "project" a larger cylinder onto a smaller one. It never occurred to me that anyone would try. :-(
Shouldn't the bend relief be the same as (or greater than) the bend radius? Then projecting a larger circle onto a smaller one wouldn't be an issue. Okay, so that's an ideal.
If it helps - I draw both x-axis and y-axis cross-sections of the folded item and Extrude them to the required size then Union them. That leaves square corners. Then I draw a plan outline with bend relief which I Extrude by more than the finished object depth, place it over the first model and use the Intersect command.
But, I don't use bend relief less than the bend radius, so that still may not help you.
3 Attachment(s)
Temporary solution for bending a circle
After trying hard during last few days(actually a few months) I finally got a 'partial' solution for this problem. I say 'partial' because it is not exact solution but I think it would be practically good enough.
For exact solution we need a transformation formula from a circle to 'the projected curve of a bended circle along a cylinder'. Assume we are looking down a circle of radius Rc on XY plane, and y-direction diameter is touching a cylinder, the main axis of which is aligned to y-axis and has a negative z-coords.
The equation of a circle :
x^2+y^2=Rc^2
The equation of a curve which is a projection of bended circle along the cylinder in XY plane : (x' and y' denotes coords of this hypothetical curve)
y'^2= Rc^2 - Rd^2 arcsin^2 (x'/Rd) where Rd=radius of a cylinder
by geometry. Then we could make a VBA macro to make this hypothetical curve(x', y') from the circle(x,y) and extrude it through the cylinder. The cross section of two cylinders is the curve we want. This is exactly the same way as Graeme suggested except the hypothetical curve is not an ellipse but a rather complex form including arcsine. (Thanks, Graeme for the idea.)
Leaving somebody else to develop such code, I proceeded to the direction of rather a practical approach. During navigating all menu commands in AutoCAD2005 I found we can draw an arc using CENTER,START,LENGTH and realized SPLINE command works in 3-D space too and tried to make spline approximation of bended circle. I can't explain this method easily without a drawing so please take a look in the attached drawing if you are interested. Comments or any idea are welcome.
Thank you again guys.
fudata
from "Beautiful" British Columbia, Canada
RE: How do I draw a circle on a cylinder?
I found another good APPROXIMATE solution while searching Autodesk discussion forum.
Igor Mironenko suggested to draw a 3D SPHERE on a surface of a cylinder and get an INTERFERE solid. When diameter of a circle is way smaller than that of a cylinder it will be a very good (and simple) approximation.
http://discussion.autodesk.com/threa...ssageID=145907