brepjs API Reference
GitHub
npm
Getting Started
Preparing search index...
index
chamfer
Function chamfer
chamfer
<
T
extends
Shape3D
>
(
shape
:
Shapeable
<
T
>
,
distance
:
ChamferDistance
,
)
:
Result
<
T
>
Apply a chamfer to all edges of a 3D shape.
Type Parameters
T
extends
Shape3D
Parameters
shape
:
Shapeable
<
T
>
distance
:
ChamferDistance
Returns
Result
<
T
>
chamfer
<
T
extends
Shape3D
>
(
shape
:
Shapeable
<
T
>
,
edges
:
ShapeFinder
<
Edge
>
|
Edge
[]
|
FinderFn
<
Edge
>
,
distance
:
ChamferDistance
,
)
:
Result
<
T
>
Apply a chamfer to selected edges of a 3D shape.
Type Parameters
T
extends
Shape3D
Parameters
shape
:
Shapeable
<
T
>
edges
:
ShapeFinder
<
Edge
>
|
Edge
[]
|
FinderFn
<
Edge
>
distance
:
ChamferDistance
Returns
Result
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
Getting Started
brepjs API Reference
Loading...
Apply a chamfer to all edges of a 3D shape.