Commit 86c0958
committed
Install igl backend during setup for trimesh booleans
Add an install_igl_backend helper in setup.py that attempts to import igl and, if missing, installs it via pip so that trimesh has a libigl-backed boolean engine available.
Call this helper unconditionally from DownloadAndBuildExt.run, warning but not failing the build if igl installation is not possible, to improve robustness of boolean operations across environments like macOS 3.9.1 parent db6c9fb commit 86c0958
1 file changed
+29
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
405 | 430 | | |
406 | 431 | | |
407 | 432 | | |
| |||
420 | 445 | | |
421 | 446 | | |
422 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
423 | 452 | | |
424 | 453 | | |
425 | 454 | | |
| |||
0 commit comments