mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH: disable arranging selected items
0. disable arranging selected 1. fix bug where brim is not correct. 2. fix bug where big circle objects are not arranged properly 3. disable default enable_rotation Change-Id: Ifc69f35d900ff63ec1e9ec8bf8638afc6ea7d54b (cherry picked from commit 2ed1b0dd8573a1e10aaf77f0d9f8896cef304427)
This commit is contained in:
parent
74e92ac51d
commit
07ae246e5f
9 changed files with 77 additions and 31 deletions
|
@ -297,6 +297,12 @@ public:
|
|||
const Model* get_model() const { return m_model; }
|
||||
// BBS: production extension
|
||||
int get_backup_id() const;
|
||||
template<typename T> const T* get_config_value(const DynamicPrintConfig& global_config, const std::string& config_option) {
|
||||
if (config.has(config_option))
|
||||
return static_cast<const T*>(config.option(config_option));
|
||||
else
|
||||
return global_config.option<T>(config_option);
|
||||
}
|
||||
|
||||
ModelVolume* add_volume(const TriangleMesh &mesh);
|
||||
ModelVolume* add_volume(TriangleMesh &&mesh, ModelVolumeType type = ModelVolumeType::MODEL_PART);
|
||||
|
@ -1083,6 +1089,7 @@ public:
|
|||
|
||||
//BBS
|
||||
double get_auto_brim_width(double deltaT, double adhension) const;
|
||||
double get_auto_brim_width() const;
|
||||
// BBS
|
||||
Polygon convex_hull_2d();
|
||||
void invalidate_convex_hull_2d();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue