Commit Graph

1243 Commits

Author SHA1 Message Date
lane.wei 0cfa60b657 FIX: config: fix a endless loop issue when replace string
jira: STUDIO-7545
Change-Id: I7ea06556142242f44b183599d9d23d063ad509f9
(cherry picked from commit 842e238d6265abb34f33614c255d1292c3345c34)
2024-10-15 15:50:26 +08:00
qing.zhang 47139ad690 ENH: add tpu-ams type
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I98c1c8a1e214b2fcb6b51857e6da3716b7aa04f8
2024-10-15 15:50:26 +08:00
zhou.xu 85aa6fddfc FIX:very small face can't be selected in assembly gizmo
jira: STUDIO-7594
Change-Id: Ibc2f0e80b9d5ef20de6997527b0dde09aee8d32b
2024-10-15 15:50:26 +08:00
qing.zhang 379238772e FIX: crash for ironing spacing out of range
Jira: 7570

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ic2b07f7e1cb2534cbe356a294d450d05f8b31cbe
2024-10-15 15:50:26 +08:00
qing.zhang 4b23b42b22 ENH: ironing inset
Jira: 7391

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I2233b267ad7e3eb22ed9c232a89b7679173c7b34
2024-10-15 15:50:26 +08:00
qing.zhang af7f87c238 ENH: add option to decide if overhang join cooling
Jira: 7414

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I223c8b72d025947652a1f36c31c1a0adc3c9d180
2024-10-15 15:50:26 +08:00
qing.zhang 04beaae9e3 ENH: imprve scarf seam
Jira: none

fix missing wipe while avoid acrossing wall on

set wipe speeed base on previou path
first implement by orca

add slope gap params

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I45655f087f5a165b52b1007ef5afe0b20d0b13a4
2024-10-15 15:50:26 +08:00
zhou.xu c0536c09b4 NEW:add "world coordinates" scale for scale gizmo
upgrade Transformation class
jira:none
about 75% code is from PrusaSlicer,thanks for PrusaSlicer and enricoturri1966
commit b32e9366606dce7d4f8de8db84fd902113bdbe28
Author: enricoturri1966 <enricoturri@seznam.cz>
Date:   Tue Mar 7 14:32:18 2023 +0100

    Rework of constrained scaling

Change-Id: I1248ea586e6b8f2fb6cdf3aa901ed7f525c3f111
(cherry picked from commit e10381aad1412b0c47afa340b634faa3af9d1a1f)
2024-10-15 15:50:26 +08:00
Arthur 319b3e2247 FIX: enforcers may not work with contour expansion
To fix this we have to expand the enforcer areas just like organic support.

jira: STUDIO-7538
Change-Id: I8e4e3fd18b0e77db9beb57347d8da895fc83f4b0
2024-10-15 15:50:26 +08:00
Arthur c262a7ea13 FIX: top z distance inaccurate if it's too large
The top z gap should be split if it's too large.
Also we use same logic for both synced and independent support layer.

jira: STUDIO-7232
github: #4191
Change-Id: Idca792e8fa51a83c2a09441ecac64d40b91d6390
2024-10-15 15:50:26 +08:00
zhou.xu 604437ba19 NEW:split part or objects keep color
jira: STUDIO-7386
Change-Id: Ic2d6ea1139de0dcca0140600fcb97ebea3efbd99
2024-10-15 15:50:26 +08:00
zhou.xu 56f628dac1 NEW:add "set grabber size" imgui
jira: STUDIO-7395
Change-Id: I87aeb683cf29e004d6b285810c5135f2b45ae4b9
2024-10-15 15:50:26 +08:00
zhou.xu 01e2a2032b ENH:import obj by right menu set new assembly pos
jira: STUDIO-7409
Change-Id: I089aea9333cf0f894dbfa67b09fbb8019c6f6023
(cherry picked from commit ab249fa3b4ec9f5e2965c7cffdbbe1f3f2d14332)
2024-10-15 15:50:26 +08:00
zhou.xu 8400e162a7 ENH:add a cross mark for object cs
jira: STUDIO-6947
Change-Id: Iaaab4f072045756ac3ba12c3f65e1c7f04ba65b8
(cherry picked from commit a2a2f49b4d94f257d36c9d17b4ec952e5dc9f0eb)
2024-10-15 15:50:26 +08:00
zhou.xu 2822ac102b FIX:move text should update text info
jira: STUDIO-7038
Change-Id: Ibd760c3655e6ff3f7c0a5604ef66e001f7cdc1fb
(cherry picked from commit aef92cd8eb9bae95939fdc1e8dfadec4ca529a3e)
2024-10-15 15:50:26 +08:00
qing.zhang 61481700a4 FIX: can not set 0 wall on arachne mode
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Iaf84d5bd6cb58dbcdfe30ad81aeda33c19a89421
2024-10-15 15:50:26 +08:00
qing.zhang 3d1f1ef858 FIX: limit the speed of wipetower skirt
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I9d4cbb8e6a83fe654ceb99c27fb2ba294fbe55d1
2024-10-15 15:50:26 +08:00
qing.zhang 9845767295 FIX: wrong wall order
Github: 4139

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ibc2c433b3de5a0c5e7cd2edcd4f9e91956645e88
(cherry picked from commit d4282d26cbbfbbfacf7352c5e45c078eb3ef14f8)
2024-10-15 15:50:26 +08:00
qing.zhang 773e79d9f4 FIX: error toppest layer height on scarf seam
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Iac47613c8e161059c420f04f2c34febfb630cd45
2024-10-15 15:50:26 +08:00
Mack 90f325792d FIX: step model split COMPOUND and COMPOUNSOLID type
JIRA:STUDIO-5632

GITHUB: #3153
Change-Id: I1b9b49321cc0da8bdd79e2beb4009283cfada287
(cherry picked from commit 6191a66441549b1cee8be8d7f740c2d466557691)
2024-10-15 15:50:26 +08:00
xun.zhang 791abec8e1 FIX: wrong bridge area
1.Caused by removing the hole stored in polygon

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I36c776dd6466b09ae8627eea59a93656f14d297d
2024-10-15 15:50:26 +08:00
Arthur 65a87ed03b FIX: bottom surface type was incorrect with soluable support
jira: STUDIO-6200
github: #3507
Change-Id: Ia5aee1a0a9e54674588b949428e993d1c0c5efac
2024-10-15 15:50:26 +08:00
jianjia.ma ee57873081 FIX: crosshatch height shift error since orca commit
jira 6984

Fix the layer shift cauculating error while reducing wrapping after importing the improvement from orca.

Change-Id: I1af1b29a6578836e5715685a4478a5b1d29f4ecf
2024-10-15 15:50:26 +08:00
lane.wei 8c155da07c Revert "ENH: support spiral lift with timelapse gcode"
This reverts commit f701afb34de3487e8d3560dd1e2051a21790e6ae.

found regressions

JIRA: https://www.reddit.com/r/BambuLabA1/comments/1fkuw4v/bambu_studio_v01090750_issues_with_multi_colour/
https://www.reddit.com/r/BambuLab/comments/1fkxabt/bumping_noise_on_a1_at_color_change_since_bambu/
2024-09-20 15:48:34 +08:00
SIMPLE MARK c7cb968e6d ENH:Add filament usage stats to GCode files
1.Add accurate filament usage stats to gcode after processing gcode

github:#3090

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I8eb20c0cf1b9c70f540d4549e2d65b8c79908952
2024-09-18 21:27:27 +08:00
chunmao.guo 06bbd235b8 ENH: auto stop liveview when print idle
Change-Id: I06dcc2a6ae469df8c39c1dc6c8626f66bc778f81
Jira: none
2024-09-18 21:27:27 +08:00
xun.zhang 2e243b3e76 FIX: missing flush for small purge length
1.Caused by round(), if purge volume is small, flush count may be 0 due
to round()

Github:#4738

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I382ab3021761c2fcc84d3537a18bd619637985b8
2024-09-18 21:27:27 +08:00
xun.zhang 43e4569f55 FIX: can't merge paths with different attributes
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0c853de6b1938c7e2addbaab5a45b35daf5a32fa
2024-09-18 21:27:27 +08:00
xun.zhang 95d9d846c6 FIX: remove white space in line end
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I833c2e84ba58919de5eb8f20c7f93919b180dadc
2024-09-10 08:18:43 +08:00
ziehmon ce669e421d ENH: support spiral lift with timelapse gcode
The existing implementation did only read the new Z position from the injected timelapse_gcode and flagged the position as unsafe because of this.

This change reads X, Y and Z pos from the timelapgse_gcode and will keep the position state correct to enable safety checks required for using spiral Z hop.

Because of this, spiral Z hop can be used everyhwere now. The same pattern is also applied for layer_change/toolhead gcode injection.

The set_current_position_clear method is unused but will be kept in implementation for future scenarios.
2024-09-09 19:31:19 +08:00
Bastien Nocera 07fbb1f7f5 Fix missing BOOST_LOG_TRIVIAL declaration
/run/build/BambuStudio/src/libslic3r/Flow.cpp: In static member function ‘static float Slic3r::Flow::rounded_rectangle_extrusion_spacing(float, float)’:
/run/build/BambuStudio/src/libslic3r/Flow.cpp:194:27: error: ‘error’ was not declared in this scope; did you mean ‘nlohmann::detail::cbor_tag_handler_t::error’?
  194 |         BOOST_LOG_TRIVIAL(error)<< __FUNCTION__ << boost::format("negative extrusion : width %1%   height %2%") % width % height;
      |                           ^~~~~
      |                           nlohmann::detail::cbor_tag_handler_t::error
2024-09-06 15:08:20 +08:00
Bastien Nocera 93e2d68412 Fix missing std::thread declaration
/run/build/BambuStudio/src/libslic3r/PerimeterGenerator.cpp: In function ‘double Slic3r::random_value()’:
/run/build/BambuStudio/src/libslic3r/PerimeterGenerator.cpp:31:76: error: ‘thread’ is not a member of ‘std’
   31 |     thread_local std::mt19937 gen(rd.entropy() > 0 ? rd() : std::hash<std:🧵:id>()(std::this_thread::get_id()));
      |                                                                            ^~~~~~
/run/build/BambuStudio/src/libslic3r/PerimeterGenerator.cpp:15:1: note: ‘std::thread’ is defined in header ‘<thread>’; did you forget to ‘#include <thread>’?
   14 | #include "libslic3r/AABBTreeLines.hpp"
  +++ |+#include <thread>
   15 | static const int overhang_sampling_number = 6;
2024-09-06 15:08:20 +08:00
qing.zhang 819de9ccad FIX: SSDA cause arachne print fail
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ibf75f66db1edaad7cb1b45f999751143442869fc
2024-08-28 21:38:54 +08:00
qing.zhang 85ba19f4f9 FIX: not set too short line speed and not apply error wall
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I7b92833d789731b1f30d1ec82f8e7e74036f6bd7
2024-08-26 17:23:33 +08:00
tao wang a3a8db76e3 ENH:Update some translations
Change-Id: Ia320aa8dc1a13ffa95010a05afb0b7c45075b47e
2024-08-26 17:23:33 +08:00
qing.zhang 1f37581b28 FIX: exit will apply speed params
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0222356a93097ed0e4e2abbcbc2458617609e666
2024-08-26 17:23:33 +08:00
qing.zhang 0efa2db823 ENH: imprve overhang quality
Jira: none

add speed transition between discontinuity speed
detect bridge-wall and only use bride speed on bridge wall
fix the bug that not use overhang speed while support z
distance is 0 on arachne mode

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I72a1504544fe1ed7bd184ca073bd1b52cd2dcd75
2024-08-26 17:23:33 +08:00
xun.zhang 18eeba6e7a FIX: negative width in spacing function
JIRA:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ie84ff1b6ca3faac733c004def484401872c707ff
(cherry picked from commit b1bd0738f78c4e253fd34d39fa32e0dcf959f418)
2024-08-26 17:23:33 +08:00
SeaRyanC 70a0f0a447 ENH: C++11 random number generator for fuzzy skin
Github: 4253

Change-Id: Ib58022485c131b6c28f4bd1e78a3bf6e1188cf23
(cherry picked from commit 6dd9ceb6065aa6eb664acf7ba3d1510f31407258)
2024-08-26 17:23:33 +08:00
Arthur 4bebe9eb6a ENH: remove tree_support_brim_width
This option is duplicated with raft_first_layer_expansion. Now we
use raft_first_layer_expansion for all support types. Note: the name starts with raft, but it actually controls first layer expansion of both raft and support.

jira: none
Change-Id: I3d2bfc86d36c87d75f0bc1d077c6855f668b19b6
(cherry picked from commit 241a77bd6371330aff58b92b63d066054d4920ce)
2024-08-26 17:23:33 +08:00
Arthur da7f1439ce FIX: missing support layers at raft gap
jira: none
Change-Id: I9a7f34c148ee0e228cf2e8e18c85136253f354ad
(cherry picked from commit 615751538a65cdaeb8e398dcc941971c98ec11b8)
2024-08-26 17:23:33 +08:00
Arthur 6a130a19ef FIX: do not break bridges in tree support
jira: STUDIO-7424
github: #4318
Change-Id: Icccf56b129c4910f3b0a49d69871b8df1375a6d9
(cherry picked from commit 99211cde5f2114fd64e2724069540577793f889a)
2024-08-26 17:23:33 +08:00
Arthur d2daa4bd16 FIX: do not use organic tree with height ranger modifier
jira: STUDIO-7351
github: #4313
Change-Id: I5a99f88883ec68ab424613fd8b5fdd0d09ef829b
(cherry picked from commit 0b0c3fcd5bec5ee7f4519d936b31f3fb2926919c)
2024-08-26 17:23:33 +08:00
lane.wei bc04672f50 ENH: 3mf: don't add object unprintable into skip list
JIRA: no-jira
Change-Id: I1f7f55265ed9aedde3cf626d088477a89a67a208
(cherry picked from commit 2b121b468cb8c1abecf4d2ebf2a80ff34260647f)
(cherry picked from commit 9635928d255b4dded919006f26123c56bdd79d3b)
2024-08-26 17:23:33 +08:00
lane.wei ba99ca275a ENH: 3mf: limit the identify_id's hight bits to 0
JIRA: no jira
Change-Id: Id57be2e53c411a1397e26dda3cb3b31721cb0df2
(cherry picked from commit e5341c39f2cfe8a4aabd366f4a55115a42b9cc2c)
2024-08-26 17:23:33 +08:00
lane.wei fa2caa8bc8 ENH: config: add version different check logic
jira: STUDIO-7361
Change-Id: I0541d2cdd3bcef059f50ad3accf92bf4bdeaa670
2024-08-26 17:23:33 +08:00
zhou.xu b97d44dae4 NEW:active "import obj color" in command line
jira: none
Change-Id: I8bc5d4a1eea116305037b8194ff1d2e8aab83ce9
(cherry picked from commit 7df9f9d27d174b30a54ed27756d4a4a157557019)
2024-08-26 17:23:33 +08:00
BBL\chuan.he f9bc421651 feat:add more slice time details to json file
Change-Id: I6c29658a051144dda772b42603db6585ea58816b
jira: none
(cherry picked from commit d1e4b98db6ed0f8e1e29d7e8bdcdda96948d10dd)
(cherry picked from commit 76e3e210e0d22592172e236609f83fcbebea65ea)
2024-08-26 17:23:33 +08:00
BBL\chuan.he 55ccb97719 feat:change cli slicer time from second to millisecond
Change-Id: Ieed001d73859878e0723c4d0114ae792ea9b739a
jira:none
(cherry picked from commit bc2db297fb4e27a881e998fd0831b32ffe73b85c)
(cherry picked from commit 907c24c94c02fd7fde070a6abec691d6c861fd39)
2024-08-26 17:23:33 +08:00
Alok Meshram e170819ea2 Put -std=gnu++17 under gcc version >=14.1 to avoid compile-time error from earlier implementation of __int28 2024-07-13 12:11:23 +08:00