Polycalc: Calculate Centroid
Polycalc via Parse · developer_tools
Calculate the centroid location, net area, and moments of inertia (Ix, Iy) for a composite cross-section. Accepts an array of primitive shapes (rectangle, circle, triangle) with their dimensions and centroid positions. Shapes may be marked as holes (subtracted from the section). Moments of inertia are computed about the composite centroid using the parallel axis theorem. Structural engineering calculators replicating polycalc.online: beam analysis (reactions, shear, moment diagrams), Mohr's circle stress transformation, and composite section centroid computation. Fulfilled by Parse from polycalc.online.
- developer-tools
- education
- other
- parse
- platform-key
- polycalc
- polycalc-online
Price and execution
- Price
- $0.02 USD credits / call
- Trust tier
- Verified
- Execution
- Managed call
- Capability group
- developer_tools
Interface snapshot
- Protocol
- HTTP operation
- Operation
- GET /scraper/26bfbf68-b7da-4862-94d6-f29915aeadc4/calculate_centroid
- Interface artifact
- sha256:a15f204f0c1514a965be3aebbbd797b6d3553c018a5273efbd3d9a3c8b437965
- Manifest digest
- sha256:27e13c8ae9c0b39c2a4955081ad64df99484c880725c5a6c92d9f4e287b78e95
Request fields
- shapes (string, required): JSON array of shape objects. Each shape has: type (rectangle, circle, or triangle), dimensions (width/height for rectangle, radius for circle, base/height for triangle), center_x and center_y (centroid position), and optional hole (boolean, true to subtract). Example: [{"type":"rectangle","width":12,"height":8,"center_x":6,"center_y":4}]
Example queries
- {"shapes":"[{\"type\":\"rectangle\",\"width\":12,\"height\":8,\"center_x\":6,\"center_y\":4}]"}