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
tamasmeszaros
bbdc6a7881
Fix for incomplete validation condition on the allowable elevation.
2019-04-17 10:08:54 +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
Lukas Matena
63ce3c3150
SLA gizmo now does not make redundant copies of the object and supports meshes
2019-04-16 09:04:04 +02:00
Lukas Matena
f33e9bf609
TriangleMeshSlicer is now initialized by const-pointer to the mesh, responsibility for calling require_shared_vertices is left to the caller
2019-04-16 09:04:04 +02:00
bubnikv
496922036f
Harmonized the application naming.
2019-04-15 16:14:19 +02:00
Enrico Turri
703f65c7bf
Fix of #1380 - Wrong estimated time when using extruder absolute coordinates
2019-04-15 12:54:57 +02:00
YuSanka
df7ada0199
Merge remote-tracking branch 'origin/master' into ys_msw_dpi
2019-04-14 13:49:22 +02:00
YuSanka
f7ddddcff5
Application Scaling for MSW: Next big step
...
- Added rescale() function for the most of controls
- Created PrusaBitmap and PrusaButton classes like a wrap to wxBitmap and wxButton accordingly
2019-04-13 23:46:52 +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
17ad59c7e6
Only show the "--software-renderer" option if GUI is compiled in.
2019-04-12 13:33:06 +02:00
bubnikv
33ef1173a7
Moved the GLEW dependencies from libslic3r to the gui slic3r library.
2019-04-12 12:57:45 +02:00
bubnikv
9f53123204
Windows specific: Added "--sw-renderer" to load the MESA SW rasterizer.
2019-04-12 11:43:29 +02:00
tamasmeszaros
a55022ae2f
Fix for issue SPE-901
2019-04-12 10:26:33 +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
Lukas Matena
678c513cb9
Merge branch 'master' into lm_sla_gizmo_clipping_plane
2019-04-10 13:43:02 +02:00
tamasmeszaros
53861b2012
Removing separate X and Y relative correction.
2019-04-09 18:15:25 +02:00
tamasmeszaros
3ffd43b2ce
Support for thresholding with Zero gamma.
...
Also made a few optimizations in rasterizer.
2019-04-09 14:52:29 +02:00
tamasmeszaros
c702ddc65d
Adding absolute correction (XY offset) and gamma correction parameters.
2019-04-09 13:42:32 +02:00
bubnikv
98120d01a3
Adjusted the default support_points_minimal_distance to 1mm.
2019-04-09 10:18:52 +02:00
bubnikv
4904359399
Finished SLA print / material correction visualization.
2019-04-08 18:09:31 +02:00
bubnikv
0de084df8d
Merge remote-tracking branch 'remotes/origin/master' into tm_relative_correction
2019-04-08 14:00:27 +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
Enrico Turri
ea3d30bff1
Fix of #2082 -> Added lines M73 P100 and M73 Q100 to gcode to signal that print is finished
2019-04-08 11:54:58 +02:00
Lukas Matena
bbda1896f9
The gizmo is now able to triangulate and show the cut, the triangulated cut is cached
2019-04-08 10:31:19 +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
tamasmeszaros
2487bb8794
Remove unnecessary reversals of print polygons.
...
second take...
2019-04-05 17:04:55 +02:00
tamasmeszaros
08b9d9a519
fix for hole disappearance
2019-04-05 16:24:23 +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
Enrico Turri
a9223aeb5f
Follow-up of 763a91e2ca
-> take in account of ModelObject::origin_translation when saving parts and modifiers to stl
2019-04-05 10:08:34 +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
Enrico Turri
24128e01ed
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-04-04 14:00:48 +02:00
Enrico Turri
6197f48321
Use current selection to determine proposed filename when exporting to stl files
2019-04-04 14:00:31 +02:00
tamasmeszaros
590ae25b13
Altering sla export interface to support explicit project name.
2019-04-04 12:30:11 +02:00
tamasmeszaros
f0d106e5f0
Added method for relative correction retrieval.
2019-04-04 10:52:14 +02:00
Enrico Turri
c29f7bc147
Fix of #2044
...
Added sorting by z of the preview data used to generate the gcode preview because there can be shuffling in case of sequential printing
2019-04-04 09:16:03 +02:00
tamasmeszaros
ecdd4b6e7a
Suggestion for Z offset correction
2019-04-03 18:23:29 +02:00
tamasmeszaros
c6b5fe05e4
Scaling correction parameters in material and print conf.
...
Scaling is applied in sla_trafo but no effect unless set before model import.
2019-04-03 17:34:46 +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
tamasmeszaros
f7ce59d070
Merge branch 'tm_clipperutils_update'
2019-04-03 11:17:44 +02:00
tamasmeszaros
1534356268
Call Line conversion operator explicitly.
2019-04-03 11:17:15 +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
tamasmeszaros
32af3ff3c0
Remove unnecessary reversals of print polygons.
2019-04-03 10:29:27 +02:00
tamasmeszaros
7b414fe34a
Get rid of unnecessary copies and moves in ClipperUtils
...
This is up to a code review session.
2019-04-03 10:17:57 +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
tamasmeszaros
66fce6d46c
Add mirror correction to rasterized polygons.
2019-04-02 17:48:50 +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
tamasmeszaros
6a74564900
More accurate status proportions for SLA steps.
2019-04-02 11:19:52 +02:00
tamasmeszaros
a3dcb6863e
Rethought sla status indication.
2019-04-02 10:54:14 +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
tamasmeszaros
b8289c32b0
Fix for broken SLA status indication.
2019-04-01 16:10:15 +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
tamasmeszaros
50942e9382
Merge branch 'tm_reuse_unified'
2019-04-01 12:24:50 +02:00
tamasmeszaros
2baa651f1e
Fixing the broken rasterizer.
...
Paths and holes cannot be added separately.
2019-04-01 12:15:47 +02:00
Sijmen Schoon
cd3cec3e45
Use number_of_parts for is_splittable
...
It's there, why not use it
2019-04-01 12:09:44 +02:00
Sijmen Schoon
4a9e05194c
Move repaired check to find_unvisited_neighbors
2019-04-01 12:09:44 +02:00
Sijmen Schoon
69199215b0
Fix a bunch of warnings
2019-04-01 12:09:44 +02:00
Sijmen Schoon
19dc89bfab
Clean up and fix TriangleMesh::split and relatives
2019-04-01 12:09:44 +02:00
tamasmeszaros
4eb5d91a8f
Parallel loop for the statistics
2019-04-01 11:37:26 +02:00
tamasmeszaros
6593421802
fix for statistics
2019-03-29 17:20:19 +01:00
tamasmeszaros
725f115756
Merging with master for having minz png compression.
...
Much greater performance boost from better compression algorithm than that from the merged polygons.
2019-03-29 15:21:46 +01:00
tamasmeszaros
b19d411738
It seems that stats are not broken after all.
2019-03-29 13:34:22 +01:00
tamasmeszaros
98c976dd9f
Merge branch 'tm_sla_png_minz'
2019-03-28 17:56:50 +01:00
tamasmeszaros
1e47cc9004
Improving Zipper API error handling.
2019-03-28 17:21:19 +01:00
bubnikv
fc49abc2a4
Merge remote-tracking branch 'remotes/origin/tm_sla_png_minz'
2019-03-28 09:14:37 +01:00
tamasmeszaros
440e54181b
Output raster seem ok, stats broken.
2019-03-27 18:37:50 +01:00
tamasmeszaros
c332dc1c1d
Fixing horrendous error in destructor.
2019-03-27 13:22:04 +01:00
Vojtech Kral
734d57a714
Fix build on MSVC with PCH off
2019-03-27 12:14:34 +01:00
tamasmeszaros
8fdff97eb7
Merging new steps integration
2019-03-27 11:05:51 +01:00
tamasmeszaros
bc74761513
Integrating new step, removing old and unused steps.
2019-03-27 10:59:29 +01:00
tamasmeszaros
95b0467c85
Reusing unified polygons from statistics
2019-03-26 18:51:27 +01:00
tamasmeszaros
34094bf1b8
Adding new step for statistics
2019-03-26 18:04:04 +01:00
tamasmeszaros
b064d9662f
Merge branch 'tm_slice_index_lyrh'
2019-03-26 17:47:27 +01:00
tamasmeszaros
a0f18f9f7c
Add check for missing support points if supports are enabled.
2019-03-26 17:28:51 +01:00
tamasmeszaros
4d8800bc8a
Fixing broken statistics.
2019-03-26 16:45:04 +01:00
tamasmeszaros
6a41e45eeb
Reverting manual unification. It does not help performance.
2019-03-26 16:06:24 +01:00
tamasmeszaros
1c6b25c053
Optimizing manual unification.
2019-03-26 15:05:57 +01:00
tamasmeszaros
221a4836fd
Manual unification of print polygons.
...
With clipper not with the agg rasterizer, because they can be reused for the statistics.
2019-03-26 14:06:40 +01:00
tamasmeszaros
9946a1c914
Fix for missing support polygons
2019-03-26 11:30:55 +01:00
tamasmeszaros
bec9a518a3
Move SliceRecord into SLAPrintObject
2019-03-26 11:22:35 +01:00
tamasmeszaros
a49643ebdb
Merging with master, solving conflicts.
2019-03-26 11:13:28 +01:00
tamasmeszaros
57e28b53f2
Further refactor and simplification of slice index and print data.
2019-03-26 10:57:45 +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
tamasmeszaros
b4ea43a6b0
Merge branch 'master' into tm_slice_index_lyrh
2019-03-25 19:02:35 +01:00
tamasmeszaros
d73d9309f1
Refactoring and commenting slice index solution.
2019-03-25 19:02:05 +01:00
tamasmeszaros
b21133d16b
Further fixes and some refactor.
2019-03-25 14:53:25 +01:00
tamasmeszaros
27b7e7c6a9
Fix for orbital bug: using delete for memory created by minz.
2019-03-25 14:01:50 +01:00
tamasmeszaros
70fa85d024
Next try to fix build on msvc2013
2019-03-25 13:45:28 +01:00
Enrico Turri
149551946c
Fix of #1998
2019-03-25 12:07:43 +01:00
tamasmeszaros
956391d9d1
Trying to fix build on msvc2013
2019-03-25 11:00:21 +01:00
tamasmeszaros
5abf64e1d2
Add static assert instead of returning empty result.
2019-03-25 10:35:42 +01:00
tamasmeszaros
0d83c7ee9f
Hypothetical support of different object layer heights.
2019-03-25 09:55:48 +01:00
bubnikv
2fe27a29e0
Fixed the SLA layer preview.
2019-03-22 21:26:58 +01:00
tamasmeszaros
8e18605bd7
Fix for incorrect model slices after elevation has changed.
2019-03-22 15:48:20 +01:00
tamasmeszaros
4ece50e3db
Merge branch 'master' into tm_slice_index
2019-03-22 15:31:58 +01:00
tamasmeszaros
d165dbb498
Refactoring changes to the slice index.
2019-03-22 15:31:38 +01:00
Enrico Turri
a5fd9a34e8
Do not consider modifiers when centering an object after 3mf and amf import
2019-03-22 09:47:40 +01:00
tamasmeszaros
5e646562cd
Fixes for the duplicated layer issues...
2019-03-21 18:01:41 +01:00
tamasmeszaros
63a899b239
Using same slicing grid for the supports and the model.
2019-03-21 16:14:26 +01:00
tamasmeszaros
0ffc0c3a84
Merge branch 'master' into tm_slice_index
2019-03-21 15:17:01 +01:00
tamasmeszaros
24a5dd4235
FIx for broken slice preview
2019-03-21 15:16:33 +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
tamasmeszaros
d4dde12d0d
Slic3r compiles with the new slice index interface.
2019-03-21 12:25:33 +01:00
tamasmeszaros
19a96336ff
WIP on slice indexing
2019-03-20 18:03:11 +01:00
Enrico Turri
df250039df
Tech ENABLE_CANVAS_GUI_REFACTORING set as default
2019-03-20 09:33:30 +01:00
Enrico Turri
da1feb2741
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-03-20 08:24:05 +01:00
tamasmeszaros
78ac357d34
Enabling convex hull optimization for arrange.
...
Seems to work nicely
2019-03-19 15:01:58 +01:00
tamasmeszaros
630d266c4b
Merge branch 'master' into tm_sla_png_minz
2019-03-19 13:19:17 +01:00
Enrico Turri
c4433bdf21
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-03-19 10:04:37 +01:00
Enrico Turri
334b5a82a6
Tech ENABLE_MOVE_MIN_THRESHOLD set as default
2019-03-19 10:04:19 +01:00
YuSanka
bdaadcccd9
Implemented SPE-874
...
(Delete items from context menu for Simple mode)
2019-03-19 09:53:47 +01:00
Enrico Turri
42939e76a3
Code cleanup
2019-03-19 09:21:27 +01:00
Enrico Turri
c0a2360c46
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-03-19 08:25:50 +01:00
tamasmeszaros
04e03c840d
Reducing copies when writing png data.
2019-03-18 18:02:50 +01:00
tamasmeszaros
24145cc14f
Merge branch 'tm_miniz_zipper' into tm_sla_png_minz
2019-03-18 17:48:05 +01:00
tamasmeszaros
97e0fd55e2
Tidy up redundant code
2019-03-18 16:03:26 +01:00
tamasmeszaros
865120d805
Exporting png images with minz deflate implementation.
...
Getting rid of zlib and libpng dependencies
2019-03-18 16:00:21 +01:00
tamasmeszaros
cd2cccec5f
Adding validation code for support parameters (elevation)
2019-03-18 15:31:47 +01:00
Enrico Turri
8b85e09062
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-03-18 12:07:32 +01:00
Lukas Matena
e813a562a1
Removed technology ENABLE_IMGUI
2019-03-18 11:45:15 +01:00
Enrico Turri
0453d818f5
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-03-18 11:31:19 +01:00
tamasmeszaros
160d708ecd
Typo fix....
...
sorry guys
2019-03-18 11:27:27 +01:00
Enrico Turri
e97dcbb660
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-03-18 11:08:02 +01:00
tamasmeszaros
0d9a74bb6d
Fix for ugly code.
2019-03-18 10:48:23 +01:00
Enrico Turri
902bcf7f71
Fix of #1978
2019-03-18 09:42:34 +01:00
Enrico Turri
131193a682
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-03-18 08:23:05 +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
tamasmeszaros
fdf59f756c
Fixing memory corruption from invalidated references
2019-03-15 15:30:20 +01:00
tamasmeszaros
0343b82534
Fixing build issues with msvc2013
2019-03-15 12:30:41 +01:00
tamasmeszaros
4f1a10c0f8
Error handling and more comments for Zipper.
2019-03-15 12:16:05 +01:00
tamasmeszaros
4643106be4
Zipper made universally usable and documented.
2019-03-15 12:15:24 +01:00
tamasmeszaros
dc7e75b522
Miniz zipping seems to work.
2019-03-15 12:15:24 +01:00
Enrico Turri
6ab0a526b3
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring
2019-03-15 09:15:11 +01:00
bubnikv
60260c26be
Fixed command line slicing due to some missing config keys
2019-03-14 18:47:26 +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
Enrico Turri
5018089351
Toolbar refactoring
...
1) toolbar items define 3 callback functions for setting the visibility, setting the enabling state and defining their action which are set while adding a new item to the toolbar
2) the toolbar takes care to update all its items visibility and enabled states through a new update method to be called by the parent idle event handler
3) the toolbar handles mouse events by calling its on_mouse method
2019-03-14 13:54:05 +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