Commit graph

1677 commits

Author SHA1 Message Date
Dima Buzdyk
983f1a827e
pa calib: print flow value and acceleration (#7178)
* pa calib: print flow value and acceleration

Print flow value and acceleration for PA pattern calibration.
This should help keep track during adaptive PA calibration.

* pa pattern: fix legent section too wide in some cases

Rework pa pattern legent generation to correctly estimate
width of the legend section.

Current flow value now has variable length which is a longest of
PA value and the acceleration for a given test.

Few examples:
1. PA value are 4 characters:        0.04
   Acceleratioion 3 chars:           400
   Flow value will be 4 chars long:  7.98, or 11.3

2. PA:      0.018
   Accel:   1000
   Flow:    12.35, or 6.345

3. PA:      0.04
   Accel:   15000
   Flow:    34.34, or 4.567

Rework number-to-string conversion flow to correctly round values at
given precision.
2024-10-24 23:41:51 +08:00
Noisyfox
6169b4fa2a Fix issue when the extruder do not have any adjustable extrusion 2024-10-24 21:27:46 +08:00
Noisyfox
4bb6525c4f Fix issue that total_time is not updated after slowing down 2024-10-24 21:27:03 +08:00
Noisyfox
dc943eddaf Exclude movements before first extrusion from layer time calculation when dealing with layer cooling (SoftFever/OrcaSlicer#7171)
If layer starts with a color change, the full layer time will be much longer, which will trick the slicer to think this layer has enough cooling time.
However the actual filament extrusion time (the real "printing" part) won't necessarily have enough time to cool down, so if we don't do extra slowing down
before starting next layer, the filament could still be soft and lead to worse surface quality.
2024-10-24 17:24:09 +08:00
Ioannis Giannakas
c0ce64ce55
Bug fix: Inner Outer Inner wall ordering mode failed to reorder in certain edge cases with arachne (#7134)
* Bug fix: Inner Outer Inner failed to reorder in certain edge cases

* Fixing IOI proximity search spacing calculations
2024-10-22 23:02:44 +08:00
SoftFever
5cf16b9b5d
Add Creality Print support (#6928)
# Description

Added support for Creality Print (E.g. Orca can upload and print
directly to Ender 3 V3 KE)

# Screenshots/Recordings/Graphs

Video: https://www.youtube.com/watch?v=ONzaMJhj_Hk

## Tests

Tested in the video above on a Macbook Pro, Ender 3 V3 KE.
It should also be tested on Windows but I don't have a windows computer.
2024-10-21 23:36:09 +08:00
SoftFever
338f89a15b
Merge branch 'main' into dev/bbs-support 2024-10-07 16:44:01 +08:00
SoftFever
89d04ab9e9
General improvments to RatRig V-Core 4 & V-Core 4 HYBRID (#5966)
Resolves #5932

**The following changes made are made to all V-Core 4 versions** 

- Improved cover's quality 

![after](ecc22214-4e5e-4286-9baf-ce67e67912c7)
- Added RatRig's PunkFil ABS, PETG, and PETG CF filaments
- Added PETG-CF10 filament type & RatRig to filament vendors
- Increased max z speed to 200 from 50 and max acceleration travel to
10,000 from 9,000
- Enabled wipe and z hop, as well as, increased retract before wipe to
70% from 0%
- Improved layer change G-Code
- Fixed pause G-Code
- Added extruder clearance parameters 

*Almost all of these changes come from @nameisCruzCruz in #5932
2024-10-07 16:43:42 +08:00
SoftFever
17c0abbe32
Export negative parts (#7024)
Porting from Prusa exporting negative parts.

Before:

![image](https://github.com/user-attachments/assets/a5e041ce-7f0f-44e5-95ea-0a8b11252cc4)

After:

![image](https://github.com/user-attachments/assets/f0a6f6bb-13c7-4a6e-afb3-7631e2f4f634)
2024-10-07 16:42:12 +08:00
SoftFever
4a1d382964
Allow reverse on odd without detect overhang wall (#6922)
Fixes #6920
2024-10-07 15:59:19 +08:00
SoftFever
0bf2b9dcff respect "Enable Filament ramming" option 2024-10-07 14:34:08 +08:00
SoftFever
cc90d79190 Add back m_nominal_z to store main print_z as GcodeWriter::m_pos will be changed after parsing get_last_z_from_gcode 2024-10-06 23:39:22 +08:00
SoftFever
7736cd1b39 fixed #6755 2024-10-06 20:36:00 +08:00
SoftFever
608e6375e6 Fix wrong z when zhop is diabled. 2024-10-06 19:16:15 +08:00
SoftFever
6f3c701a32 wip 2024-10-06 10:49:58 +08:00
vovodroid
9d37d1a084 Export negative parts. 2024-10-05 21:53:16 +03:00
SoftFever
2663b60281
Merge branch 'main' into feature/add-creality-print-support 2024-10-03 23:37:38 +08:00
cochcoder
cfceb873c2
Merge branch 'main' into rat-rig-covers 2024-10-01 21:44:20 +00:00
SoftFever
a5d2fa1aed Fix an issue that wrong z value was used if a new layer is started with wipe tower extrusions. 2024-10-01 23:28:24 +08:00
Ioannis Giannakas
5bb42bc0d5
Fix wipe tower issues with SEMM and ramming turned off (#6934)
* Fix wipe tower issues with SEMM and ramming turned off

* Purge tower last layer collision potential fix (for SEMM)

* Revert "Purge tower last layer collision potential fix (for SEMM)"

This reverts commit 9fc465c2d9.
2024-10-01 22:54:14 +08:00
Noisyfox
cedb939f4e Fix compile error 2024-09-30 14:31:22 +08:00
Noisyfox
ebed03ea92 Fix compile warning 2024-09-30 14:18:30 +08:00
Noisyfox
ff265745c6 Update PrintObject::_generate_support_material() to match BBS 2024-09-30 14:12:30 +08:00
Noisyfox
97d1745e5a Update files related to support to match BambuStudio's project structure 2024-09-30 14:12:29 +08:00
cochcoder
23d597a302 Add PETG-CF10 filament type & RatRig filament vendor 2024-09-27 12:25:12 -04:00
Rob Duplock
735d179f1a Add support for creality print 2024-09-27 17:11:40 +10:00
Noisyfox
8709f22597 Allow reverse on odd without detect overhang wall (SoftFever/OrcaSlicer#6920) 2024-09-27 09:24:21 +08:00
GarlicDebug
fff4da56bd
Fixed Make Overhangs Printable and Multicolor Printing conflict (#6896)
Co-authored-by: Jasper <idc@gmail.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-09-25 19:52:38 +08:00
SoftFever
65fc14209d
Fix a bug that wipe tower has missing extrusions when ramming is disabled (#6894)
* Fix a bug that wipe tower has missing extrusions when ramming is disabled.

* hide "Prime all printing extruders" for SEMM printers
2024-09-25 19:34:18 +08:00
SoftFever
473c7fb3ef
Fix a bed type regression (#6893) 2024-09-24 19:42:47 +08:00
Robert Schiele
711ec0506b
Fix building errors when precompiled header support is disabled (#6879)
Here are more missing header files recently identified by building
without precompiled header support.
2024-09-23 19:26:18 +08:00
Vovodroid
69f521fdcf
Arachne "one top wall" fix and refactor (#6236)
* One top wall fixes

* Use one wall threshold set in GUI without limiting

* Updates to one wall top perimeter to address splitting top surface against too small segments and lettering overlap.

* Fix precise wall

* Merge branch 'main' into one-top-wall-fix-pr

* Merge branch 'main' into one-top-wall-fix-pr
2024-09-23 19:14:04 +08:00
Noisyfox
9d3d242453
Improve fuzzy skin with modifier (#6759)
* Pass all compatible regions to perimeter generator

* Simplify & unify fuzzify detection

* Simplify `to_thick_polyline`

* Group regions by fuzzy skin settings

* Initial code structure of multi-regional fuzzy skin

* Determine fuzzy type by all compatible regions

* Add fuzzy region debug

* Implement the line split algorithm

* Do splitted fuzzy in classic mode

* Disable debug macros

* Fix infinit loop issue when segment points are out of order

* Fix path connection

* Implement splitted fuzzy in Arachne mode
2024-09-23 00:41:17 +08:00
SoftFever
3d3633f110 update locales 2024-09-23 00:37:29 +08:00
SoftFever
96effc179b
support downloading from makerworld on Mac by default. (#6867)
handle bambustudioopen on Mac by default
2024-09-22 16:49:14 +08:00
SoftFever
99d4d0957a
Add support for textured cool plate (#6860)
support textured cool plate
2024-09-22 16:48:49 +08:00
Tom
24ae14f1d8
Revert "Tsmith35 per BS PR4631 (#6709)" (#6845)
* Revert "Tsmith35 per BS PR4631 (#6709)"

This reverts commit c8216accfd.
2024-09-20 21:55:20 +08:00
Noisyfox
47965b02d3
Fix small top/bottom solid infill filtering (#6794)
* Fix issue that small sparse gaps are not filtered out correctly

* Fix code order
2024-09-19 00:02:16 +08:00
SoftFever
74bb4eb284 locale tweak 2024-09-18 23:58:59 +08:00
Noisyfox
ad6ea3fb06
Fix crash when first layer is empty (#6817)
* Fix crash when first layer is empty (SoftFever/OrcaSlicer#6807)
2024-09-18 22:34:36 +08:00
Noisyfox
375816d331
Fix fuzzy skin randomness for Arachne wall generator (#6770)
* Fix fuzzy skin randomness for Arachne wall generator (SoftFever/OrcaSlicer#6228)
2024-09-15 23:27:54 +08:00
Tom
c8216accfd
Tsmith35 per BS PR4631 (#6709)
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.

Co-authored-by: Simon ziehmon@users.noreply.github.com
2024-09-14 23:52:04 +08:00
SoftFever
fe051522d9 update locale 2024-09-11 23:00:01 +08:00
Noisyfox
92b933f274
Fix issue that "total filament used [g]" is missing from gcode (#6728)
* Fix issue that "total filament used [g]" is missing from gcode
2024-09-11 22:17:32 +08:00
Noisyfox
d87734ebfa
Fix various issues with fuzzy skin (#6716)
* Fix issue that `fuzzy_skin_first_layer` not respected by classic wall generator

* Fix issue that Contour / Contour and hole mode not working properly (SoftFever/OrcaSlicer#6414)

* We have `is_contour`, so need for complicated hole detection
2024-09-10 23:28:39 +08:00
Ioannis Giannakas
3927f5adf8
Filter out micro segments generated during the overhang slowdown process (#6714) 2024-09-10 22:54:35 +08:00
Vovodroid
09ffca1243
Correct odd layer GUI description (#5793) 2024-09-09 22:45:58 +08:00
SoftFever
7364b38592
updates for PR #6638 - typos and grammar (#6673)
Including a marathon of resolving merge conflicts due to PRs today.
We should abolish multi-line msgids :-)


# Description
This looks like a huge PR, but it is only fixes for typos and grammar.
On the previous PR #6638 I mistakenly used _en.po as the reference
instead of the .pot.
It caused missed strings in the source and other .po files.
This around I triple checked again to make sure the msgids are in sync
with the L"" strings in the code.

Comments, variable names and non-English translation strings were
excluded.

I learnt that typos were "fixed" before by using translations. After
this PR, those translations are no longer relevant and can be cleaned
up.
Hopefully this sets a new baseline which will last us a while. :-)

<!--
> Please provide a summary of the changes made in this PR. Include
details such as:
  > * What issue does this PR address or fix?
  > * What new features or enhancements does this PR introduce?
> * Are there any breaking changes or dependencies that need to be
considered?
-->

# Screenshots/Recordings/Graphs

<!--
> Please attach relevant screenshots to showcase the UI changes.
> Please attach images that can help explain the changes.
-->

## Tests
The code compiled and ran successfully.
The translation files were verified with ./run_gettext.sh

I did not se any issues when running ./run_gettext.sh --full
Please confirm it again, before the merge.

<!--
> Please describe the tests that you have conducted to verify the
changes made in this PR.
-->
2024-09-08 22:11:20 +08:00
SoftFever
36550f1fc5 deprecate overhang_speed_classic option and enable slowdown_for_curled_perimeters by default 2024-09-08 22:05:13 +08:00
Henri van der Riet
05010b79db merge conflict 2024-09-08 14:26:26 +02:00