hello, i’m trying to get vtkPoints (or vtkPolyData) that make up the rounded trapzoid shape.
like below,
I would like to set the diameter of the rolling circle as a parameter as below.

is there good idea? or code example for this?
thank you
Hi,
I don’t know any VTK classes that can do that in a single shot. Most likely you’ll need to use a vtkPath class (https://vtk.org/doc/nightly/html/classvtkPath.html) to define a sequence of instructions to lay out a series of connected straight lines and Bezier curves in order to compose the desired shape.
take care,
Paulo
I think you may have to create 2 types of different functions: one for linear segments, one for circular arcs