{"id":49303989,"url":"https://github.com/divyajeettt/pygeo3d","last_synced_at":"2026-04-26T08:39:53.573Z","repository":{"id":59144530,"uuid":"527686337","full_name":"divyajeettt/pygeo3d","owner":"divyajeettt","description":"A mathematical Python module. Allows you to play with 3D Points, Lines and Planes.","archived":false,"fork":false,"pushed_at":"2022-08-24T18:48:33.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-09T17:55:07.480Z","etag":null,"topics":["3d-geometry","matplotlib","pip","python","visualization"],"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/divyajeettt.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}},"created_at":"2022-08-22T18:28:38.000Z","updated_at":"2023-01-17T19:55:54.000Z","dependencies_parsed_at":"2022-09-13T02:12:56.048Z","dependency_job_id":null,"html_url":"https://github.com/divyajeettt/pygeo3d","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/divyajeettt/pygeo3d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyajeettt%2Fpygeo3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyajeettt%2Fpygeo3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyajeettt%2Fpygeo3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyajeettt%2Fpygeo3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divyajeettt","download_url":"https://codeload.github.com/divyajeettt/pygeo3d/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyajeettt%2Fpygeo3d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32291337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T08:29:33.829Z","status":"ssl_error","status_checked_at":"2026-04-26T08:29:18.366Z","response_time":129,"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":["3d-geometry","matplotlib","pip","python","visualization"],"created_at":"2026-04-26T08:39:52.941Z","updated_at":"2026-04-26T08:39:53.568Z","avatar_url":"https://github.com/divyajeettt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pygeo3d\n\n## About pygeo3d\n\npygeo3d (py-geometry-3d) is a vast mathematical module providing (real) 3-dimensional objects, i.e. Points, Lines and Planes as Python objects through classes.\n\n*Date of creation:* `April 22, 2021` \\\n*Date of first release on [PyPI](https://pypi.org/project/pygeo3d/):* `May 06, 2021`\n\nUsing this module, 3-dimensional geometry can be easily executed in Python. Along with providing calulative tools, it also allows a user to visualize Points, Lines and Planes on a 3D plot, and can be used as a learning tool to enhance a student's 3D visualization capabilities. The module is enriched with help-text and examples.\n\n## Included classes and functions\n\nTo access the help-text of a class to know more about it, run:\n\n```python\nhelp(pygeo3d.classname)\n```\n\n### About the class `Point`\n\n`Point(x, y, z)` represents the position vector of a Point `(x, y, z)` in 3-dimensional Cartesian coordinate space. The difference of two Points gives a Vector, while the addition of a Vector to a Point gives another Point.\n\n### About the class `Line`\n\n`Line(a, b)` represents the vector equation of a Line `r = a + Kb` in 3-dimensional Cartesian coordinate space. A Line can be indexed/sliced by real numbers to get the Point(s) that lie on the line for the given values of parameter k. Membership testing on a Line allowes a user to check if a Point lies on it.\n\n### About the class `Plane`\n\n`Plane(r, n)` represents the vector equation of a Plane `r • n = d` in 3-dimensional Cartesian coordinate space. Membership testing on a Plane allows a user to check if a Point/Line lies on it.\n\nAll classes have various other methods, and even alternate constructors. Users are advised to look at the documentation for more efficient usage.\n\n### Some functions\n\nA variety of functions have been provided inn the module, which include functions to calculate/check:\n- Euclidean distance between Points, Lines, and Planes\n- Angle between Lines and Planes\n- Intersections of Lines and Planes\n- Images and Projections of Points and Lines in/on Lines/Planes\n- If a list of Points are collinear/coplanar\n- If some Lines or Planes are parallel or perpendicular\n\nAnd so on. Users are advised to run the following command in Python to get to know about all the available functions:\n\n```python\ndir(pygeo3d)\n```\n\n## Update History\n\n### Updates (0.0.5)\n\n- Minor bug fixes\n- Alternate constructor `Point.FromSequence(seq)` for `Point` can now accept generators/generator-expressions as argument\n- More colors available for plotting \n\n### Updates (0.0.6)\n\n`Line` objects now support slicing, which returns a `tuple` of `Points` on the Line at the indices given in the slice\n\n### Updates (0.0.7)\n\nMinor bug fixes\n\n### Updates (0.0.8)\n\n- Minor bug fixes: Fixed more issues of floating point precision\n- Removed the function `plot_random_objects()`\n- Better type hinting\n\n## Footnotes\n\nThis project is dependent upon the following of my own modules, available through *PyPI*:\n- [`pyvectors`](https://github.com/divyajeettt/pyvectors)\n- [`linear_equations`](https://github.com/divyajeettt/linear-equations)\n\n## Run\n\nTo use, execute:\n\n```\npip3 install pygeo3d\n```\n\nImport this file in your project, whenever needed, using:\n\n```python\nimport pygeo3d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyajeettt%2Fpygeo3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivyajeettt%2Fpygeo3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyajeettt%2Fpygeo3d/lists"}