{"id":19045180,"url":"https://github.com/thearnavrustagi/trussanalyser","last_synced_at":"2026-04-19T03:04:42.955Z","repository":{"id":152770408,"uuid":"598997644","full_name":"thearnavrustagi/TrussAnalyser","owner":"thearnavrustagi","description":"Truss analysis","archived":false,"fork":false,"pushed_at":"2023-02-18T04:01:28.000Z","size":3131,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T17:46:00.007Z","etag":null,"topics":["graphics","interpreter","physics","pygame","python","python3","sprites","structures","truss"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thearnavrustagi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2023-02-08T08:33:57.000Z","updated_at":"2024-03-02T09:08:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"b26b3c1b-20a3-48d7-bad1-0f616316134e","html_url":"https://github.com/thearnavrustagi/TrussAnalyser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thearnavrustagi/TrussAnalyser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thearnavrustagi%2FTrussAnalyser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thearnavrustagi%2FTrussAnalyser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thearnavrustagi%2FTrussAnalyser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thearnavrustagi%2FTrussAnalyser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thearnavrustagi","download_url":"https://codeload.github.com/thearnavrustagi/TrussAnalyser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thearnavrustagi%2FTrussAnalyser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31992822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["graphics","interpreter","physics","pygame","python","python3","sprites","structures","truss"],"created_at":"2024-11-08T22:49:17.771Z","updated_at":"2026-04-19T03:04:42.947Z","avatar_url":"https://github.com/thearnavrustagi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TrussAnalyser\n\n## A program which helps you analyse the distribution of forces given a Truss\n\n### Step 1: Programming the truss\n\nYou can use a simple language to write the truss and put it in a `*.truss` file, the truss is defined by the points and the beams connecting it, the languages goes as follows\n```\n# defining the points for the given truss\nA (7,8)\nB (9,6)\nC (5,4)\n\n# joining the points with beams\nA-B\nB-C\nC-A\n\n# Now we put the reactions in at the pin and roller joints\nRY1 A (0,1)\nRX1 A (1,0)\nRY2 B (0,1)\n\n# Now for an external force which represents all the forces which behave as loads\n~ F1 A (0,1)\n~ F2 B (1/sqrt(2),1/sqrt(2))\n```\n\nYou can see if your truss is rendered right by the following command\n```bash\n$ python3 main.py -p name.truss\n```\n\n### Step 2: Analysing the truss\nYou can use the following command to see the forces in every beam of the truss\n```bash\n$ python3 main.py -v main.truss\n```\n\nexecuting without the `-v` will show you the truss, and rods which are compressed and tense, usually, `green` is tense and `red` is compressed\n\u003cbr\u003e\u003cbr\u003e\n\n![alt text](verification/6.1.17.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthearnavrustagi%2Ftrussanalyser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthearnavrustagi%2Ftrussanalyser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthearnavrustagi%2Ftrussanalyser/lists"}