#### 10.9.2 Chanfrein (chamfer)

• Chanfrein( <convec polyhedron>, <thickness> [, blunting(0/1)] )
• Description: returns the chamfered <convex polyhedron>, for each edge, the solid is cut by a plane parallel to the bissector plane outside the two adjacent faces located at the distance equal to <thickness> towards the inside of the solid. The optional parameter <blunting> shows if the vertices have to be blunted or not ($1$ by default).

 \begin{texgraph}[export=pgf,name=Chanfrein]     view(-3.5,4.5,-3,3), Marges(0,0,0,0), size(7.5),     P:=Parallelep(Origin, 3*vecI,3*vecJ,3*vecK),     P1:=Chanfrein(P,0.25,0), P2:=Chanfrein(P,0.25,1),     DrawFacet( shift3d(P1,-2*vecJ), [color:=steelblue],                shift3d(P2, 2*vecJ), [color:=steelblue]),     Label(-2-1.5*i, "no blunting", 1.8-2.6*i, "blunting")   \end{texgraph}

Chanfrein (Chamfer)