Commit Graph

23029 Commits

Author SHA1 Message Date
SoftFever
158c75811a fix PR build on lInux 2024-01-25 21:09:55 +08:00
Erkan Ozgur Yilmaz
d6b0e85577 Fix #3311: filament Load / Unload time was not used in time estimation (#3706)
* Fix for #3311:

The `config.filament_load_time.values` and `config.filament_unload_time.values` are completely ignored. This was working in PrusaSlicer and apparently BBS converted the `GCodeProcessor::TimeProcessor.filament_load_times` and `GCodeProcessor::TimeProcessor.filament_unload_times` from being `std::vector<float>` to just `float` and they were using the BBS specific and currently hidden `machine_load_filament_time` and `machine_unload_filament_time` config values. Reverted that change by copying those lines from PrusaSlicer.

* Fix for #3311:

Updated the previously fixed to code to keep compatibility with BBS printer .

* Fix for #3311:

Updated `GCodeProcessor::get_filament_unload_time()` to keep compatibility with BBS printers.
2024-01-25 10:42:27 +00:00
SoftFever
425bab5efc Fix build errors on main branch caused by version string 2024-01-25 13:02:29 +08:00
foghatredbird
055190f70a Modifiers should load at object offset like in Prusaslicer (#3802)
* fix precedence errors

Fix a handful of precedence errors and 1 logic/precedence error.  None of the code will compile as intended without these changes.

* Update GUI_ObjectList.cpp

Modifiers should load at same offset as object they are created against.  Based on prusaslicer ObjectList::load_from_files where it works correctly.

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-24 15:50:42 +00:00
Noisyfox
b694fd76de QoL: Port profile value transfer on profile diff dialog from PrusaSlicer (#3737)
* DiffDialog: Implemented a transfer of options from one preset to another
Related to [Feature Request] #5384 - Copy values in Profile comparaison dialog

Cherry-picked from prusa3d/PrusaSlicer@0b8d7380ff

Co-authored-by: YuSanka <yusanka@gmail.com>

* Remove save button

* Sync with latest PS

* Use Orca button style

* Show tips about trasnfer disabled

---------

Co-authored-by: YuSanka <yusanka@gmail.com>
2024-01-24 15:18:52 +00:00
Thomas
838be07765 Creality K1 Profiles improvements (and K1C addition) (#3728)
* Added K1C and fixed some settings (took from config files instead of Creality Print)

* Files renaming

* New PLA-CF, prettify json for K1C, naming uniformisation, ...

* Port Special PLA profiles to K1/K1 Max

* Changed slow down layer time and slow down min speed in order to improve overall speed on details.

* Raised PLA bed temp to 55°C

* Optimisations for ABS, ASA and added Generic PC profile.

* Added PA-CF and fixed PC profiles.

* Added new filaments to default materials
2024-01-24 14:19:36 +00:00
SoftFever
8880bf6ea4 Port EditGCodeDialog from PrusaSlicer (#3417)
This is a port of the EditGCodeDialog from PrusaSlicer 2.7.x. There were
a few changes made to make it a bit more functional. Also, it isn't
quite fully complete, but it should be in a very usable state.

General Changes:
- Implement UndoValueUIManager and EditValueUI in Field
- Implement EditGCodeDialog and add buttons to the tabs
- Other minor changes to accommodate the new classes

Differences from PrusaSlicer's Implementation:
- backported to wxWidgets 3.1.5 (reverse commit 8770c4b7 after updating
to 3.2.x)
- icons have been updated to use Orca colors
- improve the report that tells you if certain placeholders have not
been defined properly for the dialog. It now shows all issues at once
rather than having to fix then recompile to see the next issue.
- allow the use of the cmake option `ORCA_CHECK_GCODE_PLACEHOLDERS` to
toggle the above report since our workflow rarely uses debug mode.
- if a custom gcode value is not set when checking gcode placeholders, a
testing value is set. Custom gcode is not parsed if it is empty, and the
only way to check if the placeholders are all defined is by running the
placeholder operation on the custom gcode.
- some calls to `print.config()` in Gcode.cpp were changed to `m_config`
to support the above testing values feature (only m_config is modified
with the placeholders and `print.config()` would return an empty string)
- a macro has been added to quickly add a definition to
SlicingStatesConfigDefs with less boiler plate (it could technically be
used for any ConfigOptionDef, but that would hurt interoperability with
PS. I tried to not use the macro for too many PS defined definitions.)
- the presets are now also categorized by the page they are on in their
tab
<table>
<tr>
 <td>Prusa
 <td>Orca
<tr>
 <td>
<img
src="https://github.com/SoftFever/OrcaSlicer/assets/24759591/27cb4f48-d225-4563-9aeb-b2b461f8bff5"
/>
 <td>
<img
src="https://github.com/SoftFever/OrcaSlicer/assets/24759591/4fcd8cde-2427-4d1a-a0ed-1738b570b919"
/>
</table>

TODO:
- [x] Make sure all linux fixes have been applied
- [x] Finish adding "universal" gcode options
- [x] add search function to dataview (maybe?)
- [x] determine if any options are being left out of the preset
categories by getting options from Tab rather than Presets. If so,
consider adding outside of the groupings
2024-01-24 19:56:18 +08:00
Ocraftyone
9d60c18181 Debug Improvments on Windows (#3275)
* fix assert statements

* Add ORCA_INCLUDE_DEBUG_INFO to deps cmake

adds option ORCA_INCLUDE_DEBUG_INFO to deps build script to allow an alternative for RelWithDebInfo that works on windows

* add build type option to windows script

* update .gitignore to include build*
2024-01-24 11:48:14 +00:00
Ryan Whipple
4ca6ca6339 corrected printable_area (#3527)
* corrected printable_area

* adjusted to keep origin at 0x0
2024-01-24 11:36:17 +00:00
SoftFever
42bc9387bf nightly release (#3792)
* nightly release
2024-01-24 11:31:18 +00:00
duub qnnp
ee8b4b1aca Update Spanish translation (#3793)
* Update Spanish translation

* Update Spanish translation
2024-01-23 23:32:45 +08:00
Giveen
bcd87a1a4d Create SECURITY.md (#3696) 2024-01-23 11:20:08 +00:00
Ioannis Giannakas
fc84c06634 Fix duplicate entry of Only Lift Z above and below in the extruder tab (#3788) 2024-01-22 13:03:20 +00:00
Morton Jonuschat
6b82db4288 [BUGFIX] Prevent crash in small area infill comp with gcode comments (#3786)
Enabling the option "Verbose G-Code" would trigger a crash in the Small Area Infill flow compensation due to concurrent access/modification of the gcode comment.
2024-01-22 13:01:18 +00:00
Ocraftyone
927cf05f54 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-21 14:12:39 -05:00
Ocraftyone
9ac8fe3311 Revert to BBL get_line function 2024-01-21 14:11:06 -05:00
Thomas
7843d0dbfb Fixes for French translations (#3773)
* Fixes for French

* Added missing translations
2024-01-21 22:39:24 +08:00
Noisyfox
c16af77301 Retain mirror state when scaling using text input (#3643) (#3719) 2024-01-21 22:38:04 +08:00
Heiko Liebscher
a5330b7e6e fix DE localization after feature updates (#3746) 2024-01-21 22:17:51 +08:00
Noisyfox
1b046ef2ac QoL: Some UI improvements to Cut Gizmo (#3752)
* Cut: Add color legend for upper & lower part

* Cut: Make grabber larger
2024-01-21 22:15:03 +08:00
Noisyfox
e7c1638866 Add project info editor (#3754)
* Add button to add model info

* Initial impl of project info editor

* Add sidebar item to edit project info

* Add license selector

* Fix use of deprecated apis

* Fix license combox dark mode

* Add back button on project info editor screen

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-21 22:13:37 +08:00
Ocraftyone
44c49c8eb3 Re-enable printing by object gcode (#3691)
Re-enable printing by object gcide
2024-01-21 21:06:23 +08:00
Noisyfox
441a6dcf3e Add plate name edit btn (#3756) 2024-01-21 21:00:18 +08:00
Noisyfox
d661ebcbdb Allow specifying print order within each layer (#3685)
* Allow reordering objects regardless of print seq

* Add option to control the layer print order

* Sort object by their order in object list instead of id

* Show print order when print order is the same as the object list

* Ensure the print order when print order is same as object list

* Update option name

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-21 20:11:09 +08:00
Dylan
93bccf498c Don't check the temperature of multi filament for multi toolhead printers (#3649)
do not check the temperature of multi filaments for multi toolhead printers
2024-01-21 12:34:00 +08:00
Morton Jonuschat
b954747801 [FEATURE] Experimental small area flow compensation (#3334)
* [FEATURE] Experimental small area flow compensation

This is a native implementation of the [Small Area Flow Compensation](https://github.com/Alexander-T-Moss/Small-Area-Flow-Comp)
post-processor by Alexander Þór for OrcaSlicer.

Quite often small areas of solid infill appear to be over-extruded, despite
the rest of a print looking like it has a well-dialled-in EM/Flow. Currently,
there isn't a good understanding of why this happens, so this is an attempt
at a brute-force approach to treat the symptom.

This feature modifies the flow of extrusion lines inversely proportional to
the length of the extrusion line (the shorter the extrusion, the less flow
it should have).

Alexander Þór: Author of the original script implementation
Weaslus: Proof Reader, Hypeman & pestered folks into making this

* [TASK] Whitespace cleanup

* [TASK] Add credits, format code, improve input labels

* [TASK] Use multi-line textbox as input for flow model

* [TASK] Toggle flow compensation per object

* [TASK] Enable flow compensation for first layer

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-21 12:07:52 +08:00
Ocraftyone
a761701829 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-20 19:43:17 -05:00
Ocraftyone
585a04a7d5 Fix linux crashing when opening EditGcodeDialog 2024-01-21 00:40:52 +00:00
Olcay ÖREN
540f1cf9e4 Update OrcaSlicer_tr.po - TURKISH translation update (#3732)
* Update OrcaSlicer_tr.po - TURKISH translation update

* Update OrcaSlicer_tr.po - TURKISH translation update

* elegoo_neptune4pro_buildplate_texture.png updated

* Update OrcaSlicer_tr.po - TURKISH translation update

* Update OrcaSlicer_tr.po - TURKISH translation update

* Update OrcaSlicer_tr.po - TURKISH translation update

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-19 16:10:14 +00:00
Eldenroot
a1409ee037 Fixes #3721 - Typo in lang files (#3722)
* Update OrcaSlicer.pot

* Update CreatePresetsDialog.cpp

* Update OrcaSlicer_hu.po

* Update OrcaSlicer_nl.po

* Update OrcaSlicer_ja.po

* Update OrcaSlicer_sv.po

* Update OrcaSlicer_en.po
2024-01-19 16:09:24 +00:00
Seth LaForge
ee30b1ee07 Document building and debugging with XCode. (#3733)
* Document building and debugging with XCode.

* Account for Intel Macs!
2024-01-19 20:36:32 +08:00
Ioannis Giannakas
14e27a224c [Feature] Enabled gap fill algorithm for all solid fill types (#3412)
* ENH: Enabled gap fill algorithm for all solid fill types

* Made gap fill an option & refactored code into its own method

* Code comment updates

* Converted gap fill to enum and control filter out gap fill in the UI

* Update label for consistency

* Spelling mistake
2024-01-18 14:43:23 +00:00
Ioannis Giannakas
598f10b4a7 [Bug fix] Fixes "Wipe before external loop" causing blobs on single wall perimeters (#3616)
* #3603 - fix "Wipe before external loop" causing blobs on single wall perimeters

* Updated parameters to pass by const reference to avoid re-creation of object
2024-01-18 14:19:30 +00:00
Ioannis Giannakas
93b8655a00 [Feature] Introduced experimental option to fully disable solid infill against walls when ensure vertical thickness is turned off (#3235)
* ENH: Introduced experimental option to fully disable wall solid infill when ensure vertical thickness is turned off.

* Merge branch 'main' into pr-reduce-wall-solid-infill

* Merge remote-tracking branch 'upstream/main' into pr-reduce-wall-solid-infill

* Merge branch 'pr-reduce-wall-solid-infill' of https://github.com/igiannakas/OrcaSlicer into pr-reduce-wall-solid-infill

* Merge branch 'SoftFever:main' into pr-reduce-wall-solid-infill

* Merge branch 'SoftFever:main' into pr-reduce-wall-solid-infill

* Fixed bridges too short when ensure vertical thickness is off

* Merge branch 'main' into pr-reduce-wall-solid-infill

* Fixed if statement typo

* Merge remote-tracking branch 'upstream/main' into pr-reduce-wall-solid-infill

* Updated code comments and tweaked overlap parameter to generate top solid infill.

* Parameter tweaks and caption adjustment

* Code comment update

* Merge branch 'SoftFever:main' into pr-reduce-wall-solid-infill

* Merge branch 'SoftFever:main' into pr-reduce-wall-solid-infill

* Merge branch 'SoftFever:main' into pr-reduce-wall-solid-infill

* Merge branch 'main' into pr-reduce-wall-solid-infill

* Merge branch 'main' into pr-reduce-wall-solid-infill

* Merge branch 'SoftFever:main' into pr-reduce-wall-solid-infill
2024-01-18 21:57:43 +08:00
Noisyfox
099cd0344e Fix constrainted scale (scale with ctrl key pressed) (#3717)
Fix constrainted scale (scale with ctrl key pressed) (#3699)
2024-01-17 23:59:48 +08:00
konradmb
0f9fe44a1d Fix Kingroon KP3S profiles (#3712) 2024-01-17 23:54:17 +08:00
Noisyfox
45adde154c Remember the sidebar size (#3700)
Store the current sidebar size using `best_size`
2024-01-17 23:36:43 +08:00
SoftFever
24235a93ee Remove version checks when loading profiles 2024-01-17 23:06:22 +08:00
SoftFever
ccef6da7ed Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-15 22:35:36 +08:00
foghatredbird
e5b46575c9 fix precedence errors (#3611)
Fix a handful of precedence errors and 1 logic/precedence error.  None of the code will compile as intended without these changes.

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-15 22:35:08 +08:00
Ocraftyone
23dd3c1f8b Update BuildLinux.sh (#3679)
* Update BuildLinux.sh

Echo the cmake command. Helps with transparency of what command/parameters are being used. Helps point users in the right direction if they want to build via an IDE.

* Update BuildLinux.sh
2024-01-15 22:34:25 +08:00
Aleksej Wesselbaum
5133a627f7 fix(TemperaturesCalibration): typo in end_temp_string (#3680)
* fix(TemperaturesCalibration): typo in end_temp_string

* Update po files

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-15 22:33:17 +08:00
Noisyfox
c29b8b956f Fix painting Gizmo rendering on AMD Vega GPUs (#3663)
* Fix painting gizmo rendering on AMD Vega GPUs

* Fix issue that support & seam painting gizmo rendering issue if wireframe is enabled in MMU gizmo
2024-01-15 22:19:50 +08:00
VBits
6ab1141888 Update for colpic thumbnails background color to match Elegoo theme (#3647)
Update Thumbnails.cpp

Changed background color from white to a dark gray to match the rest of the Elegoo touch screen theme
2024-01-15 22:17:54 +08:00
Thomas
0e552f81c1 [Fix] Fixed error in Anycubic Kobra 2 profile using "rectilinear" sparse infill (#3664)
Fixed error in Anycubic Kobra 2 profile "rectilinear" sparce infill doesn't exist, it is "zig-zag"
2024-01-15 22:15:40 +08:00
Thomas
005c0b1b60 [Translations] Added missing strings from 1.9.0 (#3655)
* Added missing strings from 1.9.0

* Uniformisation : "processus" is "traitement"

* Center is infinitive

* Clarified "Start temp", "End temp" and "Temp step"
2024-01-15 22:08:23 +08:00
Ioannis Giannakas
b3ef89805f [Bug fix] Fixes retraction on layer change being performed when retract travel threshold is set to 0 (#3614)
Fixes retraction on layer change being performed when retract travel threshold is set to 0
2024-01-15 21:22:00 +08:00
tome9111991
88d03bc716 Qidi x 3 thumbnail scale (#3600)
Qidi x 3

correct scale thumbnails on Qidi X3 printer
2024-01-15 21:18:40 +08:00
Leland Lucius
2532e03e49 Fix garbled text when display scalling > 300% (#3402)
* Fix garbled text when display scalling > 300%

On Windows, if your display scaling is greater than 300%,
the text rendered by imgui will be garbled. Allowing imgui
to do the scaling instead of making the font to large
corrects the issue.

* Only use modified scaling on Windows

And only if the system's scaling factor is greater than 300%.

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-15 21:01:43 +08:00
Ioannis Giannakas
70224bbadf [Bug fix] Fixes lightning infill with sparse infill width set to 0 causes "divide by zero" fatal error (#3592)
* Fix issue #3567 - Lightning infill with sparse infill width set to 0 causes "divide by zero" fatal error

* Merge branch 'SoftFever:main' into Fix-#3567---Lightning-infill-with-sparse-infill-width-set-to-0-causes-divide-by-zero-fatal-error

* Merge branch 'main' into Fix-#3567---Lightning-infill-with-sparse-infill-width-set-to-0-causes-divide-by-zero-fatal-error
2024-01-14 23:38:34 +08:00