2 not knot

Note: This is a generalization in a different direction from what the question asked for (these references generalize in terms of finding volumes, but Koundinya Vajjha wanted a generalization in terms of finding the centroid). The higher dimensional version by Gray and Miquel linked to below might yield this, but I haven't read their paper yet.

A quick google search yielded the following reference: "Generalizations of the Theorems of Pappus" by A. W. Goodman and Gary Goodman.

They show that the second theorem you stated has a generalization when the circle that the centroid of F travels on is replaced with any sufficiently smooth simple closed space curve whose curvature never vanishes, however, the first theorem does not generalize easily.

I had to share Figure 1 from the paper - you can apparently compute the volume of the solid you get when you transport the "face" $\mathcal{D}$ bounded by $\mathcal{C}_P$ around the embedded trefoil knot curve $\mathcal{C}_S$. [$\mathcal{C}_S$ is not actually knotted, but the authors state that "... the curve $\mathcal{C}_S$ may even have knots in it, as we have tried to indicate in Figure 1".]

Now, for even more generalizations, you can look at the papers on google scholar that cite this:

There's a paper of Alfred Gray and Vicente Miquel that discusses volumes of similar constructions in space forms. Their motivation was to try to better understand Weyl's famous tube formula. M. Carmen Domingo-Juan, Ximo Gual and Vicente Miquel have since written several more papers on the subject.

1

Note: This is a generalization in a different direction from what the question asked for (these references generalize in terms of finding volumes, but Koundinya Vajjha wanted a generalization in terms of finding the centroid). The higher dimensional version by Gray and Miquel linked to below might yield this, but I haven't read their paper yet.

A quick google search yielded the following reference: "Generalizations of the Theorems of Pappus" by A. W. Goodman and Gary Goodman.

They show that the second theorem you stated has a generalization when the circle that the centroid of F travels on is replaced with any sufficiently smooth simple closed space curve whose curvature never vanishes, however, the first theorem does not generalize easily.

I had to share Figure 1 from the paper - you can apparently compute the volume of the solid you get when you transport the "face" $\mathcal{D}$ bounded by $\mathcal{C}_P$ around the embedded trefoil knot $\mathcal{C}_S$.

Now, for even more generalizations, you can look at the papers on google scholar that cite this:

There's a paper of Alfred Gray and Vicente Miquel that discusses volumes of similar constructions in space forms. Their motivation was to try to better understand Weyl's famous tube formula. M. Carmen Domingo-Juan, Ximo Gual and Vicente Miquel have since written several more papers on the subject.