Project sketch line onto curved surface

Project sketch line onto curved surface

psych_uk
Advocate Advocate
2,153 Views
15 Replies
Message 1 of 16

Project sketch line onto curved surface

psych_uk
Advocate
Advocate

Hi Guys,

I've been trying to project a sketch line onto a cylinder (or a sphere) body in order to use that line as a path, curved objects cant be used as sketch planes so I was wondering how this is best achieved?

Right now I am splitting body (using the sketch line) and use the cut as the path reference, is there no easier way?

I am also concerned that the geometry isn't being calculated correctly using that method.

Mike.

Please consider marking topics as solved after a solution has been established, this will prevent others from thinking the issue is still unresolved.
0 Likes
Accepted solutions (1)
2,154 Views
15 Replies
Replies (15)
Message 2 of 16

davebYYPCU
Consultant
Consultant

isn't being calculated correctly using that method.

 

Why?  

I prefer model edges over sketch projections.

 

Might help….

0 Likes
Message 3 of 16

psych_uk
Advocate
Advocate

It seems to me that a project would take into account the curve, whereas the cut simply goes 90 degrees, maybe I am wrong about this, and project would do the same thing, in either case cutting involves having 2 bodies after the operation, and that pokes at my OCD.

Mike.

Please consider marking topics as solved after a solution has been established, this will prevent others from thinking the issue is still unresolved.
0 Likes
Message 4 of 16

jhackney1972
Consultant
Consultant

Take a look at the timeline on the attached model.  Change the Surface Sweep Twist Angle to experiment.  The same method can be used on a cylinder.  If you do not want a twist in the path, do not add it.   Model attached.

 

Edit:  Please ask if you have questions.

John Hackney, Retired
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 5 of 16

psych_uk
Advocate
Advocate

That's certainly a better way to get a repeating swirl around a cylinder or a sphere, however I couldn't get it to work with a spline, the profile and the path seemed to combine for some reason.

I guess what I was looking for is a method similar to the emboss, where your sketch geometry is projected onto the surface instead of a profile so you can use it as a path.

As you can see yourself, the method to achieve a quite simple task is very convoluted. I was hoping there would be an easier way.

Mike.

Please consider marking topics as solved after a solution has been established, this will prevent others from thinking the issue is still unresolved.
0 Likes
Message 6 of 16

jhackney1972
Consultant
Consultant

You can use a Spline for the path using the same method.  If you would attach your model, including the path you want, I would like to experiment with it.  Model attached.

 

Spline on Sphere.jpg

John Hackney, Retired
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 7 of 16

psych_uk
Advocate
Advocate

I can see what you've done there, you've used the line and extruded it outwards to form the basis of the path, that's the same method I have been using (yours might be more elegant, I always forget about the surface tools).

The problem is there is no accounting for the curve, what you have is a curved plane protruding from the sphere flat (which is why you have to trim) By the way, if you extrude 'to object' instead of 'distance' you can omit the trim.

I'll give you an example, how did we get text to wrap before emboss? We had to flatten a wrapper and use it as the tool, just when we all got used to this, they gave us emboss, lol. I'd like the same mechanics to sketch lines, like you could take that spline and simply say 'give me a line on the surface I choose which will wrap the surface'.

Mike.

Please consider marking topics as solved after a solution has been established, this will prevent others from thinking the issue is still unresolved.
0 Likes
Message 8 of 16

davebYYPCU
Consultant
Consultant

What would you like us to say?  I have no trouble with a chine on a hull, using body edges.

Project to Surface, does what I think you want, but it is old school, 

 

As you can see yourself, yeah right!  My crystal ball is on an RDO.

 

even @jhackney1972 has provided his own model, 

 

You can only say Ah, but....

 

Might help....

Message 9 of 16

jhackney1972
Consultant
Consultant
Accepted solution

My last try to give you a pleasing solution.  Project to Surface is not perfect as it can get distorted as you reach the poles of the sphere but..  You can ignore one of the projected lines in the result.

 

By the way, I used a Trim Surface command in my last model to be sure you "understood" what I did.  I normally would do it the way you mentioned.  I never know the level of expertise of the user I am speaking to.

 

Project to Surface.jpg

John Hackney, Retired
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 10 of 16

psych_uk
Advocate
Advocate

@davebYYPCU Little bit aggressive there dude, all I did was ask a question, and now we were having a civilized discussion.

Mike.

Please consider marking topics as solved after a solution has been established, this will prevent others from thinking the issue is still unresolved.
0 Likes
Message 11 of 16

psych_uk
Advocate
Advocate

Well now I feel stupid, 'project to surface' is what I wanted. Why did I not see that, I was sure I scoured all the menus.

Thanks @jhackney1972 

Mike.

Please consider marking topics as solved after a solution has been established, this will prevent others from thinking the issue is still unresolved.
0 Likes
Message 12 of 16

psych_uk
Advocate
Advocate

I've tried this myself and I cannot get the spline to project, I have included my attempt. It's saying projecting geometry onto the same sketch is not supported in the error dialog.

What I do is select the sketch on the offset plane (where the spline is) then I select project to surface, then I choose the sphere as the 'face' and the spline as the 'curves'. Is this right?

psych_uk_0-1700362362342.png

 

Mike.

Please consider marking topics as solved after a solution has been established, this will prevent others from thinking the issue is still unresolved.
0 Likes
Message 13 of 16

davebYYPCU
Consultant
Consultant

Project has always required the source to be in a previous sketch.

projecting geometry onto the same sketch is not supported

normal process,

 

Same for your example, you need a new sketch (editing) to put the result into.

I have done the same source with both options, Along Vector and Closest Point. 

Along Vector is your Extrude to Object, and 

Closest Point is effectively a Loft to Point.

 

Might help...

0 Likes
Message 14 of 16

psych_uk
Advocate
Advocate

Thanks for the reply,

What was messing me up was the 3rd sketch (the 2nd of the pair), I couldn't figure out where it was coming from, but it's from the object face (it goes against my instincts to open a sketch on a curved surface). It didn't occur to me.

I have managed to reproduce the results, so thank you all.

Mike.

Please consider marking topics as solved after a solution has been established, this will prevent others from thinking the issue is still unresolved.
0 Likes
Message 15 of 16

davebYYPCU
Consultant
Consultant

Well that is not quite accurate. 

it goes against my instincts to open a sketch on a curved surface - which is not possible.

 

You still create the last sketch on a plane (or planar face n/a in this file)

Tick 3d sketch in the sketch palette, because your projection/s will be / are 3d,

and the rest takes care of itself.

 

Might help....

0 Likes
Message 16 of 16

psych_uk
Advocate
Advocate

Ah, I see, must of been a fluke then that it chose the right plane, haha.

I just drew a rectangle on the sketch and now I can see it's on the same plane as the circle.

Makes sense I guess.

Thanks

Mike.

Please consider marking topics as solved after a solution has been established, this will prevent others from thinking the issue is still unresolved.
0 Likes