News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

How to curl a sheet?

Started by MarkX, February 19, 2012, 12:09:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MarkX

If I want to take a square, and curl it diagonally (not side to side), what would be the best approach?

I wouldn't need it necessarily for construction purposes but rather for presentation, if that matters.

Thanks!
Mark

SciGraphics

I'd cheat! Start with a tube the right diameter and the cut both ends off at a 45° angle so that the two resulting oval ends meet at the middle. Then call it a curled sheet.

Jim A., Tucson, AZ

Bob P

Quote from: SciGraphics on February 19, 2012, 12:27:22 PM
I'd cheat! Start with a tube the right diameter and the cut both ends off at a 45° angle so that the two resulting oval ends meet at the middle. Then call it a curled sheet.

Jim A., Tucson, AZ

You can call it that, but you're creating an elliptical curve on the original flat edge.

The only approach that I can think of is to take your square and slice it multiple times, then sequentially rotate all the grouped segments a given amount.

I bet there's a solid shape that could be subtracted from a cylinder to end up with what you're looking for, but determining it (and its location) could take longer than the manual operations...

MarkX

Hi everyone,

Jim: The cheat might work, since I'm using it more for the look of the thing. Was wondering if there was an existing tool/approach.

Bob: Your approach would be most precise, but a bit of work. Wonder if there is a macro to lighten the load?

Thanks!
Mark

Bob P

#4
Here's an approach, creating 1/4 of the desired shape...

x=length of the square's side.
Create a construction center line, half the length of the square's diagonal (x*sqrt(2)).
Create a line parallel to that line at a distance of (x*sqrt(2))/pi
Sweep the line around the center line 180 deg.
The offset will be (x*sqrt(2))/2 .
Chop the sweep off at the bottom end of the construction line.
Mirror the swept entity to complete the object.

I rushed through this at work, so my math might be incorrect...  :o  Hopefully you get the concept.  You're making a spiral.

If any of the distances come out out wrong, you can always scale to correct.

Dr PR

If you just subtract cubes rotated at 45 degrees from the axis of the cylinder you get something like the attached picture. At the upper right is a surface created by exploding the solid, segregating the parts, and then colecting the facets of the upper rolled surface by selecting them and defining them to be a solid (Solid Define) so they will render as a smooth surface.

Viewed from above this surface appears to be a square. However, although the upper corners come together at about 90 degrees the lower corners are only 9.9 degrees.

I haven't tried this yet but I think the subtracted surface must approximate a sine curve in cross section. This should generate 90 degree intersections at all four corners of the rolled square. The 0 and 180 degree points of the sine should be on the centerline of the cylinder, and the amplitude probably should be 1/2 the distance between the 0 and 180 degree points.

When (if?) I get time to play more I will try it.

Phil
DesignCAD user since 1987

Dr PR

#6
Satori!

I knew I had seen something like Mark's "rolled squares" before. It is the intersection of two cylinders. See the attached picture.

I created the two cylinders on the left - made one, duplicated it and rotated it 90 degrees around the center.

Then I used "Solids/Solid Intersect" to find the volume common to both cylinders. The result is at the right.

I duplicated the intersect solid and used "Solid Explode" to fragment the duplicate. Then I moved groups of facets into the four rolled square surfaces above the solid. I selected all the facets on the top surface and used "Solid Define" to create a surface that renders smoothly. It doesn't show too well in the picture, but the surface to the right has not been defined to be a solid and it renders as a bunch of individual planes.

****

Edited: Punt! Unfortunately, although the lower corners do meet at a right angle the upper corners aren't there at all - it isn't a square! Sorry. Well, I'll try the sine curve idea later.

Phil
DesignCAD user since 1987

Bob P

#7
Here's what I came out with...

Whoops.  my math must have been off, so I did a little scaling.  This is close, but not perfect.

Edit #2...  Scale the second one by 1.015 in the Y direction and it comes out very close.

Dr PR

I tried the sine curve idea, and it almost worked. See attached picture.

The upper corners are 115 degrees and the lower corners are 75 degrees.

I think I know my mistake. I used a magnitude of 1.0 and a period of 2.0 for the sine curve. The magnitude is too large.

I'll bet the magnitude should be 0.707 - the root mean square. Wish I remembered more of my spherical trigonometry. I'll try this later.

Phil
DesignCAD user since 1987

Dr PR

Mark,

Bob P and I interpreted your idea differently - he is curling the square until the ends touch, and I have just been draping it over a cylinder. Which did you have in mind?

Bob's idea looks pretty good. If you scale it lengthwise until the four corners are aboput 90 degrees you should get a pretty good "rolled napkin."

By the way, I have been testing the corner angles by drawing temporary lines along the edges of the facet and using "Dimensions/Info/Angle between two lines."

Phil
DesignCAD user since 1987

Bob P

The side profile of my part definitely looks like a Sine curve.  If I remembered my calculus better, I could probably confirm...

MarkX

Hi Phil & Bob,


Quote from: Dr PR on February 20, 2012, 01:00:57 PM
Mark,

Bob P and I interpreted your idea differently - he is curling the square until the ends touch, and I have just been draping it over a cylinder. Which did you have in mind?
I was thinking more of the draping, like in Phil's. Or maybe half-way around a cylinder. But the angles are just about right in Bob's. Not that I'm quite sure how Bob has done this ;-)

Thanks!
Mark

Dempsey

I always try to simplify a problem before applying math.


  • Take square piece of paper.
  • Cut in half along diagonal (size D).
  • Cut half sheet into say 18 strips starting at the diagonal
  • Strip 1 is of size D.
  • Strip 2 is (1 -1/18)*D long
  • Strip 3 is (1 - 2/18)*D long
  • Strip 18 is (1 -17/18)*D long and 0 long on the other side!
  • Draw a circle with a circumference of D (you do the math)
  • Place 36 tick marks along the circumference.
  • Draw lines perpendicular to the circle surface, with line lengths according to the above strips, and the line center on the consecutive tick marks.
  • Connect the line tips with a line at the top and the bottom.
  • This is the skeleton.
  • Make each strip a plane (or use a surface connect???).

Would this be a good starting point?
Dempsey

Dr PR

Mark,

The two attached pictures show how to drape a square over a cylinder.

In the first picture, at upper right, I created a sine curve (red line) that has an amplitude 0.3185 relative to the period (the cosine of 0.3185 = 0.99998455).

I used this curve to create a plane and then extruded the plane to create the red solid at the left.

I used the original height/length lines (blue) from the curve calculation to create a cylinder (green).

Then I subtracted the red solid and its mirror image from the green cylinder, leaving the solid at lower right.

After the solid was exploded I separated the surfaces and made a solid of the collection of green facets at top right. This is very close to a rolled square. The upper corners intersect at 89.53 degrees, and the lower corners intersect at 90.04 degrees (since the upper facets do not lie in a plane they intersect at slightly less than 90 degrees).

The second picture shows the rolled square from several angles.

I have attached a file with the rolled square.

Phil
DesignCAD user since 1987

Bob P

My method will work well on a half-drape (or any other proportion). Just adjust the sweep to under 180 degrees.  Read up on Sweep in the manual to see what I've done.  If the corner angles don't come out to exactly 90 deg., you can always scale to correct.