Helo All
I have some Question.
i just have this shape with ParametricPlot3D.
how can I calculate this shape with RegionCentroid Function? here my code
r = 10;
scc = 1;
zx = 5;
ppp = {x[1], y[1], z[1]} = {r*Sin[u], scc*v, r*Cos[u]};
sp = 116*Cot[\[Pi]/180*72];
pcg1 = {};
For[i = 1, i <= zx, i++,
\[CurlyPhi] = (\[Pi]/2)/zx*i;
{xi, yi, zi, dummy} = ( {
{Cos[\[CurlyPhi]], -Sin[\[CurlyPhi]], 0, 0},
{Sin[\[CurlyPhi]], Cos[\[CurlyPhi]], 0, 0},
{0, 0, 1, sp*\[CurlyPhi]},
{0, 0, 0, 1}
} ).( {
{1, 0, 0, 0},
{0, 1, 0, 6 r},
{0, 0, 1, 0},
{0, 0, 0, 1}
} ).Insert[ppp, 1, 4];
AppendTo[pcg1, {xi, yi, zi}]
]
ParametricPlot3D[pcg1, {u, 0, 2 \[Pi]}, {v, 0, 10},
AxesLabel -> {x, y, z}, PlotRange -> Full]
Thank you