logo
NOTICE:  This is the new PunchCAD forum. You should have received an email with your new password around August 27, 2014. If you did not, or would like it reset, simply use the Lost Password feature, and enter Answer as the security answer.
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
G2Art  
#1 Posted : Wednesday, April 6, 2016 3:45:29 PM(UTC)
G2Art

Rank: Member

Joined: 2/6/2014(UTC)
Posts: 97

Thanks: 29 times
Hi,

I'd like to wrap the yellow curve all the way around the blue cylinder.

Is there a way to do it, and if so, how?

Thanks.

Mark
G2Art attached the following image(s):
Screen Shot 2016-04-06 at 2.43.08 PM.jpg (69kb) downloaded 12 time(s).

You cannot view/download attachments. Try to login or register.
Craig  
#2 Posted : Thursday, April 7, 2016 5:35:30 AM(UTC)
Craig

Rank: Senior Member

Joined: 2/26/2009(UTC)
Posts: 383

Thanks: 30 times
Was thanked: 42 time(s) in 36 post(s)
Hi Mark,

use the Project Curve Surfaces tool on the surfaces toolbar, I wrapped a spline around a cylinder.
Craig attached the following image(s):
Screenshot (80).png (145kb) downloaded 17 time(s).

You cannot view/download attachments. Try to login or register.
thanks 1 user thanked Craig for this useful post.
GARLIC on 4/7/2016(UTC)
G2Art  
#3 Posted : Thursday, April 7, 2016 9:18:29 AM(UTC)
G2Art

Rank: Member

Joined: 2/6/2014(UTC)
Posts: 97

Thanks: 29 times
Craig,

I had tried that before my post.

It did look like it worked but it really did not.

My curve had three humps and three valleys before projecting it onto a cylindrical surface.

After projecting it, it wrapped all the way around the cylinder but I counted only two humps and two valleys.

It would be so great if that method worked.

I hope there is some other way.

Thanks.

Mark
Craig  
#4 Posted : Thursday, April 7, 2016 10:42:25 AM(UTC)
Craig

Rank: Senior Member

Joined: 2/26/2009(UTC)
Posts: 383

Thanks: 30 times
Was thanked: 42 time(s) in 36 post(s)
I thought it was too simple at the time, what it is doing is just placing the part of the curve that is in line with the cylinder on both sides so it looks like it wrapped.
Why not just use a two point circle on top of the cylinder and then move it down to where you want it, convert it to a spline and then move the vertices into the position you want.

I created this thing the other night with that method, don't know what it is so I call it the weird thing.
It was made from a Helix Spline, one Helix Spline was copied and the copy moved down, I then connected the two end points on one side and did a two rail sweep.
After that I thickened it into a solid and converted the two splines into Control Point Spline, finally I used the show points function and pulled the vertices into position.

Edited by user Thursday, April 7, 2016 10:45:12 AM(UTC)  | Reason: Not specified

File Attachment(s):
WeirdThing.png (3,892kb) downloaded 15 time(s).

You cannot view/download attachments. Try to login or register.
thanks 1 user thanked Craig for this useful post.
G2Art on 4/7/2016(UTC)
G2Art  
#5 Posted : Thursday, April 7, 2016 11:18:46 AM(UTC)
G2Art

Rank: Member

Joined: 2/6/2014(UTC)
Posts: 97

Thanks: 29 times
"Why not just use a two point circle on top of the cylinder and then move it down to where you want it, convert it to a spline and then move the vertices into the position you want."

Craig, I think the above method would work fine, and would probably the easiest with a bezier spline.

In the meantime, I figured out something else - I swept a rectangle along my wavy curve whose end points were spaced the exact length equal to the length of my circle and then used the "curve bend" command to bend the swept wavy solid along the circle.

Then I used the "explode curve" command (in the surfaces menu) to explode the edges of my wavy swept solid that had been bent around the circle. So now I got my wavy line wrapped around the circle and it is still associative to the original wavy bezier curve so that I can easily modify the amplitude of my humps and valleys.

A small problem occurs with this method: when you get the length of the circle from the "check length" command, it only gives you three decimal places. So that the wrapped solid does not meet exactly end to end - it seems it does to the naked eye but of course three dec places is still much coarser than the tolerance in the software. However, once the edges are exploded, they seem closed...


I like your "weird thing". It looks like a sculpture. And I like your rendering. Now you have a piece of art : )

What I have ultimately been trying to model is a bowl with a wavy top edge. So I used my exploded edge as a sweep path for a rectangle and I subtracted that solid to from a "bowl" with a flat edge. I could not use the original solid created by the "curve bend" command (as I should have been able to) because of the three digit inaccuracy mentioned above - its end faces would not meet exactly and it was failing the boolean subtraction command. That's why I used the "explode edge" workaround - the exploded edge seemed to be closed. Weird... but it worked.

Thanks again.
Tim Olson  
#6 Posted : Thursday, April 7, 2016 2:36:30 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,447
United States

Was thanked: 502 time(s) in 353 post(s)
HI Mark

Possible method using bend along curve. In the attached file I did the following.

1. Create the curve with desired pattern
2. Apply a small pipe solid to the curve
3. Intersect a plane with the cylinder for pipe path
4. Bend the pipe to the cylinder path
5. Intersect the pipe and cylinder for curves on cylinder

It might be close enough to spark some ideas to get what you actually need.


Tim

Edited by user Thursday, April 7, 2016 2:39:23 PM(UTC)  | Reason: Not specified

File Attachment(s):
wrapPipe.sfx (696kb) downloaded 7 time(s).
Tim Olson attached the following image(s):
pipe.png (80kb) downloaded 10 time(s).

You cannot view/download attachments. Try to login or register.
Tim Olson
IMSI Design/Encore
thanks 1 user thanked Tim Olson for this useful post.
G2Art on 4/7/2016(UTC)
Craig  
#7 Posted : Thursday, April 7, 2016 2:53:53 PM(UTC)
Craig

Rank: Senior Member

Joined: 2/26/2009(UTC)
Posts: 383

Thanks: 30 times
Was thanked: 42 time(s) in 36 post(s)
The two point circle was a crazy idea but it worked brilliantly!
You have to convert to a Interpolate Spline because if a Bezier is used you cannot add points as the spline will then pull away from the cylinder.
I was quite surprised it worked so well, the luck was in the Interpolate Spline having so many control points when the Bezier only has four.

Now we can make any shape on a cylinder very quickly, nice question Mark.

Edited by user Thursday, April 7, 2016 2:57:06 PM(UTC)  | Reason: Not specified

Craig attached the following image(s):
Screenshot (81).png (166kb) downloaded 9 time(s).

You cannot view/download attachments. Try to login or register.
thanks 1 user thanked Craig for this useful post.
G2Art on 4/7/2016(UTC)
Craig  
#8 Posted : Thursday, April 7, 2016 3:02:17 PM(UTC)
Craig

Rank: Senior Member

Joined: 2/26/2009(UTC)
Posts: 383

Thanks: 30 times
Was thanked: 42 time(s) in 36 post(s)
Ha, ha it’s brilliant, used the pipe feature and then subtracted it from the cylinder, moved it and did the same, very useful function.
Craig attached the following image(s):
Screenshot (82).png (247kb) downloaded 9 time(s).

You cannot view/download attachments. Try to login or register.
thanks 1 user thanked Craig for this useful post.
G2Art on 4/7/2016(UTC)
G2Art  
#9 Posted : Thursday, April 7, 2016 3:26:33 PM(UTC)
G2Art

Rank: Member

Joined: 2/6/2014(UTC)
Posts: 97

Thanks: 29 times
Tim,

Very simple, thanks.

I did it the hard way but a bit similar.

However, how did you get the exact length of the plane / cylinder intersection circle to bend the pipe to?

The "check length" command only gives three decimal places accuracy so I find that the bent shape's ends do not meet precisely after bending.

Or do they? I've been having some trouble with the boolean and other functionality of bent shapes and I assumed it's because there is a micro gap where the ends meet.

Or should I simply make the pipe shape a bit longer than the circle's length and that will force the ends to meet? I guess that's the answer...

Mark
Tim Olson  
#10 Posted : Thursday, April 7, 2016 4:10:26 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,447
United States

Was thanked: 502 time(s) in 353 post(s)
>> how did you get the exact length of the plane / cylinder intersection circle to bend the pipe to?

The first two points you pick as part of the "Select Two Points for Bend Height axis" define what gets mapped from the solid to the path. The start and end need to exactly match the start and end of your solid if you want the ends to match. I referenced the construction/lines and points to get my axis exact. I also made my height axis the same length as the circle to minimize compression/expansion.

This also controls whether your wrapped solid is compressed or expanded as it is mapped to the path. If the bend height axis is 10 inches and the path you are mapping to is 5 inches, it will compress/scrunch up the solid. If you change the diameter of the cylinder in the example file and you can see the compress/expand results.

Tim

Edited by user Thursday, April 7, 2016 4:18:53 PM(UTC)  | Reason: Not specified

Tim Olson
IMSI Design/Encore
thanks 1 user thanked Tim Olson for this useful post.
G2Art on 4/7/2016(UTC)
Users browsing this topic
Guest (4)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.