Combine 2 sketches on 2D planes into one 3D sketch

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
Jim Steinmeyer
Posts: 96
Joined: Thu Mar 11, 2021 4:35 pm
Answers: 0
x 466
x 96

Combine 2 sketches on 2D planes into one 3D sketch

Unread post by Jim Steinmeyer »

Ok,
About a year ago I learned a trick where I could create a sketch on the front plane and one on the top plane and then combine them into a single 3D sketch. Followed by using fit spline to smooth out the sketch so I could route a hose. In my old age I have now forgotten how I did that. <()>
Now when I create the two lines and select Composite Curves I get the message that it is unable to join disjoint lines.
Can someone remind me how to do this?

Thank you
Untitled.png
by gupta9665 » Fri Sep 03, 2021 11:18 am
You need projected curve option
Projected Curve.png
Go to full post
User avatar
matt
Posts: 1581
Joined: Mon Mar 08, 2021 11:34 am
Answers: 19
Location: Virginia
x 1214
x 2365
Contact:

Re: Combine 2 sketches on 2D planes into one 3D sketch

Unread post by matt »

Convert entities would do that, but you'd have to select all the elements in both sketches. But you could fence select, and it would be easy.
User avatar
gupta9665
Posts: 405
Joined: Thu Mar 11, 2021 10:20 am
Answers: 25
Location: India
x 426
x 445

Re: Combine 2 sketches on 2D planes into one 3D sketch

Unread post by gupta9665 »

You need projected curve option
Projected Curve.png
Deepak Gupta
SOLIDWORKS Consultant/Blogger
Jim Steinmeyer
Posts: 96
Joined: Thu Mar 11, 2021 4:35 pm
Answers: 0
x 466
x 96

Re: Combine 2 sketches on 2D planes into one 3D sketch

Unread post by Jim Steinmeyer »

Thank you both. Deepak, the projected curve option was the one I had used before.

Thank you
Jim Steinmeyer
Posts: 96
Joined: Thu Mar 11, 2021 4:35 pm
Answers: 0
x 466
x 96

Re: Combine 2 sketches on 2D planes into one 3D sketch

Unread post by Jim Steinmeyer »

Well, that worked great. Up to a point. The question now becomes, why did the combined line not continue to the upper cylinder?
Capture.JPG
Attachments
3d DEMO.zip
(2.44 MiB) Downloaded 86 times
User avatar
matt
Posts: 1581
Joined: Mon Mar 08, 2021 11:34 am
Answers: 19
Location: Virginia
x 1214
x 2365
Contact:

Re: Combine 2 sketches on 2D planes into one 3D sketch

Unread post by matt »

Jim Steinmeyer wrote: Fri Sep 03, 2021 2:29 pm Well, that worked great. Up to a point. The question now becomes, why did the combined line not continue to the upper cylinder?

Capture.JPG
Splines are approximations. You had splines laid over both sketches. If you take the splines off and make sure the sketches intersect, it works. You may want to use a 3D sketch to convert that projected curve into a spline to smooth it out.
image.png
This is what it looks like after the curve is smoothed out with a 3d fit spline.
image.png
User avatar
Lucas
Posts: 227
Joined: Tue Jun 15, 2021 3:46 am
Answers: 2
Location: Osaka, JP
x 171
x 169

Re: Combine 2 sketches on 2D planes into one 3D sketch

Unread post by Lucas »

Jim Steinmeyer wrote: Fri Sep 03, 2021 2:29 pm Well, that worked great. Up to a point. The question now becomes, why did the combined line not continue to the upper cylinder?

Capture.JPG
Don't know why the Projected Curve cannot start from the intersecting point, but in this case you would want the pipe coming normal from the hole.
So, you could make a 3DSketch and Convert Entities from the Project Curve, then draw the connection.
(The second sweep was done with Fit Spline from the 3DSketch)
image.png
Attachments
3d DEMO_luc.SLDASM
(901.87 KiB) Downloaded 94 times
User avatar
Bradfordzzz
Posts: 234
Joined: Tue Mar 16, 2021 6:26 am
Answers: 0
Location: Windsor, ON
x 335
x 207

Re: Combine 2 sketches on 2D planes into one 3D sketch

Unread post by Bradfordzzz »

Good morning,

Here is a macro that converts selected sketches into a single 3D sketch. Maybe it will help.
Credit to @artem for this. Its something I use every week.

Mark
Attachments
3Dsketch Merge.swp
(40 KiB) Downloaded 215 times
Post Reply