Rounded corner on half cylinder

Hello everyone,
i’ m new on babylon so sorry for this trivial question but i haven’t found the way to do it
I have an half cylinder with four faces, i shoud find a way to create rounded corners

Thank you
var cylinder = BABYLON.MeshBuilder.CreateCylinder(“cylinder”, {
height: 20, diameterTop: 20,
diameterBottom: 16, tessellation: 4, subdivisons: 100
}, scene, true);

Welcome aboard!

If you want a rounded cube, maybe you can use an existing one:

https://playground.babylonjs.com/#2BC4PK

You may also be able to do it with custom extruded shape: Create Parametric Shapes - Babylon.js Documentation

2 Likes

i can make it by GeometryBuilder

http://editor.5kb.me/#80333

https://www.babylonjs-playground.com/#UGLGTJ#133

2 Likes

Thank you for you reply