Vojtech Bubnik
31d377d09f
Some refactoring and documentation, modified Windows dependencies to compile against patched wxWidgets
2019-04-23 12:35:26 +02:00
Vojtech Bubnik
0923bcec34
Added explicit linkage of pthreads library (needed on raspberry PI)
2019-04-23 11:02:57 +02:00
bubnikv
3f74ec491e
Partial fix of "Wrong width of perimeter for solid anchors #1803 "
...
Improvement in handling of the "default" external perimeter width.
2019-04-18 15:08:11 +02:00
bubnikv
1fd6748178
Fixed a typo in export_obj parameter label
2019-04-18 14:45:13 +02:00
bubnikv
5ec507e9ea
Fix of Complete individual objects: "checker" bug #1911 "
...
Also fix of an arrangement issue for instances with some transformation
around X or Y axis applied.
2019-04-18 12:45:43 +02:00
bubnikv
63a0d1aeee
Added comments to the gettext dictionaries generated by the xgettext tool.
...
The prefix to be searched for in the source code comments is TRN
2019-04-18 10:13:56 +02:00
bubnikv
d83a013d6b
Export of filament statistics into G-code for multi-material prints
...
has been rewritten to be easier to parse.
Old format
; filament used = 19248.8mm (46.3cm3)
; filament used = 57.4
; filament cost = 1.5
; filament used = 8007.6mm (19.3cm3)
; filament used = 23.9
; filament cost = 0.6
; filament used = 0.0mm (0.0cm3)
; filament used = 0.0mm (0.0cm3)
; filament used = 0.0mm (0.0cm3)
; total filament cost = 2.1
New format
; filament used [mm] = 1600.7,1600.7,1600.7,1600.7,1600.7
; filament used [cm3] = 3.9,3.9,3.9,3.9,3.9
; filament used [g] = 4.8,4.8,4.8,4.8,4.8
; filament cost = 1.5,1.5,1.5,1.5,1.5
; total filament used [g] = 24.0
; total filament cost = 7.5
Where the non-printing extruders are filled in with zeros, and
the trailing non-printing extruders are not exported.
; filament used [g]
and
; filament cost
are only printed if non zero (material density and cost are defined)
2019-04-16 14:25:50 +02:00
bubnikv
7aa4fd0827
Another fix of the perl bindings
2019-04-16 10:53:55 +02:00
bubnikv
7f4e6328fa
Fixed trianglemeshslicer perl bindings, thus the unit tests.
2019-04-16 10:39:17 +02:00
bubnikv
95a0adbac9
More unification of the application naming.
2019-04-15 19:49:37 +02:00
bubnikv
4c445d8565
Updated OSX Info.plist template
2019-04-15 18:13:59 +02:00
bubnikv
496922036f
Harmonized the application naming.
2019-04-15 16:14:19 +02:00
bubnikv
44a611795b
Bumped up version number
2019-04-14 10:24:31 +02:00
bubnikv
e4162bbee9
When loading a 3MF with advanced data, switch to an Advanced mode, not
...
Export moe.
2019-04-14 08:26:10 +02:00
bubnikv
255a4e05dc
Fix of "Repir from File menu doesn't save the file #2064 "
...
The file was saved, albeit using an "obj" format, but into a file
with an ".stl" extension.
The software was fixed to propose a file to save with a correct ".obj"
extension.
2019-04-13 14:45:35 +02:00
bubnikv
1e455bc065
Fix of "Variable layer height feature breaks after rotating part #2073 "
...
There was an approximate bounding box used at the GUI, while a snug
bounding box was used at the back end, causing invalidation
of the variable layer height editing profile on rotated objects.
A snug bounding box around the first instance is now cached.
2019-04-13 14:15:54 +02:00
bubnikv
b0c33a1fe9
Fixed copying of some object's attributes into the clipboard
...
(layer height profile, layer height table etc)
Added public Plater::schedule_background_process()
2019-04-12 18:29:47 +02:00
bubnikv
80afb6da78
Fixed SLA clippling plane & picking.
2019-04-12 16:08:40 +02:00
bubnikv
17ad59c7e6
Only show the "--software-renderer" option if GUI is compiled in.
2019-04-12 13:33:06 +02:00
bubnikv
8614bb2ede
One more command line only slic3r build fix.
2019-04-12 13:29:06 +02:00
bubnikv
022e325a60
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-12 13:13:49 +02:00
bubnikv
3ab1b69682
Fixed a bug in command line only win32 slic3r build.
2019-04-12 13:13:31 +02:00
bubnikv
cef2fa3505
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-12 12:58:00 +02:00
bubnikv
33ef1173a7
Moved the GLEW dependencies from libslic3r to the gui slic3r library.
2019-04-12 12:57:45 +02:00
bubnikv
349e30a39c
WIP: Restoring of the command line only builds (no GUI support).
2019-04-12 12:16:44 +02:00
bubnikv
8094cd22da
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-12 11:43:41 +02:00
bubnikv
9f53123204
Windows specific: Added "--sw-renderer" to load the MESA SW rasterizer.
2019-04-12 11:43:29 +02:00
bubnikv
360e741462
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-12 11:02:21 +02:00
bubnikv
566bb7041a
Optimization of the OpenGL shaders for clipping with clipping planes.
2019-04-12 11:01:53 +02:00
bubnikv
112f218c03
Merge branch 'lm_sla_gizmo_clipping_plane'
2019-04-11 15:45:49 +02:00
bubnikv
d8a3308f8a
Setting the SLA Pad wall height to zero and adding a warning to not set
...
it to non zero, as it may be difficult to tear the object off the vat foil.
2019-04-11 15:45:14 +02:00
bubnikv
4a210aeecf
Vojtech's improvements in the SLA preview cutting dialog.
2019-04-11 15:44:32 +02:00
bubnikv
9fd8461592
Changed the scene update on RELOAD_SLA_SUPPORT_POINTS
...
to delay the loading if some transformation gizmo is in action.
2019-04-10 13:36:15 +02:00
bubnikv
f4c8f91519
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-10 10:16:12 +02:00
bubnikv
7b8b8b97ef
Fixed Cmd-A selection in the SLA gizmo.
2019-04-10 10:16:04 +02:00
bubnikv
d383f3591d
Switching to the preview screen when the "Slice now" button is pressed.
...
Let's wait for the response of the beta testers whether it is a good
idea.
2019-04-09 17:15:14 +02:00
bubnikv
d8cb1b0792
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-09 13:13:57 +02:00
bubnikv
6bd54f0112
Hopefully fixing the "scroll to the first selected line" issue
...
at the object list.
2019-04-09 13:13:42 +02:00
bubnikv
7c75081a31
Changed the hot key in the keyboard shortcuts dialog for plater
...
Ctrl+Left mouse for selection.
2019-04-09 10:46:32 +02:00
bubnikv
0c7e351eb7
Fix of SPE-896 "SLA preview is not invalidated when profile is changed"
2019-04-09 10:41:42 +02:00
bubnikv
98120d01a3
Adjusted the default support_points_minimal_distance to 1mm.
2019-04-09 10:18:52 +02:00
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