Main HOWTO: ceremcem/freecad-notes
Example project to demonstrate cutting socket windows. Usage scenario:
- You have a circuit with connectors on it.
- Create an enclosure (panel) for that circuit, arrange the placement with assembly container.
- Cut the connector windows
- Relocate circuit inside enclosure, expect the connector window cuts are relocated accordingly.
- Place additional circuits inside the enclosure
- Create additional window cuts without breaking previous work.
- Refine the window cuts without breaking any previous work.
Practically usable.
Sheet metal doesn't work with cut parts, so you have to use PartDesign to create the base and create the windows with "Pocket" operations.
- Create your panel (draw the base, bend, etc.)
- Make sure that your panel is marked as "Active Body".
- Select the "Cut" solid within your socket.
- Create a subshape binder.
- Create a new sketch inside the Active Body.
- Create External Geometry Constraints.
- Draw the cut shape by using the constraints in the previous step.
- Create pocket.
- Unfold the body.
Original Tutorial is here
You'll need two files:
- Create a file that holds the enclosure and the electronic part.
- Create a separate file for the electronics part which holds the circuit and the other components (including cutters) that should be interpreted as a group.
-
Import the circuit or draw from scratch if it doesn't exist yet. A RaspberryPi will be used in this example.
-
Draw the cutters
-
Create a Part
-
Create Binder(s) for socket(s)
-
Create cutter shapes with Part Workbench
-
Create a link to the electronics part
-
Draw the panel using PartDesign Workbench
- Create a Binder for the cutter
- Use "Cut" command in the Part Workbench to cut the
front-panel
withcutter
- Double-click the Sketch under the cutter
- Refine as you like
- Add a new component, place accordingly.
- Create a binder for the new component, move into the
front-cutter
- Edit the Sketch under the cutter extrude
- All done, go to
enclosure
, refresh the view