TIL - Creating Rounded Rectangles in FreeCAD's Sketcher
Adding Rounded Corners to an Existing Rectangle
Draw the rectangle:
- Create a rectangle with the desired dimensions (e.g., 25mm × 25mm).
Round the corners:
- Use the Fillet tool to round all four corners by applying a consistent radius (e.g., 3mm).
Apply constraints:
- Set equal constraints to ensure all four arc fillets are identical.
- Define the desired radius dimension for the corners.
Verify tangent constraints:
- Ensure tangent constraints are correctly applied between the arcs and the straight lines.
Rounded Rectangle Creation Tool
- Select the Sketcher workbench.
- Use the rectangle tool:
- Click the Create a rectangle tool in the Sketcher toolbar.
- Enable rounded corners:
- In the Rectangle parameters section (at the top of the Sketcher dialog), check the Rounded corners checkbox.
- Define dimensions:
- Click to place the first corner of the rectangle.
- Click again to set the opposite corner, defining the rectangle’s size.
- Set the fillet radius for all corners either by clicking or entering a value.