Commit Graph
100 Commits
Author SHA1 Message Date
bubnikv 1fffae4e0b A little refactoring of loading meshes in VBO / non VBO case. 2019-04-08 18:11:36 +02:00
bubnikv 4904359399 Finished SLA print / material correction visualization. 2019-04-08 18:09:31 +02:00
bubnikv 28d999bc04 Merge remote-tracking branch 'remotes/origin/master' into tm_relative_correction 2019-04-08 16:02:05 +02:00
bubnikv 0de084df8d Merge remote-tracking branch 'remotes/origin/master' into tm_relative_correction 2019-04-08 14:00:27 +02:00
bubnikv fa890c2bbc Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-08 13:35:22 +02:00
bubnikv ca6a5af1dc Fixed rotation of SLA instances in case a rotation in X or Y was applied
to the instances.
2019-04-08 13:35:03 +02:00
bubnikv 9bc93134f9 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-08 12:05:44 +02:00
bubnikv 43fb8df1fb Increased the default SLA support density to 130% of the previous value
(100% now works as 130% before)
2019-04-08 10:27:56 +02:00
bubnikv f554d02665 SLA: Invalidate all PrintObjects if the scaling correction changes.
Fixes a bug, where the sla_transofmation() function works with
the new scaling values for both old and new ModelObjects, therefore
no reslicing is triggered.
(untested)
2019-04-05 11:56:11 +02:00
bubnikv 88059baddb Detect Remote Desktop connection and use Mesa OpenGL renderer. 2019-04-05 10:01:48 +02:00
bubnikv a71f05cdc0 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-04 16:24:44 +02:00
bubnikv ef1a273f0c Fix of "Latest commit of Slic3r 1.42.0 cuts away part of the model #2063"
Fixed one bug of many in admesh library, where the face connectivity
was broken when removing a degenerate face. Likely there are some
similar issues left to be solved.
Placed a workaround to always recalculate face connectivity before slicing.
2019-04-04 16:16:57 +02:00
bubnikv 39ce4c33a4 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-04 09:41:23 +02:00
bubnikv a36bdefda5 Code to load SVG icons into the BitmapCache class. 2019-04-04 09:20:11 +02:00
bubnikv 43ce5accc2 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-04 09:03:08 +02:00
bubnikv 8e63a6ba97 First batch of SVG icons.
Support for loading SVG icons into a BitmapCache.
2019-04-04 09:02:53 +02:00
bubnikv 6a9c0d4543 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-03 12:08:11 +02:00
bubnikv 527c213b57 Fixed cutting of objects in left oriented coordinate space.
Removed some spurious debugging printf.
2019-04-03 12:07:58 +02:00
bubnikv 9f8ad0153e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-03 11:12:15 +02:00
bubnikv 382326ffc8 Fixed FFF slicing of meshes with left hand oriented transformations applied.
Slight optimization of FFF slicing - optimized copy of an object with just
a single volume.
2019-04-03 11:12:03 +02:00
bubnikv eeae1c0495 Fixed update of the SLAPrint back end after mirroring in a specific
case of mirroring around the X axis.
Fixed some asserts on visual studio due to access to empty std::vector
2019-04-02 18:04:23 +02:00
bubnikv dc64b4d971 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-02 13:54:46 +02:00
bubnikv e1177b1810 Fix of the previous commmit. 2019-04-02 13:54:23 +02:00
bubnikv 086f11df98 Handling of left hand oriented coordinate systems:
is_left_handed() method on transformations and volumes
rendering of GLVolumes in left handed coordinate systems by glFrontFace(GL_CW);
SLA slicing on left hand oriented instances by flipping the mesh for SLAPrintObject in X.
rendering of the SLA cutting plane in left handed systems
resetting the SLA clipping planes on 3D preview invalidation
2019-04-02 13:47:49 +02:00
bubnikv 9594bf43b5 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 17:12:50 +02:00
bubnikv c1b7d987a0 Improvement in handling of the custom bridging angle value.
In case the bridge is only supported at one side, it is technically
not considered to be a support, therefore the default infill angle is used.
With this change, the bridging areas use the custom angle value even
if not supported on both sides.
2019-04-01 17:12:39 +02:00
bubnikv 728e053a7f Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 14:50:55 +02:00
bubnikv fbce7b001b Some optimizations of "Fix crash on splitting some models #2042"
replaced std::vector<bool> with std::vector<unsigned char>
as std::vector<bool> is a specialized version optimized for memory,
not speed (8 bools are packed into a single boolean).
The triangle neighbor traversal was optimized to not push visited
or non-neighbors into the queue.
2019-04-01 14:50:40 +02:00
bubnikv 9821814604 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 12:28:42 +02:00
bubnikv d728f4be5e Revert "Use number_of_parts for is_splittable"
It is too dangerous to rely on the admesh flag without inspecting the
admesh code line by line and a through test.

This reverts commit cd3cec3e45.
2019-04-01 12:27:45 +02:00
bubnikv 62539bc35b Fix of No preview of position in variable layer editing UI at retina resolution #2050 2019-04-01 11:08:26 +02:00
bubnikv d209aaa200 Enabled slicing of SLA from the command line. 2019-03-28 11:24:21 +01:00
bubnikv ba89a3d1ab Removed dependency on libz on Windows. 2019-03-28 11:20:48 +01:00
bubnikv fc49abc2a4 Merge remote-tracking branch 'remotes/origin/tm_sla_png_minz' 2019-03-28 09:14:37 +01:00
bubnikv 84ff7f4221 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-27 10:27:01 +01:00
bubnikv 3987296b62 Improved glsafe macro to print out file name, line number and function
name on OpenGL assert.
2019-03-27 10:26:55 +01:00
bubnikv f65eb9afdb Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-26 18:00:23 +01:00
bubnikv e7c8e2391a Visual Studio specific. Fixed a clash in the name of a symbol file
for the slic3r.exe wrapper and slic3r.dll
2019-03-26 18:00:07 +01:00
bubnikv 0a3500b5ab Added tooltip [Ctrl - R] to the Slice now button 2019-03-26 14:00:53 +01:00
bubnikv 82321c7aee Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-26 10:39:08 +01:00
bubnikv e0e1e2b682 Improved SLA layer view: Low layer shall be rendered from the slice above,
triangulated slices are shifted slightly away from the clipping planes.

FDM: Ported a "(bridged)" G-code comment from upstream.
2019-03-26 10:38:50 +01:00
bubnikv 9652e8193a Fixed caching of profile selections at the plater. 2019-03-23 10:04:44 +01:00
bubnikv 4f585f1157 Improved rendering when deleting an option from object's overrides.
Replaced the single column icon with an empty icon.
Will it break something? The single column added an ugly spacer
in front of non-editable combo boxes.
2019-03-23 08:23:22 +01:00
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