Polycalc: Calculate Truss
Polycalc via Parse · developer_tools
Solve a 2D truss using the direct stiffness method. Accepts nodes (with coordinates and support conditions), members (connecting node pairs with material/section properties), and applied nodal loads. Returns member axial forces with tension/compression classification, support reactions, and nodal displacements. Node indices are zero-based. Supports: pin (fixed x,y), roller (free x, fixed y), roller_x (free x, fixed y), roller_y (fixed x, free y), free (no restraint). 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_truss
- Interface artifact
- sha256:07d7abc99e57fee886dd559e511bb8632d33bfd9624d49141f63e3ccb35fc3d7
- Manifest digest
- sha256:52a4a64e1633d3c24301fb09030f7b6cb729c89e6d2ae42fa7afa3b80435d068
Request fields
- loads (string): JSON array of nodal load objects. Each has: node (int index), and optional fx (horizontal force, default 0) and fy (vertical force, default 0). Positive fx = rightward, positive fy = upward. Example: [{"node":2,"fx":0,"fy":-10000}]
- nodes (string, required): JSON array of node objects. Each has: x (number), y (number), and optional support (pin, roller, roller_x, roller_y, or free; default free). Example: [{"x":0,"y":0,"support":"pin"},{"x":4,"y":0,"support":"roller"},{"x":2,"y":3}]
- members (string, required): JSON array of member objects. Each has: start_node (int index), end_node (int index), and optional E (Young's modulus, default 200e9) and A (cross-sectional area, default 0.01). Example: [{"start_node":0,"end_node":1,"E":200e9,"A":0.01}]
Example queries
- {"loads":"[{\"node\":2,\"fx\":0,\"fy\":-10000}]","nodes":"[{\"x\":0,\"y\":0,\"support\":\"pin\"},{\"x\":4,\"y\":0,\"support\":\"roller\"},{\"x\":2,\"y\":3}]","members":"[{\"start_node\":0,\"end_node\":1,\"E\":200e9,\"A\":0.01},{\"start_node\":0,\"end_node\":2,\"E\":200e9,\"A\":0.01},{\"start_node\":1,\"end_node\":2,\"E\":200e9,\"A\":0.01}]"}