{"id":23886427,"url":"https://github.com/nobuyuki83/pydel-msh","last_synced_at":"2025-07-08T18:32:27.471Z","repository":{"id":139062175,"uuid":"555671568","full_name":"nobuyuki83/pydel-msh","owner":"nobuyuki83","description":"Python 🐍 static 2D/3D mesh utility library for computer graphics 📺 research 🧑‍🔬 and prototyping 🪚.","archived":false,"fork":false,"pushed_at":"2024-03-17T01:19:40.000Z","size":187,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T03:43:34.834Z","etag":null,"topics":["graphics-library","mesh-processing"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/nobuyuki83.png","metadata":{"files":{"readme":"README.ipynb","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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-10-22T03:47:00.000Z","updated_at":"2024-06-12T16:44:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c0d66dd-758d-4982-8cae-51744251605a","html_url":"https://github.com/nobuyuki83/pydel-msh","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/nobuyuki83/pydel-msh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nobuyuki83%2Fpydel-msh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nobuyuki83%2Fpydel-msh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nobuyuki83%2Fpydel-msh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nobuyuki83%2Fpydel-msh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nobuyuki83","download_url":"https://codeload.github.com/nobuyuki83/pydel-msh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nobuyuki83%2Fpydel-msh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264324019,"owners_count":23590789,"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","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-library","mesh-processing"],"created_at":"2025-01-04T06:20:12.902Z","updated_at":"2025-07-08T18:32:27.452Z","avatar_url":"https://github.com/nobuyuki83.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"{\n \"cells\": [\n  {\n   \"cell_type\": \"markdown\",\n   \"id\": \"1abdefe3\",\n   \"metadata\": {},\n   \"source\": [\n    \"# del-msh\\n\",\n    \"\\n\",\n    \"Python static 3D mesh utility library for prototyping in computer graphics research.\\n\",\n    \"\\n\",\n    \"\\n\",\n    \"## Install \\n\",\n    \"\\n\",\n    \"```shell\\n\",\n    \"pip install del-msh\\n\",\n    \"```\"\n   ]\n  },\n  {\n   \"cell_type\": \"markdown\",\n   \"id\": \"28f4c8ba\",\n   \"metadata\": {},\n   \"source\": [\n    \"## Generate Primitive Mesh\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 13,\n   \"id\": \"96f0b116\",\n   \"metadata\": {},\n   \"outputs\": [\n    {\n     \"name\": \"stdout\",\n     \"output_type\": \"stream\",\n     \"text\": [\n      \"V is vertex coordinates: type \u003cclass 'numpy.ndarray'\u003e , dtype: \u003c float32 \u003e, shape: (994, 3)\\n\",\n      \"\u003cclass 'numpy.ndarray'\u003e (1984, 3)\\n\"\n     ]\n    }\n   ],\n   \"source\": [\n    \"import del_msh\\n\",\n    \"\\n\",\n    \"# generate primitive mesh\\n\",\n    \"V,F = del_msh.torus_meshtri3(0.6, 0.3, 32, 32) # torus\\n\",\n    \"V,F = del_msh.capsule_meshtri3(0.1, 0.6, 32, 32, 32) # capsule\\n\",\n    \"V,F = del_msh.cylinder_closed_end_meshtri3(0.1, 0.8, 32, 32) # cylinder\\n\",\n    \"V,F = del_msh.sphere_meshtri3(1., 32, 32) # sphere\\n\",\n    \"print(\\\"V is vertex coordinates: type\\\",type(V),\\\", dtype: \u003c\\\",V.dtype,\\\"\u003e, shape:\\\",V.shape)\\n\",\n    \"print(type(F),F.shape)\"\n   ]\n  },\n  {\n   \"cell_type\": \"markdown\",\n   \"id\": \"1f333be2\",\n   \"metadata\": {},\n   \"source\": [\n    \"---\\n\",\n    \"## Importing Wavefront Obj file\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 10,\n   \"id\": \"2f604807\",\n   \"metadata\": {},\n   \"outputs\": [\n    {\n     \"name\": \"stdout\",\n     \"output_type\": \"stream\",\n     \"text\": [\n      \"vtx_xyz \u003cclass 'numpy.ndarray'\u003e (2738, 3)\\n\",\n      \"elem_vtx_index \u003cclass 'numpy.ndarray'\u003e (2777,)\\n\",\n      \"elem_vtx_xyz \u003cclass 'numpy.ndarray'\u003e (10996,)\\n\"\n     ]\n    }\n   ],\n   \"source\": [\n    \"from pathlib import Path\\n\",\n    \"newpath = Path('.') / 'asset' / 'HorseSwap.obj'\\n\",\n    \"\\n\",\n    \"vtx_xyz, elem_vtx_index, elem_vtx_xyz = del_msh.load_wavefront_obj(str(newpath))    \\n\",\n    \"print(\\\"vtx_xyz\\\",type(vtx_xyz),vtx_xyz.shape)\\n\",\n    \"print(\\\"elem_vtx_index\\\",type(elem_vtx_index),elem_vtx_index.shape)\\n\",\n    \"print(\\\"elem_vtx_xyz\\\",type(elem_vtx_xyz),elem_vtx_xyz.shape)\"\n   ]\n  }\n ],\n \"metadata\": {\n  \"kernelspec\": {\n   \"display_name\": \"Python 3 (ipykernel)\",\n   \"language\": \"python\",\n   \"name\": \"python3\"\n  },\n  \"language_info\": {\n   \"codemirror_mode\": {\n    \"name\": \"ipython\",\n    \"version\": 3\n   },\n   \"file_extension\": \".py\",\n   \"mimetype\": \"text/x-python\",\n   \"name\": \"python\",\n   \"nbconvert_exporter\": \"python\",\n   \"pygments_lexer\": \"ipython3\",\n   \"version\": \"3.9.13\"\n  }\n },\n \"nbformat\": 4,\n \"nbformat_minor\": 5\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnobuyuki83%2Fpydel-msh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnobuyuki83%2Fpydel-msh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnobuyuki83%2Fpydel-msh/lists"}