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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-20T22:44:40.000Z (about 1 year ago)
- Last Synced: 2025-03-13T01:35:18.889Z (4 months ago)
- Topics: 3d, scenekit, swift
- Language: Swift
- Homepage: https://heckj.github.io/MeshGenerator/documentation/meshgenerator/
- Size: 896 KB
- Stars: 23
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MeshGenerator
[](https://swiftpackageindex.com/heckj/MeshGenerator)
[](https://swiftpackageindex.com/heckj/MeshGenerator)
[](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.