Commit Graph

1013 Commits

Author SHA1 Message Date
bubnikv
5012e3079f Some textation improvements, renamed Silent mode to Stealth. 2019-05-09 15:39:15 +02:00
YuSanka
3c0737c588 Fixed typo in "Machine limits" information strings 2019-05-09 15:37:52 +02:00
bubnikv
92ba75ed75 Fixed localization of the "Machine Limits" parameters.
Fixed localization of some other parameters (templating is not supported
inside the PrintConfig.cpp as these strings are translated not inside
PrintConfig.cpp, but by the calling GUI code).
Fixed localization of SLA status bar.
2019-05-09 14:15:56 +02:00
bubnikv
76aefd533c In GUI mode, when exporting the G-code to a temp file, don't show
"Exporting G-code", but "Generating G-code"
2019-05-08 17:43:43 +02:00
bubnikv
054a3258d3 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-07 15:45:17 +02:00
Enrico Turri
61a0ab4280 Workaround to fix crash reported in #2209 2019-05-07 15:09:15 +02:00
bubnikv
a351e99bac Merge remote-tracking branch 'remotes/origin/vb_wold_object_manipulation' 2019-05-07 13:50:40 +02:00
tamasmeszaros
c03a202e20 Prevent degenerate triangles in pad. 2019-05-07 13:06:15 +02:00
tamasmeszaros
806dc34421 removing some commented out garbage 2019-05-07 09:56:53 +02:00
tamasmeszaros
1634cd1a3c Fix asan crash on statistics step 2019-05-06 16:57:46 +02:00
Lukas Matena
cf3b992269 GCode.cpp: Update the 'current_extruder' placeholder even if filament start gcode is empty 2019-05-06 14:48:59 +02:00
Lukas Matena
e9a53e49db Arrange is accounting for the wipe tower now 2019-05-06 08:14:45 +02:00
bubnikv
31e724abac Merge branch 'master' into vb_wold_object_manipulation 2019-05-04 20:59:57 +02:00
bubnikv
e515ef4fbe Fixed make_cylinder() / make_sphere() functions to produce meshes
without errors.
2019-05-04 14:03:50 +02:00
YuSanka
8e007c5b6a Localization improvements 2019-05-04 02:07:07 +02:00
bubnikv
a8241ad7f7 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-05-03 19:13:47 +02:00
bubnikv
09d80b1b2a Added ConfigDef::get_default_value<>() template,
refactored calling code to use it.
2019-05-03 18:30:58 +02:00
bubnikv
a61e833536 Implemented the "Support for support enforcers only" quick selection.
Reduced some memory leaks due to the ConfigDef::default_value pointer.
2019-05-03 18:01:39 +02:00
YuSanka
b4dbd55623 Merge remote-tracking branch 'origin/ys_ftn_improvements' 2019-05-03 14:31:59 +02:00
YuSanka
4be4dc623c Fixed full statistics calculation
(calculate sum of volume and part_count only for solid parts)
2019-05-03 13:09:42 +02:00
bubnikv
1c6006f657 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-05-03 12:37:43 +02:00
Enrico Turri
d971c821b7 Merge branch 'et_selection_rectangle' of https://github.com/prusa3d/Slic3r 2019-05-03 11:44:37 +02:00
YuSanka
d2107fad2f Fixed get_object_stl_stats() 2019-05-02 16:20:50 +02:00
YuSanka
4f7398bbef Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-30 15:19:08 +02:00
bubnikv
ebb7981d16 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-04-29 17:39:28 +02:00
tamasmeszaros
a7d57de6f3 Fix for possible clash with old correction vectors in config 2019-04-29 17:07:55 +02:00
tamasmeszaros
bfcd9f3c29 Fix for unregistered scaling correction values. 2019-04-29 16:53:16 +02:00
tamasmeszaros
cd9a77fed6 Remove back offset from the print statistic calculation. 2019-04-29 16:42:22 +02:00
YuSanka
2a47f0dc92 ObjectList improvements: Added warning icon for Parts with a repaired errors 2019-04-29 15:27:59 +02:00
bubnikv
16560f6e27 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-04-26 17:42:51 +02:00
bubnikv
6526a8fcaf WIP: Transformation of instances in world coordinate space:
Ulocking the "anisotropic" scaling checkbox will bake the transformation
into meshes to allow for scaling in world axes.

Optimized and templated the stl_transform functions, now also available for 3x3 matrices.
The Canvas3D::reload_scene() now maintains selection even if all volumes of an instance changed their IDs.
2019-04-26 17:28:31 +02:00
YuSanka
c752394abd Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-26 13:13:59 +02:00
Enrico Turri
92aab039d2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-26 12:41:32 +02:00
tamasmeszaros
3eecf54d9c Fixing large memory reservation in the SLA model slicing step. 2019-04-26 11:33:33 +02:00
YuSanka
7560de0704 Fixed app name interpolation for : GUI_App, MainFrame, MsgDialog, Preferences, Tab and UpdateDialogs
+ added edit_tooltip(), wich replaces Slic3r for SLIC3R_APP_KEY
2019-04-26 10:54:18 +02:00
Enrico Turri
07d8fe6f11 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_selection_rectangle 2019-04-26 08:03:10 +02:00
tamasmeszaros
afbe0d9e60 Further optimizations for SLA memory usage. 2019-04-25 18:48:31 +02:00
bubnikv
17100ef2fe Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-04-25 18:03:40 +02:00
bubnikv
ca50d1b55a Memory optimization of SLA export,
logging of memory consumption during SLA slicing (just on Windows as of now).
2019-04-25 18:03:17 +02:00
Enrico Turri
f52f0f3634 Disabled debug imgui dialog for render statistics 2019-04-25 12:33:27 +02:00
Enrico Turri
d2597482e0 Added imgui debug dialog for render statistics 2019-04-25 11:10:01 +02:00
YuSanka
b39e9a81f3 Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-25 08:12:19 +02:00
YuSanka
be60f0a53c Merge remote-tracking branch 'origin/ys_msw_dpi' 2019-04-24 23:09:50 +02:00
YuSanka
b4d5287d0c Refactoring: get_mesh_errors_count() moved to ModelObject
+ added get_object_stl_stats() to ModelObject
2019-04-24 16:04:47 +02:00
Lukas Matena
08cb5bc2c7 Wipe tower uses correct gcodes for RepRap gcode flavor (M907->M906, M900->M572 - should fix #1843)
Also, fixed proper setting of the extruder current during toolchange (was broken since 6da83c7)
2019-04-24 12:09:58 +02:00
YuSanka
5761c8f126 Merge remote-tracking branch 'origin/master' into ys_msw_dpi 2019-04-18 15:33:50 +02:00
YuSanka
de55801e31 Merge remote-tracking branch 'origin/ys_bug_fixing' into ys_msw_dpi 2019-04-18 15:24:50 +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
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