Skip to content

Commit d8e385b

Browse files
committed
🙂 Add more bindings.
1 parent 0e2620c commit d8e385b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1857
-238
lines changed

.gitattributes

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@
66
*.cpp text
77
*.c text
88
*.h text
9-
109
*.sh text eol=lf
11-
1210
# Declare files that will always have CRLF line endings on checkout.
1311
*.sln text eol=crlf
14-
1512
# Denote all files that are truly binary and should not be modified.
1613
*.png binary
1714
*.jpg binary
15+
16+
# LFS
17+
*.stl filter=lfs diff=lfs merge=lfs -text
18+
*.ply filter=lfs diff=lfs merge=lfs -text
19+
*.obj filter=lfs diff=lfs merge=lfs -text
20+
*.wasm filter=lfs diff=lfs merge=lfs -text

.mailmap

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1 @@
1-
Alexandr Burakov <[email protected]> Alexandr Burakov <[email protected]>
2-
Alexandr Burakov <[email protected]> Aleksandr Burakov <[email protected]>
3-
Alexandr Burakov <[email protected]> A.Burakov <[email protected]>
4-
Alexandr Burakov <[email protected]> Aleksandr Burakov <[email protected]>
5-
Alexandr Burakov <[email protected]> ABSitf <[email protected]>
6-
Alexandr Burakov <[email protected]> A.Burakov <[email protected]>
7-
Alex Koksin <[email protected]> Alexey Koksin <[email protected]>
8-
Alex Koksin <[email protected]> Alex koksin <[email protected]>
9-
Alex Koksin <[email protected]> ADALISK\akoksin <[email protected]>
10-
Alex Koksin <[email protected]> ASTROCOMP\astro <[email protected]>
11-
Alex Koksin <[email protected]> theastrowander <[email protected]>
12-
Alex Koksin <[email protected]> Alex Koksin <[email protected]>
13-
Alex Koksin <[email protected]> Alexey Koksin <[email protected]>
14-
Anton Chernobrovkin <[email protected]> AntonChernobrovkin <[email protected]>
15-
Anton Chernobrovkin <[email protected]> Chernobrovkin-AD <[email protected]>
16-
Anton Chernobrovkin <[email protected]> Chernobrovkin-AD <[email protected]>
17-
Anton Chernobrovkin <[email protected]> AntonChernobrovkin <[email protected]>
18-
Artur Sharafutdinov <[email protected]> Artur Sharafutdinov <[email protected]>
19-
Bot <[email protected]> dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
20-
Daniil Antipov <[email protected]> Daniil <[email protected]>
21-
Daniil Antipov <[email protected]> ADniill <[email protected]>
22-
Egor Mikhaylov <[email protected]> Egor Mikhaylov <[email protected]>
23-
Egor Mikhaylov <[email protected]> Egor Mikhailov <[email protected]>
24-
Emil Peters <[email protected]> dwight <Emil Peters>
25-
Fedor Chelnokov <[email protected]> Fedor Chelnokov <[email protected]>
26-
Fedor Chelnokov <[email protected]> Fedr <[email protected]>
27-
Grant Karapetyan <[email protected]> Grant Karapetyan <[email protected]>
28-
Grant Karapetyan <[email protected]> grantim <[email protected]>
29-
Grant Karapetyan <[email protected]> grantim <[email protected]>
30-
Maxim Rayskiy <[email protected]> Maxim Rayskiy <[email protected]>
31-
Maxim Rayskiy <[email protected]> MaxRayskiy <[email protected]>
32-
Maxim Rayskiy <[email protected]> MaxRayskiy <[email protected]>
33-
Maxim Rayskiy <[email protected]> max.rayskiy <[email protected]>
34-
35-
36-
Maxim Rayskiy <[email protected]> MaxRayskiy <[email protected]>
37-
Maxim Rayskiy <[email protected]> meshinspector-bot <[email protected]>
38-
Rodion Orlov <[email protected]> Rodion Orlov <[email protected]>
39-
Rodion Orlov <[email protected]> Rodion Orlov <[email protected]>
1+
alpinebuster <[email protected]>

.vscode/launch.json

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,31 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"configurations": []
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run server.py",
6+
"type": "debugpy",
7+
"request": "launch",
8+
"program": "${workspaceFolder}/build/Debug/bin/server.py",
9+
"console": "integratedTerminal",
10+
"cwd": "${workspaceFolder}/build/Debug/bin"
11+
},
12+
{
13+
"name": "Launch Chrome + WASM",
14+
"type": "chrome",
15+
"request": "launch",
16+
// Keep the port and path the same as in server.py
17+
"url": "http://localhost:9310/index_mrjs.html",
18+
"webRoot": "${workspaceFolder}/build/Debug/bin",
19+
"sourceMaps": true
20+
}
21+
],
22+
"compounds": [
23+
{
24+
"name": "Server + Chrome Debug",
25+
"configurations": [
26+
"Run server.py",
27+
"Launch Chrome + WASM"
28+
]
29+
}
30+
]
731
}

.vscode/tasks.json

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Build 3rdparty (32‑bit, multithread)",
6+
"type": "shell",
7+
"options": {
8+
"env": {
9+
"MR_EMSCRIPTEN": "ON",
10+
}
11+
},
12+
"command": "./scripts/build_thirdparty.sh",
13+
"problemMatcher": []
14+
},
15+
{
16+
"label": "Build 3rdparty (32‑bit, single‑thread)",
17+
"type": "shell",
18+
"options": {
19+
"env": {
20+
"MR_EMSCRIPTEN": "ON",
21+
"MR_EMSCRIPTEN_SINGLE": "ON",
22+
}
23+
},
24+
"command": "./scripts/build_thirdparty.sh",
25+
"problemMatcher": []
26+
},
27+
{
28+
"label": "Build 3rdparty (64‑bit, multithread)",
29+
"type": "shell",
30+
"options": {
31+
"env": {
32+
"MR_EMSCRIPTEN": "ON",
33+
"MR_EMSCRIPTEN_SINGLE": "OFF",
34+
"MR_EMSCRIPTEN_WASM64": "ON"
35+
}
36+
},
37+
"command": "./scripts/build_thirdparty.sh",
38+
"problemMatcher": []
39+
},
40+
{
41+
"label": "Build Source (32‑bit, multithread)",
42+
"type": "shell",
43+
"options": {
44+
"env": {
45+
"MR_EMSCRIPTEN": "ON",
46+
"MESHLIB_BUILD_RELEASE": "ON",
47+
"MESHLIB_BUILD_DEBUG": "OFF",
48+
"MR_EMSCRIPTEN_SDK": "ON",
49+
}
50+
},
51+
"command": "./scripts/build_source.sh",
52+
"problemMatcher": []
53+
},
54+
{
55+
"label": "Build Source (32‑bit, single‑thread)",
56+
"type": "shell",
57+
"options": {
58+
"env": {
59+
"MR_EMSCRIPTEN": "ON",
60+
"MR_EMSCRIPTEN_SDK": "ON",
61+
"MESHLIB_BUILD_RELEASE": "ON",
62+
"MESHLIB_BUILD_DEBUG": "OFF",
63+
"MR_EMSCRIPTEN_SINGLE": "ON",
64+
}
65+
},
66+
"command": "./scripts/build_source.sh",
67+
"problemMatcher": []
68+
},
69+
{
70+
"label": "Build Source (64‑bit, multithread)",
71+
"type": "shell",
72+
"options": {
73+
"env": {
74+
"MR_EMSCRIPTEN": "ON",
75+
"MR_EMSCRIPTEN_SDK": "ON",
76+
"MESHLIB_BUILD_RELEASE": "ON",
77+
"MESHLIB_BUILD_DEBUG": "OFF",
78+
"MR_EMSCRIPTEN_SINGLE": "OFF",
79+
"MR_EMSCRIPTEN_WASM64": "ON"
80+
}
81+
},
82+
"command": "./scripts/build_source.sh",
83+
"problemMatcher": []
84+
},
85+
{
86+
"label": "Build Debuggable Source (32‑bit, multithread)",
87+
"type": "shell",
88+
"group": {
89+
"kind": "build",
90+
"isDefault": true
91+
},
92+
"options": {
93+
"env": {
94+
"MR_EMSCRIPTEN": "ON",
95+
"MR_EMSCRIPTEN_SDK": "ON",
96+
"MESHLIB_BUILD_RELEASE": "OFF",
97+
"MESHLIB_BUILD_DEBUG": "ON",
98+
}
99+
},
100+
"command": "./scripts/build_source.sh",
101+
"problemMatcher": []
102+
},
103+
{
104+
"label": "Build Debuggable Source (32‑bit, single‑thread)",
105+
"type": "shell",
106+
"options": {
107+
"env": {
108+
"MR_EMSCRIPTEN": "ON",
109+
"MR_EMSCRIPTEN_SDK": "ON",
110+
"MESHLIB_BUILD_RELEASE": "OFF",
111+
"MESHLIB_BUILD_DEBUG": "ON",
112+
"MR_EMSCRIPTEN_SINGLE": "ON",
113+
}
114+
},
115+
"command": "./scripts/build_source.sh",
116+
"problemMatcher": []
117+
},
118+
{
119+
"label": "Build Debuggable Source (64‑bit, multithread)",
120+
"type": "shell",
121+
"options": {
122+
"env": {
123+
"MR_EMSCRIPTEN": "ON",
124+
"MR_EMSCRIPTEN_SDK": "ON",
125+
"MESHLIB_BUILD_RELEASE": "OFF",
126+
"MESHLIB_BUILD_DEBUG": "ON",
127+
"MR_EMSCRIPTEN_SINGLE": "OFF",
128+
"MR_EMSCRIPTEN_WASM64": "ON"
129+
}
130+
},
131+
"command": "./scripts/build_source.sh",
132+
"problemMatcher": []
133+
},
134+
]
135+
}

README.md

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,18 @@
1-
[![build-test-distribute](https://github.com/MeshInspector/MeshLib/actions/workflows/build-test-distribute.yml/badge.svg?branch=master)](https://github.com/MeshInspector/MeshLib/actions/workflows/build-test-distribute.yml?branch=master)
1+
[![build-test-distribute](https://github.com/alpinebuster/meshsdk/actions/workflows/build-test-distribute.yml/badge.svg?branch=main)](https://github.com/alpinebuster/meshsdk/actions/workflows/build-test-distribute.yml?branch=main)
22

3-
[![PyPI version](https://badge.fury.io/py/meshlib.svg)](https://badge.fury.io/py/meshlib)
4-
[![Downloads](https://pepy.tech/badge/meshlib/month?style=flat-square)](https://pepy.tech/project/meshlib)
5-
[![Python](https://img.shields.io/pypi/pyversions/meshlib.svg?style=flat)](https://badge.fury.io/py/meshlib)
3+
# MeshSDK with Cross Platform Bindings for MeshLib
64

7-
<p align="left">
8-
<picture>
9-
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/37d3a562-581d-421b-8209-ef6b224e96a8">
10-
<source media="(prefers-color-scheme: light)" srcset="https://github.com/user-attachments/assets/caf6bdd1-b2f1-4d6d-9e22-c213db6fc9cf">
11-
<img alt="Shows a black logo in light color mode and a white one in dark color mode." src="https://github.com/user-attachments/assets/caf6bdd1-b2f1-4d6d-9e22-c213db6fc9cf" width="60%">
12-
</picture>
13-
</p>
5+
The MeshSDK is an open-source library that provides advanced algorithms for 3D data processing. It assists developers and engineers in achieving precise results while delivering significant resource savings. Whether you are working on 3D printing, scanning, inspection, automation, robotics, scientific visualization, or medical devices, our 3D data processing library is ideally suited to meet your needs thanks to its potent capabilities and broad applicability. The SDK provides a robust foundation for 3D data processing, supporting all essential formats like point clouds, meshes, and volumes continuously generated by modern sensors. Our powerful half-edge data structure ensures manifold compliance for precise, reliable mesh representation. Plus, our repository includes clear code samples to help you get started quickly and explore advanced features with ease.
146

15-
16-
# MeshLib SDK with Cross Platform Bindings
17-
18-
The MeshLib SDK is an open-source library that provides advanced algorithms for 3D data processing. It assists developers and engineers in achieving precise results while delivering significant resource savings. Whether you are working on 3D printing, scanning, inspection, automation, robotics, scientific visualization, or medical devices, our 3D data processing library is ideally suited to meet your needs thanks to its potent capabilities and broad applicability. The SDK provides a robust foundation for 3D data processing, supporting all essential formats like point clouds, meshes, and volumes continuously generated by modern sensors. Our powerful half-edge data structure ensures manifold compliance for precise, reliable mesh representation. Plus, our repository includes clear code samples to help you get started quickly and explore advanced features with ease.
19-
20-
## Why Choose MeshLib
7+
## Why Choose MeshSDK
218

229
**Fully Open Source.** You can also fork the code for your own unique use cases.
2310

2411
**Multi-Language Support.** Written in C++ with bindings for C, C#, and Python, our library integrates easily into AI pipelines and workflows.
2512

2613
**High Performance.** Internal benchmarks show up to 10x faster execution compared to alternative SDKs — especially in mesh boolean operations and simplification. [See performance data](https://meshlib.io/blog/).
2714

28-
**GPU-Accelerated Architecture.** Built with speed and scalability in mind, MeshLib supports GPU acceleration and CUDA for high-performance computing.
15+
**GPU-Accelerated Architecture.** Built with speed and scalability in mind, MeshSDK supports GPU acceleration and CUDA for high-performance computing.
2916

3017
**Cross-Platform Ready.** The SDK runs on Windows, macOS, Linux, and WebAssembly, offering flexibility for any development environment.
3118

@@ -135,9 +122,9 @@ git submodule update --init
135122
git submodule update --init --recursive
136123
```
137124
2. \b (Optional) **Speed Up with AWS CLI**
138-
- Optionally, [install AWS CLI v2](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) to speed up the process before using the MeshLib Installation Script. Restart your terminal after installation.
139-
3. **Install MeshLib Third-Party Dependencies**
140-
- Execute the following commands to run the MeshLib third-party installation script:
125+
- Optionally, [install AWS CLI v2](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) to speed up the process before using the Installation Script. Restart your terminal after installation.
126+
3. **Install Third-Party Dependencies**
127+
- Execute the following commands to run the third-party installation script:
141128
```cmd
142129
cd vcpkg
143130
..\meshlib\thirdparty\install.bat

examples/_assets/bite0.ply

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:dc37af59c7ae6cbbb074f859b0df52aae33ddd479897027531257aca7df7cbb1
3+
size 935528

examples/_assets/bite0.stl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:6627101d225fb158287e7a601107fc50cde334b37a260b07ba02a42004069d96
3+
size 2240734

examples/_assets/bite1.ply

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:196ca1483f9240066809b9918251bc60a1a26b7cc3eea51d492322953119fb46
3+
size 867242

examples/_assets/bite1.stl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:0b079202dc4ad603a0944b162e28ad6eb531f3a98ea25efaf6d15298ee45f08f
3+
size 2075134

examples/_assets/lower.ply

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:803f21859f06c614fd3c4195055f48b4657e7832231c27ffb3358239958ddbc5
3+
size 6181656

0 commit comments

Comments
 (0)