Commit Graph

6191 Commits

Author SHA1 Message Date
fad1f5e84f Fixed typo 2020-10-01 08:34:16 +02:00
3f7d41df15 Imgui dialog layout adjustments after the new combo was added 2020-10-01 00:49:14 +02:00
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
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
6744a40cd5 Slight refactoring 2020-10-01 00:05:12 +02:00
1ca8120398 Sphere selection added as an option for painting gizmos 2020-10-01 00:05:01 +02:00
c696e6ec19 Experiment with spherical cursor (painting gizmos) 2020-09-30 17:34:11 +02:00
8bf0f75e83 Fixed compilation with wxWidgets 3.0 2020-09-30 17:33:08 +02:00
1ca872f81e Fixed size of selected single volumes 2020-09-30 15:11:17 +02:00
e8325a8e2d Fixes of DPI scaling on Windows. 2020-09-30 14:02:23 +02:00
dad8a47741 Fixed splash screen info label 2020-09-30 13:35:19 +02:00
6685e78605 Fixed red background wrongly showing up when slicing with SLA printer 2020-09-30 13:24:37 +02:00
dcc5d795af Follow-up of 63ab60467a -> Code cleanup 2020-09-30 11:59:41 +02:00
63ab60467a Added progress dialog while generating toolpaths to render 2020-09-30 11:56:02 +02:00
e55a9cceec #4808 - Fixed incorrect detection of toolpaths outside of printbed 2020-09-30 10:58:14 +02:00
980fe77b32 #4806 - Fixed detection of move type for G1 lines containing Z>0 and E>0 2020-09-30 08:34:29 +02:00
ab0890ed34 Merge remote-tracking branch 'remotes/origin/vb_modelobject' 2020-09-29 16:31:18 +02:00
13dcc3e7a0 OSX specific: Set SplashScreen as TopWindow 2020-09-29 08:39:57 +02:00
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
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
54fbbb1a23 InstanceCheck: typo in DBus function name 2020-09-25 15:13:01 +02:00
48b0a14c4c Fixup of previous commit 2020-09-25 13:00:43 +02:00
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
11a410b4e7 Updated SplashScreen
+ Increased gap_size for main and undo/redo toolbars
2020-09-25 11:02:54 +02:00
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
e0b0a2cdcf Fix of previous commit. 2020-09-24 20:32:52 +02:00
7a799be426 DynamicPrintConfig::normalize() renamed to normalize_fdm(),
optimization of Print::apply()
2020-09-24 19:03:33 +02:00
8ea4b5fd78 instance check - bug fixes and refactoring based on code review. 2020-09-24 17:19:19 +02:00
94aac4cf97 What MSVC could process I always wonder. 2020-09-24 15:45:04 +02:00
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
0974d2a0e6 Added missing include to fix build against wx3.0 (Linux) 2020-09-24 14:14:22 +02:00
0d6eb842b0 Merge branch 'vb_undoredo_timestamp' 2020-09-23 13:00:01 +02:00
dde64d361b Tiny polishing and documentation. 2020-09-23 12:59:15 +02:00
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
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
4bf49d960c Merge branch 'lm_seam_painter_backend' 2020-09-22 21:02:07 +02:00
67bdf9687d Alessandro's name spelling fix (README, manifests) 2020-09-22 20:45:59 +02:00
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
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
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
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
cf50224248 Fix build on macOS and one logic error 2020-09-18 14:26:06 +02:00
6db2d3a0b2 Merge branch 'master' into lm_seam_painter_backend 2020-09-18 13:44:45 +02:00
f2951b53c0 Fix build on Linux 2020-09-18 13:37:37 +02:00
348c654c26 Adaptive infill:
Fixing compilation on Linux,
WIP: Better chainining of infill lines.
2020-09-18 13:35:35 +02:00
8123930ee5 Store seam history for more islands 2020-09-18 12:20:02 +02:00
5432784ed4 Split generation of vertex and index buffers for toolpaths to reduce peak of memory used 2020-09-18 12:15:38 +02:00
8dd345ed4c use center of enforcer only with spAligned 2020-09-18 12:00:48 +02:00
fffb79a085 Simple implementation of spRandom 2020-09-18 12:00:40 +02:00
5d6bf3261e fixed center-finding algorithm 2020-09-18 12:00:40 +02:00