<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/MeshResource/ShapeExtrusionOptions/chamferProfile",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17RealityFoundation12MeshResourceC21ShapeExtrusionOptionsV01_A11Kit_SwiftUIE14chamferProfile0iJ04PathVSgvp"
  },
  "title" : "chamferProfile"
}
-->

# chamferProfile

A path that determines the cross-sectional contour of each chamfered edge.

```
var chamferProfile: Path? { get set }
```

## Discussion> Note: If the chamfer profile is `nil`, a circular profile is used.

The chamfer profile needs to satisfy the following conditions:

- The path is nonempty.
- The first point on the path is at (0, 0) and the last point is at (1, 1).
- The value of x along the profile either increases or stays the same.
  In other words, the profile curve may not wrap back on itself.

To learn more about SwiftUI’s
<doc://com.apple.documentation/documentation/SwiftUI/Path>
structure, see
<doc://com.apple.documentation/tutorials/SwiftUI/drawing-paths-and-shapes>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)