mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
Hollowing: randomize hole mesh translations before unification.
To prevent self intersections in the output mesh.
This commit is contained in:
parent
f512892f6b
commit
eb4b24e136
4 changed files with 25 additions and 17 deletions
|
@ -1,6 +1,8 @@
|
|||
#ifndef SLAPRINTSTEPS_HPP
|
||||
#define SLAPRINTSTEPS_HPP
|
||||
|
||||
#include <random>
|
||||
|
||||
#include <libslic3r/SLAPrint.hpp>
|
||||
|
||||
#include <libslic3r/SLA/Hollowing.hpp>
|
||||
|
@ -12,6 +14,7 @@ class SLAPrint::Steps
|
|||
{
|
||||
private:
|
||||
SLAPrint *m_print = nullptr;
|
||||
std::mt19937 m_rng;
|
||||
|
||||
public:
|
||||
// where the per object operations start and end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue