Split Areas(Polygons convex and concave) by lines

Split Areas(Polygons convex and concave) by lines - Momentum curvature by fibers method - 消息

#21 已发布: 2023/5/25 07:07:53
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Wrote

...
I guess we can not use the same matrix of contour point to get the area and de center of mass ... Or am I wrong ?



Hola Manrique. If I'm not wrong, in the Martin's worksheet, the area is A(C) and the center of mass, which he call CG = [S.x(C)/A(C), S.y(C)/A(C)]

Best regards.
Alvaro.
#22 已发布: 2023/5/26 08:37:09
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

You can try to use chunk() from PolyProperties. For a generic oriented line, you have to rotate the polygon using the line orientation, apply the chunk() function about an axis, and rotate back the polygon.

2023-05-26 13_34_42-SMath Solver - [PolyProperties.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • 有新帖
  • 无新帖