mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
FIX: brim generation error in XY compensation and first layer fixing
now, when XY compensation with negative value is assigned, the brim can be generated correctly (Studio-2222). In addition, one can add brim to a model whose first layer is empty while second layer is not empty (studio-1286). Change-Id: I28443dc6e28bc6fff8c92d3cc35ab7a416d43138 (cherry picked from commit cb62afcfd295ca93962d99350d1dfaf3441c4759)
This commit is contained in:
parent
e994cd02e2
commit
4536ed9ae2
3 changed files with 170 additions and 133 deletions
|
@ -317,7 +317,9 @@ public:
|
|||
// BBS
|
||||
void generate_support_preview();
|
||||
const std::vector<VolumeSlices>& firstLayerObjSlice() const { return firstLayerObjSliceByVolume; }
|
||||
std::vector<VolumeSlices>& firstLayerObjSliceMod() { return firstLayerObjSliceByVolume; }
|
||||
const std::vector<groupedVolumeSlices>& firstLayerObjGroups() const { return firstLayerObjSliceByGroups; }
|
||||
std::vector<groupedVolumeSlices>& firstLayerObjGroupsMod() { return firstLayerObjSliceByGroups; }
|
||||
|
||||
bool has_brim() const {
|
||||
return ((this->config().brim_type != btNoBrim && this->config().brim_width.value > 0.) || this->config().brim_type == btAutoBrim)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue