{"id":18730241,"url":"https://github.com/peter17/crystalpy","last_synced_at":"2025-09-04T04:43:35.290Z","repository":{"id":2226422,"uuid":"3178114","full_name":"peter17/crystalpy","owner":"peter17","description":"Script for generating crystal meshes.","archived":false,"fork":false,"pushed_at":"2012-11-07T10:18:50.000Z","size":704,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T21:44:42.988Z","etag":null,"topics":[],"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/peter17.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2012-01-14T13:58:33.000Z","updated_at":"2019-01-27T21:28:34.000Z","dependencies_parsed_at":"2022-09-16T07:51:49.451Z","dependency_job_id":null,"html_url":"https://github.com/peter17/crystalpy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peter17/crystalpy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter17%2Fcrystalpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter17%2Fcrystalpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter17%2Fcrystalpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter17%2Fcrystalpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter17","download_url":"https://codeload.github.com/peter17/crystalpy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter17%2Fcrystalpy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273554031,"owners_count":25126279,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"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":[],"created_at":"2024-11-07T14:38:57.462Z","updated_at":"2025-09-04T04:43:35.265Z","avatar_url":"https://github.com/peter17.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Presentation\n============\n\nCrystalpy is a Python program which can generate several kinds of periodic crystal mesh geometries for Gmsh:\n\n* 2D or 3D\n* rectangular or triangular (hexagonal) crystals\n\nIt can also:\n\n* generate 2D SVG representations of those geometries\n* define physical points in the meshes\n\nSeveral types of inclusions can be defined:\n\n* filled or not with a material\n* circular, elliptic or rectangular\n* inside or outside the host material\n\nCrystalpy supports unit tests with nosetests.\n\nUsage\n=====\n\n* Define the geometry of your crystal in mesh.py\n* Run `python mesh.py`\n\nVersions\n========\n\n* v. 1:   Can generate periodic 2D meshes, with multiple inclusion types\n* v. 1.1: Add support for SVG output and triangular crystals\n* v. 2:   Add support for 3D structures\n* v. 2.1: Add support for elliptic inclusions\n* v. 2.2: Add support for rectangular inclusions\n* v. 2.3: Add support for plots\n* v. 2.4: Add unit tests; fix periodicity conditions\n* v. 2.5: Add support for physical points; fix 2D crystal generation\n* v. 2.6: Add support for physical lines; fix 2D image generation\n* v. 2.7: Add usage explanations; fix crystal position\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter17%2Fcrystalpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter17%2Fcrystalpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter17%2Fcrystalpy/lists"}