mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-31 20:51:12 -06:00
Use poly2tri for triangulation. This fixes some cases where polyPartition couldn't triangulate successfully. Reported as issue #9 in polyPartition repository. Tested with MotorHalter_0.stl cut at 1.2
This commit is contained in:
parent
60f640f100
commit
edeb0a90dd
19 changed files with 2830 additions and 6 deletions
|
|
@ -115,7 +115,7 @@ my $cube = {
|
|||
my $upper = Slic3r::TriangleMesh->new;
|
||||
my $lower = Slic3r::TriangleMesh->new;
|
||||
$m->cut(10, $upper, $lower);
|
||||
$upper->repair; $lower->repair;
|
||||
#$upper->repair; $lower->repair;
|
||||
# we expect:
|
||||
# 2 facets on external horizontal surfaces
|
||||
# 3 facets on each side = 12 facets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue