{"id":18695968,"url":"https://github.com/gridap/stlcutters.jl","last_synced_at":"2026-04-10T06:01:50.432Z","repository":{"id":40668181,"uuid":"402797993","full_name":"gridap/STLCutters.jl","owner":"gridap","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-01T19:32:14.000Z","size":122209,"stargazers_count":13,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-20T22:37:32.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","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/gridap.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.bib","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-03T14:30:00.000Z","updated_at":"2024-08-01T15:03:22.000Z","dependencies_parsed_at":"2024-06-04T15:53:26.345Z","dependency_job_id":"fd84b34c-2857-4d0c-aaf2-49422b507108","html_url":"https://github.com/gridap/STLCutters.jl","commit_stats":{"total_commits":618,"total_committers":6,"mean_commits":103.0,"dds":"0.11003236245954695","last_synced_commit":"ad13d873cf3c01feebe90ca68fd955ec5b24b258"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridap%2FSTLCutters.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridap%2FSTLCutters.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridap%2FSTLCutters.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridap%2FSTLCutters.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gridap","download_url":"https://codeload.github.com/gridap/STLCutters.jl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239558910,"owners_count":19658927,"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":[],"created_at":"2024-11-07T11:16:45.232Z","updated_at":"2025-11-08T14:30:29.366Z","avatar_url":"https://github.com/gridap.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STLCutters\n\nSTL to cell-wise triangulation to solve FE problems in [Gridap.jl](https://github.com/gridap/Gridap.jl) through [GridapEmbedded.jl](https://github.com/gridap/GridapEmbedded.jl)\n\n[![docdev](https://img.shields.io/badge/docs-dev-blue.svg)](https://gridap.github.io/STLCutters.jl/dev) \n[![DOI](https://img.shields.io/badge/DOI-10.1016%2Fj.jcp.2022.111162-blue)](https://doi.org/10.1016/j.jcp.2022.111162)\n[![CI](https://github.com/gridap/STLCutters.jl/workflows/CI/badge.svg)](https://github.com/gridap/STLCutters.jl/actions?query=workflow%3ACI)\n[![codecov](https://codecov.io/gh/gridap/STLCutters.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/gridap/STLCutters.jl)\n\n\n## Installation\n\n```julia\n# Type ] to enter package mode\npkg\u003e add STLCutters\n```\n\n## Examples\n\n### Sub-triangulation examples\n\nUse a test geometry, e.g., `47076.stl` (Chichen Itza)\n```julia\njulia\u003e include(\"examples/SubTriangulation.jl\")\njulia\u003e filename = \"test/data/47076.stl\"\njulia\u003e SubTriangulation.main(filename,n=50,output=\"example1\")\n```\n![Example 1](examples/example1.png)\n\nDownload a geometry directly from [Thingi10k](https://ten-thousand-models.appspot.com/), e.g, [37384](https://ten-thousand-models.appspot.com/detail.html?file_id=37384). Please check whether the geometry is *solid* and *manifold* in Thingi10k metadata.\n```julia\njulia\u003e include(\"examples/SubTriangulation.jl\")\njulia\u003e filename = SubTriangulation.download(37384)\njulia\u003e SubTriangulation.main(filename,n=50,output=\"example2\")\n```\n![Example 2](examples/example2.png)\n\n### Finite Elements examples\n\nSolve a **Poisson** equation on a test geometry, e.g., `293137.stl` (Low-Poly Bunny)\n ```julia\njulia\u003e include(\"examples/Poisson.jl\")\njulia\u003e filename = \"test/data/293137.stl\"\njulia\u003e Poisson.main(filename,n=20,output=\"example3\")\n```\n\n![Example 3](examples/example3.png)\n\nSolve a **Linear Elasticity** problem on a test geometry, e.g., `550964.stl` (Eiffel Tower in a 5 degree slope)\n ```julia\njulia\u003e include(\"examples/LinearElasticity.jl\")\njulia\u003e filename = \"test/data/550964.stl\"\njulia\u003e LinearElasticity.main(filename,n=50,force=(tand(5),0,-1),output=\"example4\")\n```\n\n![Example 4](examples/example4.png)\n\nSolve an **Incompressible Flow** problem on a test geometry, e.g., `47076.stl` (Chichen Itza)\n ```julia\njulia\u003e # ENV[\"ENABLE_MKL\"] = \"\" ## Uncomment if GridapPardiso.jl requirements are fulfilled\njulia\u003e include(\"examples/Stokes.jl\")\njulia\u003e filename = \"test/data/47076.stl\"\njulia\u003e Stokes.main(filename,n=10,output=\"example5\")\n```\n\n![Example 5](examples/example5.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgridap%2Fstlcutters.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgridap%2Fstlcutters.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgridap%2Fstlcutters.jl/lists"}