Commit Graph

584 Commits

Author SHA1 Message Date
Arthur 55a1141e67 FIX: sharp tail detection misses some sharp tails
1. Previously if there are multiple sharp tails in a layer, some will be
 missed. To fix this, we should not skip if the current layer is already
 detected as sharp tails.
2. Do not mistakenly detect sharp horns as sharp tails by only detecting
 the overhang areas larger than half of the extrusion line width.

Github: #1578
Jira: STUDIO-2659
Change-Id: If7ba5c9ae547d3051551aa6fa34eb6214d01a46d
2023-07-07 17:25:51 +08:00
Arthur 3d8383f127 ENH: upgrade some deps libraries
CGAL to 5.4
 TBB to 2021.5
 OpenVDB to 8.2

Change-Id: I08992fce104e6f56001643c3c5dbf6c3f59ffc3d
(cherry picked from commit 1571f176fc37dda1c3e889776e13fa49bba4ae42)
2023-07-07 17:25:51 +08:00
liz.li 01e556a038 NEW:add pause print message
Change-Id: I5b1fe20f0ecbcb9349f630f40048eb3c7eebb577
2023-07-07 17:25:51 +08:00
chunmao.guo c142c8a31e FIX: [STUDIO-1868] not show wrong models with old printer firmware
Change-Id: Ifa08e2e18348827ab3577ae98c0cf553bd4028f0
2023-07-07 17:25:51 +08:00
chunmao.guo 9240b6f7bc FIX: not saving instance when skip model
Change-Id: I07fea76b9579857801ad54dddbda64578b454e95
2023-07-07 17:25:51 +08:00
chunmao.guo 9c01ff269e FIX: not restore old object with components in sub model
Change-Id: I6adb7aa58dae1a2e9e9910cd19757b5e56e8eae8
2023-07-07 17:25:51 +08:00
maosheng.wei 92d764e9ee NEW: [STUDIO-2769] Split developer mode
Divide developer mode into display parameters and other development
options

Change-Id: I8666991f3e5580c1abb46f36567651893e8fba4a
2023-07-07 17:25:51 +08:00
manch1n 35d6b072d3 ENH: merge all error when multi obj have empty layer
Change-Id: Iff091babff67050fe512a3cffe6cb2af0e91efa5

STUDIO-2540
(cherry picked from commit e23781245e3a6ae9bffcff869aa8991eb0298243)

Change-Id: Ia90ffa1244ef8a89c8d3007ca65b68439b09249b
2023-07-07 17:25:51 +08:00
Arthur 81319b6a9e FIX: normal support crashes when only raft enabled
Github: #1786
Change-Id: I349fab71953b6eb77fbb1f70b00f37c1e450a562
(cherry picked from commit e961e05c5cc8644398d5bba7eac8527b34759354)
2023-07-07 17:25:51 +08:00
qing.zhang 7b12dcb6ea NEW: add concentric infill pattern for ironing
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Icd9f9fe0e39d86725faa98dd3eae82a4189130e0
2023-07-07 17:25:51 +08:00
qing.zhang b5c7532700 NEW: only one wall for first layer
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I4ed31db361230b7192c210e506717e16bd28a6f3
2023-07-07 17:25:51 +08:00
qing.zhang 345536e07f ENH: optimize the process of top-one-wall
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ieee51f872bfbe9d0a56f2231b47a0381aa5b5896
2023-07-07 17:25:51 +08:00
Arthur 826f27089e ENH: improve multi-material arranging
Multi-material arranging is more compact by redefining same_color_with_previous_items:
if the colors of previous items are a subset of current object's colors, or vice versa.
Either of the two cases will not increase the total number of colors of the plate.

Jira: STUDIO-2871
Change-Id: I7cbe0835408d306084490b4849d03bb9fb617d2b
(cherry picked from commit d58702e9c0db54bcd123739298ce6dc03f5ca1a5)
2023-07-07 17:25:51 +08:00
manch1n 352f4222b1 ENH: increase conflict threshold to 1mm for both support lines
Little overlap of support lines from two objects are allowed.

Change-Id: I738874ee71fc9787abbef764dbad762c76bc5731
(cherry picked from commit a5f7a53dc818d598523149d675fd0310f5d22f86)
2023-07-07 17:25:51 +08:00
chunmao.guo 8c1dce19d3 FIX: [STUDIO-1868] sdcard model files runnable
Change-Id: I3b644a5bbea5e936903f7308e3bf484e5203f92c
2023-07-07 17:25:51 +08:00
Arthur e7a21ce0e1 FIX: support blockers in tree support not working after mirroring
This is caused by the inverse-order polgyons after mirroring. Adding
a union_ before offset_ex fixes this bug.

Github: #1621
Jira: 2738
Change-Id: I885a3ca6af4e5fadb2158d913cf67525bfffa91e
(cherry picked from commit 4ea95d89e7ec058ac21218e1839cfe16b486893a)
2023-07-07 17:25:51 +08:00
Arthur ef109ca170 FIX: tree support may generate floating circles
Github: #1687
Change-Id: Ib762bd2f43e1a3671404a85e234c51a0f159d919
(cherry picked from commit adf84cb6e618b60eff57c66c9f4d2fc703a87cae)
2023-07-07 17:25:51 +08:00
lane.wei 53dc1694a3 FIX: fix the cached id related issue after 3mf format adjust
Change-Id: Ie3da4a672d166f0cf23efc29faf02de633b3484e
(cherry picked from commit 842fe9310c0cdb18e7a491dae2c8ebc7a5753136)
2023-07-07 17:25:51 +08:00
zhimin.zeng c720e1eb0f ENH: Tolerance of the connectors in mm instead of percents
github issue #1644

Change-Id: I7d7bd02f7b695108abbcbdb0c077d2c1ce911af4
(cherry picked from commit fd89cbdba2bd4a9808d43e8ad2d68b60d076ddb8)
2023-07-07 17:25:51 +08:00
zhou.xu 2b9f3c9912 NEW: add plate name
referenced OrcaSlicer code and support for Chinese textures,chinese xml,limit plate_name length,Code decoupling,wxColour use Local Variables

Change-Id: I6434b90efb2f90235527c7dfb3a7ed516ac2cf4b
(cherry picked from commit 0ecfefb0e1cfccbe73b0fcc530e04e6405ecf68a)
2023-07-07 17:25:51 +08:00
chunmao.guo 21fbe91ca7 ENH: reduce share mesh from 3mf
Change-Id: I7c504c98fdf05c8dbd67e852e100c2cc38190c3b
(cherry picked from commit bab4fc7310e15354e98e650540fb91eefb2f4248)
2023-07-07 17:25:51 +08:00
chunmao.guo 89d58dc030 ENH: save components in 3mf main model
Change-Id: I9cd33d56b21506f955550689a287347bbd43d6df
2023-07-07 17:25:51 +08:00
chunmao.guo 904b122878 ENH: [STUDIO-1868] fetch printer model files and parse
Change-Id: If8da0072be5856cc179da3e62a06982de0ce2ecb
2023-07-07 17:25:51 +08:00
maosheng.wei a73ff69860 FIX: [STUDIO-2790] OBJ file cannot be opened information
Change-Id: I670c9845e5d8e8ff1b02bbef749a321ee6b81627
2023-07-07 17:25:51 +08:00
tao wang a64e0b2f82 NEW:support the display of profile info in the mall model
Change-Id: Idab6bb5a4ef50df665ab7c8e5891efc5a8253eba
2023-07-07 17:25:51 +08:00
lane.wei 8e10423685 FIX: fix the shared mesh not loaded issue
sometimes the root mesh is loaded after the shared mesh
we need to treat the shared mesh loaded at first as the root mesh

Change-Id: Ibc6f6a07c5069f3dc9471a129c2f434b48f486e9
2023-07-07 17:25:51 +08:00
liz.li 5a53f33859 FIX: save and load layer_range to 3mf
Change-Id: Ie18aa8140b5c0fbba87be6ef2f8d0c924fa61791
2023-07-07 17:25:51 +08:00
qing.zhang db282b7515 FIX: STUDIO-2383 slicing error while using compensation
set resolution value to 0 could avoid shape error

1. elephant compensation
2. xy-hole-compensation
3. xy-contour-compensation

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I238b6dd3342e09d33f4d10f7928f5fb48371d2b3
2023-07-07 17:25:51 +08:00
Arthur da7353dd6b FIX: contact_polygons were not accurate and interface missing
In normal support, contact_polygons were slightly larger than allowed region, so sampling to the wrong points, which were then removed when "on buildplate only" was turned on.

Jira: STUDIO-2742
Github: issue 1352
Change-Id: I2f131bac48eb30997f37818f312da3386516a5ea
(cherry picked from commit ed25a89c0e8c5358ea803344fbce482be172d2ee)
2023-07-07 17:25:51 +08:00
zhimin.zeng d5017bd9b0 FIX: rotate model before cut, the rotation of connectors is incorrect
github issue #1646 & #1647

Change-Id: Iab1d6984685a532011f425e704ccae039a6ef65d
2023-07-07 17:25:51 +08:00
Arthur 611b2812d3 FIX: do not redo slicing after changing support params
This reverts part of the commit d4490af, because redo slicing is unacceptable after changing support params.

Known issue:
Bottom surface type depends on support parmas, that's why we add the steps dependency of slicing against support params in commit d4490af.
With this commit, bottom surface type may not be right with the initial params, and the user can't do anything to make it better.

Change-Id: Iff079c4d1205b8a07468be6396990fe87634a3fe
(cherry picked from commit c663a844629c07dd40973832df4e4d1e1827235a)
2023-07-07 17:25:51 +08:00
manch1n dcb1f68b89 FIX: check conflict when only have mutilcolor obj and wipetower
STUDIO-2789

Change-Id: Ic2cdd76416fc979b13f9c2fc9a29a5312b832caa
(cherry picked from commit 47319cafa726983f66577209b2c58fd7ead304ee)
2023-07-07 17:25:51 +08:00
战马 0a9d33157a NEW: [STUDIO-2476] design_staffpick
This reverts commit 4d13a44a2e4136d0c2e173e367e13f6a6ba00670.

Reason for revert: 123

Change-Id: I008a0ab3540589e5938fb3e1814571e00c467227
2023-07-07 17:25:51 +08:00
maosheng.wei ad035fa637 FIX: [STUDIO-2698] Load failed content translation
Jira: STUDIO-2698

Change-Id: Ic59868492eff4f91b765cb0907a94a880dba9c0f
2023-04-24 09:11:01 +08:00
manch1n 87eb0f3665 ENH: show the layer and height of conflict position
Change-Id: If80e81b5556f5afc3228a00edc2593bd8cfe63e4
(cherry picked from commit 895e0f2ecf8e259cfdb7c27081b767bfbaa3ffb6)
2023-04-17 15:39:02 +08:00
lane.wei 98f3aaa4bf ENH: CLI: add the gcode path check logic for cli
Change-Id: I424a93d9ca945598da861a1905da07ae14663157
2023-04-17 15:39:02 +08:00
Arthur 1a7b12fa38 FIX: auto-arranging result may fail clearance check
We add 0.001mm tolerance.

Change-Id: I630cc680db0a3a65a6a44e177de686fbac1e1f15
(cherry picked from commit 170f9c2a89d03060f9a9aa43952c0759ffbe7c1f)
2023-04-17 15:39:02 +08:00
Arthur 719f273fa2 ENH: improve smoothness of tree supports
1. Instead of smoothing top-down, now we smooth tree branches bottom-up, and do not stop at merged nodes.
2. Fix a bug where some nodes don't have child. This is critical for bottom-up smoothing.

Change-Id: Iac0fecd81dac541ca390bcf5cbdfe7fd66cfd3a2
(cherry picked from commit 536a8a4f0ef76fa0358f4b4b181c4c7e7fff8bc7)
2023-04-17 15:39:02 +08:00
manch1n b5b7264e99 ENH: add wipe tower into conflict check
Change-Id: I9684ec17ccbfdea39deae6e5089b74ce3124d57b
(cherry picked from commit f6ee82b4ecf8bf9de91d0043b514cdabb7284b7e)
2023-04-17 15:39:02 +08:00
qing.zhang 60c444f627 FIX: crash while using MontionLine pattern
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I75232db2902a3d255336fecae7e5e628dc5ac3ba
2023-04-17 15:39:02 +08:00
Arthur fbbfb06f6b ENH: make tree support much smoother
We increase the smooth iterations from 1 to 50.

Change-Id: Iba883fd67d7a9a71c92b364dcc9b76e00fc45820
(cherry picked from commit 945fba20a5629148bfd8cee47f492d42c50f9824)
2023-04-17 15:39:02 +08:00
Arthur 1d4a25ed20 FIX: bring back Tree Strong style
Tree Strong is too similar to Tree Slim and people don't like it.

Jira: STUDIO-2660
Github: #1579
Change-Id: I52d7e8e674f0fc332e4ab2813261ffbc4b4cfb7a
(cherry picked from commit 9eb209b4c1737d2f10b9b8bd78c9f876f3d32bce)
2023-04-17 15:39:02 +08:00
manch1n f49c151611 FIX: avoid arrange to nonprefered region
Previously we assume the NFP of exclude regions are rectangle, which was
not always right. Now we calculate the NFP and find a best new position
to shift.

Change-Id: I02c075603cf71dd3c9146d7ac7a6706c0f850669
(cherry picked from commit 713ebd666c90d5dcfaf89914c37d211e9a470e99)
2023-04-17 15:39:02 +08:00
chunmao.guo fd787adf6b FIX: unload default user presets
Change-Id: I55e289708603f06263a64d4cfbfd1db596fdc864
2023-04-17 15:39:02 +08:00
Arthur 87abd65ea4 FIX: do not allow support thresh angle to be 90 degrees
tan(90\degrees) is too large and will make detect_overhangs very slow.

Jira: STUDIO-2620
Change-Id: I55901a6bc1b56216549f66e1a7e77c0da680997b
(cherry picked from commit e58cc8a4665808580e84107f54661447000d64f3)
2023-04-17 15:39:02 +08:00
Stone Li 415fb2989d ENH: modify Support W/G display name
Change-Id: I8fbdea4411073a74df804cbcc466027b1c3e941f
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-04-17 15:39:02 +08:00
zhimin.zeng 2ce436d773 FIX: Cut connector tolerance does not take effect
Change-Id: I1d0cbc8995eef01e5a0134b930024b46eff9bb2e
2023-04-17 15:39:02 +08:00
chunmao.guo a344ebcf81 NEW: Revert "[STUDIO-2476] design_staffpick"
This reverts commit 0063720bbaaa6a680f2d9f395d60cf193d126e11.

Change-Id: Ieb19daf19b38f5e25b78967ee225042988d98c7d
2023-04-17 15:39:02 +08:00
zhimin.zeng de3bb7eb4f FIX: new project use the app_config flush_multiplier
Change-Id: I5b820399a814a043581fcfadb9629cbe15dd1c52
2023-04-17 15:39:02 +08:00
zhimin.zeng 9b6a182e8f FIX: modify the translation.
Change-Id: I94c1dc1a811b063611d43f6bde5e591e381cb4da
2023-04-17 15:39:02 +08:00