mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 04:08:02 -06:00
Ported a couple more methods to XS
This commit is contained in:
parent
ed75219215
commit
3a9cf91f83
8 changed files with 33 additions and 27 deletions
|
@ -1095,6 +1095,15 @@ DynamicPrintConfig::normalize() {
|
|||
}
|
||||
}
|
||||
|
||||
double
|
||||
PrintConfig::min_object_distance() const
|
||||
{
|
||||
// min object distance is max(duplicate_distance, clearance_radius)
|
||||
return (this->complete_objects.value && this->extruder_clearance_radius.value > this->duplicate_distance.value)
|
||||
? this->extruder_clearance_radius.value
|
||||
: this->duplicate_distance.value;
|
||||
}
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
REGISTER_CLASS(DynamicPrintConfig, "Config");
|
||||
REGISTER_CLASS(PrintObjectConfig, "Config::PrintObject");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue