How to make a rounded-edge and rounded-corner cube by BufferGeometry with split vertices

In the collection of spheres Collection of sphere definitions are also cubes with rounded corners as a transition. See section H and I.

In the Collection of examples from discourse.threejs.org you will find
CheckerboardRoundedBox and RoundEdgedBoxFlat

Older from 2017 at top: discourse.threejs.hofk.de

See also Addon to create special / extended geometries
Try out: Magic Box
2022-04-05 08.46.03

2 Likes