HomeTutorialsChamfered Corner Profile

Tutorial Beginner ⏱ 8 minutes

Chamfered Corner Profile

Create a rectangle with 45° chamfered corners — the standard method for chamfered profiles in CNC milling.

What You Will Build

A 100×60mm rectangular profile with 10mm×10mm chamfers at all four corners. Common in engineering components where sharp corners are not permitted.

Operators Used

Rectangle/TL,BR Chamfer/Between,L,L Trim/L,to,L
01

Create Two Corner Points and Rectangle

Create the two diagonal corner points, then build the rectangle.

Point/0, 0, 0 → P0 = (0, 0) Point/100, 60, 0 → P1 = (100, 60) Rectangle/P0, P1 Quick Input: P: 0 P2: 1 → L0: bottom (0,0)→(100,0) → L1: right (100,0)→(100,60) → L2: top (100,60)→(0,60) → L3: left (0,60)→(0,0)
02

Create All Four Chamfers

Use Chamfer/L,L,D1,D2 to create each chamfer line. Specify equal setback distances D1=D2=10mm for 45° chamfers.

Chamfer/Between, L3, L0, D1=10, D2=10 → L4 [bottom-left] Chamfer/Between, L0, L1, D1=10, D2=10 → L5 [bottom-right] Chamfer/Between, L1, L2, D1=10, D2=10 → L6 [top-right] Chamfer/Between, L2, L3, D1=10, D2=10 → L7 [top-left] L4: from (0,10) to (10,0) [bottom-left chamfer] L5: from (90,0) to (100,10) [bottom-right chamfer] L6: from (100,50) to (90,60)[top-right chamfer] L7: from (10,60) to (0,50) [top-left chamfer]
Chamfer lines are stored as Line entities (L-prefix). D1 and D2 are setback distances from the intersection along each line.
03

Trim the Bottom Line (L0)

Trim both ends of the bottom line to meet the chamfer lines.

Trim/L0, to, L4, Start → L0 start moved to (10,0) Trim/L0, to, L5, End → L0 end moved to (90,0)
04

Trim the Right Line (L1)

Trim both ends of the right line to meet the chamfer lines.

Trim/L1, to, L5, Start → L1 start moved to (100,10) Trim/L1, to, L6, End → L1 end moved to (100,50)
05

Trim the Top Line (L2)

Trim both ends of the top line to meet the chamfer lines.

Trim/L2, to, L6, Start → L2 start moved to (90,60) Trim/L2, to, L7, End → L2 end moved to (10,60)
06

Trim the Left Line (L3)

Trim both ends of the left line to meet the chamfer lines.

Trim/L3, to, L7, Start → L3 start moved to (0,50) Trim/L3, to, L4, End → L3 end moved to (0,10) Final profile: 8 entities (4 lines + 4 chamfers) All connected end-to-end. Ready for CAM.

Tips & Best Practices

  • Create all chamfers before trimming — same rule as fillets.
  • For a 45° chamfer, use equal D1 and D2 values.
  • For an asymmetric chamfer, use different D1 and D2 values.
  • Chamfer lines are stored as L-prefix entities — they behave exactly like any other line.
  • Use Measure → Entity Info to verify chamfer line start and end coordinates.

Operators Used in This Tutorial

Related Tutorials

← All Tutorials Operator Reference Try in XyzPilot →