Vojtech Bubnik
67d0072bc8
Open G-code viewer on drag & drop to the slicer window.
2020-10-06 08:50:58 +02:00
YuSanka
f47ad1fd94
The scale of a splash screen is rewrote.
...
But now there is a problem with font scaling.
Function font.Scaled(val) return scaled system font from primary monitor.
That is why application's name and version has so strange scale.
2020-10-05 19:56:23 +02:00
Vojtech Bubnik
dc99bb7617
OSX: Changing gcode in Info.plist to Viewer mode, not Editor
2020-10-05 17:25:27 +02:00
Vojtech Bubnik
7fbdda9080
Renamed monotonous infill to monotonic.
2020-10-05 16:38:28 +02:00
enricoturri1966
8d45b4c468
Fixed crash when starting gcode viewer on Linux
2020-10-05 16:06:14 +02:00
enricoturri1966
c94fb13369
AppConfig modified to generate a separate config file for the standalone gcodeviewer
2020-10-05 15:42:35 +02:00
David Kocik
785839685e
instance check: do not perform for gcode viewer
2020-10-05 14:55:31 +02:00
Lukas Matena
4d3190f988
Changed cmake minimal version to 3.13 ( #4720 )
2020-10-05 12:10:19 +02:00
David Kocik
878fac4c44
filament selection: bug fix - * sign is again visible at profiles
2020-10-05 09:48:55 +02:00
enricoturri1966
04a928b241
Follow-up of 8df01818dd
-> GCodeProcessor uses new Machine Limits limitations
2020-10-05 09:15:43 +02:00
David Kocik
2b24a21098
Correct strings in configWizard
2020-10-04 21:11:56 +02:00
YuSanka
52557b4263
Merge remote-tracking branch 'origin/ys_splashscreen_on_mac'
2020-10-03 03:18:01 +02:00
YuSanka
6255792181
UnsavedChangesDialog improvements:
...
* Changed some labels on buttons. The Dialog name shows a purpose now
* SaveDialog is called, when UnsavedChangesDialog is shown.
* Added prototype for the "exit" icon
+ Fixed layout for the "Machine limits" page
2020-10-03 03:15:54 +02:00
YuSanka
48f775decb
A part of code related to loads after App::OnInit() call is moved from PrusaSlicer.cpp to GUI_App.cpp
...
Splash Screen under OSX requires a call of wxYeild() for update.
But wxYield() furthers a case, when CallAfter() in CLI::run() was called at the wrong time, before some of the GUI was created.
So, there is workaround:
Parameters needed for later loads are encapsulated to GUI_App::AFTER_INIT_LOADS structure
and are used in GUI_App::AFTER_INIT_LOADS::on_loads which is called just ones after wxEVT_IDLE
2020-10-02 22:27:20 +02:00
bubnikv
8df01818dd
Limiting the application of Machine Limits
...
https://github.com/prusa3d/PrusaSlicer/issues/1212
WIP: The hints do not rescale when switching the "usage" combo box.
The new g-code time estimator needs to be updated to not read
the machine limits if not enabled.
2020-10-02 17:32:03 +02:00
enricoturri1966
0f44caa99c
ENABLE_SLOPE_RENDERING set as default
...
Slope rendering active only when using Gizmo FDM supports
2020-10-02 15:43:39 +02:00
enricoturri1966
38ddc5fdc4
New image for gcode viewer splash screen
2020-10-02 13:20:48 +02:00
enricoturri1966
1f4010ba4e
Orange background for imgui buttons
2020-10-02 13:02:56 +02:00
YuSanka
8459d77959
Deleted use of TaskTimer in OnInit
...
+ code cleaning in MainFrame
2020-10-02 12:11:27 +02:00
enricoturri1966
11d8a2ad8e
Start PrusaSlicer in gcode viewer mode when dragging and dropping a .gcode file on the application icon
2020-10-02 11:40:21 +02:00
David Kocik
092a9f80b6
notifications: avoid collision with gizmos on same position by moving to left
2020-10-02 10:27:31 +02:00
David Kocik
ec6599da98
notifications: sla supports outside error appearing/disappearing
2020-10-02 10:27:31 +02:00
enricoturri1966
3fe61cfec2
Progress dialog while generating toolpaths to render enabled only for standalone gcode viewer
2020-10-02 10:26:27 +02:00
Lukas Matena
dd94b34a8d
Fixed missing include on Linux, printf format string fix
...
boost/format.hpp was missing in the header
2020-10-02 09:32:50 +02:00
enricoturri1966
1130778d5e
Small fix in debug tech ENABLE_GCODE_VIEWER_DATA_CHECKING
2020-10-02 09:14:43 +02:00
YuSanka
3ec462e8f5
Fixed a crash when preset with "modified"suffix is selected
2020-10-02 09:02:16 +02:00
YuSanka
1fb400a091
use wxYield on mac to show the splashscreen
2020-10-02 08:32:44 +02:00
Lukas Matena
f1c24e6a8c
Fix build with wxWidgets 3.0
2020-10-02 00:11:44 +02:00
YuSanka
2bba0e3131
Physical printers: Implemented import/export to/from the ConfigBundle.
...
+ fixed a bug : Case sensitivity of printer's name wasn't check during the adding of a new printer,
as a result in printers list was appeared both of printers (ex. "YuSanka" and "yusanka"), but related file was just one.
2020-10-01 22:48:57 +02:00
Vojtech Bubnik
94a9820661
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-10-01 20:12:50 +02:00
bubnikv
50293c0f86
Fixing a missing include on Windows.
2020-10-01 20:15:40 +02:00
Vojtech Bubnik
ee58ab4e2d
Merge branch 'vb_optgroup_refact'
2020-10-01 20:05:31 +02:00
bubnikv
f35efb8fe5
Win32 specific: Workaround for tooltips over Tree Controls displayed
...
over excessively long tree control items, stealing the window focus.
In case the Tab was reparented from the MainFrame to the floating dialog,
the tooltip created by the Tree Control before reparenting is not reparented,
but it still points to the MainFrame. If the tooltip pops up, the MainFrame
is incorrectly focussed, stealing focus from the floating dialog.
The workaround is to delete the tooltip control.
Vojtech tried to reparent the tooltip control, but it did not work,
and if the Tab was later reparented back to MainFrame, the tooltip was displayed
at an incorrect position, therefore it is safer to just discard the tooltip control
altogether.
2020-10-01 19:58:23 +02:00
Vojtech Bubnik
b17c829c9a
Fixed crash on Linux on startup
2020-10-01 19:16:23 +02:00
bubnikv
0bdfb6ab92
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-10-01 15:12:19 +02:00
bubnikv
b71e5c2763
Maybe one day we will be able to run PrusaGCodeViewer, but for now the Apple notarization
...
process refuses Apps with multiple binaries and Vojtech does not know any workaround.
Just run PrusaSlicer and give it a --gcodeviewer parameter.
2020-10-01 15:11:56 +02:00
David Kocik
6a46708608
fix in ConfigWizard.cpp
2020-10-01 09:46:00 +02:00
enricoturri1966
74dba68340
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-10-01 09:33:20 +02:00
enricoturri1966
8ded9dc0fd
Improved performance of progress dialog shown while generating toolpaths for render
2020-10-01 09:33:05 +02:00
David Kocik
661534042b
notifications: changed some plater warnings into errors, fixed not showing plater warnings in preview.
2020-10-01 09:30:11 +02:00
David Kocik
a47178557f
notification orange color for hypertext
2020-10-01 09:30:11 +02:00
David Kocik
43f122b5ee
Filament selection in configuration wizard:
...
compatible printers in html window, bug fixes.
2020-10-01 09:28:17 +02:00
enricoturri1966
fad1f5e84f
Fixed typo
2020-10-01 08:34:16 +02:00
Lukas Matena
3f7d41df15
Imgui dialog layout adjustments after the new combo was added
2020-10-01 00:49:14 +02:00
Lukas Matena
3ec5d9e2cf
Cache raycast results so they don't have to be repeated on the same mouse pos
...
Fixed incorrect handling of clipping plane with multiple volumes - only the first volume was correctly clipped by the painter.
2020-10-01 00:05:59 +02:00
Lukas Matena
fac7e735ac
Moved the raycasting query in painting gizmos to a separate function
...
This way it can be called when rendering the spherical cursor and when processing the mouse clicks/drags
2020-10-01 00:05:18 +02:00
Lukas Matena
6744a40cd5
Slight refactoring
2020-10-01 00:05:12 +02:00
Lukas Matena
1ca8120398
Sphere selection added as an option for painting gizmos
2020-10-01 00:05:01 +02:00
Lukas Matena
c696e6ec19
Experiment with spherical cursor (painting gizmos)
2020-09-30 17:34:11 +02:00
Lukas Matena
8bf0f75e83
Fixed compilation with wxWidgets 3.0
2020-09-30 17:33:08 +02:00
enricoturri1966
1ca872f81e
Fixed size of selected single volumes
2020-09-30 15:11:17 +02:00
bubnikv
e8325a8e2d
Fixes of DPI scaling on Windows.
2020-09-30 14:02:23 +02:00
enricoturri1966
dad8a47741
Fixed splash screen info label
2020-09-30 13:35:19 +02:00
enricoturri1966
6685e78605
Fixed red background wrongly showing up when slicing with SLA printer
2020-09-30 13:24:37 +02:00
enricoturri1966
dcc5d795af
Follow-up of 63ab60467a
-> Code cleanup
2020-09-30 11:59:41 +02:00
enricoturri1966
63ab60467a
Added progress dialog while generating toolpaths to render
2020-09-30 11:56:02 +02:00
enricoturri1966
e55a9cceec
#4808 - Fixed incorrect detection of toolpaths outside of printbed
2020-09-30 10:58:14 +02:00
enricoturri1966
980fe77b32
#4806 - Fixed detection of move type for G1 lines containing Z>0 and E>0
2020-09-30 08:34:29 +02:00
bubnikv
ab0890ed34
Merge remote-tracking branch 'remotes/origin/vb_modelobject'
2020-09-29 16:31:18 +02:00
bubnikv
2583522e43
Refresh the page tree immediately after key press.
2020-09-29 14:47:03 +02:00
bubnikv
b15023dfa9
Cancellation of parameter page build process.
2020-09-29 13:36:56 +02:00
bubnikv
ec8602f8d9
Faster switching of parameter pages if the page is switched
...
by cursor keys in the tree control:
The page update is delayed to idle.
2020-09-29 11:04:25 +02:00
YuSanka
13dcc3e7a0
OSX specific: Set SplashScreen as TopWindow
2020-09-29 08:39:57 +02:00
YuSanka
b82de22caa
SplashScreen improvements:
...
* Added MakeBitmap() to create a bitmap from input version image
* Editor/Viewer logo is added now in SplashScreen::Decorate()
2020-09-28 20:41:51 +02:00
Lukas Matena
f890cd5b9c
FDM painting gizmos (support/seam) now render object in neutral color
...
The goal is to ensure enough contrast independent on current filament color
2020-09-25 16:05:34 +02:00
David Kocik
54fbbb1a23
InstanceCheck: typo in DBus function name
2020-09-25 15:13:01 +02:00
Lukas Matena
48b0a14c4c
Fixup of previous commit
2020-09-25 13:00:43 +02:00
Lukas Matena
b178d0af38
Wipe tower - small refactoring and fix
...
Collection of data from internal wipe tower gcode generator now uses move semantics.
Part of gcode at the end of priming was erroneously not exported (extruder current reset etc.)
2020-09-25 12:35:20 +02:00
YuSanka
11a410b4e7
Updated SplashScreen
...
+ Increased gap_size for main and undo/redo toolbars
2020-09-25 11:02:54 +02:00
YuSanka
5243d3e53c
Fixed crash on BedShapeDialog creation
2020-09-25 10:44:22 +02:00
Lukáš Hejl
0b0709b3d8
Fix crash in adaptive infill when an extrusion line width is zero.
...
When an extrusion line width is set to zero, then an extrusion line width is calculated from nozzle diameter.
2020-09-25 09:54:27 +02:00
Vojtech Bubnik
e0b0a2cdcf
Fix of previous commit.
2020-09-24 20:32:52 +02:00
Vojtech Bubnik
7a799be426
DynamicPrintConfig::normalize() renamed to normalize_fdm(),
...
optimization of Print::apply()
2020-09-24 19:03:33 +02:00
YuSanka
d5bd76776f
Page class is used as a container of option groups
...
and doesn't inherited from wxScrolledWindow now
2020-09-24 18:54:54 +02:00
David Kocik
8ea4b5fd78
instance check - bug fixes and refactoring based on code review.
2020-09-24 17:19:19 +02:00
YuSanka
8fb3a44a4e
Fixed highlighting of the searched option
...
+ Create controls only on the shown and active tab
+ Line class : deleted unused sizer
+ In GUI_Utils added TaskTimer class for the print a time of some task duration
+ BedShapeDialog:: activated options_groups
+ commented some unused code
2020-09-24 15:41:48 +02:00
Vojtech Bubnik
94aac4cf97
What MSVC could process I always wonder.
2020-09-24 15:45:04 +02:00
Vojtech Bubnik
54976e29bb
New class ModelConfig wrapping DynamicPrintConfig and a timestamp
...
to help with detecting "not changed" event when taking
Undo/Redo snapshot or synchronizing with the back-end.
Converted layer height profile and supports / seam painted areas
to the same timestamp controlled structure.
2020-09-24 15:34:13 +02:00
Lukas Matena
0974d2a0e6
Added missing include to fix build against wx3.0 (Linux)
2020-09-24 14:14:22 +02:00
Vojtech Bubnik
0d6eb842b0
Merge branch 'vb_undoredo_timestamp'
2020-09-23 13:00:01 +02:00
Vojtech Bubnik
dde64d361b
Tiny polishing and documentation.
2020-09-23 12:59:15 +02:00
Vojtech Bubnik
0dad7adfa1
"There is an object with no extrusions on the first layer."
...
should throw SlicingError, not RuntimeError.
2020-09-23 12:58:58 +02:00
Vojtech Bubnik
056c46d01f
Undo/Redo serialization extension:
...
If an object indicates a valid timestamp, then the timestamp
is relied upon to not serialize the object data if the timestamp
of the same object on the undo/redo stack matches.
2020-09-23 12:18:39 +02:00
YuSanka
52e6050698
Fixed msw_scale() for Infill field
2020-09-23 09:35:30 +02:00
YuSanka
fc3aa61dc4
Merge remote-tracking branch 'origin/master' into ys_optgroup_refact
2020-09-23 08:38:21 +02:00
YuSanka
9377013824
Fixed non-MSW builds
2020-09-23 08:33:16 +02:00
Lukas Matena
4bf49d960c
Merge branch 'lm_seam_painter_backend'
2020-09-22 21:02:07 +02:00
Lukas Matena
67bdf9687d
Alessandro's name spelling fix (README, manifests)
2020-09-22 20:45:59 +02:00
YuSanka
35d225d673
Fixed scaling on MSW for new OptionsGroup
2020-09-22 16:16:35 +02:00
Lukas Matena
a13fc805d7
Removed obsolete wipe tower related code
...
Most of the code is already commented out for a long time, it should be safe to remove now.
2020-09-22 15:20:24 +02:00
Lukas Matena
e7ae26fb8a
Fix of #2834 (unretracted wipes on wipe tower)
...
Wiping moves performed before moving away from the wipe tower were replaced by
scheduling a regular wipe that is performed after normal gcode generator regains
control. This makes it consistent with wipes on the model and gets rid of the
unretracted wipes.
2020-09-22 15:20:19 +02:00
YuSanka
398ff9053d
Code refactoring of the OptionsGroup class:
...
Controls are created only for the active page now
2020-09-22 11:17:43 +02:00
Vojtech Bubnik
230dbb7394
Adaptive Cubic infill:
...
1) Fixed a wrong offset when extracting infill lines from the octree.
2) Added a variant for testing triangle in a bounding sphere
when buildind the octree. Currently not used as the box test
is more tight.
3) "Bridging infill" regions are now triangulated and used to densify
the octree as well to support the bridging infill correctly.
2020-09-22 08:53:45 +02:00
Vojtech Bubnik
6cdb19971f
Fixed crash in Adaptive Cubic infill if just a single line was extracted.
...
New function to chain lines, however not used by the Adaptive Cubic infill.
2020-09-21 11:10:57 +02:00
Lukas Matena
cf50224248
Fix build on macOS and one logic error
2020-09-18 14:26:06 +02:00
Lukas Matena
6db2d3a0b2
Merge branch 'master' into lm_seam_painter_backend
2020-09-18 13:44:45 +02:00
Lukas Matena
f2951b53c0
Fix build on Linux
2020-09-18 13:37:37 +02:00
Vojtech Bubnik
348c654c26
Adaptive infill:
...
Fixing compilation on Linux,
WIP: Better chainining of infill lines.
2020-09-18 13:35:35 +02:00
Lukas Matena
8123930ee5
Store seam history for more islands
2020-09-18 12:20:02 +02:00
enricoturri1966
5432784ed4
Split generation of vertex and index buffers for toolpaths to reduce peak of memory used
2020-09-18 12:15:38 +02:00
Lukas Matena
8dd345ed4c
use center of enforcer only with spAligned
2020-09-18 12:00:48 +02:00
Lukas Matena
fffb79a085
Simple implementation of spRandom
2020-09-18 12:00:40 +02:00
Lukas Matena
5d6bf3261e
fixed center-finding algorithm
2020-09-18 12:00:40 +02:00
Lukas Matena
e78221409a
Renamed CustomSeam to SeamPlacer, move to a separate file
2020-09-18 12:00:14 +02:00
Lukas Matena
a1fadaf955
Partially working implementation of custom seam backend
2020-09-18 12:00:14 +02:00
Vojtech Bubnik
7e756b20e6
Adaptive infill: Reshuffled the namespaces.
2020-09-18 10:53:50 +02:00
enricoturri1966
7c7f5ebdda
Fixed sliced info panel not hiding when changing printer type
2020-09-18 08:36:29 +02:00
Vojtech Bubnik
37c5fe9923
Refactoring of adaptive cubic / support cubic:
...
1) Octree is built directly from the triangle mesh by checking
overlap of a triangle with an octree cell. This shall produce
a tighter octree with less dense cells.
2) The same method is used for both the adaptive / support cubic infill,
where for the support cubic infill the non-overhang triangles are
ignored.
The AABB tree is no more used.
3) Optimized extraction of continuous infill lines in O(1) instead of O(n^2)
2020-09-17 18:39:28 +02:00
YuSanka
acdd5716bd
SplashScreen: Fixed message text
...
UnsavedChangesDialog: Disabled "Move changes to selected preset" button, when printer technology is changed
PresetComboBox: Fixed color of the filament, if it is modified
2020-09-17 15:40:27 +02:00
enricoturri1966
0b2a399b6b
New values for GCodeViewer::Extrusion_Role_Colors
2020-09-17 15:11:22 +02:00
enricoturri1966
fb4493c9d1
Restore estimated time lines in sidebar info
2020-09-17 11:42:58 +02:00
enricoturri1966
46d747bfaa
Reduced threshold to split index buffers for toolpaths render
2020-09-17 10:13:14 +02:00
enricoturri1966
3ca6278ac9
Refactoring in GCodeViewer initialization
2020-09-17 08:59:36 +02:00
enricoturri1966
a40fc1fe2c
Refactoring in toolpaths generation
2020-09-17 08:46:27 +02:00
enricoturri1966
8579ecceed
Legend layout -> estimated time move to bottom
2020-09-17 08:18:16 +02:00
enricoturri1966
7a10e23470
Use multiple index buffers to render toolpaths in preview
2020-09-16 15:45:53 +02:00
tamasmeszaros
af785d1486
Fix hollowing crash when splitting broken object has zero parts.
2020-09-16 11:08:58 +02:00
Lukas Matena
4d5d1390f0
Added a missing include for gcc
2020-09-15 16:40:57 +02:00
enricoturri1966
5fc82cecfe
Fixed crash when starting the application on a secondary monitor
2020-09-15 15:23:39 +02:00
enricoturri1966
7f1bea1dc8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-15 08:21:23 +02:00
enricoturri1966
5e4ba27106
Another small refactoring
2020-09-15 08:18:54 +02:00
ardenpm
541c31afb0
Merge branch 'master' into pa_reprap_g10_temperature_support
2020-09-15 11:40:38 +10:00
Vojtech Bubnik
5d8c4b4476
Fixed missing return
2020-09-14 16:27:38 +02:00
Vojtech Bubnik
1eadb6a1a9
Replaced some of Slic3r::RuntimeError exceptions with Slic3r::SlicingError.
...
Only Slic3r::SlicingError are now displayed by a notification, other
exceptions are shown by a pop-up dialog.
2020-09-14 18:03:22 +02:00
Vojtech Bubnik
067cde85f1
WIP Refactoring of exceptions:
...
1) All slicer's exceptions are now derived from Slic3r::Exception.
2) New exceptions are defined for slicing errors.
3) Exceptions are propagated to the Plater to show.
It remains to modify the slicing back-end to throw the new SlicingError
exceptions instead of std::runtime_error and to show the other exceptions
by a message dialog instead of a notification.
2020-09-14 18:03:22 +02:00
YuSanka
6ac1935932
Updated "undo/redo" and "search' icons for the toolbar
...
* added "settings" and "search_blink" icons
* suppress the icons scaling update when Plater is in the Preview mode
* switched "layers_height" and "search" buttons in the toolbar
2020-09-14 17:25:47 +02:00
enricoturri1966
70536f8212
Merge pull request #4740 from wavexx/fix_get_time_dhm
...
Do not include (incorrect!) seconds in get_time_dhm
2020-09-14 09:59:55 +02:00
enricoturri1966
349dd60940
Small refactoring
2020-09-14 09:18:20 +02:00
charlie
6434f54b74
fix build on arch linux
2020-09-14 08:57:23 +02:00
Yuri D'Elia
0edbc59fa3
Update FirmwareDialog to use GUI_App::code_font
2020-09-13 02:37:05 +02:00
Yuri D'Elia
87534bf0d4
Format all G-code sections as code
2020-09-13 02:37:05 +02:00
Yuri D'Elia
cd4ad5e78b
Introduce ConfigOptionDef::is_code to select code_font()
2020-09-13 02:36:50 +02:00
Yuri D'Elia
ba7f39afee
Introduce GUI_App::code_font()
2020-09-13 02:17:19 +02:00
Yuri D'Elia
a32bb59d8e
Do not include (incorrect!) seconds in get_time_dhm
2020-09-12 18:20:22 +02:00
Yuri D'Elia
ad20e369fa
Include PrintConfig for the definition of AuthorizationType
2020-09-11 16:51:05 +02:00
Yuri D'Elia
776a775996
Add missing forward declarations
2020-09-11 16:51:05 +02:00
enricoturri1966
dd6994c3b2
Logging of memory used by the gcode processor and viewer
2020-09-11 15:19:23 +02:00
enricoturri1966
aedb3892ba
Fixed conflicts after merge with master
2020-09-11 08:18:41 +02:00
enricoturri1966
95b918f01d
Updated Sys Info dialog, About dialog, Keyboard shortcuts dialog for gcode viewer
2020-09-11 08:03:13 +02:00
Lukáš Hejl
137e7a0712
Fix compiler warnings and failing compilation on macOS
2020-09-10 22:57:58 +02:00
Lukáš Hejl
7ef5def077
Fix typo in function build_octree
2020-09-10 22:38:37 +02:00
Lukáš Hejl
e9a325c9ca
Fix rotation in support cubic infill
2020-09-10 22:30:49 +02:00
tamasmeszaros
7766c6ebc4
Merge branch 'tm_rotfinder'
2020-09-10 20:06:18 +02:00
tamasmeszaros
20bd7b99f9
Significant performance improvements for elevated and non-elevated case
...
Apply bruteforce for elevated models
2020-09-10 19:35:45 +02:00
YuSanka
f1f9785a8a
SplashScreen:
...
* Show it on the display same as an Application
* Code refactoring : All related functions moved to the SplashScreen class
* Add a possibility o hide/show splash scree in Preferences
2020-09-10 18:54:29 +02:00
Lukáš Hejl
40a7a44495
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-10 17:02:54 +02:00
Lukáš Hejl
f49144a9ef
Move support cubic infill to separate class.
...
Support infill is enabled in the GUI.
2020-09-10 16:53:08 +02:00
Lukáš Hejl
8fb9b290b2
A prototype of adaptive support infill
2020-09-10 14:55:48 +02:00
Lukáš Hejl
680b1b9809
Construct octree based on inserted points
2020-09-10 14:52:26 +02:00
Lukáš Hejl
c261624999
A simple version of adaptive cubic support, for testing purposes
2020-09-10 14:52:26 +02:00
Lukáš Hejl
e55d184a7d
Fix missing initialization in TriangleMesh constructor
2020-09-10 14:52:26 +02:00
Lukáš Hejl
70cb67430c
Move rotation from building octree to infill generating
2020-09-10 14:52:21 +02:00
enricoturri1966
131cc0a41c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-10 14:35:40 +02:00
enricoturri1966
b991b613de
Updated titlebar and splash screen + hidden statusbar for gcode viewer
2020-09-10 14:33:55 +02:00
tamasmeszaros
d527122046
Performance optimizations and bugfix
2020-09-10 14:03:30 +02:00
tamasmeszaros
3b7ea5587e
Fix build on win
2020-09-10 14:03:30 +02:00
tamasmeszaros
0d4c67b9a3
Mostly working, inefficiencies remain, status indication partly broken
2020-09-10 14:03:30 +02:00
tamasmeszaros
9f3e7617d8
Add Imgui popup for rotation gizmo under SLA
2020-09-10 14:03:30 +02:00
tamasmeszaros
b4b9af4100
cosmethics
...
Comments and cosmethics
2020-09-10 14:03:30 +02:00
tamasmeszaros
c10ff4f503
fixing optimizer and concurrency::reduce
2020-09-10 14:03:30 +02:00
tamasmeszaros
c193d7c930
Brute force optimization code, buggy yet
...
wip
wip
wip refactor
2020-09-10 14:03:30 +02:00
tamasmeszaros
b4e30cc8ad
rotation finder experiments
...
wip
2020-09-10 14:03:30 +02:00
tamasmeszaros
7713a55d45
Do a mesh split before openvdb conversion, unify each part's grid
...
Do a mesh redistance after the part splitting and openvdb csgUnion
2020-09-10 13:39:43 +02:00
tamasmeszaros
50836914fc
Calibration changes to address new algorithm behavior.
2020-09-10 13:37:58 +02:00
tamasmeszaros
a21ff4141b
Fix failing test due to changes in support point genertion
2020-09-10 13:19:17 +02:00
tamasmeszaros
26d5c30366
Improvements to support point generator
...
- Separate the 3 bands -- dangling, sloping and full overhanging -- regions and handle them with different support force deficits.
- Use a heuristic for overhanging edges to increase the number of support points generated for them
- Try to make overhangs and slopes deficit depend on stable area.
2020-09-10 13:19:17 +02:00
enricoturri1966
ea9a8b7e93
Hides view toolbar in gcode viewer
2020-09-10 09:43:45 +02:00
enricoturri1966
659c24d3d8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-10 08:50:00 +02:00
enricoturri1966
88457bf412
Tech ENABLE_GCODE_VIEWER_AS_STANDALONE_APPLICATION set as default
2020-09-10 08:49:50 +02:00
Vojtech Bubnik
6a11e7996e
Merge branch 'lh_adaptive_infill'
2020-09-09 16:46:43 +02:00
Vojtech Bubnik
7b318e1698
Refactoring of adaptive cubic infill:
...
Don't create an octree for the infill if it is not needed.
2020-09-09 15:55:06 +02:00
enricoturri1966
3527cd48e8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-09 15:04:40 +02:00
enricoturri1966
2f9dd9d9e8
Completed implementation of 'File->GCode preview...' command
2020-09-09 15:03:51 +02:00
Lukáš Hejl
5e9399247c
Check if exist any boundary polyline
2020-09-09 14:40:14 +02:00
Lukáš Hejl
5633526ecf
Enable changing adaptive infill density for different objects
2020-09-09 14:40:14 +02:00
Lukáš Hejl
aca212c5bc
Octree representation rework
2020-09-09 14:40:14 +02:00
Lukáš Hejl
acedb66cdc
Change to using raw_mesh instead of mesh
2020-09-09 14:40:14 +02:00
Lukáš Hejl
000987451a
Fix bug in lines merging
2020-09-09 14:40:14 +02:00
Lukáš Hejl
03e103fcc8
Connect infill to perimeters
2020-09-09 14:40:14 +02:00
Lukáš Hejl
398d429ce1
Code cleanup
2020-09-09 14:40:14 +02:00
Lukáš Hejl
d09ac41d2c
Octree's first cube depends on model size.
2020-09-09 14:40:14 +02:00
Lukáš Hejl
2debffc496
Fix tests which expect make_fills without arguments
2020-09-09 14:40:14 +02:00
Lukáš Hejl
33121b705a
Change in passing octree struct
2020-09-09 14:40:08 +02:00
Lukáš Hejl
9eeb5e4364
Fix wrong data type
2020-09-09 14:37:20 +02:00
Lukáš Hejl
65ba40f044
Fix crash on inconsistent input
2020-09-09 14:37:20 +02:00
Lukáš Hejl
867681ae56
Fix discontinuous extrusion lines for adaptive infill
2020-09-09 14:37:20 +02:00
Lukáš Hejl
14a7fbc9f7
Switch to smart pointers
2020-09-09 14:37:17 +02:00
Lukáš Hejl
c0d21bd2b4
Polylines merging
2020-09-09 14:34:04 +02:00
Lukáš Hejl
c311b84b21
Add function for check existence of triangle in define radius
2020-09-09 14:34:04 +02:00
Lukáš Hejl
9f049b2619
Generating polylines from octree
2020-09-09 14:34:04 +02:00
Lukáš Hejl
34f38c4a79
Building octree based on distance from mesh
2020-09-09 14:34:04 +02:00
Lukáš Hejl
0d26df3cf6
Preparation for new infill
2020-09-09 14:34:04 +02:00
Vojtech Bubnik
e010d287c5
Fixed launching of new slicer instances on Windows.
2020-09-09 11:41:23 +02:00
enricoturri1966
d8530e7d9f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-09-09 09:12:56 +02:00
enricoturri1966
6b10214bec
Fixed export of pause print lines into gcode
2020-09-09 09:06:50 +02:00
enricoturri1966
4b581ccdd8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-09-09 08:39:43 +02:00
YuSanka
6f0ace52c6
Merge remote-tracking branch 'origin/ys_splash_screen'
2020-09-08 16:13:54 +02:00
YuSanka
3c14d883a1
PhysicalPrinterDialog: Fixed memory leak
2020-09-08 16:11:01 +02:00
enricoturri1966
8cb2636afc
Fixed conflicts after merge with master
2020-09-08 15:38:35 +02:00
Vojtech Bubnik
ce06fc6cb7
Added networking support for SL1 Digest authorization.
...
Renamed login/password/authorization_type to printhost_user/printhost_password/printhost_authorization_type.
Added initialization of physical printer preset with default values.
2020-09-08 15:31:10 +02:00
enricoturri1966
a13b732f27
Fixed loading current presets
2020-09-08 15:30:01 +02:00
YuSanka
07499ff9d0
Fixed Scale on Linux
2020-09-08 15:20:12 +02:00
Vojtech Bubnik
0a4debc98c
Fix of a preceding merge
2020-09-08 14:25:10 +02:00
Vojtech Bubnik
ceaa61071a
Fix of the previous merge, Windows specific.
2020-09-08 14:08:03 +02:00
enricoturri1966
eded5b051d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-08 14:01:55 +02:00
enricoturri1966
844f62af66
Cleanup toolpaths when changing printer to SLA
2020-09-08 14:01:32 +02:00
Vojtech Bubnik
4e4b8ff5aa
Merge branch 'vb_gcodeviewer_menu'
2020-09-08 13:51:02 +02:00
YuSanka
9ce3086f02
Splash screen : Try to fix scaling on Linux
2020-09-08 13:40:14 +02:00
Vojtech Bubnik
946f51467f
WIP Standalone G-code viewer
2020-09-08 13:33:43 +02:00
test
0f64b67ffa
osx fix
2020-09-08 12:39:11 +02:00
enricoturri1966
f6534f5f7a
Follow-up of 7270d222df
-> Fix of build on OsX and Linux
2020-09-08 12:36:57 +02:00
enricoturri1966
7270d222df
Fix build on OsX
2020-09-08 12:10:07 +02:00
enricoturri1966
67d10a3c0c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-09-08 11:55:35 +02:00
enricoturri1966
2443b7aaea
Splash screen for gcode viewer
2020-09-08 11:55:21 +02:00
enricoturri1966
93ed04ef7b
Fixed conflicts after merge with master
2020-09-08 11:50:11 +02:00
Vojtech Bubnik
0fde670fd6
osx fix
2020-09-08 11:49:02 +02:00
enricoturri1966
f58d3116bf
Fixed crash when loading gcode files saved with older version of PrusaSlicer 2.3.0.alpha
2020-09-08 11:43:18 +02:00
enricoturri1966
ab556a398b
GCode viewer using the proper layout when started as a standalone application
2020-09-08 11:40:06 +02:00
Vojtech Bubnik
3c51581e92
Another fix
2020-09-08 11:36:00 +02:00
Vojtech Bubnik
77ba284a59
Trying to fix spawn on OSX
2020-09-08 11:22:27 +02:00
Vojtech Bubnik
663f17a0e3
Improved logging of spawning a subprocess.
2020-09-08 09:57:17 +02:00
YuSanka
1418b71541
Linux: Try to fix warning "Na handler for image type 15"
2020-09-08 09:12:40 +02:00
Vojtech Bubnik
d830e1c970
Run PrusaSlicer as G-code viewer based on argv[0] name on Unix systems.
2020-09-07 22:37:55 +02:00
Vojtech Bubnik
f237b33515
Yet another fix on OSX.
2020-09-07 22:28:17 +02:00
test
620c85f264
Fix on OSX
2020-09-07 22:00:01 +02:00
Vojtech Bubnik
889f05167a
Changing the binary name on OSX to PrusaSlicer.
2020-09-07 21:36:51 +02:00
YuSanka
5618293a28
Splash screen : implemented smart splash screen
2020-09-07 21:21:13 +02:00
Vojtech Bubnik
8622437c12
fixing symlinks
2020-09-07 18:09:51 +02:00
Vojtech Bubnik
ae0e576c32
Fixing Linux build
2020-09-07 17:41:16 +02:00
Vojtech Bubnik
1221c67d7f
Fix for OSX
2020-09-07 17:09:27 +02:00
Vojtech Bubnik
9473ae8fe2
Fix of previous commit, added symlinks to gcodeviewer on Linux & OSX
2020-09-07 16:56:22 +02:00
bubnikv
b0bedf33c0
WIP: G-code viewer menu, refactoring of starting a background process.
2020-09-07 15:59:45 +02:00
enricoturri1966
8579184d70
Follow-up of 573194e059
-> Fixed crash when opening a gcode file
2020-09-07 11:30:31 +02:00
Lukáš Hejl
97e62be902
Check if exist any boundary polyline
2020-09-07 09:14:06 +02:00
enricoturri1966
014a90b51b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-07 08:35:54 +02:00
enricoturri1966
e10d1eba54
GCodeProcessor -> Use decorations to detect toolpaths height for gcode files generated by PrusaSlicer
2020-09-07 08:35:34 +02:00
YuSanka
902de849c0
Implemented class SplashScreen for using of text
2020-09-04 20:25:27 +02:00
YuSanka
9d786b5f88
Fixed non-MSW builds
2020-09-04 16:21:36 +02:00
YuSanka
486c07702c
Added SplashScreen
2020-09-04 13:42:44 +02:00
YuSanka
c8133b91b7
Code cleaning.
...
+ Use default DPIfont for wxHtmlWindows
2020-09-04 13:01:02 +02:00
Lukas Matena
436e12e99f
Seam gizmo: fixed action names in undo/redo stack
2020-09-04 12:46:39 +02:00
YuSanka
ba87a4fd9a
Fixed rescale of the MainFrame/SettingsDialog after switching between settings layouts on the 2 monitors with different DPI
2020-09-04 10:08:54 +02:00
Lukáš Hejl
6c01d537e4
Enable changing adaptive infill density for different objects
2020-09-03 23:15:46 +02:00
Lukáš Hejl
ce18b824ad
Octree representation rework
2020-09-03 19:21:55 +02:00
Lukáš Hejl
c2af265df8
Change to using raw_mesh instead of mesh
2020-09-03 16:08:40 +02:00
YuSanka
c49221c621
Fix of Settings scaling when they are placed in non-modal Dialog
2020-09-03 15:40:14 +02:00
Lukáš Hejl
184cb7afd9
Fix bug in lines merging
2020-09-03 14:28:25 +02:00
Lukáš Hejl
353c65fa4c
Connect infill to perimeters
2020-09-03 13:05:28 +02:00
Lukáš Hejl
a3a1c20172
Code cleanup
2020-09-03 11:56:41 +02:00
YuSanka
0f0c9a0726
OSX specific: UnsavedChangesDialog: Fixed strange ellipsis for items in DataViewCtrl
2020-09-03 10:44:54 +02:00
YuSanka
cbe93815b2
Fixed layout after switching mode of settings layout
2020-09-03 09:27:53 +02:00
enricoturri1966
573194e059
GCodeProcessor -> Added cancel callback
2020-09-03 08:32:06 +02:00
Lukáš Hejl
fd3a31651c
Octree's first cube depends on model size.
2020-09-03 08:04:05 +02:00
Lukáš Hejl
71237cf11f
Fix tests which expect make_fills without arguments
2020-09-03 07:52:53 +02:00
Lukáš Hejl
5997f2759c
Change in passing octree struct
2020-09-02 22:53:10 +02:00
enricoturri1966
0cfa64e245
GCodeViewer -> Fixed bug in generating solid toolpaths and export of toolpaths to obj file
2020-09-02 14:24:32 +02:00
YuSanka
4d053cc4ee
Merge remote-tracking branch 'origin/master' into ys_unsaved_changes
2020-09-02 09:15:11 +02:00
YuSanka
d8487b1458
Unsaved Changes: bug fix and improvements
...
- changed width of the "Save dialog"
- SavePresetDialog: added info for Print/Filament user presets incompatible with selected printer_technology
- fixed missed "modified" suffix when options are moved to the another preset
- "move selected options" button is added for dependent presets
2020-09-02 09:06:42 +02:00
Lukas Matena
7844ca12fa
First naive prototype of seam painter
2020-09-02 00:36:30 +02:00
Lukas Matena
60cf002e94
Fixed merge conflicts (whitespace only)
2020-09-02 00:36:30 +02:00
Lukas Matena
46eb96e84f
Added two missing icons to fix build on Linux
2020-09-01 23:26:08 +02:00
Lukas Matena
6646198a9b
Merge branch lm_seam_painter_frontend
2020-09-01 23:03:16 +02:00
Lukas Matena
9c59b4f930
Custom seam: Model integration, backend invalidation, 3MF loading/saving
2020-09-01 22:35:01 +02:00
Lukas Matena
01b59ff57b
Seam gizmo created on frontend
2020-09-01 18:18:57 +02:00
Lukas Matena
db7559157c
Revert "Forbid translation of objects when SLA/Hollow/FDM gizmos are active"
...
This reverts commit c291717909
. Translation of object when those
gizmos are active should already be supressed by previous commit (ba97ebb0). The FDM gizmo was
erroneously not blocking the translation, the commit that is reverted is therefore needless
after this was fixed the way it should have been fixed in the first place.
2020-09-01 18:18:57 +02:00
Lukas Matena
a9435cccb8
Finished separation of FDM gizmo into base and child
2020-09-01 18:18:57 +02:00
Lukas Matena
7a6531ede7
Started work on separating FDM gizmo into base and child classes
2020-09-01 18:18:57 +02:00
Lukas Matena
223eb6933c
TriangleSelector paints continuously when dragging fast
...
Previously there would be distinct circles with gaps in between
2020-09-01 18:18:57 +02:00
Lukas Matena
d3e7684a5a
Forbid translation of objects when SLA/Hollow/FDM gizmos are active
2020-09-01 18:18:56 +02:00
Lukas Matena
255469347f
Fixed several indentation-related warnings
2020-09-01 18:18:56 +02:00
tamasmeszaros
761e71eb63
Fix build on msvc
2020-09-01 18:18:56 +02:00
Lukas Matena
1eef1d32a0
Added two missing includes to fix build on gcc
2020-09-01 18:12:51 +02:00
David Kocik
6033e69906
filaments selecting: sorting via printer, showing printers for filament
2020-09-01 18:00:12 +02:00
bubnikv
08580a9b18
WIP: prusa-gcodeviewer command line wrapper to start the PrusaSlicer
...
in standalone G-code viewer mode.
Linux and OSX stuff will follow.
2020-09-01 16:56:12 +02:00
enricoturri1966
ac9e1e8e4a
Extract app icon from exe on Windows
2020-09-01 16:14:18 +02:00
David Kocik
3984326ee3
notification init() at first render, not notification creation. Hopefully a fix of issue #4647 .
2020-09-01 15:57:49 +02:00
David Kocik
a81afce1b8
notifications not showing slicing finished when error
2020-09-01 15:57:48 +02:00
David Kocik
bca60821d8
notifications: plater warning refactor
2020-09-01 15:57:48 +02:00
David Kocik
25fb569017
notifications: plater warning not visible in preview
2020-09-01 15:57:48 +02:00
David Kocik
2455df4017
notifiactions: new icons + deleting old warnings&errors
2020-09-01 15:57:48 +02:00
enricoturri1966
acb5a9bc8d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-01 14:35:51 +02:00
enricoturri1966
d3346e4512
Fixed export of toolpaths to obj files
2020-09-01 14:35:42 +02:00
Vojtech Bubnik
683af51685
Replaced boost::filesystem::canonical() with boost::filesystem::absolute(),
...
as canonical() is broken on Windows (reparse points aka symbolic links
are not processed correctly).
Fixes
https://github.com/prusa3d/PrusaSlicer/issues/732
https://github.com/prusa3d/PrusaSlicer/issues/3956
https://github.com/prusa3d/PrusaSlicer/issues/4557
2020-09-01 14:15:37 +02:00
enricoturri1966
e32930aa6c
Code cleanup
2020-09-01 09:28:02 +02:00
enricoturri1966
bf7b952eff
GCodeViewer -> Smoothed solid toolpaths corners
2020-09-01 08:29:06 +02:00
Lukáš Hejl
423d1f2f40
Fix wrong data type
2020-08-31 08:49:17 +02:00
Lukáš Hejl
8e6760e033
Fix crash on inconsistent input
2020-08-30 20:38:07 +02:00
enricoturri1966
b563010bf1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-28 12:30:45 +02:00
enricoturri1966
1c2ef87cfa
GCodeViewer -> Reduced vertices count when generating solid toolpaths
2020-08-28 12:28:21 +02:00
enricoturri1966
d07d5e36de
Follow-up of 93921dc7c8
-> Remove taskbar icon before to change it
2020-08-28 11:20:18 +02:00
enricoturri1966
93921dc7c8
ENABLE_GCODE_VIEWER -> Experimental taskbar icon
2020-08-28 08:54:58 +02:00
tamasmeszaros
79567a1958
Add some comments for png read interface
2020-08-27 23:14:42 +02:00
tamasmeszaros
ad0df8fd09
Be compatible with earlier libpng versions.
2020-08-27 23:14:42 +02:00
tamasmeszaros
b09552e56f
Don't use fmemopen, its not standard.
2020-08-27 23:14:42 +02:00
tamasmeszaros
8541ce4060
SLA archive import will now recover the model's original position.
2020-08-27 23:14:42 +02:00
tamasmeszaros
769ee15475
Move SLA import to libslic3r with png reading using libpng
...
Also fix flipped object issue
2020-08-27 23:14:42 +02:00
tamasmeszaros
2bcd36d155
PNG image read with libpng
2020-08-27 23:14:42 +02:00
tamasmeszaros
19e1d877aa
Don't use sla::EncodedRaster in SLAImport, revive opencsg sandbox
2020-08-27 23:14:42 +02:00
enricoturri1966
e22e85e8e2
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-27 13:11:49 +02:00
enricoturri1966
8af3659e98
GCodeViewer -> Fixed generation of solid toolpaths
2020-08-27 13:11:28 +02:00