How to link Sketches, Edges and Faces to Another Sketch ( without formulas. )
For a careful fully detailed explanation of the Shape Binder head over to: https://wiki.freecadweb.org/PartDesign_ShapeBinder. The article there provides more use cases, more details and the limitations.
![](https://i1.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999156.png?fit=900%2C240&ssl=1)
When designing a multi-body part or multiple parts, the designer is often in need of a simple way to cross reference between Bodies. A common example being matching up holes between bodies. We can use the Shape Binder tool to accomplish this task, in a robust way.
You can watch a video tutorial here:
And here is the model that the video tutorial produces :
https://mathcodeprint.com/freecad-primitives-based-case/
The Shape Binder tools is very simple to utilize,. With the Active Body where which you wish to utilize features of the source bodies you add a Shape Binder.
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999153.png?resize=730%2C592&ssl=1)
One of the cited examples for the Shape Binder is aligning case holes. It is a nice straightforward example, so lets try it out.
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999157.png?resize=854%2C492&ssl=1)
First let’s build the base of our case. We can use the additive box, thickness and additive cylinder to get there more quickly.
The Case
Add a Box
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/06/Selection_999013.png?resize=165%2C153&ssl=1)
Set Length to 80, Width to 120 and Height to 10 ( Phone Sized )
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999158.png?resize=775%2C526&ssl=1)
Add a Fillet to the Four corners.
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999159-1.png?resize=775%2C526&ssl=1)
Add a thickness using the top face as the selection, leave the defaults and click ok.
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/06/Selection_918.png?resize=163%2C145&ssl=1)
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999160.png?resize=775%2C526&ssl=1)
Add a Cylinder with radius of 5 and height of 10,
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/06/Selection_999070.png?resize=156%2C155&ssl=1)
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999174.png?resize=311%2C161&ssl=1)
Select the radius of your fillet, inside the case, and the attachment and reverse the cylinder ( flip sides ). I used this as the attachment so we can change the height of the box without affecting the cylinders.
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999178.png?resize=447%2C435&ssl=1)
Make sure the attachment mode is Concentric and use Flip Sides if the cylinder is facing the wrong way.
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999177.png?resize=333%2C218&ssl=1)
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999175.png?resize=294%2C225&ssl=1)
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999176.png?resize=298%2C248&ssl=1)
Repeat this four times.
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999161.png?resize=775%2C526&ssl=1)
Subtract a cylinder with a radius of 2.5 and height of 8
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/06/Selection_999076.png?resize=168%2C156&ssl=1)
Attach the subtractive cylinder the same way the additive cylinder was attached.
If the the red prototype cylinder is not within the post, click the “Flip Sides”
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999162.png?resize=775%2C526&ssl=1)
Repeat for all four corners
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999163.png?resize=775%2C526&ssl=1)
The Lid
Add a Second Box, usr the same dimensions as the first box.
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999168.png?resize=835%2C499&ssl=1)
With the Body of the second box active select the Shape Binder.
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999181.png?resize=126%2C129&ssl=1)
In the Shape Binder dialog, toggle the Add Geometry. The button will remain greyed out until you select a Geometry.
Select the face of one of the Posts inside the first box
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999184.png?resize=390%2C374&ssl=1)
Repeat this with all four post-faces
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999182.png?resize=349%2C321&ssl=1)
If you have done everything correctly you model should look like this:
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999172.png?resize=862%2C461&ssl=1)
Finalize the “Datum shape parameters” with the OK button.
To make holes, select Subtractive Cylinder and click one of the Yellow circles.
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/06/Selection_999076.png?resize=168%2C156&ssl=1)
Set the Cylinder radius to 2.5 ( You can use the scroll wheel )
Repeat for all four posts.
![](https://i0.wp.com/www.freecad.info/wp-content/uploads/2020/07/Selection_999170.png?resize=862%2C461&ssl=1)
The Shape Binder relies on Internal naming so it can still be easily broken, but there certainly ways to mitigate. For instance, attaching the Cylinders that make up the posts to a feature that is less likely to change.