Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heckj/meshgenerator
API to generate 3D surface meshes for Apple platforms
https://github.com/heckj/meshgenerator
3d scenekit swift
Last synced: 4 months ago
JSON representation
API to generate 3D surface meshes for Apple platforms
- Host: GitHub
- URL: https://github.com/heckj/meshgenerator
- Owner: heckj
- License: mit
- Created: 2022-01-29T18:59:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-20T22:44:40.000Z (8 months ago)
- Last Synced: 2024-10-10T19:41:03.120Z (4 months ago)
- Topics: 3d, scenekit, swift
- Language: Swift
- Homepage: https://heckj.github.io/MeshGenerator/documentation/meshgenerator/
- Size: 896 KB
- Stars: 20
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MeshGenerator
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fheckj%2FMeshGenerator%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/heckj/MeshGenerator)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fheckj%2FMeshGenerator%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/heckj/MeshGenerator)
[![codecov](https://codecov.io/gh/heckj/MeshGenerator/branch/main/graph/badge.svg?token=ESYVYJ24U1)](https://codecov.io/gh/heckj/MeshGenerator)API to generate 3D surface meshes for Apple platforms.
- [API documentation](https://heckj.github.io/MeshGenerator/documentation/meshgenerator/)
This is a bare-bones library sufficient to create surfaces meshes, and doesn't include tooling or API to generate geometries.
The library is intended to be the bare components needed for a useful API that can be used to generate geometries.The underlying computations for vectors, normals, etc from this library use [`simd`](https://developer.apple.com/documentation/accelerate/simd) from the [`Accelerate`](https://developer.apple.com/documentation/accelerate) framework, if available.
The code owes inspiration, and considerable debt, to Nick Lockwood, creator of [Euclid](https://swiftpackageindex.com/nicklockwood/Euclid).
Portions of the code are used, under license, from the Euclid project.The library supports only triangles as a base type of polygon for rendering into geometries. If you want to work with quads or higher order polygons, or use constructive solid geometry, please look into [Euclid](https://swiftpackageindex.com/nicklockwood/Euclid), which supports generating geometries from paths and text, constructive solid geometry, as well as geometric primitives.