Using PartDesign SubShapeBinder to create male/female parts?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
IronComet
Posts: 10
Joined: Fri Jan 20, 2023 10:59 pm

Using PartDesign SubShapeBinder to create male/female parts?

Post by IronComet »

Hello,

I have been using part design to create different bodies. I then realized I would need them to slot in a male/female way.

The female part is a cylinder with a conic bottom. Can I use subshape binder to bring in that negative space and fill it with something like pad to create the male part?

The benefit I am seeking is that if I modify the size or some other attribute that both will maintain the same shape.

Thank you!
imm
Posts: 250
Joined: Wed Nov 03, 2021 1:00 pm

Re: Using PartDesign SubShapeBinder to create male/female parts?

Post by imm »

You can use a subshapebinder or shapebinder to do a boolean cut of the mating part to define the profile.

It is all in how you structure your parts.
edwilliams16
Veteran
Posts: 3108
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Using PartDesign SubShapeBinder to create male/female parts?

Post by edwilliams16 »

Here's a simple example of mating pieces sharing a common sketch.
Screenshot 2023-04-01 at 12.29.09 PM.png
Screenshot 2023-04-01 at 12.29.09 PM.png (55.88 KiB) Viewed 480 times
Screenshot 2023-04-01 at 12.30.04 PM.png
Screenshot 2023-04-01 at 12.30.04 PM.png (43.86 KiB) Viewed 480 times
Attachments
Sharedsketch.FCStd
(15.83 KiB) Downloaded 10 times
IronComet
Posts: 10
Joined: Fri Jan 20, 2023 10:59 pm

Re: Using PartDesign SubShapeBinder to create male/female parts?

Post by IronComet »

Thanks so much @edwilliams16 I did not know you could do this!

As a followup, what would be the best way to create a synchronized multiple of this say for creating a box enclosure with one in each corner? I don't want to do a copy but I am unsure of the cleanest way to do this as I would need to attach it to the two bodies I already have.
edwilliams16
Veteran
Posts: 3108
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Using PartDesign SubShapeBinder to create male/female parts?

Post by edwilliams16 »

Make a foot and use Part Design|Multitransform to reflect the feet. Use expressions or common sketches to relate matching parts.
Attachments
multitransform.FCStd
(18.17 KiB) Downloaded 9 times
Screenshot 2023-04-04 at 4.57.23 PM.png
Screenshot 2023-04-04 at 4.57.23 PM.png (17.07 KiB) Viewed 314 times
IronComet
Posts: 10
Joined: Fri Jan 20, 2023 10:59 pm

Re: Using PartDesign SubShapeBinder to create male/female parts?

Post by IronComet »

Thanks so much @edwilliams16 this is very helpful and will save design complexity.
Post Reply