Commit Graph

3065 Commits

Author SHA1 Message Date
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
Ryan Whipple
4ca6ca6339 corrected printable_area (#3527)
* corrected printable_area

* adjusted to keep origin at 0x0
2024-01-24 11:36:17 +00:00
Ocraftyone
927cf05f54 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-21 14:12:39 -05: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
a761701829 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-20 19:43:17 -05:00
konradmb
0f9fe44a1d Fix Kingroon KP3S profiles (#3712) 2024-01-17 23:54:17 +08:00
SoftFever
ccef6da7ed Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-15 22:35:36 +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
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
Geoffrey Ward
7bcd2d9b5b Default Anker support_base_pattern (Fixes #3326) (#3585)
* Fixes #3326
2024-01-14 23:09:46 +08:00
FlashforgeOfficial
2fbba8b8d8 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
5687cb82e3 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
4e1e971ca6 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-14 03:54:27 -05:00
Tuomas Salokanto
1f85b2fb23 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
97cadad401 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-08 22:41:35 -05:00
Hukete
9055b66f81 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
760deb2f9d Added i3 printer_structure to Creality printers (#3460) 2024-01-06 15:14:55 +08:00
Olcay ÖREN
c8c8b6b697 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
5c995f0f9d M600 for Neptune 3 series (and removed from Neptune X) (#3432) 2024-01-06 13:47:34 +08:00
SoftFever
fb15eebceb bump version profile version to "01.09.00.02" 2024-01-06 09:22:44 +08:00
SoftFever
fee584b993 Fixed an issue that some profiles has ironings enabled by default 2024-01-06 09:22:44 +08:00
Ocraftyone
cb758c7643 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-05 05:59:43 -05:00
Ocraftyone
01571e58aa Add the rest of the param defs
Also added temperatures category to handle them
2024-01-05 05:24:53 -05:00
SoftFever
6d93a8cd0f some profile changes based on feedbacks 2024-01-02 20:41:41 +08:00
Ocraftyone
c89aa495f5 Merge branch 'main' into enh-port-edit-gcode-dlg 2024-01-01 11:01:22 -05:00
Ocraftyone
2c862be564 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
c79bb78d16 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
132e9541ce 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
a54c1ab385 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
ee496ca59b 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
0925956dbe 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
b08a5c44fe 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
14a5e27b30 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
f63c6be392 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
e48f2cc8ad make exclude_object off by default 2023-12-29 09:21:49 +08:00
just-trey
893cc606b7 Profile: Anker M5/C first layer consistency improvements (#3321)
first layer consistency improvments
2023-12-29 00:04:45 +08:00
Thomas
71d35f269c Fixed typo (#3331)
* Fixed typo

* An other swtitch

* Main-i-fold(tm)
2023-12-29 00:02:45 +08:00
Thomas
8a558b4130 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
2bc497e4a1 add more hints 2023-12-28 00:23:42 +08:00
Hukete
fd774637f0 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
b501550999 Fix Qidi X3 preview images 2023-12-24 15:01:46 +08:00
SoftFever
3a55f8b196 bump profile version to 1.9.0 2023-12-24 11:41:55 +08:00
SoftFever
2d8830b339 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
48a3f9e1e7 Fixed an issue that Qidi ABS-GF10 is visible for all vendors 2023-12-21 17:46:25 +08:00
Thomas
3fe33a895c Fixed Ender 3 V3's default materials (#3218) 2023-12-21 09:40:45 +00:00
Thomas
bab8d8c85c 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
fd6e7fc50e Rename bunny to Stanford Bunny 2023-12-20 19:57:30 +08:00
Thomas
e53edf5682 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
fa0230f38c Add more built-in models: Disc/Torus/Bunny 2023-12-20 17:53:12 +08:00
SoftFever
25c8d1a2fc Fix custom filament tab missing bug
Fixed #3135
2023-12-20 15:13:29 +08:00