mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
Fixed regression in bridging caused by error in porting. Includes regression test. #3175
This commit is contained in:
parent
e2aae39f15
commit
5ff7511a14
3 changed files with 41 additions and 6 deletions
|
@ -118,6 +118,13 @@ sub mesh {
|
|||
$facets = [
|
||||
[0,1,2],[3,4,5],[2,1,4],[2,4,3],[2,3,5],[2,5,0],[5,4,1],[5,1,0]
|
||||
];
|
||||
} elsif ($name eq 'bridge') {
|
||||
$vertices = [
|
||||
[75,84.5,8],[125,84.5,8],[75,94.5,8],[120,84.5,5],[125,94.5,8],[75,84.5,0],[80,84.5,5],[125,84.5,0],[125,94.5,0],[80,94.5,5],[75,94.5,0],[120,94.5,5],[120,84.5,0],[80,94.5,0],[80,84.5,0],[120,94.5,0]
|
||||
];
|
||||
$facets = [
|
||||
[0,1,2],[1,0,3],[2,1,4],[2,5,0],[0,6,3],[1,3,7],[1,8,4],[4,9,2],[10,5,2],[5,6,0],[6,11,3],[3,12,7],[7,8,1],[4,8,11],[4,11,9],[9,10,2],[10,13,5],[14,6,5],[9,11,6],[11,12,3],[12,8,7],[11,8,15],[13,10,9],[5,13,14],[14,13,6],[6,13,9],[15,12,11],[15,8,12]
|
||||
];
|
||||
} else {
|
||||
return undef;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue