NEW:add CutUtils class and its_make_groove_plane for cut tool

Jira:STUDIO-4227
most of code from PrusaSlcer,thanks for PrusaSlcer and YuSanka

commit 1b451cdf9f8859aff58df54fa89d689aa47518d7
Author: YuSanka <yusanka@gmail.com>
Date:   Wed Aug 9 13:22:11 2023 +0200
    CutGizmo: Big code refactoring.
    All manipulations related to cut are extracted to CutUtils now
...

Change-Id: I4e93e19b8e0d46ec2395247796c59587574851cb
This commit is contained in:
Oleksandra Yushchenko
2023-09-18 10:42:53 +08:00
committed by Lane.Wei
parent a92a138918
commit 56ab965af1
8 changed files with 1047 additions and 3 deletions

View File

@@ -318,7 +318,7 @@ public:
const IndicesList& get_volume_idxs() const { return m_list; }
const GLVolume* get_volume(unsigned int volume_idx) const;
const GLVolume* get_first_volume() const { return get_volume(*m_list.begin()); }
const ObjectIdxsToInstanceIdxsMap& get_content() const { return m_cache.content; }
unsigned int volumes_count() const { return (unsigned int)m_list.size(); }