Commit Graph

8562 Commits

Author SHA1 Message Date
a186a4cafc Imgui dialog layout adjustments after the new combo was added 2020-10-01 00:49:14 +02:00
f54bb097ff 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
9c3877fde1 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
9de2729ff2 Slight refactoring 2020-10-01 00:05:12 +02:00
1b6c75e98f Sphere selection added as an option for painting gizmos 2020-10-01 00:05:01 +02:00
0097301194 Experiment with spherical cursor (painting gizmos) 2020-09-30 17:34:11 +02:00
d6deb1b9f4 Fixed compilation with wxWidgets 3.0 2020-09-30 17:33:08 +02:00
cdd09efada Fixed size of selected single volumes 2020-09-30 15:11:17 +02:00
b3b989158a Fixes of DPI scaling on Windows. 2020-09-30 14:02:23 +02:00
78b9272503 Fixed splash screen info label 2020-09-30 13:35:19 +02:00
d0ee9601b7 Fixed red background wrongly showing up when slicing with SLA printer 2020-09-30 13:24:37 +02:00
6358bbaa17 Follow-up of 63ab60467a -> Code cleanup 2020-09-30 11:59:41 +02:00
311aa7d911 Added progress dialog while generating toolpaths to render 2020-09-30 11:56:02 +02:00
68143d20ed #4808 - Fixed incorrect detection of toolpaths outside of printbed 2020-09-30 10:58:14 +02:00
f97f620903 #4806 - Fixed detection of move type for G1 lines containing Z>0 and E>0 2020-09-30 08:34:29 +02:00
267d72a952 Merge remote-tracking branch 'remotes/origin/vb_modelobject' 2020-09-29 16:31:18 +02:00
cfe305a97a Refresh the page tree immediately after key press. 2020-09-29 14:47:03 +02:00
21a75575f3 Cancellation of parameter page build process. 2020-09-29 13:36:56 +02:00
2439458ce0 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
c69d6e4b01 OSX specific: Set SplashScreen as TopWindow 2020-09-29 08:39:57 +02:00
e340463eaf 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
ad303d608c 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
0217aeda32 InstanceCheck: typo in DBus function name 2020-09-25 15:13:01 +02:00
03bf1799c0 Fixup of previous commit 2020-09-25 13:00:43 +02:00
4a8ec3a3c2 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
925bdb2c16 Updated SplashScreen
+ Increased gap_size for main and undo/redo toolbars
2020-09-25 11:02:54 +02:00
6fe520be2d Fixed crash on BedShapeDialog creation 2020-09-25 10:44:22 +02:00
4b02e888ee 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
e53d1e63cb Fix of previous commit. 2020-09-24 20:32:52 +02:00
175cb54df9 DynamicPrintConfig::normalize() renamed to normalize_fdm(),
optimization of Print::apply()
2020-09-24 19:03:33 +02:00
73d31a601a 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
7dbe244bdc instance check - bug fixes and refactoring based on code review. 2020-09-24 17:19:19 +02:00
247e9825a4 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
46ac8db02f What MSVC could process I always wonder. 2020-09-24 15:45:04 +02:00
4e0a0c5c51 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
9a0c129ad8 Added missing include to fix build against wx3.0 (Linux) 2020-09-24 14:14:22 +02:00
b099febed3 Merge branch 'vb_undoredo_timestamp' 2020-09-23 13:00:01 +02:00
e7ba06259f Tiny polishing and documentation. 2020-09-23 12:59:15 +02:00
8a329ebfea "There is an object with no extrusions on the first layer."
should throw SlicingError, not RuntimeError.
2020-09-23 12:58:58 +02:00
4abb613ead 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
8cc3d9eabb Fixed msw_scale() for Infill field 2020-09-23 09:35:30 +02:00
bb1ba1575a Merge remote-tracking branch 'origin/master' into ys_optgroup_refact 2020-09-23 08:38:21 +02:00
7126ab37b2 Fixed non-MSW builds 2020-09-23 08:33:16 +02:00
e42681729f Merge branch 'lm_seam_painter_backend' 2020-09-22 21:02:07 +02:00
2c86c6e68b Alessandro's name spelling fix (README, manifests) 2020-09-22 20:45:59 +02:00
dfaf3c5c97 Fixed scaling on MSW for new OptionsGroup 2020-09-22 16:16:35 +02:00
f119b833a2 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
5d144237ac 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
9b1ae700e8 Code refactoring of the OptionsGroup class:
Controls are created only for the active page now
2020-09-22 11:17:43 +02:00
56e6d10a86 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