Add Outer/Inner Radius When Create Frame

Hi all
I have question, is it possible to make the frame radius on the inside or outside based on the values given?

PG : Frame Maker | Babylon.js Playground (babylonjs.com)

I believe you may try to cut/add them with a cylinder.

2 Likes

You can also use trig functions when defining the path so that it already contains the radius: Extruded Shape Examples | Babylon.js Playground (babylonjs.com)

3 Likes

Thanks @labris @carolhmj for the answers.

Inspired by @labris’s words, finally I was able to make what I wanted
Create Frame With Radius | Babylon.js Playground (babylonjs.com)

1 Like