{ "info": { "author": "Example Author", "author_email": "ishumili@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# triangle-grid-merge\n\n## Why this project is useful\n\n1. It helps to generate finite element triangular grid in tecplot format (.dat).\n\n2. It's easy to read such a grid from tecplot (.dat) file.\n\n3. Works for a multizone grids.\n\n4. Able to merge multizone grids and write them as a single grid.\n\n**The main advantage is that with tgm it's easy to read tecplot (.dat) format with multizone triangular grid inside and\nconnect zones basing on the coordinates of the nodes.**\n\n## Quickstart\n\nTo **create** a grid\n```\nfrom triangular_grid_merge.grid import Grid\n```\nIn order to initialize the grid with elements use:\n```\ngrid.init(4, 5, (0, 60), (0, 100))\n```\nThe code above creates a grid with 4 points by x-axis and 5 point by y-axis.\nThe points are distributed inside the rectangular given by the 2 points - `(x1, x2) (y1, y2)`\n\nThe area is devided according to the number of points by each axis.\n\nTo **print** the grid inside the tgm's grids directory, use\n```\nfrom triangular_grid_merge.tecplot import print_tecplot\nprint_tecplot(grid, 'name.dat')\n```\nIf the grid is multizone you can print it as a single zone giving:\n```\nprint_tecplot(grid, 'name.dat', merge=True)\n```\n![threezones](docs/threezones.png)\n![threezones](docs/singlezone.png)\n\n\nTo **read** a grid. use\n```\nfrom triangular_grid_merge.tecplot import read_tecplot\nread_tecplot(grid, 'name.dat')\n```\n\n## Details\n\nTriangular grid is the one where each face is set by three nodes. \nIt consists of nodes, faces and edges.\n![grid_view](docs/grid_view.png)\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/SergeiShumilin/triangle-grid-merge/archive/v1.0.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SergeiShumilin/triangle-grid-merge", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "triangular-grid-merge", "package_url": "https://pypi.org/project/triangular-grid-merge/", "platform": "", "project_url": "https://pypi.org/project/triangular-grid-merge/", "project_urls": { "Download": "https://github.com/SergeiShumilin/triangle-grid-merge/archive/v1.0.0.tar.gz", "Homepage": "https://github.com/SergeiShumilin/triangle-grid-merge" }, "release_url": "https://pypi.org/project/triangular-grid-merge/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Easy generate, read, merge and print tecplot triangular grids.", "version": "1.0.0" }, "last_serial": 5578088, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ddc80d35da2307298d9ec77c9e7914ee", "sha256": "cd24a0eaa0b74d5a3123acd6ed945d256b792b62d08c35a66af7012ec44e8911" }, "downloads": -1, "filename": "triangular_grid_merge-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ddc80d35da2307298d9ec77c9e7914ee", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21588, "upload_time": "2019-07-24T15:06:49", "url": "https://files.pythonhosted.org/packages/4d/cf/3a96f9515eefc903b7dd0389833d4d3ec78287b3036f4c332ff3302b6030/triangular_grid_merge-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "16600d0351459ea689f4e92a27251bb2", "sha256": "ba21de10f282ef9c83a15d393172bcf28b894a971b89680b46251142dc8dfd18" }, "downloads": -1, "filename": "triangular-grid-merge-1.0.0.tar.gz", "has_sig": false, "md5_digest": "16600d0351459ea689f4e92a27251bb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7599, "upload_time": "2019-07-24T15:06:52", "url": "https://files.pythonhosted.org/packages/01/63/3edc196d91fea644ba5a3ecbc1d244cb655f605c72f61d3de63c864195cc/triangular-grid-merge-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ddc80d35da2307298d9ec77c9e7914ee", "sha256": "cd24a0eaa0b74d5a3123acd6ed945d256b792b62d08c35a66af7012ec44e8911" }, "downloads": -1, "filename": "triangular_grid_merge-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ddc80d35da2307298d9ec77c9e7914ee", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21588, "upload_time": "2019-07-24T15:06:49", "url": "https://files.pythonhosted.org/packages/4d/cf/3a96f9515eefc903b7dd0389833d4d3ec78287b3036f4c332ff3302b6030/triangular_grid_merge-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "16600d0351459ea689f4e92a27251bb2", "sha256": "ba21de10f282ef9c83a15d393172bcf28b894a971b89680b46251142dc8dfd18" }, "downloads": -1, "filename": "triangular-grid-merge-1.0.0.tar.gz", "has_sig": false, "md5_digest": "16600d0351459ea689f4e92a27251bb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7599, "upload_time": "2019-07-24T15:06:52", "url": "https://files.pythonhosted.org/packages/01/63/3edc196d91fea644ba5a3ecbc1d244cb655f605c72f61d3de63c864195cc/triangular-grid-merge-1.0.0.tar.gz" } ] }