mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
ENH: optimize speed of gcode export
Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Ic641352623f26c7241ae5720ad1baa202a1b00c7
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user