Refactor planar cut code so it can be reused by other cut type

This commit is contained in:
Noisyfox
2026-05-10 20:01:50 +08:00
parent 1299fcef4a
commit a0d1ccaf28
2 changed files with 44 additions and 21 deletions

View File

@@ -825,6 +825,7 @@ public:
CutConnectorType connector_type{ CutConnectorType::Plug };
float radius_tolerance{ 0.f };// [0.f : 1.f]
float height_tolerance{ 0.f };// [0.f : 1.f]
ObjectID source_volume; // id of the volume from input model that this one is cut from
CutInfo() = default;
CutInfo(CutConnectorType type, float rad_tolerance, float h_tolerance, bool processed = false) :