David Kocik
e276b70851
Resolve IP address from last curl connection and use it as address for next Octoprint upload
...
IP resolve only for non secure connection and on windows.
2021-11-25 15:18:15 +01:00
enricoturri1966
cd8c6ddc8c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_print_volume_fit
2021-11-25 15:07:18 +01:00
tamasmeszaros
2f805de46e
Fix locked in version of CGAL
...
fixes #7341
2021-11-25 10:40:12 +01:00
enricoturri1966
bc5ef11c05
Fix of toolpath outside print area wrongly reported - SPE-1135
2021-11-25 09:40:36 +01:00
Lukas Matena
4c9ea5241d
Fixup of a996f33
(When modifiers were used, slicing was cancelled immediately after if began):
...
The algorithm checking for dummy VolumeRegions jumped over one element and always returned
that regions need to be regenerated
2021-11-24 21:53:35 +01:00
enricoturri1966
5ddfe8dab2
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_print_volume_fit
2021-11-24 12:55:09 +01:00
enricoturri1966
e6c7814546
Fix of missing update after changing the value of Max print height into Printer settings tab - SPE-1133
2021-11-24 12:31:27 +01:00
enricoturri1966
bdb9d0bf9a
Fixed warning
2021-11-24 11:55:52 +01:00
enricoturri1966
2827609539
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2021-11-24 11:48:57 +01:00
enricoturri1966
c071132385
Fix of objects have wrong color when using convex printbeds - SPE-1132
2021-11-24 11:48:52 +01:00
enricoturri1966
fd509199da
Tech ENABLE_ENHANCED_PRINT_VOLUME_FIT - 1st installment, Scale to print volume command for circular printbeds
2021-11-24 10:55:48 +01:00
Lukas Matena
eb389559b5
Fixup of cc44089
(bed bounding box 2D vs 3D)
...
The mentioned commit has changed behaviour of GLCanvas3D::get_size_proportional_to_max_bed_size(double)
function so that it uses XYZ bounding box instead od just XY. As a result, adding a box object through
the right panel added a huge box when printer max_print_z was higher than x/y. Offset at which a new
object instance is added was also affected.
2021-11-24 10:41:21 +01:00
Sergey Kovalev
5fe529ffbc
Add missing mapping
2021-11-24 00:49:53 +07:00
Sergey Kovalev
a0f0f329c8
Fix chrono
2021-11-24 00:18:55 +07:00
Lukáš Hejl
9e3e565bb6
Added README.md file for fast_float library.
2021-11-23 17:48:35 +01:00
Sergey Kovalev
fbe90b5534
Add timeout/errors management, multiple fixes
2021-11-23 23:41:45 +07:00
Sergey Kovalev
bb928f6ef7
Multiple fixes for building
2021-11-23 23:41:45 +07:00
Sergey Kovalev
f1ae74f9d3
Small adaptation and formatting
2021-11-23 23:41:44 +07:00
Sergey Kovalev
869b8c8c66
Add better implementation of tcp console
2021-11-23 23:41:44 +07:00
Sergey Kovalev
11eafebd8f
Fix printing start condition, a little bit more comments
2021-11-23 23:41:44 +07:00
Sergey Kovalev
4917f3b811
Initial implementation, mostly proof of concept
2021-11-23 23:41:25 +07:00
YuSanka
609bd4046c
Preferences: Beautification
...
Text settings: Wrap a label_text to the max 80 characters
MSW specific: Update alignment of the "Dark mode" tab
2021-11-23 16:39:53 +01:00
YuSanka
9029f63d0c
Fixed minor bug - Added missed layout of the Tab, when preset is saved with new name.
...
"Delete" button wasn't observed
2021-11-23 15:54:41 +01:00
YuSanka
0c110af1df
Localization: Next text improvements
...
+ new POT
+ new CZ translation
2021-11-23 14:56:41 +01:00
YuSanka
7828964f8c
Fix for #7328 - Filename containing chars not usable on FAT result in error and crash in gcode export
2021-11-23 13:53:58 +01:00
enricoturri1966
5f92ddb56c
Fix for horizontal slider limits the top non-gray layers to two, not one, SPE-1130
2021-11-23 11:42:22 +01:00
enricoturri1966
3cb6305d3e
#3385 - Fixed broken 3Dconnexion settings imgui dialog layout
2021-11-23 09:43:03 +01:00
Vojtech Bubnik
a996f33579
Follow-up to a0ee41770d
...
see pull request #7323 for discussion what went wrong.
The original issue
Fix of Print::apply() creating hierarchy of regions for complex scenarios:
Unnecessary regions were created for a modifier over a volume or a modifier,
where the modifier did not modify any of its parent's properties.
This lead to an explosion of regions for this particular 3MF.
Fixes Non Responsive & Memory Leak when opening or changing this 3MF project #7220
After a0ee41770d
quite often regions were not re-regenerated. This shoul now be fixed
together with the original slowness & memory leak issue.
2021-11-22 15:33:14 +01:00
Lukas Matena
f30a018c5a
Clamp radius in variable layer height dialog, negative values led to a crash
2021-11-22 15:22:43 +01:00
Lukas Matena
4c89a9ed43
Increased 3D connexion translation speed maximum to 30 ( #3385 )
2021-11-22 15:22:43 +01:00
tamasmeszaros
83fb066c64
Check for required CGAL version
...
fixes #4912
2021-11-22 15:14:53 +01:00
tamasmeszaros
0b0e5e5040
Merge branch 'tm_fix_hollowing_preview'
2021-11-22 14:01:00 +01:00
Lukas Matena
a22bc7f7c8
Show an error dialog when opening simplification on incompatible selection
2021-11-22 11:00:17 +01:00
Lukas Matena
6180e3a89e
Do not open simplify dialog on top of the main toolbar
2021-11-22 11:00:17 +01:00
Lukas Matena
aae8c7a844
Fixed the empty layer warning (again),
...
it did not work after top/bottom support contact z was separated
2021-11-22 11:00:17 +01:00
enricoturri1966
78a6406219
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2021-11-22 10:57:44 +01:00
enricoturri1966
a4baecb340
#7326 - Fixed crash when starting GCodeViewer
2021-11-22 10:57:38 +01:00
YuSanka
93bd5ee08b
Fixed a typo in 02c18dbc52
.
...
Id of the WipeTower is equal to 1000
2021-11-22 09:52:02 +01:00
YuSanka
1b7975639e
Follow-up 172b97cc2a
- Show context menu only on right mouse click
2021-11-21 18:15:59 +01:00
YuSanka
21c8f373ff
Code refactoring for 69731b1d
=> nsvgParseFromFileWithReplace() is extracted from nanosvg.h to BitmapCache
2021-11-19 17:00:38 +01:00
YuSanka
244b66649c
Check unsaved preset changes only when presets have been changed in the project
2021-11-19 16:33:28 +01:00
Vojtech Bubnik
55a555c848
Tooltip for the new SLA material parameter "material_print_speed"
2021-11-19 16:30:37 +01:00
tamasmeszaros
1280b03a60
Merge branch 'tm_sla_fast_slow'
2021-11-19 16:15:25 +01:00
Vojtech Bubnik
6ebee079c9
Follow-up to 9994e0bcbc
...
Start updater during start of prusaslicer.
Don't search the directory if only verifying that a file exists
is sufficient.
2021-11-19 15:48:03 +01:00
Vojtech Bubnik
56f409921c
Improved some string initialization and zeroing.
...
Assigning = "" in constructor does not make sense,
.clear() is better than = "",
default paramaeter = {} is cheaper than = ""
2021-11-19 15:34:22 +01:00
Vojtech Bubnik
4a7ac79637
Generalize PrusaLink
2021-11-19 15:32:42 +01:00
tamasmeszaros
a7260e7257
Add material print speed parameter for sla printers except sl1
2021-11-19 15:08:53 +01:00
Lukas Matena
67373ca722
Changed gizmo entering/leaving string handling to make localization easier
2021-11-19 12:16:46 +01:00
Vojtech Bubnik
05ed0a9b60
Removed check for a 64bit build running on a 32bit system,
...
such condition could never be fulfilled.
Slightly polished the wording of the warning.
2021-11-19 11:07:25 +01:00
Vojtech Bubnik
d8590ac0a8
Tiny eigen vectorization beautification.
2021-11-19 10:56:07 +01:00
Vojtech Bubnik
f5c23871e8
Follow-up to 77548df00f
...
(Fixed missing sinking property in objects list for multipart objects
with a part completely below the printbed):
It was not possible to slice an object with some part completely below
the print bed. The BuildVolume collision check newly supports
a "completely below print bed" return status,
Model evaluates this "completely below print bed status" allowing
objects with some volumes completely below the print bed to print.
2021-11-19 10:32:46 +01:00
tamasmeszaros
8a0c492583
Remove unused headers
2021-11-19 10:28:23 +01:00
YuSanka
172b97cc2a
Fix for #7270 - Feature Request: Right-click object table name-field should bring up context-menu - same as in 3D Editor View
...
+ removed unused code
2021-11-19 10:24:02 +01:00
tamasmeszaros
c6de3e84eb
Trying to solve forward compatibility for SLA relative_corrections
2021-11-19 09:47:57 +01:00
tamasmeszaros
d336dbe1a5
Fix broken hollowing preview with defined holes and unchecked hollowing
...
fixes SPE-1121
2021-11-18 17:40:25 +01:00
YuSanka
36df8df8b4
Fix for #6124 - Looped "Wipe Tower" message box, can't quit
...
Always add overloaded parameters for Object/Parts Settings to avoid lopped messages
2021-11-18 17:30:52 +01:00
YuSanka
c447c84d2c
Fixed non-WIN builds
2021-11-18 17:03:49 +01:00
Vojtech Bubnik
ecd71e3e80
Some debugging code (asserts) for the optimized G-code number formatter.
2021-11-18 16:42:07 +01:00
David Kocik
f2d53bc389
Fix of #7313
...
Missing boolean change.
Test string length before substr in text rendering.
2021-11-18 16:29:12 +01:00
YuSanka
5271877182
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into master
2021-11-18 14:34:41 +01:00
YuSanka
b3074ad2cc
DoubleSlider: Added calculation of the new color for "ColorChange"
2021-11-18 14:28:58 +01:00
tamasmeszaros
53c5b0331e
Fix issue with corrupted sl1 import with substituted profile.
...
fixes SPE-1119
2021-11-18 12:08:24 +01:00
Lukáš Hejl
8a4323c5b9
Fixed the layout of the painting gizmos after the edit icon for sliders was added.
2021-11-17 11:44:38 +01:00
Lukáš Hejl
9cac904f97
Fix of #7299 (Crash in the multi-material segmentation when some projected triangle is outside the bounding box of the current layer.
2021-11-17 11:44:32 +01:00
Lukas Matena
2c31755bc9
Do not use __FILE__ macro ( #7293 )
2021-11-16 16:09:30 +01:00
Lukas Matena
a2c3a6ac2f
Added missing includes (gcc9.4 without pch)
2021-11-16 16:09:30 +01:00
Vojtech Bubnik
e063fe920e
Fix of the last commit, G-code resolution was increased 10x by mistake.
2021-11-16 15:59:43 +01:00
Vojtech Bubnik
135b3fcea8
Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer
2021-11-16 15:48:17 +01:00
Vojtech Bubnik
0420f63540
Higher resolution G-code and volumetric rate legend, disabled.
2021-11-16 15:48:06 +01:00
enricoturri1966
8d046a577a
Fixed wrong color of toolpaths in pre-gcode preview
2021-11-16 14:52:07 +01:00
YuSanka
1aaa4845c5
Partially ported https://github.com/supermerill/SuperSlicer/commit/ff195fc9 (Add max_literal to setting def, to set the threshold for popup warning for float% fields) from @SuperSlicer
...
(related to https://github.com/prusa3d/PrusaSlicer/issues/2829#issuecomment-955606863 )
2021-11-16 13:44:48 +01:00
enricoturri1966
cb44542377
Fix for broken zoom to bed command
2021-11-16 13:40:24 +01:00
enricoturri1966
9561fd8cc6
Removed obsolete gouraud shader files
2021-11-16 12:56:08 +01:00
YuSanka
d6306f00b7
Resin colors: Set default value when color wasn't set in config
2021-11-16 12:48:13 +01:00
enricoturri1966
9af9b9b35d
Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS set as default
2021-11-16 12:39:54 +01:00
Vojtech Bubnik
58c93196d5
Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer
2021-11-16 10:18:58 +01:00
Vojtech Bubnik
cc44089440
New BuildVolume class was created, which detects build volume type (rectangular,
...
circular, convex, concave) and performs efficient collision detection agains these build
volumes. As of now, collision detection is performed against a convex
hull of a concave build volume for efficency.
GCodeProcessor::Result renamed out of GCodeProcessor to GCodeProcessorResult,
so it could be forward declared.
Plater newly exports BuildVolume, not Bed3D. Bed3D is a rendering class,
while BuildVolume is a purely geometric class.
Reduced usage of global wxGetApp, the Bed3D is passed as a parameter
to View3D/Preview/GLCanvas.
Convex hull code was extracted from Geometry.cpp/hpp to Geometry/ConvexHulll.cpp,hpp.
New test inside_convex_polygon().
New efficent point inside polygon test: Decompose convex hull
to bottom / top parts and use the decomposition to detect point inside
a convex polygon in O(log n). decompose_convex_polygon_top_bottom(),
inside_convex_polygon().
New Circle constructing functions: circle_ransac() and circle_taubin_newton().
New polygon_is_convex() test with unit tests.
2021-11-16 10:15:51 +01:00
YuSanka
f535b592ac
Fixed a crash when loading STL file (from 02c18dbc52
)
...
+ Added info_icon next to the "Volume" value
2021-11-16 09:42:20 +01:00
YuSanka
02c18dbc52
Sidebar: Info box: Fixed value of the "Volume"
...
+ Hidden "Materials" item
2021-11-15 17:36:01 +01:00
enricoturri1966
e419285147
#7066 - Ignore purge line in 'Volumetric Flow' display when Custom extrusion paths are set to invisible
2021-11-15 14:25:15 +01:00
David Kocik
059e4f8cf1
Commented code for different icon for UpdatedItemsInfo Notification.
2021-11-15 13:54:02 +01:00
David Kocik
ad2760f82b
Our opening of url in wxHyperlink
2021-11-15 13:00:03 +01:00
David Kocik
6ebd58e7a0
Notice dialog about no default materials in printer profile.
2021-11-15 12:59:51 +01:00
tamasmeszaros
b431fd1f7e
Mark the source of nanosvg library
2021-11-15 11:11:48 +01:00
YuSanka
871311c95c
Fix for #7301 - Endless loop telling me 'Supports work better if the following feature is enabled: bridging perimeters' when setting 'generate support material' on a single object
...
This bug was from 0c29eb9943
2021-11-15 10:48:53 +01:00
enricoturri1966
5dfba04e02
Added missing include
2021-11-15 09:02:21 +01:00
YuSanka
a6863961f7
Localization + new POT
...
+ added hyperlinks for Ironing parameters
2021-11-15 08:32:40 +01:00
David Kocik
0548df9a76
Fixed parsing of older PrusaSlicer.ini files.
2021-11-14 20:53:35 +01:00
Lukáš Hejl
c6940970f2
Decreased the minimum diameter of the brush in the multi-material painting gizmo to 0.1 with respect to #7108 .
2021-11-12 17:52:12 +01:00
Lukas Matena
17b9189974
Empty layer warning is now generated once per object
2021-11-12 17:08:14 +01:00
Vojtech Bubnik
f31a2db495
Fix of Changing purge volumes doesn't set project as unsaved #7265
2021-11-12 17:05:19 +01:00
enricoturri1966
d43ddce078
#7293 - Do not put __FILE__ info in release mode
2021-11-12 15:08:04 +01:00
David Kocik
87c2e90a5d
Start print after upload button (instead of checkbox)
2021-11-12 14:50:47 +01:00
YuSanka
8ef03718d0
Linux specific: Using a pop-up menu on the "cog" wheel for changing of an extruder color.(related to #6759 )
...
+ some code refactoring
+ change a little bit gray color in colorchange_del icons to avoid collision in Dark mode
2021-11-12 14:02:18 +01:00
Lukáš Hejl
9c35e0cb75
Added a missing include (GCC 11.1).
2021-11-12 13:29:17 +01:00
YuSanka
e70fc7f0da
OG_CustomCtrl: Code refactoring - Use standard RichMessageDialog instead of own written
2021-11-12 12:13:29 +01:00
YuSanka
8bfa132a1b
Localization fixes + new POT
2021-11-12 09:21:41 +01:00
enricoturri1966
9dcebf0a04
Commented out unused line
2021-11-12 08:45:16 +01:00
enricoturri1966
f86cd8409d
Added missing include
2021-11-12 08:07:07 +01:00
enricoturri1966
b3992ab35d
Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Fixed imgui slider label
2021-11-12 07:56:47 +01:00
Lukas Matena
c677b2771c
Make sure the object does not float after simplification
2021-11-12 07:37:17 +01:00
Filip Sykala
934ed0bbae
Remove static flag and extend case when call after will be from unactive Gizmo.
2021-11-12 06:49:09 +01:00
Filip Sykala
d72fba2a6a
translation of progress
2021-11-12 06:49:09 +01:00
Lukas Matena
a61c892c05
Some more fixes when switching objects while simplifying
2021-11-12 06:49:09 +01:00
Lukas Matena
0bfa81be56
Several more fixes:
...
- fixed crash on close when worker is running
- refresh percentage in the UI by requesting extra frames
- get rid of extra m_is_worker_running variable
2021-11-12 06:49:09 +01:00
Lukas Matena
9ad54ab4db
Some more cleanup
2021-11-12 06:49:09 +01:00
Lukas Matena
be04751776
Many small fixes
2021-11-12 06:49:09 +01:00
Lukas Matena
7bcab6f795
Simplify does not touch ModelVolume all the time (runs, but needs polishing)
2021-11-12 06:49:09 +01:00
Lukas Matena
ab260d005e
More adjustments, still working with Model directly
2021-11-12 06:49:09 +01:00
Lukas Matena
6661967f9f
Shared data packed in a struct
2021-11-12 06:49:09 +01:00
Lukas Matena
ba56a79795
Simplify gizmo now renders the volume by itself,
...
it does not rely on the usual GLVolume rendering. GLCanvas3D::toggle_model_object_visibility
was extended to hide a single volume. Rendering the model and wireframe uses the same
vertex buffer, which is now used through GLModel class. GLGizmoRenderTransparent class
should no longer be needed. GLCanvas3D::reload_scene calls replaced with request_rerender.
2021-11-12 06:49:09 +01:00
Lukas Matena
50ea144b84
Minor improvements:
...
- const corectness
- volatile -> std::atomic
- GUI::format
- encoding issues
2021-11-12 06:49:09 +01:00
David Kocik
217bcfd37d
SLA only mode in wizard
...
Activates only if PrusaSlicer.ini does NOT contains any FFF printers.
Added only_default_printers() function to activate wizard if none printers are installed.
2021-11-11 17:08:54 +01:00
tamasmeszaros
e324643a04
Fix hanging status indication if a UI job gets started over another..
2021-11-11 17:07:35 +01:00
Filip Sykala
3c61d2b352
Merge branch 'master' into fs_removes_SimplifyMesh
2021-11-11 16:05:43 +01:00
enricoturri1966
93347f0452
Close Shape Gallery dialog by pressing ESC on keyboard
2021-11-11 13:03:40 +01:00
YuSanka
d599c85477
Fixed typo in a0e6c7a076
2021-11-11 12:50:25 +01:00
Vojtech Bubnik
3a93277531
Revert "medical"
...
This reverts commit 117302ba22
.
2021-11-11 11:22:57 +01:00
tamasmeszaros
17686b4814
Slight performance boost
...
follow up to f7db7c0
2021-11-11 11:12:03 +01:00
YuSanka
a0e6c7a076
Follow up a3f6ce1ac6
2021-11-11 10:31:12 +01:00
Vojtech Bubnik
117302ba22
medical
2021-11-11 10:11:13 +01:00
tamasmeszaros
549c98ac88
Fix its_number_of_patches returning bool instead of size_t
2021-11-11 10:02:58 +01:00
YuSanka
64e926b363
Fixed endless "New project" possibility
2021-11-11 08:46:39 +01:00
Lukáš Hejl
f94a1dbb48
Added a missing include (GCC 11.1).
2021-11-10 23:21:36 +01:00
tamasmeszaros
f44f367f9b
Merge branch 'tm_rotgizmo_beautify'
2021-11-10 16:40:19 +01:00
tamasmeszaros
c49ba9f7f0
Round up rotation optimizer gizmo.
2021-11-10 16:35:47 +01:00
David Kocik
8b51dc6dee
Menu text
2021-11-10 16:34:54 +01:00
David Kocik
7acc3690ab
Change in checking model name in physical printer dialog
2021-11-10 15:56:50 +01:00
enricoturri1966
954538fdf0
Imgui now recognizes numpad enter key presses
2021-11-10 15:42:25 +01:00
David Kocik
43986c2896
Changes in notifying about new releases.
...
- Unified preferences settings. version_check option is replaced with notify_release that has 3 states.
- fixed logic when show notification based on version string.
- notification shows released version
- dialog notifying new version is never showing if external updater is running.
Escape quotes inside path to external updater
2021-11-10 15:27:46 +01:00
Lukas Matena
6895e0fde1
External updater is only run in GUI mode
2021-11-10 15:27:46 +01:00
Lukas Matena
262304c777
Use correct encoding when calling external updater
2021-11-10 15:27:46 +01:00
David Kocik
9994e0bcbc
Start updater during start of prusaslicer.
2021-11-10 15:27:46 +01:00
enricoturri1966
f7db7c0a26
#7282 - Fixed crash after splitting object into parts (missing or degenerate convex hulls)
2021-11-10 12:07:43 +01:00
Lukas Matena
8915d8bc91
Improvement of previous commit:
...
- use boost::nowide instead of WinAPI for the encoding conversion
- only add the node when it is not empty
2021-11-10 11:39:34 +01:00
YuSanka
de1785760c
Follow up e8be7b2ecd
- Remove unused code
2021-11-10 11:31:14 +01:00
Lukas Matena
bfa91cbd95
Windows: Include blacklisted libraries in SendSystemInfo data
2021-11-10 11:09:37 +01:00
YuSanka
a3f6ce1ac6
MsgDialog: Some code refactoring.
...
Use style for whole Dialog instead of wxWindowID for just one default button
2021-11-10 10:49:43 +01:00
YuSanka
e8be7b2ecd
Implemented possibility to show resin colors from the Plater (Bottles with resin are colored now in preset combobox)
...
+ Added nsvgParseFromFileWithReplace() to replace some colors before parsing from SVG file
+ Thumbnails are saved with selected resin color in SL1 or SL1S files
+ "white" folder is deleted from "icons" now. THere is no needed anymore.
2021-11-09 17:01:50 +01:00
enricoturri1966
7de0f1195a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider
2021-11-09 15:09:32 +01:00
YuSanka
a5f20d4c71
MsgDialog: Delete redundant code (fix for https://github.com/prusa3d/PrusaSlicer/issues/7254 )
2021-11-09 12:52:59 +01:00
enricoturri1966
ab6ceaa68c
#7246 - Fixed rrror when resize object to bed limit
2021-11-09 12:29:22 +01:00
enricoturri1966
67533da405
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider
2021-11-08 13:44:13 +01:00
enricoturri1966
869276aedb
Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Changed background color of additional button and its icon
2021-11-08 13:43:53 +01:00
enricoturri1966
5190a1f425
#7258 - Fixed cut of merged object
2021-11-08 12:56:38 +01:00
Lukáš Hejl
ce1fbbfa7c
OSX specific: Fix of #7259 - (Darker colors of objects inside the multi-material gizmo on macOS Monterey on Arm64 CPU)
...
Since macOS 12 (Monterey), the issue with the opposite direction on macOS running on Arm64 CPU seems to be fixed, and computed triangle normals inside fragment shader using dFdx and dFdy have the right direction.
So the previous patch bad51cdb52
is constrained to just macOS versions before macOS 12 (Monterey).
2021-11-08 11:27:24 +01:00
YuSanka
8bc074f5f2
MSW: Dark Mode: Update of PrintHostDialogs
2021-11-08 11:06:48 +01:00
combolek
24d1303126
Fixes issue #7247 : Wxwidgets 3.0 yet again. MsgDialog.hpp:270:40: error: ‘wxASCII_STR’ was not declared in this scope
...
Replace wxASCII_STR with wxString::FromAscii for compatibility with wxWidgets 3.0
2021-11-08 10:00:29 +01:00
enricoturri1966
c782c2d389
#7245 - Added validation of values typed by user in scale and size fields of object/part manipulator in sidebar
2021-11-08 08:38:37 +01:00
enricoturri1966
9752fb5810
Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Additional button, added to imgui float slider, using svg icon
2021-11-08 08:29:19 +01:00
Lukáš Hejl
69b7fac01f
Fixed a compiler warning.
2021-11-05 23:19:01 +01:00
Lukáš Hejl
e13be90283
Fix of #7109 (Bulges with model's base color on multi-material painted models)
2021-11-05 22:52:52 +01:00
Lukáš Hejl
f5a6e53298
Fix of #7235 (Dimples in external perimeter after multi-material segmentation)
2021-11-05 22:52:52 +01:00
Lukáš Hejl
b572588fc5
Small refactoring of storing colored polygons in multi-material segmentation.
...
Previously, colored polygons were stored so that each polygon had a color assigned to it, which made it difficult to perform operations like union or so on all polygons of the same color. Now polygons are stored grouped by their assigned color/extruder.
2021-11-05 22:52:52 +01:00
Lukáš Hejl
54b72fdaa9
Added a missing include (GCC 11.1).
2021-11-05 22:52:13 +01:00
YuSanka
2fcab52f86
Added "Color" parameter for SLA material
2021-11-05 17:22:37 +01:00
tamasmeszaros
535191c1e9
Verify layerHeight conf value before use
2021-11-05 15:58:40 +01:00
tamasmeszaros
c4c8b7608e
Fix some mesh errors in sl1 archive reconstruction
2021-11-05 15:43:40 +01:00
tamasmeszaros
1c940ef145
Do not reset sl1 import dialog settings between imports
2021-11-05 15:31:27 +01:00
tamasmeszaros
fb429c1e23
Load layer height from config.ini if profile is missing from sl1 archive
2021-11-05 15:31:15 +01:00
YuSanka
bbcedae5fd
MSW: DarkMode: Improvements for message Dialogs
...
* A little bit reworked MsgDialog: Checkbox and buttons are placed under the Static line
* Implemented wrapper for wxRichMessageDialog
+ Implemented wrapper for wxStaticLine
2021-11-05 15:20:06 +01:00
Filip Sykala
9086879e16
Change float slider to wrap function. Enrico's request
2021-11-05 14:48:37 +01:00
enricoturri1966
2a940863e1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider
2021-11-05 14:47:21 +01:00
enricoturri1966
f7662682c8
Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Modified ImGuiWrapper::slider_float() to create a compound widget where an additional button can be used to set the keyboard focus into the slider to allow the user to type in the desired value
2021-11-05 14:46:44 +01:00
YuSanka
aff9e1f7ea
MSW_DarkMode: Next Improvements
...
* Refreshed title bar for all Dialogs and MainFrame
* Refreshed header of the DataViewCtrl and ListView
* Refresh tooltips
* Redraw SpinCtrls
* Use system menu with is colored in respect to the color mode
* Preferences: Added parameter "Use system menu for application" and moved to the "Dark mode" tab with "Enable Dark mode parameter"
2021-11-05 10:01:13 +01:00
David Kocik
a771519b9f
Fix of #7169 Check if material or filament profile is_compatible before selecting it when it should be selected as first selected profile in wizard.
2021-11-03 11:37:06 +01:00
scott0122
992031620e
Repetier-Server: Enable "Start printing after upload" ( #5351 )
2021-11-02 23:34:12 +01:00
Filip Sykala
f9bdde5603
Remove SimplifyMesh
2021-11-02 14:23:49 +01:00
Lukáš Hejl
54b0ee6a4a
Fix of #7112 (Default color sometimes appeared between two multi-material painted areas)
2021-11-02 13:02:00 +01:00
Lukáš Hejl
3eb4ae309a
Small refactoring of post-processing of the projected painted lines in multi-material segmentation.
2021-11-02 13:02:00 +01:00
Lukáš Hejl
e04c934253
Added more debug output for multi-material segmentation for debugging projection of the painted lines.
2021-11-02 12:49:46 +01:00
Vojtech Bubnik
4e9f906848
Cooling buffer used to remove F word from G1 Fxxx lines if the feed rate
...
did not change compared to the preceding value creating empty "G1" lines.
The empty "G1" lines are now removed.
Improves Features fail with extra G1 moves when above a certain layer height and Detect Thin Walls is enabled #5176
Improves Thin wall detection causes miniature loops to be added, and emits empty G1 commands #3058
2021-11-02 12:11:53 +01:00
David Kocik
ca8f7fbf80
Copying from other config folders:
...
Find if there is more recent config in other folders (alpha / beta / release).
If yes, ask user, make snapshot, copy files.
if there is no current config, ask user and copy recent one.
2021-11-02 10:51:45 +01:00
David Kocik
4c8e13947c
Hint hypertext preferences highlight
2021-11-02 10:51:45 +01:00
David Kocik
f23a0298ed
ExportOutgoing notification should not show on upload
2021-11-02 10:51:45 +01:00
David Kocik
8bf4408731
Fix of #7170 . Delayed notification is not moved until push will succeed.
2021-11-02 10:51:45 +01:00
David Kocik
79d9fd154e
Wrong build on windows system (32 vs 64bit) dialog
2021-11-02 10:51:45 +01:00
tamasmeszaros
73af0ed331
Fixing slow conversion from cgal mesh format
2021-11-02 09:52:44 +01:00
Lukáš Hejl
78879b2e84
Fixed missing brims for nested objects.
...
Brim wasn't generated when some object was placed inside the hole of another object.
2021-11-01 15:10:51 +01:00
Lukáš Hejl
30a37d0c25
Fix of #7213 : Not generated inner brim after 7ff76d0768
.
2021-11-01 15:10:51 +01:00
Vojtech Bubnik
a0ee41770d
Fix of Print::apply() creating hierarchy of regions for complex scenarios:
...
Unnecessary regions were created for a modifier over a volume or a modifier,
where the modifier did not modify any of its parent's properties.
This lead to an explosion of regions for this particular 3MF.
Fixes Non Responsive & Memory Leak when opening or changing this 3MF project #7220
2021-11-01 13:48:45 +01:00
Lukas Matena
ca677fa1da
SLA supports gizmo: selection rectangle now selects partially obscured points as well
2021-11-01 13:02:25 +01:00
Lukas Matena
0b6fc0817f
SendSystemInfo: Reworked internet connection check,
...
now we only do the check on Windows, see the comments
in the code for details.
2021-11-01 12:57:49 +01:00
Lukas Matena
3124892fae
Fixed a tripping assert
2021-11-01 12:52:45 +01:00
enricoturri1966
2682915a5d
#7211 - Fixed reset direction of view clipping not aligning cut surface correctly when viewed from Left or Right
2021-11-01 11:08:02 +01:00
enricoturri1966
4a2e991ffe
Fixed build on non-Windows OSs
2021-11-01 08:46:37 +01:00
Yuri D'Elia
0074df9c74
Fix build on linux/clang 13 ( #7203 )
...
* Include missing headers
* Disambiguate nested template function for clang 13
2021-11-01 08:02:20 +01:00
Vojtech Bubnik
a94f1b332a
Fixing the GCC/clang builds. MSVC is again non-conformant.
2021-10-30 14:00:23 +02:00
Vojtech Bubnik
d78a5acba9
Numerical improvements to Welzel minimum enclosing circle algorithm
2021-10-30 11:18:36 +02:00
Lukas Matena
a01ab28e4c
Fixed encoding of gizmo entering/leaving undo redo snapshots,
...
which was broken by adding an extra TakeSnapshot overload in 41dc265
2021-10-29 21:47:47 +02:00
Vojtech Bubnik
5f84c504fc
Support generator: Regression wrt. PrusaSlicer 2.3.3:
...
"with sheath" now again uses the lighweight zig-zag algorithm
for the sparse support columns, while PrusaSlicer 2.4.0-alpha1
to PrusaSlicer 2.4.0-beta1 used the new "stable" zig-zag
algorithm for both the non-sheathed and sheathed sparse support columns
creating unnecessarily thick support column perimeters.
2021-10-29 16:53:03 +02:00
Vojtech Bubnik
1ddd060982
New placeholder parser values for output file name template;
...
{num_objects} - number of printable objects on the plater.
{num_instances} - number of printable instances on the plater, adding up
all printable instances of all objects.
Implements #2735 #3339 #4607
2021-10-29 14:27:36 +02:00
Vojtech Bubnik
3216448bbc
PlaceholderParser: implemented round(), digits() and zdigits() macros.
...
round() rounds to an integer.
This is a popular request, for example #3472
digits(value, num_digits, num_decimals) rounds to num_digits and
num_decimals, left filled with spaces.
digits(value, num_digits) the same as digits(value, num_digits, 0)
Neither decimal separator nor any decimals after decimal separator
are emitted.
zdigits(...) is the same as digits(...) only left filled with zeros.
If the result does not fit num_digits, the result is never trimmed.
2021-10-29 13:36:26 +02:00
Vojtech Bubnik
0f145920d9
Fixed conditional G-code int(...), which did not accept an expression,
...
just a variable, constant or an expression enclosed in double braces (())
Mentioned for example in #3472
2021-10-29 10:45:33 +02:00
YuSanka
23ab9fb181
MSW DarkMode: Set mode colors for "Change volume type" dialog.
2021-10-29 08:46:29 +02:00
Vojtech Bubnik
b6c4e94d81
Fixing projection of bottom surfaces in MM segmentation and for
...
support blockers / enforcers.
All slicing functions shall produce consistent results with the same mesh, same transformation matrix and slicing parameters.
Namely, slice_mesh_slabs() shall produce consistent results with slice_mesh() and slice_mesh_ex() in the sense, that projections made by
slice_mesh_slabs() shall fall onto slicing planes produced by slice_mesh().
Before this commit, slice_mesh_slabs() projected bottom facing faces upwards to its coplanar slicing plane,
which is different from how slice_mesh() or slice_mesh_ex() work, leading to ignored support enforcer / blocker strokes.
2021-10-28 15:07:29 +02:00
Vojtech Bubnik
93e91bcacb
Fixing compilation on GCC
2021-10-27 17:36:47 +02:00
Vojtech Bubnik
bc1737c0da
Yet another bugfix for gcc where MSVC was happy with non-conformant code
2021-10-27 16:16:49 +02:00
Vojtech Bubnik
ad2dfe345d
Fixed typo in an unused template code, where MSVC does not complain,
...
but GCC does.
2021-10-27 16:07:23 +02:00
Vojtech Bubnik
e87f90af9f
Fixed typo in CMake
2021-10-27 16:04:58 +02:00