mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 11:47:54 -06:00
ENH: optimize speed of gcode export
Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Ic641352623f26c7241ae5720ad1baa202a1b00c7
This commit is contained in:
parent
3448b7a053
commit
8669291aad
3 changed files with 30 additions and 1 deletions
|
@ -76,6 +76,8 @@ static constexpr double BRIDGE_INFILL_MARGIN = 1;
|
|||
//inline coord_t scale_(coordf_t v) { return coord_t(floor(v / SCALING_FACTOR + 0.5f)); }
|
||||
#define scale_(val) ((val) / SCALING_FACTOR)
|
||||
#define unscale_(val) ((val) * SCALING_FACTOR)
|
||||
//BBS
|
||||
static constexpr double SIMPLIFY_SLICES_RESOLUTION = 0.1;
|
||||
|
||||
//BBS: BBS only support relative E and can't been changed by user at the moment. because
|
||||
//BBS need to support skip object when printing.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue