{"id":28744896,"url":"https://github.com/jorgepz/cablenets","last_synced_at":"2025-06-16T12:08:22.101Z","repository":{"id":244426396,"uuid":"809157071","full_name":"jorgepz/cablenets","owner":"jorgepz","description":"A Python Module For Structural Cable Nets Analysis","archived":false,"fork":false,"pushed_at":"2025-04-08T14:49:29.000Z","size":257,"stargazers_count":14,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T15:45:19.869Z","etag":null,"topics":["convex-optimization","structural-engineering"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jorgepz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-01T21:29:35.000Z","updated_at":"2025-04-08T14:49:31.000Z","dependencies_parsed_at":"2024-12-09T12:25:18.303Z","dependency_job_id":"368b1435-9a36-4977-9383-77dafb5cb89f","html_url":"https://github.com/jorgepz/cablenets","commit_stats":null,"previous_names":["jorgepz/cablenets"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jorgepz/cablenets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgepz%2Fcablenets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgepz%2Fcablenets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgepz%2Fcablenets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgepz%2Fcablenets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jorgepz","download_url":"https://codeload.github.com/jorgepz/cablenets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgepz%2Fcablenets/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260158332,"owners_count":22967229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["convex-optimization","structural-engineering"],"created_at":"2025-06-16T12:08:21.092Z","updated_at":"2025-06-16T12:08:22.055Z","avatar_url":"https://github.com/jorgepz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cablenets: A Python Module for Structural Cable Nets Analysis\n\n[![codecov](https://codecov.io/gh/jorgepz/cablenets/graph/badge.svg?token=4HE7F6GB1Y)](https://codecov.io/gh/jorgepz/cablenets)\n![License](https://img.shields.io/github/license/jorgepz/cablenets)\n[![Release](https://img.shields.io/github/v/release/jorgepz/cablenets?color=yellow\u0026include_prereleases)](https://github.com/jorgepz/cablenets/releases)\n\n\n_cablenets_ is a tiny python module for solving structural cable nets analysis problems using [Convex Optimization](https://en.wikipedia.org/wiki/Convex_optimization) formulations, in particular [CVXOPT](https://cvxopt.org/) Python library.\n\nThe solver implements optimization formulations presented in [this paper](https://doi.org/10.1016/S0020-7683(03)00215-4) and [this book](https://www.routledge.com/Nonsmooth-Mechanics-and-Convex-Optimization/Kanno/p/book/9781420094237) by Yoshihiro Kanno.\n\n![image saddle net](https://github.com/jorgepz/cablenets/blob/main/docs/assets/saddle_net.png?raw=true)\n\n\n## Installing :crossed_fingers:\n\nYou can install `cablenets` and its dependencies using `pip` with this command:\n```\npip install git+https://github.com/jorgepz/cablenets.git#egg=cablenets\n```\nYou may need to use `pipx` instead of `pip`.\n\n## Using :muscle:\n\nInclude the `import cablenets` in your code. By now the interface consists in two functions: `solve` and `plot`. You are encouraged to explore the examples folder to see how to use `cablenets`.\n\nThe function `solve` receives numpy arrays with: the reference nodes coordinates, a connectivity matrix (see examples), the young moduli, the cross-section areas, a matrix with the imposed-deformed positions of certain nodes and a matrix with the applied forces.\n```python\nnodes_def, normal_forces = solve( nodes, connec, youngs, areas, disp_mat, fext_mat )\n```\nThe output consists in: the matrix of the deformed nodes and a vector with the normal forces of the elements.\n\nThe function `plot` receives the nodes, the connectivity, the deformed positions of the nodes and the normal forces.\n```python\nplot( nodes, connec, nodes_def, normal_forces )\n```\n\n## Connecting :call_me_hand:\n\nEmail: jorgepz _AT_ fing edu uy\n\n## Contributing :handshake:\n\nContributions are welcome. Open an issue and let's discuss there. The [JOSS authorship guidelines](https://joss.readthedocs.io/en/latest/submitting.html#authorship) are considered as a starting point.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorgepz%2Fcablenets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjorgepz%2Fcablenets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorgepz%2Fcablenets/lists"}