orienting a sketch block in a 3Dsketch

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
User avatar
mp3-250
Posts: 545
Joined: Tue Sep 28, 2021 4:09 am
Answers: 18
Location: Japan
x 610
x 285

orienting a sketch block in a 3Dsketch

Unread post by mp3-250 »

We are using 3d sketch to design piping routes for our machines.
during the design stage it would be useful to import fittings, valves etc as a simplified sketch block(for tee is like 2 lines inside the block).
importing those blocks is simple but orienting them in a 3d sketch is an hassle. e.g. sketch constraint cannot be inverted like mates or the sketch block is always parallel to its plane (XY)
I am looking for a simple manner to manipulate blocks an position them as I want.

Open to suggestions and thanks in advance.
User avatar
gupta9665
Posts: 361
Joined: Thu Mar 11, 2021 10:20 am
Answers: 20
Location: India
x 384
x 417

Re: orienting a sketch block in a 3Dsketch

Unread post by gupta9665 »

Have you tried adding the 3d planes inside the 3d sketch and placing the blocks on them or adding constrains between block and those 3d planes?
Deepak Gupta
SOLIDWORKS Consultant/Blogger
Kevin Moss
Posts: 2
Joined: Mon Mar 22, 2021 2:38 pm
Answers: 0
x 7
x 2

Re: orienting a sketch block in a 3Dsketch

Unread post by Kevin Moss »

Have you looked into SolidWorks Routing? It sounds like exactly what you're doing.
User avatar
mp3-250
Posts: 545
Joined: Tue Sep 28, 2021 4:09 am
Answers: 18
Location: Japan
x 610
x 285

Re: orienting a sketch block in a 3Dsketch

Unread post by mp3-250 »

Kevin Moss wrote: Fri Jun 30, 2023 10:56 am Have you looked into SolidWorks Routing? It sounds like exactly what you're doing.
yes, we tried routing: it requires a premium licence, it is quite unpolished and unsupported (even our var was quite blunt about how few they know about routing) , and it is incompatible with our workflows, pdm and huge library of legacy data. Also routing is not our main activity and it is not worth all the complications it would introduce.

So we decided to develop our own tool and workflow as many things can be done without routing.
About this sketch issue I am also thinkIng about a macro that rotates a sketch block around x,y,z by 90 degrees increments...but I want to try other ways too. the simpler the better.
User avatar
DanPihlaja
Posts: 762
Joined: Thu Mar 11, 2021 9:33 am
Answers: 24
Location: Traverse City, MI
x 755
x 907

Re: orienting a sketch block in a 3Dsketch

Unread post by DanPihlaja »

mp3-250 wrote: Thu Jun 29, 2023 11:29 am We are using 3d sketch to design piping routes for our machines.
during the design stage it would be useful to import fittings, valves etc as a simplified sketch block(for tee is like 2 lines inside the block).
importing those blocks is simple but orienting them in a 3d sketch is an hassle. e.g. sketch constraint cannot be inverted like mates or the sketch block is always parallel to its plane (XY)
I am looking for a simple manner to manipulate blocks an position them as I want.

Open to suggestions and thanks in advance.
I import them as bodies and then use the body geometry to help drive my 3d Sketch. Seems simpler to me.

Then, as the final step to the feature tree, I do a body delete and remove all the bodies.
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
SPerman
Posts: 1874
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 13
x 2053
x 1709
Contact:

Re: orienting a sketch block in a 3Dsketch

Unread post by SPerman »

When I did that kind of work in NX, coordinate systems were indispensable. I don't know how functional they are in your version of solidworks, but they could offer other options.

https://help.solidworks.com/2023/englis ... 41c53d#Pg0
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
mp3-250
Posts: 545
Joined: Tue Sep 28, 2021 4:09 am
Answers: 18
Location: Japan
x 610
x 285

Re: orienting a sketch block in a 3Dsketch

Unread post by mp3-250 »

Thank you for the suggestions, I think I am going to try with a macro to rotate the block around their insertion point in X, Y or Z. Setting up a temporary plane or import bodies takes too much effort and time compared to the current workflow.
The main 3D sketch has the origin and the CSYS coincident to the assembly so apparently there is not need to transform sketch CSYS to WCS and stuff.
sergio.monti
Posts: 34
Joined: Tue May 04, 2021 2:22 am
Answers: 1
x 48
x 21

Re: orienting a sketch block in a 3Dsketch

Unread post by sergio.monti »

If you draw XY dashed lines inside the block, when inserted in a 3D sketch you can orient each line of the block along X, Y, Z, or make perpendicular to any other line
Post Reply