Commit Graph

1036 Commits

Author SHA1 Message Date
Alessandro Ranellucci
e0678d3a38 Bugfix: skirt was floating in 3D preview when raft layers were enabled. #2843 2015-05-24 15:47:07 +02:00
Alessandro Ranellucci
c64308a5e7 Render brim and skirt in 3D toolpaths preview. #2649 2015-05-18 00:49:16 +02:00
Alessandro Ranellucci
36ba2eb5d6 Improved zoom/pan for toolpaths preview 2015-05-17 21:29:57 +02:00
Alessandro Ranellucci
80b169aa75 Pan & zoom for toolpaths preview 2015-05-16 00:33:22 +02:00
Alessandro Ranellucci
1dc63071ed Try to fix crash upon quick slice. #2801 2015-05-06 00:39:16 +02:00
Alessandro Ranellucci
d998d97754 Bugfix: crash on Windows when deleting the first object part. #2774 2015-05-05 01:12:16 +02:00
Alessandro Ranellucci
0d01348acc Use radians everywhere, including ModelInstance::rotation 2015-05-03 18:40:00 +02:00
Alessandro Ranellucci
901716adc8 Bugfix: the object parts editor is opened in invalid status until user clicks on a tree list item. #2762 2015-03-30 20:27:18 +02:00
Alessandro Ranellucci
ce676a7ca7 Bugfix: the Export G-code button was not re-enabled after cancelling an export job. #2754 2015-03-28 18:53:07 +01:00
Alessandro Ranellucci
2c13be1fa9 Bugfix: NumericChoice field was misbehaving. (thanks @markwal) #2752 2015-03-27 19:04:30 +01:00
Alessandro Ranellucci
21da24e372 Typo 2015-03-27 17:59:40 +01:00
Alessandro Ranellucci
2d7bfbb805 Bugfix: dirty filament options were ignored when using multiple extruders. Patch by @markwal. #2740 2015-03-23 21:48:31 +01:00
Alessandro Ranellucci
3fd182a8f5 Fix object Z alignment after cut + rotate lower part. #2724 2015-03-09 18:37:58 +01:00
Alessandro Ranellucci
25cddfe446 Bugfix: layers view was not resized when inactive. #2608 2015-03-09 15:30:19 +01:00
Alessandro Ranellucci
6185f45815 Hopefully fix all problems with non-ASCII paths on Windows 2015-03-09 15:17:50 +01:00
Alessandro Ranellucci
d2172b4383 Merge branch 'master' into sender 2015-03-06 22:15:43 +01:00
Alessandro Ranellucci
095391d702 When using raft, validate first layer height against support material extruder only instead of taking other extruders into account, thus potentially allowing larger nozzles to be used for it. #2701 2015-03-06 21:35:00 +01:00
Alessandro Ranellucci
722e94513c Refactoring: removed the non-idempotent init_extruders() step. Also, infill_extruder was not limited to the available number of extruders when slicing from the plater, and support material extruder was considered also when support material was disabled 2015-03-06 09:56:58 +01:00
Alessandro Ranellucci
70c032868a Prevent OpenGL scene from Z clipping 2015-03-01 19:58:05 +01:00
Alessandro Ranellucci
69ea88473d Workaround for the Clipper issue causing extra points in grid segments 2015-02-22 17:09:08 +01:00
Alessandro Ranellucci
f8fa73fa4a Removed debugging stuff 2015-02-22 17:04:08 +01:00
Alessandro Ranellucci
2eca094170 Added failing test case for Clipper regression causing extra points in polyline intersection, thus crash with circular bed shape 2015-02-22 17:03:23 +01:00
Alessandro Ranellucci
5021c9605b Revert "Merge pull request #2681 from robstarling/u/robstar/circular-bedshape-drawing-fix2"
This reverts commit 13885a36ec, reversing
changes made to 7198607420.
2015-02-22 15:01:33 +01:00
Rob Starling
6719afadec Bugfix: correctly draw circular beds in the 2D plater
Wx::DrawLine wasn't happy with a polyline, so we pass the sequence of points to Wx::DrawLines
2015-02-21 14:08:52 -08:00
Alessandro Ranellucci
d44bf38906 Sync viewport of 3D views. #2628 2015-02-16 00:37:36 +01:00
Alessandro Ranellucci
09c8563e71 Bugfix: background processing were not restarted after the previous one failed because of a validation error. #2633 2015-02-16 00:05:39 +01:00
Alessandro Ranellucci
13d1393ae4 Fixed buttons size on Linux. #2642 2015-02-09 11:04:28 +01:00
Alessandro Ranellucci
4083b33807 Bugfix: crash on version check on Linux. #2641 2015-02-09 11:00:44 +01:00
Alessandro Ranellucci
3ae6f2630e Merge branch 'master' into sender
Conflicts:
	Build.PL
2015-02-01 14:07:32 +01:00
Alessandro Ranellucci
07cd25d0ec New option for customization of infill/perimeters overlap. #2459 2015-02-01 12:08:25 +01:00
Alessandro Ranellucci
98417f77f0 Some improvements to the Simple Mode 2015-01-31 12:46:24 +01:00
Alessandro Ranellucci
059b00a829 New --before-layer-change option and new layer_z placeholder. #2602 2015-01-30 20:08:00 +01:00
Alessandro Ranellucci
e61deb3673 Check display area before moving window to the last saved position. #2600 2015-01-30 13:21:07 +01:00
Alessandro Ranellucci
3dedae3928 Enable/disable config fields according to CLI options 2015-01-28 19:14:15 +01:00
Alessandro Ranellucci
9abcd5816c Little test for mixing objects and toolpaths 2015-01-25 15:36:20 +01:00
Alessandro Ranellucci
c264969962 Bugfix: crash when rendering lines with zero length in 3D preview. #2569 2015-01-25 15:21:45 +01:00
Alessandro Ranellucci
a10a554e2a Remember last selected settings page in Printer Settings too, like in Print Settings and Filament Settings. #2568 2015-01-25 11:43:34 +01:00
Alessandro Ranellucci
0a1f5992ad Add Bed Shape to Simple Mode as well. #2574 2015-01-25 11:10:06 +01:00
Alessandro Ranellucci
43f57ba2cb Optimization: don't reload 3D toolpaths each time the preview tab is selected 2015-01-25 10:59:39 +01:00
Alessandro Ranellucci
38d8b1d268 Update bed shape in 3D preview as well 2015-01-25 00:29:51 +01:00
Alessandro Ranellucci
a5c0ffe963 Faster loading of 3D preview and much less memory used 2015-01-24 23:35:29 +01:00
Alessandro Ranellucci
8791f5a493 Cleanup of some method signatures and of XS return types 2015-01-19 18:53:04 +01:00
Alessandro Ranellucci
c9cdae1a96 Wrong file included in previous commit 2015-01-19 15:32:39 +01:00
Alessandro Ranellucci
229039d3b8 Fixed test and implementation of ooze prevention standby points (wrong test caused wrong implementation). #2103 2015-01-19 15:31:12 +01:00
Alessandro Ranellucci
7b980c1dc9 New option for vertical distance between object and support material, with special handling of the 0 case that disabled bridge flow/speed in order to allow for soluble material. #2491 #2272 #2069 #1942 #2435 #1703 2015-01-19 09:52:24 +01:00
Alessandro Ranellucci
fc5437f6d3 Require disabled support material for Spiral Vase 2015-01-18 22:21:50 +01:00
Alessandro Ranellucci
3d500ca317 Skip geometry from unfinished steps in 3D rendering 2015-01-18 21:31:09 +01:00
Alessandro Ranellucci
b782351fd3 Enable arrows in 3D preview and rename preview tabs 2015-01-18 20:55:44 +01:00
Alessandro Ranellucci
428f831886 Scroll 3D preview layers with a slider 2015-01-18 20:48:54 +01:00
Alessandro Ranellucci
f2818ddbe0 Live 3D toolpaths preview. 2015-01-18 19:36:47 +01:00
Alessandro Ranellucci
2bbb6c570b Ported toolpaths rendering to C++ 2015-01-18 01:07:22 +01:00
Alessandro Ranellucci
bfbcbd55d8 Render infill and support material as well 2015-01-18 01:07:22 +01:00
Alessandro Ranellucci
d781371d66 Join extrusions properly in 3D preview 2015-01-18 01:07:22 +01:00
Alessandro Ranellucci
ce1d368037 Use 3D as the default view 2015-01-17 10:53:01 +01:00
Alessandro Ranellucci
e0a3d2577c Initial work for 3D rendering of toolpaths 2015-01-15 20:06:30 +01:00
Alessandro Ranellucci
18e815d032 More efficient 3D preview of slices 2015-01-15 18:49:07 +01:00
Alessandro Ranellucci
56853319d1 Restore correct Z alignment after cut 2015-01-14 23:26:28 +01:00
Alessandro Ranellucci
2a7f1a8c19 Only show a single instance in settings and cut dialogs 2015-01-14 23:24:01 +01:00
Alessandro Ranellucci
ebf17d14f0 Open the Object Settings dialog when double clicking an item in the list instead of the cut dialog 2015-01-14 23:21:54 +01:00
Alessandro Ranellucci
b518d5d32f New command for setting the number of copies of the selected object. #2540 2015-01-14 23:19:13 +01:00
Alessandro Ranellucci
aa5bafb8be Support preset names with Unicode characters. #2527 2015-01-13 23:22:27 +01:00
Alessandro Ranellucci
9c08dfb50c Merge pull request #2531 from lordofhyphens/issue_2526
Fix for issue #2526, changed to GET.
2015-01-13 20:59:14 +01:00
Alessandro Ranellucci
88b62a9923 Merge pull request #2532 from lordofhyphens/issue2530_partial_fix
A partial fix for issue #2530
2015-01-13 20:58:53 +01:00
Alessandro Ranellucci
3ee0fc5b1c Ability to select object parts by clicking in the 3D view in the object editor 2015-01-13 20:55:19 +01:00
Alessandro Ranellucci
d46d5c955b One more refactoring in 3DScene (select group/drag group) 2015-01-13 20:55:19 +01:00
Alessandro Ranellucci
9c8f8f8ded Refactoring: make Slic3r::GUI::3DScene::Base model-independent 2015-01-13 20:55:19 +01:00
Joseph Lenox
4f2e172561 A partial fix for issue #2530, which will makes the bonjour dialog put the port number in the string. 2015-01-12 12:10:56 -06:00
Joseph Lenox
90811f6736 Fix for issue #2526, changed to GET. 2015-01-12 11:56:54 -06:00
Alessandro Ranellucci
fb08588007 Renamed PreviewCanvas to 3DScene 2015-01-09 01:30:04 +01:00
Alessandro Ranellucci
0a62d658d9 Removed ObjectPreviewDialog not used anymore 2015-01-09 01:27:35 +01:00
Alessandro Ranellucci
4c7d9dfef5 Memory optimization in PreviewCanvas: don't keep additional meshes in memory when not needed 2015-01-09 01:18:47 +01:00
Alessandro Ranellucci
64c9e3af4b Bugfix: objects were floating in STL export after rotation and flip. #2512 2015-01-09 00:47:40 +01:00
Alessandro Ranellucci
9ec7b43ca1 Merge branch 'master' into sender
Conflicts:
	lib/Slic3r/GUI/Tab.pm
2015-01-08 22:47:43 +01:00
Alessandro Ranellucci
9f4f711017 Disable the OctoPrint test button when LWP::UserAgent is not available 2015-01-08 21:37:00 +01:00
Alessandro Ranellucci
24daa50bfd Button for testing OctoPrint connectivity. #2509 2015-01-08 21:34:51 +01:00
Alessandro Ranellucci
2f255620c6 Fix toolpath preview after recent change of semantics of LayerRegion::perimeters 2015-01-08 15:41:17 +01:00
Alessandro Ranellucci
8b11adb883 Enlarge the About dialog. #2476 2015-01-08 15:34:42 +01:00
Alessandro Ranellucci
c908d4d96e Restore correct depth test for the Z axis. #2510 2015-01-08 15:31:13 +01:00
Alessandro Ranellucci
9b9ed91e6e Nicer rendering for 3D slices 2015-01-07 20:45:50 +01:00
Alessandro Ranellucci
d5cab6221d Better lighting in the 3D view 2015-01-07 20:11:03 +01:00
Alessandro Ranellucci
a4235f5f44 Better axes rendering 2015-01-07 19:49:54 +01:00
Alessandro Ranellucci
06aaf83cfe Restored correct transparency of the cutting plane 2015-01-07 19:46:37 +01:00
Alessandro Ranellucci
6962b8dddd Glitches when panning with middle mouse button. #2454 2015-01-07 11:58:22 +01:00
Alessandro Ranellucci
4688ae2fb6 Bugfix: rotation in 3D view was randomly stopping. #2482 2015-01-07 11:13:56 +01:00
Alessandro Ranellucci
0de1c235a9 Reversed mouse wheel zooming in 3D once more. #2478 2015-01-06 21:08:33 +01:00
Alessandro Ranellucci
47e4e8bb66 Option to use volumetric E values. #1746 2015-01-05 19:39:10 +01:00
Alessandro Ranellucci
9af43bee52 Handle log, temperatures. Move controller to main tabpanel. More things 2015-01-04 23:18:23 +01:00
Alessandro Ranellucci
3ab4d4b094 Merge branch 'master' into sender 2015-01-04 19:36:28 +01:00
Alessandro Ranellucci
6c7c089fc4 Disable the "Export G-code" and "Send to print" buttons when other actions are pending 2015-01-04 19:29:34 +01:00
Alessandro Ranellucci
0775960b9f Minor reordering of options 2015-01-04 19:20:13 +01:00
Alessandro Ranellucci
cbc0e270b7 Nicer configuration fields for USB/Serial connection 2015-01-04 19:14:54 +01:00
Alessandro Ranellucci
16939b80e6 Implemented priority queue 2015-01-04 18:17:15 +01:00
Alessandro Ranellucci
af1b705563 Increase HTTP timeout for Octoprint upload. #2481 2015-01-04 15:30:31 +01:00
Alessandro Ranellucci
6438bfc3cb Draw bed contours with grid linewidth 2015-01-04 13:36:14 +01:00
Alessandro Ranellucci
84c30c1cf5 Nicer bed appearance 2015-01-04 13:32:00 +01:00
Alessandro Ranellucci
694268d6c7 Fix incomplete grid in 3D preview 2015-01-04 13:17:20 +01:00
Alessandro Ranellucci
510b472b51 Gradient background for 3D view 2015-01-04 13:11:05 +01:00
Alessandro Ranellucci
b4a6d0acee Handle connection failures with a timeout 2015-01-03 23:33:52 +01:00
Alessandro Ranellucci
2c0d216c1a More work on print controller 2015-01-03 23:25:55 +01:00
Alessandro Ranellucci
3b09377a43 Export single object as STL from its contextual menu. #2479 2015-01-03 15:48:53 +01:00
Alessandro Ranellucci
69da8b0999 Use borderless buttons for save/delete in presets management (better look on wxOSX with 3.0.0) 2015-01-01 17:14:57 +01:00
Alessandro Ranellucci
93687c1491 Disable Growl notifications if register() fails - this prevents a deadlock on growler->notify() 2015-01-01 12:37:38 +01:00
Alessandro Ranellucci
c06ce3b58c Initial work for a controller GUI 2014-12-31 19:10:46 +01:00
Alessandro Ranellucci
1eac452d71 Send file basename when uploading to OctoPrint 2014-12-30 22:07:47 +01:00
Alessandro Ranellucci
7fa27c958a Bugfix: when dragging an object, only one part was moving. #2467 2014-12-30 14:21:10 +01:00
Alessandro Ranellucci
77d2a8aa8c Fix Preferences window size. #2463 2014-12-30 13:24:00 +01:00
Alessandro Ranellucci
c4832c5342 Bugfix: early object destruction caused a segfault when splitting. Also fixed a memory leak and restore background processing when split only detected one part. #2466 #2398 2014-12-30 13:16:28 +01:00
Alessandro Ranellucci
494efe65b2 Bugfix: auto-center didn't update the PrintObject copies properly, causing misalignment. #2464 2014-12-29 22:29:24 +01:00
Alessandro Ranellucci
4b7cec28b9 Fix to Octoprint upload. #2465 2014-12-29 20:34:33 +01:00
Alessandro Ranellucci
6896e53078 Octoprint -> OctoPrint 2014-12-29 12:49:32 +01:00
Alessandro Ranellucci
242dc17680 Minor improvements to Octoprint integration 2014-12-29 11:45:09 +01:00
Alessandro Ranellucci
b468e68c59 Bonjour autodiscovery of the Octoprint instances in local network. #1826 2014-12-28 18:49:52 +01:00
Alessandro Ranellucci
959eb60ad0 Scoping error caused the Unsaved Changes dialog not to be shown when closing the main window 2014-12-28 16:19:55 +01:00
Alessandro Ranellucci
c1e44eb591 Fixed extra comment that prevented the Export STL button from working after the recent changes in plater layout. #2458 2014-12-28 14:59:28 +01:00
Alessandro Ranellucci
efe7d5f857 Integration with Octoprint. #1826 2014-12-28 01:30:05 +01:00
Alessandro Ranellucci
eba19aaba4 Fixed Object part editor because it wasn't updated with the new PreviewCanvas API. #2455 2014-12-28 00:16:15 +01:00
Alessandro Ranellucci
53e8699765 Prepend option category in the unsaved changes dialog 2014-12-27 14:38:06 +01:00
Alessandro Ranellucci
5dc635b0b1 Pan with middle mouse button too. #2444 2014-12-25 20:08:47 +01:00
Alessandro Ranellucci
6ac82f1a20 Fix cutting of objects rotated around X or Y 2014-12-25 20:04:59 +01:00
Alessandro Ranellucci
5d9ff677c0 Workaround wxMSW not catching mouse wheel events if panel has no focus. #2424 2014-12-25 19:51:53 +01:00
Alessandro Ranellucci
ce395dfba8 💄 2014-12-25 19:42:24 +01:00
Alessandro Ranellucci
4c3fa999f5 Only draw the slices in toolpath preview for the current selected layer 2014-12-25 19:35:51 +01:00
Alessandro Ranellucci
617fbaa9bd Restore expansion of filament choosers 2014-12-25 19:14:18 +01:00
Alessandro Ranellucci
dbbc6e7e55 Update plater preset selectors when dismissing unsaved changes 2014-12-25 18:52:27 +01:00
Alessandro Ranellucci
6c2a28166a Rearrange plater's layout slightly in order to have larger preset selectors 2014-12-25 18:50:02 +01:00
Alessandro Ranellucci
cc36aff66a Fix MainFrame after recent changes in preset handling 2014-12-25 18:18:41 +01:00
Alessandro Ranellucci
70601eeb51 Tell what options were changed when prompting user for saving a modified preset. Also, check whether the preset was actually modified by performing a proper idempotent diff. #2165 2014-12-25 17:35:31 +01:00
Alessandro Ranellucci
ffff597bfe Bugfix: the Bed Shape dialog didn't retain rectangle origin correctly. #2427 2014-12-25 02:36:10 +01:00
Alessandro Ranellucci
9dd228df01 Enable the GLU tesselator on MSW if we have a recent OpenGL module 2014-12-24 11:49:27 +01:00
Alessandro Ranellucci
ea40c4d1b0 Fixed rendering of multiple interlaced layers in toolpaths preview 2014-12-24 01:34:35 +01:00
Alessandro Ranellucci
350d634433 Enable extruder_offset configuration for first extruder. #2224 2014-12-24 00:34:17 +01:00
Alessandro Ranellucci
25bc8e6f29 Smarter automatic disabling of GUI fields + reordering of Print Settings pages + minor adjustments to tooltips 2014-12-23 20:47:11 +01:00
Alessandro Ranellucci
6a939eb250 Fight deadlocks 2014-12-22 19:47:39 +01:00
Alessandro Ranellucci
bb907fb405 Don't trigger the on_move callback upon simple object selection with no dragging action 2014-12-22 19:34:19 +01:00
Alessandro Ranellucci
faed500520 Refresh slider when reloading print in toolpath preview canvas 2014-12-22 18:56:16 +01:00
Alessandro Ranellucci
1485659726 Minor rewording. #2411 2014-12-21 23:40:05 +01:00
Alessandro Ranellucci
583b009d1b Honor print bed center in Quick Slice. #2440 2014-12-21 23:29:31 +01:00
Alessandro Ranellucci
38ecce0ce9 Disable the GLU tesselator on MSW 2014-12-17 14:41:58 +01:00
Alessandro Ranellucci
34a49086e5 Added code for potential antialiasing 2014-12-17 14:28:25 +01:00
Alessandro Ranellucci
e79aa2e81c New --solid-infill-extruder option. Includes a refactoring of the strategy used to order layer extrusions according to their extruder and island; toolchanges and travel moves should be more optimized now. #618 2014-12-17 00:34:00 +01:00
Alessandro Ranellucci
fcfb3b98bc 3D object positioning 2014-12-16 01:12:56 +01:00
Alessandro Ranellucci
a82f95e903 Some initial work for 3D slice rendering 2014-12-15 15:19:42 +01:00
Alessandro Ranellucci
a34cd24fa1 Overlay object slices in toolpaths preview 2014-12-15 12:42:11 +01:00
Alessandro Ranellucci
9cd0a63331 Refactoring of PreviewCanvas 2014-12-15 01:28:11 +01:00
Alessandro Ranellucci
74b3be3c06 Refactoring in 3D interactive code. Highlight all copies of an object when hovering 2014-12-14 00:54:35 +01:00
Alessandro Ranellucci
2f2ae75529 Some incomplete work for moving objects in 3D plater 2014-12-13 22:18:43 +01:00
Alessandro Ranellucci
ac2b6de62b Minor addition to OpenGL code to prevent darker models 2014-12-13 20:56:22 +01:00
Alessandro Ranellucci
16945dad70 💄 2014-12-13 20:47:59 +01:00
Alessandro Ranellucci
d1f58cbed5 Objects can be selected in 3D preview now. Double click and right click work as well 2014-12-13 20:41:03 +01:00
Alessandro Ranellucci
b0aa1260e2 Bugfix: wxComboBox left blank after menu item selection on MSW due to an undocumented wxWidgets issue. #2361 2014-12-13 15:40:42 +01:00