Commit graph

2365 commits

Author SHA1 Message Date
SoftFever
5ff00fb48c
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
Ryan Whipple
73481da6da
corrected printable_area (#3527)
* corrected printable_area

* adjusted to keep origin at 0x0
2024-01-24 11:36:17 +00:00
Ocraftyone
11fd73a90d
Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-21 14:12:39 -05:00
Noisyfox
122c5cedd8
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
9f44e151ba
Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-20 19:43:17 -05:00
konradmb
7eb45a0c73
Fix Kingroon KP3S profiles (#3712) 2024-01-17 23:54:17 +08:00
SoftFever
95adb899a4
Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-15 22:35:36 +08:00
Thomas
2e4e1a2e0f
[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
tome9111991
fff85195b8
Qidi x 3 thumbnail scale (#3600)
Qidi x 3

correct scale thumbnails on Qidi X3 printer
2024-01-15 21:18:40 +08:00
Geoffrey Ward
c26a73a1ca
Default Anker support_base_pattern (Fixes #3326) (#3585)
* Fixes #3326
2024-01-14 23:09:46 +08:00
FlashforgeOfficial
76b97c3963
0109 Machine end gcode and process update for Adventurer 5M series (#3580)
* Machine G-code Fix

* Merge branch 'SoftFever:main' into main

* 0109 Update end code and process

* 0109 new update

* 0109 Profile Update for end gcode

* Merge branch 'main' into main
2024-01-14 23:08:27 +08:00
Thomas
ff291a4ab8
New generic profile for Ender 3 V2 Neo (#3434)
* Added generic profile for Ender 3 V2 Neo

* Disable skirt, because a purge line is drawn

* Added printer_structure
2024-01-14 23:07:35 +08:00
Ocraftyone
0af1b9b958
Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-14 03:54:27 -05:00
Tuomas Salokanto
b7b22eb78f
Support custom IP camera (#3415)
* Support custom IP camera

Allow adding custom IP camera source while keeping possible
built-in bambulab camera also functional and add button to
switch between them.

This uses WebView widget to show the stream. Upon loading the
page, javascript is used to remove native controls and scroll-
bars for aesthetic reasons.

* Add partial support for PiP video

HTMLVideoElement supports picture-in-picture video
but the dedicated control is hidden in this implementation
to have more integrated look in OrcaSlicer. Add right-click
listener to the camera switch icon that opens the video element
in a PiP window.

Only works when the video is in <video> HTML element, so for
example MJPEG streams in <img> element won't work.
2024-01-14 16:18:30 +08:00
Ocraftyone
d5ee4ff1ab
Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-08 22:41:35 -05:00
Hukete
1067fc2649
Update the some profiles (#3470)
* 10-25

Add TPU-95A HF

* 1030

Adding Introduction of Chamber Temperature Control Macros(M191) to Notes

* 1102

Add ABS-GF10 profile,
Remove a extra "s" from the "0.36mm Standard @Qidi XPlus3 0.6 nozzle.json" file

* 1106

Add the PA value to some genetic filament profiles

* Add new filaments profiles

Add new filaments profiles

* 1

1

* Add two new filaments

Add two new filaments

* Optimized 0.2mm nozzle profiles

Optimized 0.2 mm nozzle QIDI Generic ABS/PETG/PLA profiles

* disable prime tower

disable prime tower and independent_support_layer_height,
Improve some part of the surface when supported

* Fix the name issue

Fix the name issue
2024-01-06 15:15:49 +08:00
Thomas
cb9792e1d9
Added i3 printer_structure to Creality printers (#3460) 2024-01-06 15:14:55 +08:00
Olcay ÖREN
8de98fc229
Update OrcaSlicer_tr.po - TURKISH translation update (#3484)
* 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

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-06 15:13:42 +08:00
Thomas
7e59e99841
M600 for Neptune 3 series (and removed from Neptune X) (#3432) 2024-01-06 13:47:34 +08:00
SoftFever
18b52fd780 bump version profile version to "01.09.00.02" 2024-01-06 09:22:44 +08:00
SoftFever
61f8719c69 Fixed an issue that some profiles has ironings enabled by default 2024-01-06 09:22:44 +08:00
Ocraftyone
a8c3377d9b
Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-05 05:59:43 -05:00
Ocraftyone
ecd20184f9
Add the rest of the param defs
Also added temperatures category to handle them
2024-01-05 05:24:53 -05:00
SoftFever
8e3f7e7bf2 some profile changes based on feedbacks 2024-01-02 20:41:41 +08:00
Ocraftyone
a8148d8ee6
Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-01 11:01:22 -05:00
Ocraftyone
f78d55eac5
Merge branch 'main' into enh-port-edit-gcode-dlg
# Conflicts:
#	src/slic3r/GUI/OG_CustomCtrl.cpp
#	src/slic3r/GUI/OG_CustomCtrl.hpp
2024-01-01 10:58:04 -05:00
Ocraftyone
5fc6301520
Update Icons
Add new icons from PS and update to use Orca color scheme

Original Commit: prusa3d/PrusaSlicer@37afe79

Co-authored-by: YuSanka <yusanka@gmail.com>
2024-01-01 10:57:21 -05:00
Ocraftyone
0e590083fa
Edit Custom G-Codes Improvements
Orca: Added option to use CMake config option ORCA_CHECK_GCODE_PLACEHOLDERS to check custom gcode placeholders rather than using debug

Original Commit: prusa3d/PrusaSlicer@b8bb7f2

Co-authored-by: YuSanka <yusanka@gmail.com>
2024-01-01 10:57:13 -05:00
Ocraftyone
6d19d6207a
Partial Automation of getting Gcode placeholders
Included pre-generated files specific to Orca rather than PS provided files

Original Commit: prusa3d/PrusaSlicer@55d5921

Co-authored-by: YuSanka <yusanka@gmail.com>
2024-01-01 10:57:09 -05:00
Thomas
9701ab18e8
Added PAUSE command for change_filament_gcode on Elegoo Neptune 4 series (#3411)
Added PAUSE command for change_filament_gcode

on-behalf-of: @tomsbasement <tom@tomsbasement.shop>
2024-01-01 20:01:30 +08:00
SufficentMuffin
f99394b53c
Update 0.48mm Standard @BBL X1C 0.8 nozzle.json (#3379)
* Update 0.48mm Standard @BBL X1C 0.8 nozzle.json

Removed P1S 0.6mm nozzle from process profile.

* fix

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-01 19:42:53 +08:00
Thomas
967dc3d487
Creality K1/K1 Max, Ender 3 V3 Series and Ender 5 S1 baseplates (#3365)
* Fixed retraction speed and added missing parameters.

* Fixes for manual filament change

* More tunings and fixes.

* Fixes and tunings

* Formatting

* Decrease z-hop for K1

* K1/K1 Max, Ender 3 V3 and Ender 5 S1 correct build platforms (Thanks Henlor !)
2024-01-01 15:08:56 +08:00
Thomas
98a9bf6170
Creality Ender 3 V3/KE important fixes and some fine-tunings (#3362)
* Fixed retraction speed and added missing parameters.

* Fixes for manual filament change

* More tunings and fixes.

* Fixes and tunings

* Formatting

* Decrease z-hop for K1

* Updated thumbnails sizes to the same as Creality Print has.
2023-12-31 18:36:32 +08:00
Thomas
8afb675cd7
Fr translations (#3361)
* Updated French translations.

* Reword "strength"

* Updated translations

* Added missing translations.

* Fixed place on face translation

* Fixed strings.

* Updated locales

* Better translation for "Brim ears"

* Other round of fixes

* Added missing strings

* Renaming studio to Orca.

* Rewording "Arc fitting"

* Flush means purge and not "rinçage"
2023-12-31 14:46:18 +08:00
SoftFever
f89932f63e make exclude_object off by default 2023-12-29 09:21:49 +08:00
just-trey
a96ed26519
Profile: Anker M5/C first layer consistency improvements (#3321)
first layer consistency improvments
2023-12-29 00:04:45 +08:00
Thomas
c1bb9ecc43
Fixed typo (#3331)
* Fixed typo

* An other swtitch

* Main-i-fold(tm)
2023-12-29 00:02:45 +08:00
Thomas
2901c85ea9
Fixes and simplification of some Creality profiles. (#3315)
* Fixes and simplification of some Creality profiles.

* Set correct support_air_filtration for K1 Max
2023-12-29 00:02:01 +08:00
SoftFever
87830fdb9d add more hints 2023-12-28 00:23:42 +08:00
Hukete
309979eaff
QIDI: Add two new filaments (#3304)
* 10-25

Add TPU-95A HF

* 1030

Adding Introduction of Chamber Temperature Control Macros(M191) to Notes

* 1102

Add ABS-GF10 profile,
Remove a extra "s" from the "0.36mm Standard @Qidi XPlus3 0.6 nozzle.json" file

* 1106

Add the PA value to some genetic filament profiles

* Add new filaments profiles

Add new filaments profiles

* 1

1

* Add two new filaments

Add two new filaments
2023-12-27 09:16:45 +00:00
SoftFever
665526e4eb Fix Qidi X3 preview images 2023-12-24 15:01:46 +08:00
SoftFever
7db0ad3112 bump profile version to 1.9.0 2023-12-24 11:41:55 +08:00
SoftFever
68e1722e97 Fixed an issue that bed texture was not reset when switching to a new printer model that don't have a valid bed texture.
also fix/tweak some printer's bed texture
2023-12-24 11:41:55 +08:00
SoftFever
22d3c713fb Fixed an issue that Qidi ABS-GF10 is visible for all vendors 2023-12-21 17:46:25 +08:00
Thomas
a3990485fc
Fixed Ender 3 V3's default materials (#3218) 2023-12-21 09:40:45 +00:00
Thomas
f5cbe6a38b
New profile for Creality Ender 3 V3 KE (#3216)
* Added Creality Ender 3 V3 SE.

* Fixed fine profile.

* Optimized first layer speed (based on Creality Print)

* Brought back Ender-5 (2019)

* Setting Marlin 2 as gcode flavor

* Added Ender 3 V3 KE Profile

* Use inheritance for Ender-3 V3 filament profiles.

* Various improvements.

* Temperature optimisations (less power consumption)

* Added Ender 3 V3 KE Profile

* Tweaks for KE integration.

* Fixed some log errors.

* Optimizations

* Optimizations.

* Reverted support_interface_top_layers

* Added correct jerk and acceleration settings.

* Added correct jerk and acceleration.

* Added retraction speed.

* Re-added missing Ender-5 references in filaments.

* Inherits processes from process_common_klipper

* Reverted code simplification for inherited profiles.
2023-12-21 08:51:18 +00:00
SoftFever
eeef52bf5d Rename bunny to Stanford Bunny 2023-12-20 19:57:30 +08:00
Thomas
888096d75c
New profile for Creality Ender 3 V3 SE (#3180)
* Added Creality Ender 3 V3 SE.

* Fixed fine profile.

* Optimized first layer speed (based on Creality Print)

* Brought back Ender-5 (2019)

* Setting Marlin 2 as gcode flavor

* Use inheritance for Ender-3 V3 filament profiles.

* Various improvements.

* Temperature optimisations (less power consumption)

* Fixed some log errors.

* Optimizations

* Reverted support_interface_top_layers

* Added correct jerk and acceleration settings.

* Added retraction speed.

* Re-added missing Ender-5 references in filaments.

* Reverted slow_down_layer_time, Creality print is too optimistic on this at least for Ender 3 V3 SE.

* Optimizations for supports (easier to remove)

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-12-20 19:56:13 +08:00
SoftFever
69602d24fc Add more built-in models: Disc/Torus/Bunny 2023-12-20 17:53:12 +08:00
SoftFever
604851fc9c Fix custom filament tab missing bug
Fixed #3135
2023-12-20 15:13:29 +08:00