Skip to main content

FreeCAD For Beginners: CAD Thinking Part 2

Step-by-Step FreeCAD CAD Thinking Tutorial Part 2: Modeling a Latch Part

Introduction

This tutorial supports the video that guides you through modeling a latch part in FreeCAD (version 0.21) using the Part Design workbench. You’ll learn to select an optimal side profile to minimize operations, create a sketch with additive geometry, remove negative space with a pocket, and add fillets for finishing. The tutorial compares the side profile approach (fewer operations) with the front profile approach (more operations) to emphasize model stability. It’s designed for intermediate FreeCAD users familiar with sketching and part design. Prerequisites include FreeCAD 0.21 and a previously modeled reference part (e.g., Part 1) for alignment.

Click here for video

Part 123 and 4 have been released.  Part 5 will be coming soon.

Step 1: Set Up a New Document and Link Reference Part

  • Description: Create a new FreeCAD document and link a reference part to guide the latch’s placement.
  • Instructions:
    1. Open FreeCAD 0.21 and select File > New to create a new document.
    2. Save the document as “Latch_Part.fcstd” (File > Save As).
    3. Open the reference part file (e.g., “Part1.fcstd”) in FreeCAD.
    4. In the reference part’s Tree View, select the main body (e.g., “Fillet”).
    5. Hold Alt, drag the selected body, and drop it into the new document’s tab to create a link.
    6. Alternatively, in the new document, switch to the Part workbench, click Make Link, select the reference part’s body, and confirm.
    7. Right-click the linked part, select Transform, and adjust its position (e.g., rotate or translate) to align with the intended latch position. Click OK.
    8. Go to View > Toggle Axis Cross to display the coordinate system for reference.
  • Tips:
    • Save both files in the same folder to avoid broken links.
    • Use the linked part as a visual guide to ensure the latch aligns correctly in 3D space.

Step 2: Create the Base Sketch (XZ Plane)

  • Description: Sketch the side profile of the latch part using additive geometry to form the main shape.
  • Instructions:
    1. Switch to the Part Design workbench.
    2. Click Create Body and then Create Sketch on the XZ_Plane.
    3. Enable Auto Constraints and Avoid Redundant Auto Constraints in the sketcher settings.
    4. Use the Center and Endpoint Arc tool to create an arc with a Radius of 3 mm, starting from the origin.
    5. Use the Line tool to add a 17 mm horizontal line from the arc’s endpoint.
    6. Use the Endpoint and Rimpoint Arc tool to add an arc with a Radius of 16 mm, connecting to the line.
    7. Add a vertical Line of 2 mm from the second arc’s endpoint.
    8. Add a horizontal Line of 23 mm to connect back toward the origin.
    9. Add another vertical Line of 2 mm downward.
    10. Add a final Line to close the sketch, ensuring it aligns with the vertical axis using a Point on Object Constraint.
    11. Apply constraints:
      • Set the total length from the origin to the farthest point to 30 mm using a Horizontal Distance Constraint.
      • Apply Coincident Constraints to ensure all lines and arcs connect.
      • Apply Horizontal and Vertical Constraints to keep lines aligned.
    12. Verify the sketch is fully constrained (no degrees of freedom).
    13. If constraints fail, adjust points (e.g., ensure the final line connects to the vertical axis).
    14. Add two Circles for holes:
      • Set one circle’s Diameter to 3 mm and the other to 2 mm.
      • Position each 7 mm from the sketch’s endpoints using Horizontal Distance Constraints.
    15. Close the sketch and save the document.
  • Tips:
    • Use additive geometry (building the shape piece by piece) for clarity, as opposed to subtractive methods (e.g., trimming a slot).
    • Measure distances on the technical drawing or screen if dimensions are unclear.

Step 3: Pad the Sketch

  • Description: Extrude the sketch to create the latch’s solid geometry.
  • Instructions:
    1. Select the sketch in the Tree View and click Pad.
    2. Set the Length to 21 mm (per the technical drawing).
    3. Disable Symmetric to Plane to pad in one direction only, as symmetry is unnecessary here.
    4. Click OK.
    5. Check the 3D view to confirm the pad aligns with the linked reference part.
  • Tips:
    • Avoid symmetry in the pad to reduce operations, as mirroring isn’t needed yet.
    • Verify the pad direction matches the latch’s orientation.

Step 4: Create a Pocket for Negative Space (YZ Plane)

  • Description: Remove material from the front profile using a pocket to form the latch’s inner geometry.
  • Instructions:
    1. Switch to the front view (YZ_Plane) using the view toolbar.
    2. Create a new sketch on the YZ_Plane.
    3. Enable Sketch View Section to see inside the padded part.
    4. Use the External Geometry tool to import the top and side edges of the pad (e.g., the 2 mm wall).
    5. Use the Rectangle tool to sketch a rectangle enclosing the area to keep (e.g., a 2 mm wide wall).
    6. Apply constraints:
      • Set the rectangle’s width to 2 mm to match the wall.
      • Set the height to 6 mm (ensuring it exceeds the part’s height to remove all excess material).
      • Apply Symmetry Constraints to center the rectangle on the part’s midline.
      • Use Coincident Constraints to align with imported edges.
    7. Close the sketch.
    8. Select the sketch, click Pocket, and set it to Through All with Symmetric to Plane enabled to remove material on both sides.
    9. Click OK.
  • Tips:
    • The pocket acts like a “cookie cutter,” keeping the sketched area and removing the rest.
    • Ensure the rectangle’s height is sufficient to avoid leftover faces.

Step 5: Add Fillets

  • Description: Apply fillets to round off the latch’s top edges for pivoting functionality.
  • Instructions:
    1. Select the top edges of the pocketed part (two edges where the latch will pivot).
    2. Click Fillet in the Part Design toolbar.
    3. Set the Fillet Radius to 1 mm (per the technical drawing).
    4. Click OK.
  • Tips:
    • Select only the edges needing fillets to avoid unnecessary operations.
    • Check the technical drawing to confirm fillet placement and size.

Step 6: Verify with Reference Part

  • Description: Ensure the latch aligns correctly with the linked reference part.
  • Instructions:
    1. Unhide the linked part (press Spacebar in the Tree View).
    2. Visually inspect the latch’s alignment with the reference part in the 3D view.
    3. If misaligned, right-click the latch body, select Transform, and adjust its position or rotation. Click OK.
    4. Save the document.
  • Tips:
    • Use the axis cross to guide transformations.
    • The linked part helps visualize the latch’s position for the upcoming assembly.

Step 7: Compare with Front Profile Approach

  • Description: Highlight the efficiency of the side profile approach by comparing it to the front profile.
  • Instructions:
    1. Note the side profile workflow used 3 operations: Pad, Pocket, and Fillet.
    2. The front profile approach requires more operations:
      • Pad for the initial shape.
      • Pocket to remove material for the inner profile.
      • Pocket for holes and arcs.
      • Fillet for the pivot edge.
      • Fillet to clean up another edge.
      • Mirror for symmetry.
    3. Recognize that the side profile reduces operations (3 vs. 6), improving model stability by minimizing the dependency chain.
  • Tips:
    • Fewer operations reduce the risk of errors when modifying early features.
    • The side profile leverages negative space removal for simplicity.

Step 8: Finalize the Model

  • Description: Verify the model and prepare for assembly.
  • Instructions:
    1. Inspect the latch for errors (e.g., incorrect dimensions or missing features).
    2. Adjust sketches or constraints if needed to match the technical drawing.
    3. Save the file (File > Save).
  • Tips:
    • Toggle the Axis Cross to confirm orientation.
    • Hide the linked part or sketches to reduce clutter in the Tree View.

Conclusion

You’ve modeled a latch part in FreeCAD using a side profile approach, creating a sketch with additive geometry, removing negative space with a pocket, and adding fillets. This method uses only three operations, making the model more stable than the front profile approach, which requires six operations. The linked reference part ensures proper alignment for assembly. If issues arise, check sketch constraints or pocket settings. The latch is now ready for assembly in the A2Plus workbench, as covered in a future tutorial. Save your work and refine as needed for precision.

Additional Resources

Comments

  1. Thanks for all the excellent video's. I have a question, is it possible to make a video using Lines Plans 2D Drawings to 3D Ships? IĆ” struggling with it for a long time. Example: https://www.youtube.com/watch?v=8fUqUA70LVs

    ReplyDelete

Post a Comment

Popular posts from this blog

Beginners FreeCAD: Exercise 5.1 & 5.2 (Reference Images)

Welcome to the total beginners course to FreeCAD 0.20. In this is a two part lesson we will practice our tracing skill in the form of a mini project. Using the below reference photos we will create a more complex part which will consist of repeating features. We will utilise the symmetry tools to ease construction in both FreeCAD sketcher and Part Design workbench. This project work will help teach the fundamentals of freeCAD allowing a understanding of the basics but delivering this information via teaching you different workflows. In this tutorial we will be tracing photos imported into FreeCAD via the image workbench https://wiki.freecadweb.org/Image_Workbench JUMP TO IMAGES Do you want to purchase the complete series along with others and keep forever?  Check out my shop https://ko-fi.com/mang0/shop The story of this tutorial The idea and first attempt at creating this tutorial was back in FreeCAD 0.18.  The physical part itself, well, I have no idea what really it is, i...

FreeCAD For Beginners: CAD Thinking Part 1

Step-by-Step CAD Thinking FreeCAD Tutorial: Modeling a Latch Part (Part 1) Learning how to turn real life objects into CAD Models. Using FreeCAD we explain at a beginner level how to break down a physical object into its primitive shapes to digitise it into a 3D model, with this episode we are looking at a multi-part assembly, modelling each piece individually. The series aims to open your eyes and mind giving you the ground skills to pick the correct profiles, geometry and workflow when it comes to modelling your parts. This is not just for FreeCAD but for all CAD packages out there. Introduction This tutorial is the first in a series guiding you through modeling a latch assembly in FreeCAD (version 0.21) using the Part Design and A2Plus workbenches. It focuses on modeling the first part (a slotted component) by selecting the top profile to create a slot and adding side arcs, emphasizing CAD thinking to break down complex shapes into primitives. The tutorial highlights model stability...

Beginner FreeCAD Tutorial 14: Reference Document for Exercise 1

This tutorial focuses on modelling a deck eye plate. These items are normally made of stainless steel with some kind of galvanised coating to stop corrosion. They are used in many industries but are most commonly found around boats, ships, sail lofts and docks where they play an important part in marine industry. Finding their use in many applications, they are often wall mounted acting as lashing points for mooring and for tying down sails or canopies. They can even be used for domestic use around the house and garden, for example to anchor ropes, cords and lines. So if your into 3D printing your finished creations, you can make use of the finished result.   Disclaimer : The strength of the part will depend on the internal structure, settings of the slicer and the material it has been printed on.  This will limit its application as failure of the part, damage to property and injury is a possibility.  These items are normally made of steel and are tested to take a...