Bevelled or radius edges

Hi! Three has the ability to bevel/radius edges. I can’t seem to find similar Babylon functionality. Can ayone point me in the right direction or to a playground? Thanks!

https://threejs.org/docs/#api/en/geometries/ExtrudeGeometry

1 Like

Pinging @jerome and @JohnK

Using ExtrudeShape it is straightforward to obtain a bevel along the edges parallel to the extrusion direction.

https://www.babylonjs-playground.com/#VKIXD8

As far as I know there is no function to produce bevels along all the edge but you can extrude and lathe a set of shapes to form such a mesh, for example

circular bevels - https://www.babylonjs-playground.com/#VKIXD8#5

straight bevels - https://www.babylonjs-playground.com/#VKIXD8#6

different size bevels - https://www.babylonjs-playground.com/#VKIXD8#7, https://www.babylonjs-playground.com/#VKIXD8#8

EDIT Previous errors in PGs are corrected

5 Likes

Alternatives Bevel / Rounded Corners for Cubes at Render time