Commit Graph

3384 Commits

Author SHA1 Message Date
Enrico Turri
4479c5444a 1st installment of gizmo move 3D 2018-09-11 09:00:28 +02:00
Enrico Turri
781df150a1 Added perl callback for gizmo flatten 2018-09-10 14:10:08 +02:00
YuSanka
9c433f8e08 Try to fix AddSettingsChild on OSX 2018-09-10 13:59:44 +02:00
Enrico Turri
1516c46d0b Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-09-10 13:49:25 +02:00
Enrico Turri
78bc688a7f Fixed compile on Linux 2018-09-10 13:48:35 +02:00
Enrico Turri
333bc1523a Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-09-10 13:19:53 +02:00
Enrico Turri
be508b003a Fixed #1211 2018-09-10 13:15:12 +02:00
YuSanka
e914a719f8 Added printfs for code debugging on OSX 2018-09-10 12:17:41 +02:00
Lukas Matena
891b6a8a34 First experiments with sla supports ui 2018-09-10 12:08:57 +02:00
Enrico Turri
d8936b1ad8 Another partial refactoring of 3d gizmos 2018-09-10 11:58:24 +02:00
Enrico Turri
5e8bd47988 Partial refactoring of 3d gizmos 2018-09-10 10:01:49 +02:00
YuSanka
a59a84f237 Experiment with icon size 2018-09-10 09:28:37 +02:00
bubnikv
49697ed6aa Replaced this->m_xxx with just m_xxx 2018-09-10 09:11:49 +02:00
YuSanka
b7effbde17 Fixed typo for last commit 2018-09-07 16:29:16 +02:00
YuSanka
810b48887d Fixed Adding generic modifiers on GTK & OSX
+ Try to fix correct settings adding on GTK & OSX
+ Fixed Linux compilation
2018-09-07 16:16:11 +02:00
Enrico Turri
df320523b1 Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-09-07 16:07:16 +02:00
Enrico Turri
62894d3f7b Export the first M73 line to gcode before custom gcode 2018-09-07 16:05:10 +02:00
bubnikv
6de8e21131 New support settings: "support_material_auto" controls, whether
the supports shall be generated automatically.
If not, only supports inside support enforcers are generated.
2018-09-07 14:53:42 +02:00
Enrico Turri
e1deb03d3c Added perl callback for three doubles 2018-09-07 14:21:04 +02:00
Enrico Turri
775ec1b546 Tweaks to gizmo scale 3D 2018-09-07 13:40:26 +02:00
Enrico Turri
d39ed75148 Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-09-07 13:37:53 +02:00
Vojtech Kral
00c51e06ed
Merge pull request #1195 from mloidl/duet_whitespace
duet upload: allow whitespaces in filenames
2018-09-07 13:05:37 +02:00
Enrico Turri
ada6dba00b Selection of picking color for gizmo grabber moved into GLGizmoBase 2018-09-07 12:20:56 +02:00
tamasmeszaros
1acee89006 Refinements for small item arrangement using the increased cpu power. 2018-09-07 12:03:49 +02:00
Enrico Turri
ea15475ad8 Fixed double click on gizmo overlay and toolbar 2018-09-07 12:00:04 +02:00
Enrico Turri
e9d5cd726e Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-09-07 10:32:39 +02:00
Enrico Turri
e04805eaa2 Fixed rendering of endcaps on open toolpaths 2018-09-07 10:30:13 +02:00
tamasmeszaros
ec3e1403b6 Cleaning up and fixing localization issues with AppController. 2018-09-07 10:24:05 +02:00
tamasmeszaros
ae2b4dd01c Merge remote-tracking branch 'origin/master' into parallel_arrange 2018-09-07 09:53:32 +02:00
Martin Loidl
6960958276 minor changes for url_encode 2018-09-06 19:07:54 +02:00
YuSanka
27f196be59 Implement "Add generic" menu item like submenu instead of selection dialog 2018-09-06 16:36:10 +02:00
Enrico Turri
8460926d36 Added select by part tool to toolbar 2018-09-06 16:10:31 +02:00
bubnikv
2a81408e8b Implemented support enforcers / blockers.
Reduced amount of full support interfaces similar to S3D.
2018-09-06 14:19:20 +02:00
YuSanka
4e9e59fd80 Disable "Split" menu item for non-splittable objects 2018-09-06 10:15:57 +02:00
Enrico Turri
c8f1369824 Added Vec3d ModelInstance::transform_vector() method 2018-09-06 09:16:32 +02:00
Enrico Turri
b9287d51dd Tweaks to ModelObject::center_around_origin() 2018-09-06 08:56:33 +02:00
Martin Loidl
e1417f1827 allow whitespaces for duet upload
* now url_encoding characters which could not used for URLs
2018-09-05 19:55:50 +02:00
Enrico Turri
677dad0669 Object's properties updated while manipulating gizmos 2018-09-05 16:22:48 +02:00
Lukas Matena
c83a5474f6 Wipe tower extrusions are now accounted for in the filament consumption statistics 2018-09-05 15:35:35 +02:00
Enrico Turri
42567e3af2 Object's position updated on gui after displacement 2018-09-05 15:35:09 +02:00
Enrico Turri
622e86d9e4 Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-09-05 15:32:12 +02:00
Enrico Turri
aef871f1a0 Another fix in flatten gizmo's flattening normal 2018-09-05 15:13:29 +02:00
Enrico Turri
df594fc5b0 Tweaks to update of object properties on gui 2018-09-05 15:09:13 +02:00
YuSanka
82838cc640 Final bug-fix for #1169 considering issue #971 2018-09-05 15:03:20 +02:00
Enrico Turri
b9e6f8f3e3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-09-05 14:12:58 +02:00
Enrico Turri
011281068b Fixed flatten gizmo's flattening normal 2018-09-05 14:02:08 +02:00
YuSanka
8ba48f8dc5 fixed typo-bug 2018-09-05 12:33:04 +02:00
YuSanka
f2563c4a22 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-09-05 12:02:52 +02:00
YuSanka
e2830dc337 Fix to last commit 2018-09-05 12:02:34 +02:00
Enrico Turri
407aee9942 Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-09-05 09:51:31 +02:00
Enrico Turri
77b9982ea7 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-09-05 09:49:28 +02:00
Enrico Turri
f95b84e913 Fixed stl import when endsolid lines contains extra data 2018-09-05 09:49:10 +02:00
YuSanka
f67060f012 Fixed bug from issue #1169 2018-09-05 09:47:36 +02:00
Enrico Turri
d41b7a3749 Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-09-05 09:19:36 +02:00
Lukas Matena
e3de278afc Another attempt to fix the temperature change issue 2018-09-05 09:18:42 +02:00
Enrico Turri
87c5c8e7f6 Renamed GLVolume member variables to match the corresponding ModelInstance ones 2018-09-05 09:11:58 +02:00
Enrico Turri
6b1b2bad76 Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-09-04 14:43:14 +02:00
Enrico Turri
15b1340514 Added ModelInstance::world_matrix() method and stl_transform using eigen transform 2018-09-04 14:42:14 +02:00
YuSanka
f471362e86 Added SettingsDigest 2018-09-04 13:15:27 +02:00
Enrico Turri
ab1517caf5 Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-09-04 12:41:37 +02:00
Enrico Turri
5f2afad95e Fixed render of picking pass for flatten gizmo 2018-09-04 12:41:14 +02:00
YuSanka
af6a312fea Fix to last commit 2018-09-04 09:25:54 +02:00
YuSanka
fb3a4015f6 Implemented "Settings to modified" as a subobject for objects and parts 2018-09-03 16:21:08 +02:00
Lukas Matena
b0216b190a Bugfix - extruder temperature was sometimes not correctly set on the wipe tower 2018-09-03 10:15:40 +02:00
YuSanka
78cedb34d4 Fixed bug with no-slicing of some parts of the object
+ Removed text drawing for equal values in DoubleSlider
+ Added functions for adding of the settings item for objects
2018-09-03 09:58:35 +02:00
Enrico Turri
6a48d79b0b Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-09-03 08:35:13 +02:00
bubnikv
6a1f15823f Merge remote-tracking branch 'origin/master' into support_improvements 2018-09-01 11:49:38 +02:00
Martin Loidl
22569de00f fixes date for uploaded files 2018-09-01 11:23:33 +02:00
YuSanka
3075364da1 Fixed bug with crashing after part split for single material object 2018-08-31 14:15:26 +02:00
YuSanka
a3c2c511f0 Reorganized right panel 2018-08-31 13:42:53 +02:00
Enrico Turri
e79919ac2d Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-08-31 13:32:52 +02:00
tamasmeszaros
6e2ed48e5a Merge remote-tracking branch 'origin/feature_arrange_with_libnest2d' into dev
# Conflicts:
#	xs/src/slic3r/AppController.cpp
2018-08-31 10:55:55 +02:00
Enrico Turri
ae9355e634 Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-08-31 08:46:47 +02:00
Enrico Turri
bb4329c8d0 Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-08-31 08:33:42 +02:00
tamasmeszaros
4f53fc2a5f Merge remote-tracking branch 'origin/cpp_progress_status_bar' into dev
# Conflicts:
#	lib/Slic3r/GUI/MainFrame.pm
#	xs/src/slic3r/AppController.cpp
#	xs/src/slic3r/AppControllerWx.cpp
#	xs/src/slic3r/GUI/GUI.hpp
2018-08-30 17:35:49 +02:00
bubnikv
d57725ee18 Bumped up the version number to 1.41.0 release,
bundled updated PrusaResearch configs.
2018-08-30 16:08:25 +02:00
YuSanka
1358c8efd2 Removed old sliders from 3DPreview 2018-08-30 15:30:31 +02:00
bubnikv
3c0060d9ac Merge remote-tracking branch 'remotes/origin/master' into support_improvements 2018-08-30 15:24:49 +02:00
tamasmeszaros
f5b1729af3 fixing build issues 2018-08-30 12:11:52 +02:00
tamasmeszaros
15ad0ef2f2 working C++ status bar.
Signed-off-by: tamasmeszaros <meszaros.q@gmail.com>
2018-08-30 11:55:10 +02:00
tamasmeszaros
9e2d48ff3b Almost working c++ status bar
Signed-off-by: tamasmeszaros <meszaros.q@gmail.com>
2018-08-30 11:54:08 +02:00
YuSanka
99aaedffc1 Added PrusaDoubleSlider on 3DPreview 2018-08-30 10:42:55 +02:00
Enrico Turri
3750bd781e Enhanced gizmo scale 3D 2018-08-29 13:36:03 +02:00
Enrico Turri
4c80a104f5 Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-08-29 13:35:22 +02:00
YuSanka
6c1b52afa2 Deleted "scale" column from object list 2018-08-29 13:11:30 +02:00
Enrico Turri
67ca355912 Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-08-29 11:22:30 +02:00
YuSanka
7fd7d83470 Updated PrusaDoubleSlider icons 2018-08-29 11:21:22 +02:00
YuSanka
b1d418a799 Merge remote-tracking branch 'origin/dev' into new_main_page_ui 2018-08-29 10:06:29 +02:00
YuSanka
2dcfd74579 Try to fix object_ctrl_context_menu on OS X 2018-08-29 09:33:56 +02:00
Enrico Turri
f5a0ca5303 Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-08-29 08:44:57 +02:00
Enrico Turri
5ee106fbf9 Fixed transformation center for objects imported from 3mf files 2018-08-29 08:42:42 +02:00
YuSanka
a56ea9a616 Try to understand OSX crashing on context menu 2018-08-28 17:03:40 +02:00
Enrico Turri
4ffdb46110 Cached world matrix of GLVolume to speed up rendering 2018-08-28 16:08:43 +02:00
YuSanka
5557e59d43 Reorganized object settings pane
+ Added new control - PrusaLockButton
2018-08-28 15:51:53 +02:00
Enrico Turri
cfe49a20ad Removed unused methods 2018-08-28 15:19:53 +02:00
tamasmeszaros
055e90602e Merge remote-tracking branch 'origin/dev' into sla_base_pool 2018-08-28 15:17:35 +02:00
tamasmeszaros
4796ef3fb2 png export parameters routed to SLA print config. PngExportDialog disabled. 2018-08-28 14:55:40 +02:00
Enrico Turri
98a6468c81 Eigenized 3mf I/O 2018-08-28 14:30:36 +02:00
Enrico Turri
84fb7940b7 More eigenized gizmos 2018-08-28 13:23:28 +02:00
Enrico Turri
255e837d33 Removed 2D gizmos 2018-08-28 12:50:26 +02:00
Enrico Turri
4e37f9d232 Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-08-28 12:05:30 +02:00
Enrico Turri
dd86546d0f Fixed rotate gizmo position after arrange 2018-08-28 12:05:16 +02:00
tamasmeszaros
057dfa56e3 fix build for Linux 2018-08-28 11:55:10 +02:00
tamasmeszaros
7cee4d53f9 added max merge distance parameter 2018-08-28 10:52:18 +02:00
Enrico Turri
6ce686aff8 Fixed 3D scene mouse capture 2018-08-28 09:31:23 +02:00
Enrico Turri
41c093a258 Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-08-28 09:04:12 +02:00
Enrico Turri
87565a0686 Tweaks to GLGizmoFlatten 2018-08-28 09:03:03 +02:00
tamasmeszaros
b990b36da7 png export recovered 2018-08-27 16:58:20 +02:00
tamasmeszaros
1c4574d42e fix centroid error for two points and merge with dev. 2018-08-27 16:20:13 +02:00
tamasmeszaros
4c1bb6888c generalization for more than one concave hulls. 2018-08-27 15:18:28 +02:00
Enrico Turri
b9bb821392 Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-08-27 14:56:23 +02:00
Enrico Turri
eb9f4ee777 Fixed moving center of rotate gizmo 2018-08-27 14:54:20 +02:00
Enrico Turri
4b25d3924b Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-08-27 14:01:03 +02:00
Enrico Turri
fef5a5252e Fixed conflicts after merging with master 2018-08-27 14:00:53 +02:00
tamasmeszaros
e667203825 FIxed build errors caused by merge and flipped normals of the SLA pool walls. 2018-08-27 11:59:37 +02:00
tamasmeszaros
3144cba5f9 Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-08-27 10:20:48 +02:00
tamasmeszaros
d749080261 Merge remote-tracking branch 'origin/dev' into sla_base_pool 2018-08-27 09:53:52 +02:00
bubnikv
4522811f5b Bumped up the version number to 1.41.0-beta2 2018-08-25 22:11:04 +02:00
bubnikv
78a7104994 Changed the wording of "Purge into this object's ..." to "Wipe ..." 2018-08-25 22:09:55 +02:00
YuSanka
d4c8bc0720 Fixed post-merge compilation problem 2018-08-24 16:56:42 +02:00
bubnikv
3c0d81e7d9 Merge remote-tracking branch 'remotes/origin/lm_lay_flat_round_merged_facets' 2018-08-24 16:39:24 +02:00
bubnikv
de0f8ec267 Merge remote-tracking branch 'remotes/origin/lm_retraction_fix' 2018-08-24 16:33:57 +02:00
YuSanka
02a325556d Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-08-24 16:28:34 +02:00
YuSanka
90fcdd4e5f Fixed post-commit compilation problems 2018-08-24 16:20:19 +02:00
Enrico Turri
220d430956 Mouse capture when dragging gizmos 2018-08-24 15:49:57 +02:00
Enrico Turri
cda135ada7 Removed scale and rotate actions from toolbar 2018-08-24 15:08:19 +02:00
YuSanka
8b148a4fe4 Merge remote-tracking branch 'origin/new_main_page_ui' into dev 2018-08-24 15:01:26 +02:00
Enrico Turri
bbc465fdf3 Added tooltip to gizmos 2018-08-24 14:11:41 +02:00
YuSanka
bb24ae9f03 Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-08-24 13:58:21 +02:00
YuSanka
d90f5fa591 Added "one_layer" mode for PrusaDoubleSlider 2018-08-24 13:36:19 +02:00
YuSanka
774315fe07 Fixed after-merging compilation problems 2018-08-24 12:54:21 +02:00
Lukas Matena
be3b8e98da Edited captions and default values of the new parameters (initial loading and unloading speed) 2018-08-24 12:46:32 +02:00
Enrico Turri
bfac36174f Renamed private member functions in GLToolbar 2018-08-24 12:32:14 +02:00
YuSanka
ada6970053 Merge remote-tracking branch 'origin/SLA_ui' into dev 2018-08-24 12:20:24 +02:00
Enrico Turri
8a9d0023a7 Added snap to scale to rotate gizmo 2018-08-24 12:16:11 +02:00
Enrico Turri
5f6a8adf7c Modified render order of gizmos 2018-08-24 12:06:05 +02:00
Lukas Matena
e8aafd3c83 Lay flat - simple rejection of very small surfaces 2018-08-24 11:46:54 +02:00
Vojtech Kral
60a0375ff9 Firmware updater: Fix a race condition
avrdude: Handle OOM with configurable handler
2018-08-24 11:21:29 +02:00
Enrico Turri
7f542a0f85 3D gizmos grabbers always visible to picking pass 2018-08-24 11:17:53 +02:00
Enrico Turri
95ae2d715b Fixed direction of rotate gizmo around y axis 2018-08-24 10:32:05 +02:00
Enrico Turri
acdbd987f5 Use double in place of coordf_t 2018-08-24 10:20:00 +02:00
Enrico Turri
727a5fd997 Better fix for out of print volume detection 2018-08-24 10:03:34 +02:00
Enrico Turri
16259e6f26 Fixed out of print volume detection 2018-08-24 08:56:53 +02:00
Enrico Turri
7e228e6698 Fixed compile on Linux 2018-08-24 08:38:28 +02:00
Enrico Turri
66ce638439 Fixed conflicts after merging with branch eigenize 2018-08-23 15:37:38 +02:00
YuSanka
2ec045a0fb Added SetSliderValues and GetActiveValue functions 2018-08-23 14:44:49 +02:00
YuSanka
2a7059edb3 Added active icon for selected tick 2018-08-23 13:01:18 +02:00
Enrico Turri
a5fcdeec23 Merge branch 'gizmos_3d' of https://github.com/prusa3d/Slic3r into dev 2018-08-23 09:45:04 +02:00
YuSanka
8a9bdc55ee Added functions for tick adding/deleting 2018-08-22 18:00:48 +02:00
bubnikv
76d60070eb Eigenized the admesh structures
(stl_vertex, stl_normal).
2018-08-22 15:34:03 +02:00
bubnikv
6829704475 d .. 2018-08-22 15:03:35 +02:00
YuSanka
d2282c4bf9 Refactored code 2018-08-22 14:24:30 +02:00
Lukas Matena
85ae2d0d2f Merge branch 'master' into lm_lay_flat_round_merged_facets 2018-08-22 14:03:17 +02:00
tamasmeszaros
9036a11c7f Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-08-22 13:54:45 +02:00
tamasmeszaros
e522ad1a00 Parallel placer now works with the custom Slic3r object function. Works an order of magnitude faster. 2018-08-22 13:52:41 +02:00
Enrico Turri
0924bedd28 Enhanced behaviour of scale 3D gizmo 2018-08-22 11:22:07 +02:00
Martin Loidl
43f8f10445 fixed timestamp for duet upload
* Added missing time=
2018-08-22 11:02:31 +02:00
YuSanka
a5119a41a5 Added overriding of the DoGetBestSize() to correct control sizing on OSX and Linux/GTK 2018-08-22 10:44:11 +02:00
YuSanka
5cd4597d38 Fix for last commit 2018-08-22 08:54:07 +02:00
bubnikv
ac72cd779f Replaced Point3 with Eigen Vec3crd, removed Point3 from the Perl binding. 2018-08-21 22:14:47 +02:00
bubnikv
0b5b02e002 Eradicated the Pointf class, replaced with Eigen Vector3d 2018-08-21 21:05:24 +02:00
bubnikv
cae0806112 Eradicated most of Pointf extras compared to pure Eigen::Vector2d. 2018-08-21 20:34:45 +02:00
YuSanka
bc64154f21 PrusaDoubleSlider improvement
+ OnKeyDown
+ marked selected thumb
+ marked selected control
...
2018-08-21 17:48:52 +02:00
bubnikv
cb138a20b8 Completely replaced the homebrew Pointf3 class with Eigen Vec3d.
Replaced the unscale macro with a template, implemented templates
for unscaling Eigen vectors.
2018-08-21 17:43:05 +02:00
Lukas Matena
9e6234fe39 Lay flat - limit number of active surfaces to 255 (to avoid problems with picking pass) 2018-08-21 15:56:40 +02:00
Vojtech Kral
0c984c7584 Print host bugfixes / refactoring 2018-08-21 15:47:29 +02:00
Lukas Matena
86b67bbd42 Lay flat - rotation is now done in one go directly about the necessary axis 2018-08-21 15:40:11 +02:00
Lukas Matena
28c8e176b5 Yet another experimental parameter to adjust the initial loading speed of a newly loaded filament 2018-08-21 14:36:24 +02:00
Enrico Turri
889d0f1434 3D gizmo grabbers 2018-08-21 14:27:36 +02:00
Lukas Matena
2fe84fc199 Merge branch 'master' into lm_retraction_fix 2018-08-21 14:09:26 +02:00
tamasmeszaros
6e77307880 Merge remote-tracking branch 'origin/eigenize' into sla_base_pool 2018-08-21 13:50:09 +02:00
tamasmeszaros
8194f9fb96 Edges now smoothed on the sides. 2018-08-21 13:20:43 +02:00
Martin Loidl
ee9f7eaef6 Host upload backwards compatibility
* Added legacy code to preserve backwards compatibility
* renamed some cli option names  to better match option names
2018-08-21 11:12:53 +02:00
Martin Loidl
d4b73701d9 some code formatting 2018-08-21 11:12:53 +02:00
Martin Loidl
dd1fd66a47 Added possibility for upload to Duet
Further changes:
- Added new configuration option Host Type
- Added abstract base class for future printer hosts
- Moved location of upload dialog (also made it a little bit more configureable)
- added possibility to send file via postfield instead a new frame
2018-08-21 11:12:53 +02:00
bubnikv
c5256bdd2c Removed the Point::coincides_with_epsilon() method 2018-08-21 09:51:22 +02:00
Enrico Turri
edf03e00dd 3D rotate gizmo colored by axis in preview mode 2018-08-21 09:03:38 +02:00
Enrico Turri
743eee8b6e 1st installment of gizmo scale 3D 2018-08-21 08:50:35 +02:00
YuSanka
1b26cd414d DoubleSlider prototype 2018-08-21 02:03:10 +02:00
tamasmeszaros
8617b0a409 parallel nesting can be enabled but fails with the current objectfunction. 2018-08-20 16:34:35 +02:00
tamasmeszaros
0909059c54 figured out how to round the edges of the generated model. 2018-08-20 13:55:01 +02:00
Lukas Matena
d197a5149a Added a missing header (numeric for std::accumulate) 2018-08-20 13:02:54 +02:00
Lukas Matena
3b86c57c8f Lay flat gizmo is rendered before the bed, so the surfaces are visible from below, and a rotation-related bugfix 2018-08-20 12:56:01 +02:00
Lukas Matena
b0dd328fde Lay flat - icons and invalidation improvement 2018-08-20 11:27:25 +02:00
Enrico Turri
53914e05c6 1st installment of gizmo rotate 3D 2018-08-20 10:23:17 +02:00
Enrico Turri
fc0651702d Merge branch 'master' of https://github.com/prusa3d/Slic3r into gizmos_3d 2018-08-20 08:33:42 +02:00
bubnikv
ab60d8adb4 Replaced coincides_with(const Line &line) with operator== 2018-08-17 18:27:07 +02:00
bubnikv
9e7634b6e8 Merged with master 2018-08-17 18:07:45 +02:00
bubnikv
0eba590fc6 Updated the Eigen library to 3.3.5 2018-08-17 17:33:29 +02:00
bubnikv
5b94f53cd7 Removed the Point::wkt() and Point::dump_perl() methods.
Added to_string() for the basis Eigen vector types.
2018-08-17 16:54:07 +02:00
tamasmeszaros
57cd39965f pool is has now bended walls. 2018-08-17 16:17:35 +02:00
bubnikv
65011f9382 Removed the x(), y(), z() Point/Pointf/Point3/Pointf3 accessors. 2018-08-17 15:53:43 +02:00
Lukas Matena
db9580f40b Merge branch 'master' into lm_lay_flat_round_merged_facets 2018-08-17 15:45:02 +02:00
Lukas Matena
72ba5c8ab4 Merge remote-tracking branch 'origin/convex_hull' into lm_lay_flat_round_merged_facets 2018-08-17 15:44:50 +02:00
Lukas Matena
3433e8e374 Fixed a few tooltips, changed default value for minimal purge on wipe tower 2018-08-17 15:42:46 +02:00
Lukas Matena
f9efcc36b6 Lay flat gizmo improvements - merge adjacent faces, compute and cache convex hull for entire ModelObject, refresh when moved, etc. 2018-08-17 15:40:47 +02:00
Vojtech Kral
7be24414f3 Build: Option to force generation of PDB file on MSVC Release build 2018-08-17 15:20:58 +02:00
Vojtech Kral
267712eb32 Build: Plumb perl include path
Thanks to @kortschak for contributing to this fix
Co-authored-by: Dan Kortschak <dan@kortschak.io>
2018-08-17 15:20:58 +02:00
Lukas Matena
48b9793d3d Templated convex_hull function in Geometry.cpp 2018-08-17 15:20:35 +02:00
tamasmeszaros
776f555790 wall generation with different top and bottom plates. 2018-08-17 15:11:30 +02:00
bubnikv
1ba64da3fe Removed Point::scale(),translate(),coincides_with(),distance_to(),
distance_to_squared(),perp_distance_to(),negative(),vector_to(),
translate(), distance_to() etc,
replaced with the Eigen equivalents.
2018-08-17 14:14:24 +02:00
tamasmeszaros
1878c79ac7 Comments mostly 2018-08-16 17:58:45 +02:00
tamasmeszaros
f297da0d01 Working curve approximation of the concave hull with clipper offset. 2018-08-16 17:47:05 +02:00
YuSanka
d10cdeb25f Delete previous experiments 2018-08-16 16:43:16 +02:00
Enrico Turri
115744b38d Merge branch 'convex_hull' of https://github.com/prusa3d/Slic3r into gizmos_3d 2018-08-16 13:54:56 +02:00
Enrico Turri
1fff2252bc Detection of out of print volume disabled for wipe tower of unknown size 2018-08-16 13:42:35 +02:00
Enrico Turri
d38816bd9c GLVolume use a pointer to ModelVolume's convex hull instead of a copy of it 2018-08-16 13:35:56 +02:00
Enrico Turri
2c9b41623a Fixed wipe tower loosing selection after displacement 2018-08-16 13:22:02 +02:00
YuSanka
eae7752d30 Corrections for the last commit 2018-08-16 10:43:56 +02:00
YuSanka
e6fce6e1f6 Try to handle wxEVT_KEY_DOWN on OSX 2018-08-16 09:46:34 +02:00
YuSanka
5de933b77e Try to fix evt_motion on OSX & GTK 2018-08-16 09:35:21 +02:00
YuSanka
3391ea050d Try to handle wxEVT_CHAR_HOOK on OSX 2018-08-16 09:12:24 +02:00
Lukas Matena
3f72ca2a15 Merge remote-tracking branch 'origin/convex_hull' into lm_lay_flat_round_merged_facets 2018-08-16 08:56:18 +02:00
Enrico Turri
da42b42a6c Merge branch 'opengl_to_cpp' of https://github.com/prusa3d/Slic3r into gizmos_3d 2018-08-15 14:39:40 +02:00
YuSanka
8c7cc73da6 Update extruder value for the object from the beginning 2018-08-15 13:59:33 +02:00
bubnikv
3b89717149 Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types:
Changed the Point3 / Pointf3 to derive from the Eigen Vec3crd / Vec3d.
Replaced the Point::concide_with() method calls with == operator.
Reduced some compiler warnings.
2018-08-15 13:51:40 +02:00
Enrico Turri
4d98d32199 Use of bounding box of rotated 3D convex hull for out of print volume detection 2018-08-15 12:50:06 +02:00
YuSanka
76249e5625 Fixed typo in LambdaObjectDialog. It was a reason of the wrong cube size updating for generic modifier "Cube".
+ some code cleaning
2018-08-15 12:47:46 +02:00
YuSanka
3e549c153d Improvement of extruder selection for the object/part according to the actually extruders count 2018-08-15 11:18:20 +02:00
Lukas Matena
211790f8c3 Added qhull library to xs/src and cmake 2018-08-15 10:57:22 +02:00
YuSanka
f0095d19be Some code refactoring 2018-08-15 10:09:05 +02:00
bubnikv
f34252a27b Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types:
Changed the Point3 / Pointf3 to composite Eigen Vec3crd / Vec3d.
Point3 is no more derived from Point,
Pointf3 is no more derived from Pointf.
Introduced Transform2f/3f/2d/3d types as aliases to Eigen::Transform.
2018-08-14 21:33:41 +02:00
bubnikv
86da661097 Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types, first step 2018-08-14 18:33:26 +02:00
Lukas Matena
74e807f89b New experimental parameter to adjust initial loading speed of the filament from the nozzle 2018-08-14 16:23:23 +02:00
YuSanka
3c3b8ed76f fixed typo in update_extruder_in_config 2018-08-14 16:16:26 +02:00
YuSanka
92b578779e Test of update_extruder_in_config() 2018-08-14 16:10:58 +02:00
YuSanka
817fb5adb3 Test of item_changed_selection(obj_idx) 2018-08-14 15:35:54 +02:00
YuSanka
79f2801d2a One more try to understand OSX crashing on UnselectAll 2018-08-14 14:34:04 +02:00
YuSanka
a2eff85fa8 Try to fix OSX crashing on UnselectAll 2018-08-14 14:13:07 +02:00
Lukas Matena
93ce0d23b7 Simple attempt to smooth the lay flat triangles 2018-08-14 13:08:49 +02:00
YuSanka
acac6b0b44 Fixed DnD down-moving on GTK 2018-08-14 13:04:11 +02:00
tamasmeszaros
fbe415f88e Rough base pool geometry can be generated from convex hull or from the ground slice itself. 2018-08-13 18:23:49 +02:00
Enrico Turri
6742735596 Better fix for minimum z of object to lay on the bed after rotations 2018-08-13 16:16:37 +02:00
Lukas Matena
09ce6c62ea Retraction after ramming is now done without moving the head 2018-08-13 14:51:03 +02:00
YuSanka
13388f1caa Drag & Drop for sub-objects (parts of the object) 2018-08-13 14:15:43 +02:00
YuSanka
73ba96381e Drag&Drop test on Linux and OSX 2018-08-13 10:30:36 +02:00
Lukas Matena
25a6c7e30e Created a new gizmo for flattening an object 2018-08-13 09:45:18 +02:00
Enrico Turri
bb07100a4f Code cleanup 2018-08-13 09:23:10 +02:00
Enrico Turri
b6f6200bd5 Merge branch 'master' of https://github.com/prusa3d/Slic3r into opengl_to_cpp 2018-08-13 08:51:58 +02:00
bubnikv
13ce087606 Another improvement in robustness of mesh slicing. 2018-08-10 17:37:09 +02:00
YuSanka
9df6804835 next try 2018-08-10 14:55:34 +02:00
bubnikv
b67f32a94d Slicing improvement for slicing degenerated meshes:
Add edges of parallel folded horizontal faces into the output contours,
but ignore them when taking seeds for contour extraction.
FIXME: Single vertices touching a plane are not handled correctly,
they create zero length edges.
2018-08-10 14:10:28 +02:00
YuSanka
4b8d7bd7fa Fry to fix OSX-crashing on UnselectAll 2018-08-10 14:02:47 +02:00
YuSanka
0477d4d802 Fixed tooltip showing on Linux and OSX(maybe) 2018-08-10 12:19:35 +02:00
YuSanka
a7c29b98bd Try to understand wxEVT_MOTION on OSX 2018-08-10 08:26:15 +02:00
bubnikv
0ea4557632 Improved accuracy of slicing (triangle cutting) code,
improved debugging outputs and asserts of the slicing code.
Disabled detection of concave corners with horizontal faces,
as too often there were found models with badly triangulated faces,
see for example GH issue #895.
2018-08-09 21:15:49 +02:00
tamasmeszaros
e8616b6a35 SLA base pool generation framework 2018-08-09 18:11:45 +02:00
YuSanka
1029a4c0e0 Experiments with tooltips 2018-08-09 17:53:34 +02:00
YuSanka
72c77a3592 Next experiment 2018-08-09 17:33:44 +02:00
Lukas Matena
a06b6716ea First naive implementation of TriangleMesh convex hull calculation 2018-08-09 16:35:28 +02:00
YuSanka
fede9e95ff Experiments with wxEVT_LEFT_DOWN/wxEVT_MOTION on OSX 2018-08-09 15:55:08 +02:00
YuSanka
dc8cdcc2ba Added tooltips with manifold_warning information 2018-08-09 12:02:09 +02:00
tamasmeszaros
e678368b23 fix compilation on linux and mac 2018-08-09 10:59:00 +02:00
tamasmeszaros
5164bec8ce Merge remote-tracking branch 'origin/master' into feature_slice_to_png
# Conflicts:
#	xs/CMakeLists.txt
2018-08-09 10:53:27 +02:00
YuSanka
c1bef2f8de Added set_default_suppressed for sla_materials. 2018-08-09 09:25:23 +02:00
YuSanka
0210dcf3b6 Fixed build crashing 2018-08-08 18:17:19 +02:00
YuSanka
5dbc8fb427 Correct UI updating for SLA tabs 2018-08-08 17:47:59 +02:00
bubnikv
00e9f07a03 Improved robustness of slicing when the slicing plane
crosses a horizontal plane of an object exactly.
Should improve Github issues #831, #895, #1102
2018-08-08 16:24:10 +02:00
YuSanka
adf003f0ed Correct preset/tabs updating according to the technology
+ some code refactoring
2018-08-08 16:22:56 +02:00
tamasmeszaros
1764f3b57b Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-08-08 12:52:02 +02:00
tamasmeszaros
ad92aa7486 Solution for stupid arrangement of rotated items and some fine tuning. 2018-08-08 12:51:17 +02:00
YuSanka
da16b28c14 Correct show_preset_comboboxes 2018-08-08 11:17:56 +02:00
tamasmeszaros
20b7aad6d1 Bug fixes for the neighborhood detection 2018-08-07 19:51:23 +02:00
tamasmeszaros
08fb677583 Fine tuning of precision. 2018-08-07 14:23:57 +02:00
bubnikv
93b8f3147c Fixed inccorect (excessive) time estimates with the MMU 2.0 2018-08-07 14:15:37 +02:00
Lukas Matena
705ccbe331 Added qhull library to xs/src and cmake 2018-08-07 12:20:15 +02:00
YuSanka
709b898eba Correct printer pages updating according to the printer_technology 2018-08-07 11:58:27 +02:00
tamasmeszaros
224c0e74ea Precision raised and big item classification improved 2018-08-07 10:57:22 +02:00
tamasmeszaros
d1bd5a51b2 Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-08-06 20:13:29 +02:00
tamasmeszaros
e1edb05bbb Better support for circular bed. 2018-08-06 20:13:04 +02:00
bubnikv
288cd58ee2 Bumped up version number. 2018-08-06 18:09:52 +02:00
YuSanka
2af2b05bd6 Correct switching between printer_technologies (show/hide according tabs) 2018-08-06 17:01:41 +02:00
Lukas Matena
a0fdcd9f47 Merge branch 'master' of http://github.com/prusa3d/Slic3r 2018-08-06 16:38:16 +02:00
Lukas Matena
a8cef5bf50 Changed checkbox labels for purge into infill/object feature 2018-08-06 16:37:41 +02:00
bubnikv
4f52601081 Minor tweaks of UI texts,
optimization of the wipe tower invalidation,
show collisions of the wipe tower with known dimensions.
2018-08-06 16:31:51 +02:00
YuSanka
7edc1dd577 Deleted empty line between "default value" and "variable name" 2018-08-06 15:47:03 +02:00
tamasmeszaros
3c32a7c3db Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-08-06 12:41:09 +02:00
tamasmeszaros
db8762a93c bed shape detection works and circle shaped bed now supported with limited arrange quality. 2018-08-06 11:30:10 +02:00
bubnikv
ea163edc41 Deregister the update callback on end of the application.
This fixes a crash on exit.
2018-08-05 23:36:25 +02:00
bubnikv
c13cd284e4 Fix of a regression bug: Update the print bed texture when switching
between printer profiles.
2018-08-05 22:52:38 +02:00
bubnikv
71b1e09af9 T1 and M702 C are now evaluated by the time estimator to add the new
"filament_load_time" and "filament_unload_time" values to match
the MK3 MMU2 behavior.

Emitting of the remaining times into the output G-code was made optional
through a new "remaining_times" configuration value, so the firmware
flavors and versions, which do not know the M73 code, will not complain.

Configuration changes:

The wipe tower default position was shifted inwards after the wipe tower
coordinate reference point was changed from the center to the left front
corner.

Added the "filament_load_time" and "filament_unload_time" values
to the MK3 MMU filament profiles.

Enabled "remaining_times" for the MK2.5, MK3 and MK3MMU2 printers.
2018-08-04 17:38:25 +02:00
bubnikv
ac2b20b54b Merge branch 'master' into time_estimate 2018-08-03 23:04:44 +02:00
bubnikv
73ad49b9ae Merge remote-tracking branch 'origin/lm_minimal_purging_on_wt' 2018-08-03 22:55:08 +02:00
bubnikv
02d6d04185 Merge remote-tracking branch 'remotes/origin/feature_arrange_with_libnest2d' 2018-08-03 22:38:44 +02:00
bubnikv
6a9bd540c1 Merge remote-tracking branch 'origin/lm_wipe_tower_block_improvements_merged' 2018-08-03 22:34:53 +02:00
bubnikv
0454adc194 Added support for the upstream Marlin interpretation of the M204 code.
Fix of https://github.com/prusa3d/Slic3r/issues/1089

M204 S.. T..:
T is interpreted by the firmware and Slic3r time estimator the old way
(as acceleration when retracting) only if an S code is found at the same line.
This allows PrusaResearch to interpret the legacy G-codes generated
by our older Slic3r with older Slic3r profiles.

M204 P.. R.. T..:
T is ignored, P is interpreted as acceleration when extruding,
R is interpreted as acceleration when retracting.
This will be the format the Slic3r 1.41.0 will produce from
the Machine Limits page.
In the future both MK3 firmware and Slic3r will likely be extended
to support the separate travel acceleration.

This change is in sync with the Prusa3D firmware:
dd4c4b39b4

Slic3r will now export
M204 P[machine_max_acceleration_extruding] R[machine_max_acceleration_retracting] T[machine_max_acceleration_extruding]
before the custom start G-code, which will be correctly interpreted
by both the new Prusa3D firmware and the Slic3r's time estimator.

To support our legacy MK2 firmware before we merge the commit above, we may
just insert the following line into the custom start G-code section to override
the block inserted by Slic3r automatically before the custom start G-code:
M204 S[machine_max_acceleration_extruding] T[machine_max_acceleration_retracting]
2018-08-03 16:26:28 +02:00
YuSanka
d4c69a6258 Tabs are completed 2018-08-03 16:21:05 +02:00
Lukas Matena
2fe26bfac7 Changed color of preliminary wipe tower block 2018-08-03 15:36:47 +02:00
tamasmeszaros
8da8ecb415 Bed shape detection in progress 2018-08-03 14:49:26 +02:00
YuSanka
38b06bb22e Merge remote-tracking branch 'origin/SLA' into SLA_ui 2018-08-03 14:41:08 +02:00
YuSanka
c30813d9a8 Added "inside tab" for SLA printer 2018-08-03 14:34:52 +02:00
bubnikv
f65aadebef Corrected initialization of the SLA presets with their default values. 2018-08-03 14:14:25 +02:00
YuSanka
cce0e9e501 First prototype for "SLA materials" Tab 2018-08-03 13:04:41 +02:00
tamasmeszaros
e7e212cb52 Added a spatial index to speed up alignment score calculation. 2018-08-03 12:37:27 +02:00
tamasmeszaros
8e516bc3e4 reduce accuracy to acceptable performance 2018-08-02 19:25:19 +02:00
tamasmeszaros
9172a69e27 Nlopt build fix 2018-08-02 19:17:27 +02:00
tamasmeszaros
588456a5d9 Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-08-02 17:51:47 +02:00
tamasmeszaros
c8370b5408 New approach to big items with calculating the best alignment with other big items. 2018-08-02 17:51:11 +02:00
Lukas Matena
cc24861042 Added a threshold for purging on the wipe tower (before it goes into infill/sacrificial object) 2018-08-02 15:14:12 +02:00
Lukas Matena
751fe864e2 Bugfix: priming lines for MM print were shown in preview even when disabled 2018-08-02 14:04:50 +02:00