Commit Graph

3022 Commits

Author SHA1 Message Date
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
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
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