{"id":15207018,"url":"https://github.com/flokapi/ecofaber","last_synced_at":"2026-03-10T05:33:26.895Z","repository":{"id":193343202,"uuid":"688654360","full_name":"flokapi/ecofaber","owner":"flokapi","description":"Python framework to perform 3D economic simulations","archived":false,"fork":false,"pushed_at":"2023-09-07T22:25:10.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T17:54:53.021Z","etag":null,"topics":["opengl","python","qt","stl-files"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flokapi.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}},"created_at":"2023-09-07T20:12:06.000Z","updated_at":"2024-01-10T16:09:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a111084-aff1-4a9c-a074-7fbe7ccd4f9e","html_url":"https://github.com/flokapi/ecofaber","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"79480f4cb64913c3240e23919e5b9102364659f9"},"previous_names":["flokapi/ecofaber"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flokapi/ecofaber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flokapi%2Fecofaber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flokapi%2Fecofaber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flokapi%2Fecofaber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flokapi%2Fecofaber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flokapi","download_url":"https://codeload.github.com/flokapi/ecofaber/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flokapi%2Fecofaber/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30326125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["opengl","python","qt","stl-files"],"created_at":"2024-09-28T06:06:00.170Z","updated_at":"2026-03-10T05:33:26.850Z","avatar_url":"https://github.com/flokapi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installation\n\n## Linux\n\n```shell\nsudo apt-get install python3-pyqt5.qtopengl freeglut3-dev\npip3 install ecofaber\n```\n\n## Windows\n\n```shell\npip3 install ecofaber\n```\n\n\n\n\n\n# Example\n\nExample1.py\n\n```python\nimport numpy as np\n\nimport ecofaber\nimport ecofaber.basemodel as bm\n\n\n@bm.register\nclass Model(bm.ModelElement):\n    def __init__(self, data=None):\n        super().__init__(data)\n\n        self.angle = 0\n\n    def update(self):\n        self.angle += 0.1\n\n    def getView(self):\n        view = []\n\n        view.append({\n            \"name\": \"b_cube_1\",\n            \"pos\": [10*np.cos(self.angle),10*np.sin(self.angle),0], \n            \"color\": [200,100,0],\n        })\n\n        view.append({\n            \"name\": \"b_ring_3\",\n            \"pos\": [0,0,0], \n            \"color\": [200,100,0],\n        })\n\n        return view\n\n    def getObj(self, pos):\n        return None\n\n\necofaber.launch(Model)\n```\n\n\n\nExecute the following code \n\n```shell\ngit clone git@github.com:flokapi/ecofaber.git\ncd ecofaber/example\npython3 example1.py\n```\n\n\n\nThis will open the application with the model. You can now start the simulation, control the speed, the view, ...\n\n![example_screenshot](img/example_screenshot.png)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflokapi%2Fecofaber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflokapi%2Fecofaber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflokapi%2Fecofaber/lists"}