Commit Graph

223 Commits

Author SHA1 Message Date
Lukas Matena
fe62362960 Hiding the sla support structures after undo/redo 2019-07-28 11:37:08 +02:00
bubnikv
ab7ecc1819 Merge remote-tracking branch 'remotes/origin/vb_undo_redo' 2019-07-15 11:34:18 +02:00
tamasmeszaros
af89bcee53 Merge branch 'master' into tm_builtin_pad 2019-07-09 13:21:26 +02:00
tamasmeszaros
18fcb64681 Fixing broken SLA slicing: SPE-984 2019-07-09 13:12:55 +02:00
bubnikv
c7cc760067 Merge remote-tracking branch 'origin/master' into vb_undo_redo 2019-07-04 20:22:15 +02:00
bubnikv
e2a670218b WIP Undo / Redo: Serializing the configs of ModelObject / ModelVolume
/ ModelMaterial as separate objects to conserve memory.
2019-07-03 13:43:54 +02:00
tamasmeszaros
4c69a855a1 Merge branch 'master' into tm_builtin_pad 2019-06-28 15:29:26 +02:00
bubnikv
27ee68d2f9 WIP Undo / Redo: ModelID / ModelBase renamed to ObjectID / ObjectBase 2019-06-27 11:02:45 +02:00
tamasmeszaros
dd108f4513 Hotfix for inconsistent slice index 2019-06-26 14:59:39 +02:00
tamasmeszaros
14b32c4f16 Make an order in using scale and unscale, remove some warnings. 2019-06-26 10:34:27 +02:00
tamasmeszaros
3b0e0aaed4 Fixes for degenerate cases. 2019-06-20 13:01:48 +02:00
tamasmeszaros
c82fd692c3 Merge branch 'master' into tm_builtin_pad 2019-06-20 10:04:17 +02:00
tamasmeszaros
b4ef812d32 Merge branch 'master' into tm_sla_printer_mirror 2019-06-18 17:42:10 +02:00
tamasmeszaros
90a854f704 Fix levitation when supports are disabled. 2019-06-17 13:02:49 +02:00
tamasmeszaros
80fddb7aaf Merge branch 'master' into tm_builtin_pad 2019-06-17 12:17:01 +02:00
tamasmeszaros
c5037540e9 Warning hunt session. 2019-06-14 18:17:17 +02:00
tamasmeszaros
d1ed3d40c1 Fix build on windows.
This issue is annoying.
2019-06-12 17:23:12 +02:00
tamasmeszaros
10897524df Fixes for gap detection and case with no pad, but zero elevation. 2019-06-12 15:29:24 +02:00
tamasmeszaros
12396c3051 Fine tuning parameters and fixing pad wings when greater gaps are used. 2019-06-12 13:15:42 +02:00
tamasmeszaros
c80aae1bdb Fixes for the parameter layer
- Elevation value satisfied with no supports as well
- Removed debug svg writing
- Gap and sticks made optional in zero elevation pad.
2019-06-11 18:19:58 +02:00
tamasmeszaros
6877c075dc SPE-742: Parameter layer for zero elevation feature. 2019-06-11 18:17:20 +02:00
tamasmeszaros
ddd0a9abb6 SPE-742: Builtin pad feature in zero elevation mode. 2019-06-11 12:40:07 +02:00
tamasmeszaros
97cbb5344e Merge branch 'master' into tm_sla_printer_mirror 2019-06-05 15:10:02 +02:00
bubnikv
343d2ea16d Fixed update of the SLA back end object properties, leading to
the "disable supports" and "disable pad" flags being ignored
after the project was loaded.
2019-05-23 15:43:16 +02:00
Lukas Matena
07282eb24d Fixed unit tests when run with range checks on std::vector
There was a bug in unit tests that led to generating the wipe tower with non-normalized preset.
This caused out-of-bounds access into max_layer_height vector in fill_wipe_tower_partitions.
The problem surfaced in https://github.com/prusa3d/PrusaSlicer/issues/2288.
I quickly patched additional normalization of the preset to prevent this from happening.

Also, an assert in the same function turned out to trip on one of the tests.
This one was commented out for now and will (hopefully) be looked into later.

Function Print::apply_config was renamed to apply_config_perl_tests_only so everyone
sees its current purpose and does not mistake it for the more important Print::apply.
2019-05-22 16:48:20 +02:00
tamasmeszaros
4e2ef09a50 Fixing build on Win and OSX 2019-05-20 11:34:48 +02:00
tamasmeszaros
38d54d779a Mirror checkboxes added to the UI.
Everything seems to work fine.
2019-05-18 23:21:59 +02:00
tamasmeszaros
bb73b59aa6 Mirroring refactored. 2019-05-18 22:45:24 +02:00
Unknown
baab5e49f1 Mirroring parameters prepared for UI.
Actual mirroring disabled, it will be refactored to maintain clarity of code.
2019-05-18 16:56:46 +02:00
bubnikv
04397c7948 Changed the G-code export and send to OctoPrint GUI code
to store the G-code next to the project file if it exists,
and to process the project name with the PlaceholderParser.
2019-05-17 16:27:00 +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
tamasmeszaros
806dc34421 removing some commented out garbage 2019-05-07 09:56:53 +02:00
tamasmeszaros
a7d57de6f3 Fix for possible clash with old correction vectors in config 2019-04-29 17:07:55 +02:00
tamasmeszaros
cd9a77fed6 Remove back offset from the print statistic calculation. 2019-04-29 16:42:22 +02:00
tamasmeszaros
3eecf54d9c Fixing large memory reservation in the SLA model slicing step. 2019-04-26 11:33:33 +02:00
tamasmeszaros
afbe0d9e60 Further optimizations for SLA memory usage. 2019-04-25 18:48:31 +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
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
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
tamasmeszaros
53861b2012 Removing separate X and Y relative correction. 2019-04-09 18:15:25 +02:00
tamasmeszaros
c702ddc65d Adding absolute correction (XY offset) and gamma correction parameters. 2019-04-09 13:42:32 +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
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
tamasmeszaros
f0d106e5f0 Added method for relative correction retrieval. 2019-04-04 10:52:14 +02:00
tamasmeszaros
ecdd4b6e7a Suggestion for Z offset correction 2019-04-03 18:23:29 +02:00