mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 05:42:33 +00: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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user