Commit Graph
100 Commits
Author SHA1 Message Date
bubnikv c623cbc4d7 Fix of Perl bindings 2019-03-22 23:10:11 +01:00
bubnikv b2ef3ba291 Fixed the options override box at the side bar. 2019-03-22 23:00:23 +01:00
bubnikv 2fe27a29e0 Fixed the SLA layer preview. 2019-03-22 21:26:58 +01:00
bubnikv 8003dd4991 Merge remote-tracking branch 'origin/tm_slice_index' 2019-03-22 17:08:38 +01:00
bubnikv 2bfd3b7844 Refactored the -------- xxxx ---------- menu items to use a generic
code to generate these separators.
Now using the connected dashes (unicode emdash characters) on OSX and Windows.
2019-03-22 17:07:12 +01:00
bubnikv ae93569044 Call Config Wizard from the Printer combo box at both the plater
and the parameter tab.
2019-03-22 15:45:51 +01:00
bubnikv f5516f24c4 Fix of 1.42 beta crash when deleting printer profile created by configuration assistant #1985
Fixed an issue, where deleting a profile did not correctly update
profile dependences, and deleting a profile would not test dirty status
of depending profiles, which would be switched thus user changes would be lost.

Fixed enabling / disabling the --default FFF-- / --default SLA-- profiles
when deleting the last printer profile.

Little refactoring (don't compare by strings but by symbolic names).

Making a copy of a profile - "Copy" suffix is added to a system profile.
2019-03-22 12:11:23 +01:00
bubnikv 4be6c17fd3 Limit number of perimeters to 10 thousands, that is 50 meters with 0.2mm
nozzle. The number of perimeters has to be limited due to a numerical
overflow of fixed point 32bit coordinates in the offsetting algorithm.
2019-03-21 14:56:20 +01:00
bubnikv 562343cd2a Localization fix of the warning texts in the 3D scene.
Improved anti-aliasing of the warning texts in the 3D scene
and the G-code legend. A ClearType rendering has been suppressed
by rendering of the text into a red channel only.
2019-03-21 14:33:55 +01:00
bubnikv f9e3b935d3 Yet another fix. 2019-03-21 12:09:14 +01:00
bubnikv f76880cd5e Fix and optimization of the previous commit. 2019-03-21 11:54:25 +01:00
bubnikv 213ff2852a We are getting mysterious crashes on Linux in gtk due to OpenGL context activation GH #1874 #1955.
So we are applying a workaround here, just on linux.
2019-03-21 11:44:39 +01:00
bubnikv 8105fc33d5 Fixed a merge issue 2019-03-21 10:46:40 +01:00
bubnikv d9d0eff0f1 Merge remote-tracking branch 'remotes/origin/ys_comboboxes' 2019-03-21 10:11:27 +01:00
bubnikv a5b27a7540 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-21 10:07:42 +01:00
bubnikv 001d0c0fe9 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-20 10:34:10 +01:00
bubnikv 4d37c8658d Merge remote-tracking branch 'remotes/origin/ys_preset_edit_buttons' 2019-03-19 17:37:02 +01:00
bubnikv 177e99c770 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-19 17:36:17 +01:00
bubnikv 3617284385 Merge remote-tracking branch 'origin/ys_preset_edit_buttons' 2019-03-19 11:54:03 +01:00
bubnikv b50c4cbaa3 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-19 11:53:38 +01:00
bubnikv 20be57dc58 Weird things happen as the Paint messages are floating around the windows being destructed.
Avoid the Paint messages by hiding the main window.
Also the application closes much faster without these unnecessary screen refreshes.
In addition, there were some crashes due to the Paint events sent to already destructed windows.
2019-03-18 23:22:38 +01:00
bubnikv 2fab555daf Merge remote-tracking branch 'remotes/origin/master' into vb_faster_tabs 2019-03-18 20:54:28 +01:00
bubnikv a90d5c8a28 Performance fix of rendering of the parameter tabs on Windows:
Disabled Windows Vista themes for the wxNotebook.
2019-03-18 20:54:01 +01:00
bubnikv b5894d334c Merge remote-tracking branch 'remotes/origin/master' into vb_faster_tabs 2019-03-18 12:51:57 +01:00
bubnikv e278550cee Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-18 12:51:18 +01:00
bubnikv cf53604ae8 Moved the Fileds from the Page object to the respective OptionGroups
for performance reasons. Disabled clearing of background for most
of the static texts and Fields stored into OptionGrops.
2019-03-18 12:49:57 +01:00
bubnikv 2f9e6cf887 Moved the Fileds from the Page object to the respective OptionGroups
for performance reasons. Disabled clearing of background for most
of the static texts and Fields stored into OptionGrops.
2019-03-18 12:48:39 +01:00
bubnikv 5fc37238e0 Fixed missing include on OSX 2019-03-17 15:04:34 +01:00
bubnikv 2bb4b4e691 Command line - improved error handling 2019-03-17 14:35:54 +01:00
bubnikv f5b30237ea Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-17 09:33:11 +01:00
bubnikv 9eea1561b3 fix of problems with Cyrillic in the snapshot (if the name of the Russian letters) #1956 2019-03-17 09:32:53 +01:00
bubnikv e3153fc8fe Updated Prusa3D print profiles 2019-03-16 19:13:30 +01:00
bubnikv 954d571ab0 Bumped up version number to 1.42.0-beta
changed the config path from Slic3rPE-alpha to Slic3rPE-beta
2019-03-16 17:12:51 +01:00
bubnikv 60260c26be Fixed command line slicing due to some missing config keys 2019-03-14 18:47:26 +01:00
bubnikv 3b38c36262 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-14 16:32:22 +01:00
bubnikv 6928284cc3 Loading of FFF print preview when switching to the print preview screen:
always refresh from the Print with the exception of finished G-code
export, where the final G-code preview is cached.
2019-03-14 16:31:55 +01:00
bubnikv 8245921e74 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-14 15:11:41 +01:00
bubnikv d6b409d0d9 Update the SLA slices at the print preview once the index is calculated. 2019-03-14 15:11:27 +01:00
bubnikv 6f2695366e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-14 12:10:37 +01:00
bubnikv 9c574a0d42 Fix of yesterday's commit, the bug caused cancelling of the computation. 2019-03-14 12:10:10 +01:00
bubnikv 0b4dbc87c7 CLI:
Removed the --help-options parameter, left the --help-fff and --help-sla
Added check for empty print.
2019-03-13 19:49:14 +01:00
bubnikv 1224491cd4 Removed obsolete Dwarf parametes from FFF Print settings. 2019-03-13 19:21:56 +01:00
bubnikv c7ba650097 Help for the FFF / SLA command line parameters.
Removed the cli parameter from most options as it is derived
from the option key. Options without CLI parameter are now marked
with cli = nocli.
2019-03-13 19:17:26 +01:00
bubnikv 2c779746dd Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-13 17:39:04 +01:00
bubnikv c980e96dbb Fix of perl bindings 2019-03-13 17:38:48 +01:00
bubnikv cea6ca83db removed the --gui parameter from the slic3r wrapper.
Fixed the perl bindings
2019-03-13 17:06:45 +01:00
bubnikv 96d88e550e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-13 16:53:48 +01:00
bubnikv df8d475363 Fixed perl bindings 2019-03-13 16:53:08 +01:00
bubnikv 8d8df8b670 added missing slic3r.hpp
removed slic3r-noconsole.exe from the windows builds
2019-03-13 16:06:21 +01:00
bubnikv 2ba661cb76 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-13 15:45:01 +01:00
bubnikv 18025cc669 Reworked the command line interface based on the current state
of the upstream.
Thanks @alexrj, @lordofhyphens for the original code of slic3r.cpp
2019-03-13 15:44:50 +01:00
bubnikv 75cf1cde92 Refactoring of the Slice / Export G-code button 2019-03-12 09:41:57 +01:00
bubnikv 1da97c9415 Merge remote-tracking branch 'remotes/origin/ys_buttons' 2019-03-12 09:01:17 +01:00
bubnikv ba3b06599e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-11 17:18:55 +01:00
bubnikv c482933845 Fixed a regression issue in the triangle mesh slicing code, where
a broken contour was not glued together using the closest neighbors.
2019-03-11 17:18:38 +01:00
bubnikv a0d5a961bd Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-11 11:03:29 +01:00
bubnikv 6811c68f60 Fixed crashes if OnIdle handler was called before Plater was initialized. 2019-03-11 11:03:13 +01:00
bubnikv c74fe8acb8 Moved the "Delete" button in the 3D Canvas pop up menu from the very top
below the add / remove instance, so that it could not be selected by mistake.
2019-03-08 17:00:56 +01:00
bubnikv 311df8ecfd Reworked discretization step of Archimedean Chords infill to lower
slicing time and memory requirements.
Fixes "Infill pattern Archimedean causing total freeze at Infilling patterns" #1871
2019-03-07 16:01:46 +01:00
bubnikv de23725a1e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-06 10:21:16 +01:00
bubnikv e399cf6d3d Implemented clipping of parts of multi-part objects in the order
they are presented in the UI.

Parallelized the slice stealing when splitting regions with modifier meshes.

Rewrote Layer::make_perimeters() to C++11 loops.
2019-03-06 10:21:10 +01:00
bubnikv 4f122fed70 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-05 14:06:10 +01:00
bubnikv 676076b7b4 Fix of caching of the SlicingParamerters at PrintObject 2019-03-05 14:05:58 +01:00
bubnikv 737f545cf6 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-05 11:54:10 +01:00
bubnikv 5e582efc5c Elephant foot compensation improvements.
Fix of the negative XY compensation on multi-material (or multi-region)
prints, where the negative XY compensation created gaps between parts.
2019-03-05 11:54:04 +01:00
bubnikv c56004f946 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-04 15:34:45 +01:00
bubnikv 7f35f45e47 Bumped up the year in About Dialog. 2019-03-04 15:34:22 +01:00
bubnikv b2f10ec864 Fixed a bug, where a bounding box volume was shown at the side bar
instead of volume of the mesh.
2019-03-04 15:29:07 +01:00
bubnikv cc79b1553d Implemented caching of SlicingParameters by PrintObject 2019-03-04 15:28:04 +01:00
bubnikv 58e4ace699 Fixed a typo 2019-03-04 12:59:20 +01:00
bubnikv e7fdc44d5a Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-04 12:21:07 +01:00
bubnikv bc65827499 ImGUI wrapper text and combo methods shall accept std::string
in UTF8 format.
2019-03-04 12:21:00 +01:00
bubnikv dceaf73ff3 Don't use ->full_print_config() if not necessary, it is quite expensive! 2019-03-02 10:25:47 +01:00
bubnikv 77e9e23cea Bumped up version number. 2019-03-01 18:52:12 +01:00
bubnikv 9996a01c84 Fixed Perl bindings. 2019-03-01 18:09:42 +01:00
bubnikv 44c64f4a98 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-01 17:59:17 +01:00
bubnikv e3cba0a65a Introduced the "slice_closing_radius" to define, how large gaps
will be closed after triangle mesh slicing.
The value is set to 0.049 by default, which corresponds to the hard
coded default in Slic3r-1.41.3.

See issues #520 #820 #1029 #1364 for the reference of why we need
the parameter for being able to print some specific models.
2019-03-01 17:53:02 +01:00
bubnikv 570bc63e58 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-01 15:36:01 +01:00
bubnikv 0ec450f3d7 Fix of instance rotations from the side panel
in regard to instance synchronization.
2019-03-01 15:35:48 +01:00
bubnikv d009be7609 Fixed rotation of single instance -> it works now with absolute values.
Added Absolute / relative, World / Local, Rigid body / independent
modifier parameter to the object / group rotation.
2019-03-01 10:20:12 +01:00
bubnikv f4b2d51f47 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-01 10:09:26 +01:00
bubnikv 1f7db3d40c Reworked the "new modifier mesh place on face" code to not place
on face if the instance coordinate system is skewed.
2019-03-01 10:09:20 +01:00
bubnikv dc0c58a9c5 Improvement of the initial placement of modifier meshes:
Sphere and Cylinder are scaled to the same volume as Box
Newly entered modifier meshes are rotated parallell to the world coordinates.
If the instance coordinate system is rotated and scaled, it is not possible
to create an unskewed modifier to world transformation. In that case
the best possible transformation is found to minimize least squares error
of the 8 corners of the new modifier mesh bounding box using
Levenberg-Marquardt algorithm.

FIXME:
1) The Levenberg-Marquardt non-linear least squares does not converge
nicely, it may require some tuning.
2) Above all, if 1) is called, then often the skew of the modifier mesh
is so high, that it is likely more useful to display the modifier
with zero rotation and inverse scaling, so that the modifier will be
of correct size, but not parallel to the world coordinates.
2019-02-28 11:20:01 +01:00
bubnikv 3053010446 Bumped up the alpha version number. 2019-02-28 11:11:13 +01:00
bubnikv 773f1c35cf Fixed Linux build, the old GCC compiler does not support
std::defaultfloat yet
2019-02-27 11:08:58 +01:00
bubnikv 6066f7b7c5 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-27 10:32:10 +01:00
bubnikv fb91232d10 Fix of Model is marked as defective after opening project #1863
Fixes SPE-613
2019-02-27 10:31:53 +01:00
bubnikv 3a1923e4f1 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-27 08:49:33 +01:00
bubnikv 878ef5eee0 Improvement of automatic SLA supports: Don't put support points
on vertical walls.
2019-02-27 08:49:09 +01:00
bubnikv 93eac724c9 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-26 11:50:57 +01:00
bubnikv f3b33eac50 Yet another fix of keyboard / mouse focus on the 3D scene. 2019-02-26 11:50:45 +01:00
bubnikv 0f96213dce Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-25 17:09:55 +01:00
bubnikv feef5608b9 Workaround for mouse events sent out of order
(mouse button down being sent before mouse enter)
2019-02-25 17:09:44 +01:00
bubnikv f23919985f Renamed the SLA output file to ".sl1" 2019-02-25 15:01:39 +01:00
bubnikv 05baa4b743 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-25 10:21:35 +01:00
bubnikv a0d256f9f7 Restart background processing for all steps on G-code export and send to
octoprint for SLA if the slicing for a single object only is active.
2019-02-25 10:21:12 +01:00
bubnikv b4a61a3acb Fixed unit test after splitting the external fill pattern to top/bottom. 2019-02-25 09:11:20 +01:00
bubnikv 6c2beeec36 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-02-25 08:55:56 +01:00
bubnikv 37f96db9fe Fixed Perl bindings 2019-02-25 08:55:25 +01:00
bubnikv a81d51d905 Removed unnecessary saving of slicer.ini 2019-02-22 17:18:58 +01:00