More than one profile in a sketch ?

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
techGuy
Posts: 126
Joined: Sat Jun 18, 2022 12:48 am

More than one profile in a sketch ?

Post by techGuy »

I love using Sketch and Part Design to build up bodies. However, in a part with a lot of randomly placed holes, it gets monotonous doing a sketch for each hole.

Why couldn't sketch be allowed to have multiple profiles in it ? Profile = a closed face.

There would have to be some rules in sketch.

1) Profiles cannot touch or overlap. They must be independent.
2) All profiles must be closed before they can be used.

There would have to be some rules in Part Design about using such a sketch.

1) All the profiles in a sketch get applied. You can't pick and chose.
2) All the profiles in a sketch get applied for the same plane, depth, etc.

So if I have a part that has 8 bolt holes in it, I could do one sketch containing the 8 circles and then use pocket or hole to apply them en masse.

This would really clean up my models as well as my workflows.

Thanks
User avatar
NewJoker
Veteran
Posts: 2977
Joined: Sun Oct 11, 2020 7:49 pm

Re: More than one profile in a sketch ?

Post by NewJoker »

What makes you think that it's not already possible ? Are you using an outdated version of FreeCAD ?

multiple holes.png
multiple holes.png (59.57 KiB) Viewed 1530 times
chrisb
Veteran
Posts: 53785
Joined: Tue Mar 17, 2015 9:14 am

Re: More than one profile in a sketch ?

Post by chrisb »

I understand that OP wants to use parts of the same sketch for different features; e.g. give the small holes a different depth than the big holes.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NewJoker
Veteran
Posts: 2977
Joined: Sun Oct 11, 2020 7:49 pm

Re: More than one profile in a sketch ?

Post by NewJoker »

chrisb wrote: Wed Jun 22, 2022 1:27 pm I understand that OP wants to use parts of the same sketch for different features; e.g. give the small holes a different depth than the big holes.
That could be the case but he said:

techGuy wrote: Wed Jun 22, 2022 4:39 am 2) All the profiles in a sketch get applied for the same plane, depth, etc.
User avatar
adrianinsaval
Veteran
Posts: 5534
Joined: Thu Apr 05, 2018 5:15 pm

Re: More than one profile in a sketch ?

Post by adrianinsaval »

chrisb wrote: Wed Jun 22, 2022 1:27 pm I understand that OP wants to use parts of the same sketch for different features; e.g. give the small holes a different depth than the big holes.
In that case he can sketch all in one then use shapebinder to pick individual profiles
techGuy
Posts: 126
Joined: Sat Jun 18, 2022 12:48 am

Re: More than one profile in a sketch ?

Post by techGuy »

Thanks for the replies. I'll test this out and get back.
techGuy
Posts: 126
Joined: Sat Jun 18, 2022 12:48 am

Re: More than one profile in a sketch ?

Post by techGuy »

My bad. Using multiple profiles to create multiple pockets works fine.

What doesn't work is padding multiple profiles. I understand why that can't be done, because it creates multiple bodies.

Thanks for the replies in this post.
User avatar
adrianinsaval
Veteran
Posts: 5534
Joined: Thu Apr 05, 2018 5:15 pm

Re: More than one profile in a sketch ?

Post by adrianinsaval »

note that when it doesn't create multiple bodies it does work, in newjoker's example that sketch could have been padded too without issues
User avatar
NewJoker
Veteran
Posts: 2977
Joined: Sun Oct 11, 2020 7:49 pm

Re: More than one profile in a sketch ?

Post by NewJoker »

techGuy wrote: Wed Jun 22, 2022 9:38 pm What doesn't work is padding multiple profiles. I understand why that can't be done, because it creates multiple bodies.
For that, you can try the Realthunder's version which doesn't have such limitation and offers also many other improvements: https://github.com/realthunder/FreeCAD/releases

realthunder.PNG
realthunder.PNG (110.21 KiB) Viewed 1369 times
User avatar
Shalmeneser
Veteran
Posts: 9443
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: More than one profile in a sketch ?

Post by Shalmeneser »

techGuy wrote: Wed Jun 22, 2022 9:38 pm What doesn't work is padding multiple profiles. I understand why that can't be done, because it creates multiple bodies.
Padding multiple profiles doesn't always create multiple bodies.
Attachments
Capture d’écran 2022-06-23 012910.jpg
Capture d’écran 2022-06-23 012910.jpg (63.51 KiB) Viewed 1348 times
Post Reply