bubnikv
1070991149
Merge remote-tracking branch 'origin/ys_undo_redo' into vb_undo_redo
2019-07-04 20:15:50 +02:00
bubnikv
3e5f9b5a22
Removed some junk templates, which pass compilation on Windows
...
even if they are invalid.
2019-07-04 19:59:45 +02:00
bubnikv
70c6558a4c
Fix of compilation on Linux
2019-07-04 19:48:00 +02:00
YuSanka
a29cc9e242
Update object list after undo/redo
2019-07-04 19:46:46 +02:00
bubnikv
1798e2a84c
WIP Undo / Redo : serialization / deserialization of object selection.
2019-07-04 14:35:04 +02:00
YuSanka
e4d8c5410c
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-07-04 14:26:05 +02:00
tamasmeszaros
9372f1c6ad
Wip in Nester interface
2019-07-04 13:58:18 +02:00
bubnikv
5a2ace1a6e
WIP Undo / Redo: First Undo in the history of PrusaSlicer!
2019-07-04 10:45:41 +02:00
tamasmeszaros
e81f8a5fd9
WIP still with arrange return value.
2019-07-03 19:24:41 +02:00
tamasmeszaros
bc315f4c2c
Deal with infinite box.
2019-07-03 15:06:10 +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
bubnikv
5e846112ee
WIP UndoRedo: Added Undo/Redo stack, added Platter::take_snapshot(),
...
experimental snapshots on loading STLs and increasing / decreasing
model instances.
2019-07-02 16:42:23 +02:00
tamasmeszaros
87c5e9bbaa
Partial arrange starts to work again.
2019-07-02 15:24:40 +02:00
YuSanka
136e5156bc
Fixed colot_print issues:
...
* Disabled color change information for the SLA and FFF-multimaterial presets
* Corrected switch between "color print" and "feature type" on Preview
2019-07-02 14:06:58 +02:00
tamasmeszaros
914bf63228
Unify AutoArranger subclasses
2019-07-02 12:15:53 +02:00
Vojtech Kral
f09fb92b61
Fix build against system-provided qhull
2019-07-02 11:43:07 +02:00
tamasmeszaros
ba82cbe007
Fix broken partial arrange
2019-07-02 10:32:01 +02:00
tamasmeszaros
253ec07cb2
Still WIP
2019-07-01 18:22:07 +02:00
YuSanka
125f474f02
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-29 12:38:03 +02:00
tamasmeszaros
cb3a586deb
Adapt find_new_position is WIP. Cleaning up comments.
2019-06-28 18:27:15 +02:00
tamasmeszaros
299e4f74c7
Arranging with new structure.
2019-06-28 17:03:50 +02:00
tamasmeszaros
f0ac54ba32
Merge branch 'master' into tm_builtin_pad
2019-06-28 16:51:55 +02:00
tamasmeszaros
548f19462a
Fix formatting
2019-06-28 15:42:59 +02:00
tamasmeszaros
4c69a855a1
Merge branch 'master' into tm_builtin_pad
2019-06-28 15:29:26 +02:00
Vojtech Kral
61080bcff6
Merge branch 'bugfixes': avrdude warnings cleanup
2019-06-28 15:21:45 +02:00
tamasmeszaros
19e6bf58dd
WIP on structuring arrange inputs
2019-06-27 21:13:44 +02:00
YuSanka
0b940ec089
Some code improvements
2019-06-27 16:07:32 +02:00
YuSanka
37b37cdf25
Fixed small typo
2019-06-27 14:13:07 +02:00
YuSanka
dd1fb286c3
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-27 14:01:50 +02:00
YuSanka
cecc134550
Rewrote layers information export/import to/from 3mf using Boost Property Tree (xml_parser)
2019-06-27 13:55:24 +02:00
Enrico Turri
75b0f65d79
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-06-27 11:25:13 +02:00
Enrico Turri
90d1ac2c8f
Tech ENABLE_RENDER_PICKING_PASS extended so that user can switch between picking pass texture rendering and regular rendering by pressing [T] key
2019-06-27 11:25:04 +02:00
bubnikv
27ee68d2f9
WIP Undo / Redo: ModelID / ModelBase renamed to ObjectID / ObjectBase
2019-06-27 11:02:45 +02:00
bubnikv
71d1255219
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-06-27 09:48:31 +02:00
bubnikv
da3583b1db
Fix of https://github.com/prusa3d/PrusaSlicer/issues/2516
2019-06-27 09:48:19 +02:00
enricoturri1966
d16c670ed1
Merge pull request #2569 from BeldrothTheGold/master
...
Add debug preprocessor directive in Technologies.hpp to render picking pass to window.
2019-06-27 09:44:48 +02:00
tamasmeszaros
96f6fd2d9f
Merge branch 'master' into tm_arrange_selection
2019-06-27 09:33:32 +02:00
tamasmeszaros
e1d612d05f
work in progress on new ModelArrange interface
2019-06-26 17:09:26 +02:00
bubnikv
d99e932ee8
WIP Undo / Redo: Serialization of the Model / ModelObject / Model instance
...
using the cereal framework.
2019-06-26 16:29:12 +02:00
tamasmeszaros
dd108f4513
Hotfix for inconsistent slice index
2019-06-26 14:59:39 +02:00
Lukas Matena
4b9e366f00
Multimaterial print - making sure that temperatures will be changed with SE printer without the wipe tower
2019-06-26 14:50:12 +02:00
YuSanka
1525a864c5
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-26 13:33:05 +02:00
bubnikv
624a6aefb4
Fixed crashes after loading some AMFs.
2019-06-26 13:29:49 +02:00
bubnikv
a710e7e7e4
WIP: Undo / Redo stack.
...
Integration of the "cereal" serialization library.
Serialization / deserialization of the DynamicConfig / DynamicPrintConfig.
DynamicPrintConfig serializes ordinal identifiers instead
of the option key strings to conserve space.
2019-06-26 13:26:49 +02:00
tamasmeszaros
f4ed0d8137
Working on arrange selection only
feature.
...
revert changes related to scale/unscale
2019-06-26 12:24:30 +02:00
tamasmeszaros
f93e7496f7
Merge branch 'tm_scales'
2019-06-26 11:33:42 +02:00
tamasmeszaros
6ff434aba3
Fixes some ModelArrange warnings
2019-06-26 11:10:41 +02:00
tamasmeszaros
14b32c4f16
Make an order in using scale and unscale, remove some warnings.
2019-06-26 10:34:27 +02:00
BeldrothTheGold
d818d1b429
Add debug option to display picking pass to screen
2019-06-25 19:25:03 -06:00
Vojtech Kral
85575e5615
Fix: IsTriviallyCopyable on clang
2019-06-25 18:16:53 +02:00
Lukas Matena
cb916c4dda
Fixed warnings in libslic3r
2019-06-25 16:04:29 +02:00
YuSanka
daac165a44
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-24 13:56:35 +02:00
tamasmeszaros
75ed542686
Reformatted MTUtils with some refined directives.
...
Only whitespace changes in MTUtils.hpp !
2019-06-24 13:03:46 +02:00
tamasmeszaros
121b6c078b
Print bed not considered as object in arrange anymore.
2019-06-24 13:01:52 +02:00
Enrico Turri
fab3634931
#2395 - Reworked logic of method Model::convert_multipart_object()
2019-06-24 12:43:18 +02:00
Enrico Turri
1459ad65c6
#2433 - Time Estimator: clamp accelerate/decelerate distances to avoid them to become negative
2019-06-24 12:35:20 +02:00
Enrico Turri
6b0d75127b
#2428
...
1) Reworked logic for pasting volumes
2) Fixed paste of volumes into different objects
3) Do not apply offset when pasting into the copied object
4) Keep source transformation matrix and relative positions when copy/pasting volumes into another object
2019-06-24 12:26:11 +02:00
Enrico Turri
38d5817bc9
Disabled ENABLE_CAMERA_STATISTICS
2019-06-24 11:23:25 +02:00
Enrico Turri
5766e9e915
Fixed conflicts after merge with branch et_perpsective_camera
2019-06-24 11:08:42 +02:00
Enrico Turri
00b9a3ad32
ENABLE_COMPRESSED_TEXTURES set as default
2019-06-24 09:54:58 +02:00
Enrico Turri
301eda7369
ENABLE_TEXTURES_MAXSIZE_DEPENDENT_ON_OPENGL_VERSION set as default
2019-06-24 09:27:19 +02:00
Enrico Turri
96276394d1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-24 08:15:41 +02:00
Lukas Matena
743a08f0cf
WipeTower - fixed a crash in extrude_explicit when called from finish_layer before the first toolchange
2019-06-21 10:58:20 +02:00
bubnikv
7de5a42df3
Fixed compilation on clang / OSX (missing float.h)
2019-06-20 21:07:26 +02:00
bubnikv
b7a949a53e
Fix for C++11
2019-06-20 20:40:17 +02:00
bubnikv
ac6969c992
Reworked the Perl unit / integration tests to use the same Print
...
interface that the application is using. Old interface used just
for the integration tests was removed.
2019-06-20 20:23:05 +02:00
bubnikv
27459a9072
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-06-20 16:15:26 +02:00
bubnikv
35b3fd3176
Integrated the new layer height spans with configs into the backend.
...
Fixed some compiler warnings.
2019-06-20 16:15:09 +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
2ae2672ee9
Building igl statically and moving to the dep scripts
...
Fixing dep build script on Windows and removing some warnings.
Use bundled igl by default.
Not building with the dependency scripts if not explicitly stated. This way, it will stay in
Fix the libigl patch to include C source files in header only mode.
2019-06-19 14:52:55 +02:00
Enrico Turri
5dcc6c7f36
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-19 14:33:31 +02:00
tamasmeszaros
89e39e3895
Eliminate magic constant
2019-06-19 13:19:11 +02:00
tamasmeszaros
670a563226
Fix for issue #2536
2019-06-19 12:04:11 +02:00
tamasmeszaros
4a71c42f9b
Merge branch 'master' into tm_rotcalipers
2019-06-19 11:07:21 +02:00
Enrico Turri
28dd52d88b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-19 08:17:58 +02:00
tamasmeszaros
b4ef812d32
Merge branch 'master' into tm_sla_printer_mirror
2019-06-18 17:42:10 +02:00
tamasmeszaros
468516aa31
Apply fixes for the ui jobs.
...
- Localization
- Mutual exclusion (ExclusiveJobGroup), only one UI job can run at a time, and background processing is stopped
- m_range not used for finalization anymore
- stop_jobs called before Window is closed
2019-06-18 16:24:30 +02:00
tamasmeszaros
d60ecb3788
Merge remote-tracking branch 'origin/master' into tm_ui_jobs
2019-06-18 12:16:24 +02:00
tamasmeszaros
d7684188f9
Removing unused pad parts working
2019-06-18 11:28:52 +02:00
bubnikv
0c95d4e0d9
Merge remote-tracking branch 'remotes/origin/ys_new_features'
2019-06-18 10:01:29 +02:00
bubnikv
c95a324c3f
Merge branch 'vb_admesh_fix'
2019-06-18 08:54:50 +02:00
tamasmeszaros
778b2cf293
WIP on removing unused parts of pad
2019-06-17 18:06:52 +02:00
YuSanka
7fe8965c53
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-17 13:50:12 +02:00
tamasmeszaros
90a854f704
Fix levitation when supports are disabled.
2019-06-17 13:02:49 +02:00
Lukas Matena
95ad76a0dc
Wipe tower - fixed a long existent bug that sometimes resulted in inexact feedrate on the loading moves
2019-06-17 12:59:30 +02:00
tamasmeszaros
80fddb7aaf
Merge branch 'master' into tm_builtin_pad
2019-06-17 12:17:01 +02:00
Lukas Matena
1152bd5a09
Fixup of 41164a9
...
The WipeTowerWriter did not now which tool is being used, so it limited the volumetric flow based on different filament settings
2019-06-17 11:22:17 +02:00
Lukas Matena
a643a22151
Wipe tower - renaming files (to conclude work from previous commit and not lose history of those files)
2019-06-17 10:26:33 +02:00
Lukas Matena
05e6dbbe4b
Wipe tower - refactoring (removed the abstract WipeTower class)
...
- abstract class WipeTower and its descendant WipeTowerPrusaMM were merged into a single (non-abstract) WipeTower class
- all uses of WipeTower::xy struct were replaced by Eigen Vec2f (it is no longer necessary to be independent on libraries that PrusaSlicer uses)
- the WipeTowerPrusaMM.hpp/.cpp will be renamed in the next commit (hopefully it will retain its git history that way)
2019-06-17 10:16:07 +02:00
tamasmeszaros
ce22251707
Warning hunt session followup
2019-06-17 10:05:46 +02:00
Enrico Turri
ddb4c1ff3f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-17 09:34:25 +02:00
Enrico Turri
9ffd294f07
Fixed functions declaration template<class Tf> inline constexpr coord_t scaled(Tf val) and template<class Tf> inline constexpr Tf unscaled(coord_t val) to use constexpr on versions of Visual Studio which support it
2019-06-17 09:28:41 +02:00
tamasmeszaros
c5037540e9
Warning hunt session.
2019-06-14 18:17:17 +02:00
bubnikv
f8c5570155
Removed unnecessary copy / move constructors / assignment operators.
2019-06-14 15:47:40 +02:00
Lukas Matena
0eecfc6604
Wipe tower - removed the obsolete material_type enum
...
no longer necessary because the speed overrides that the enum controlled were recently removed
the comment in gcode is now just about appending the config string
2019-06-14 14:44:22 +02:00
Lukas Matena
678d0e18a7
WipeTowerIntegration class: print_z is not passed around, ToolChangeResult objects are aware of it
2019-06-14 14:43:40 +02:00
Lukas Matena
aee376762e
Changed handling of priming extrusions to allow injection of filament and toolchange custom gcodes
...
The priming extrusions were handled separately from the rest of the wipe tower toolchanges. In order to be able to use the logic from previous commit for them (custom toolchange gcodes etc), some unpleasant code shuffling was needed
2019-06-14 14:42:07 +02:00
Lukas Matena
41164a9cb3
Multimaterial printing: Changed the way how custom gcodes are inserted
...
Each toolchange now emits:
- end filament custom gcode
- toolchange custom gcode; if not provided, a standard Tn command is inserted
- start filament gcode
Hopefully it is now consistent for SE/ME printers with/without the wipe tower
The priming line does not work - will be fixed in the next commit
2019-06-14 14:38:58 +02:00
Lukas Matena
9df93c0125
Mostly refactoring of the wipe tower improvements
...
- setting of the wipe tower parameters based od whether SE MM printer is selected is done in the WipeTowerPrusaMM constructor, so it does not distract in Print.cpp
- WipeTowerPrusaMM.cpp conditions checking for SE MM printer are now using a more descriptive const member variable, not the loading/unloading speeds (hopefully the functionality is the same)
2019-06-14 14:35:50 +02:00
Thomas Moore
da1aea889f
Enable wipe tower for all multi-extruder configurations
2019-06-14 12:28:52 +02:00
Lukas Matena
079e63e190
The wipe tower now respects filament max volumetric flow
...
The odd commands that lowered the speed override values for PVA, FLEX etc. were removed
Now the wipe tower backups user speed override, sets it to 100%, does what is needed
and restores the old value when finished. There are no special cases - lowering
the speed for certain materials can be achieved by lowering the volumetric flow.
2019-06-14 12:28:52 +02:00
Lukas Matena
6f7051c3b1
GCode preview shows correct volumetric flow for the wipe tower
...
The neccessary annotations for the GCodeAnalyzer were missing
2019-06-14 12:28:52 +02:00
Enrico Turri
541f58c656
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-14 10:57:29 +02:00
bubnikv
9b7bb41db5
ModelObject::add_volume(const ModelVolume &other)
...
shall not re-center the volume as it will share meshes
(object mesh, convex hull mesh) of the source,
which may be in use by the background processing.
2019-06-13 17:24:37 +02:00
bubnikv
9379fedd43
Further C++isation of the admesh library & TriangleMesh
...
(copy & move constructors / operators)
2019-06-13 16:33:50 +02:00
YuSanka
7da9d2f66d
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-13 16:18:39 +02:00
tamasmeszaros
821ca0e36a
Build fix when boost is not in prefix/boost
2019-06-13 14:19:24 +02:00
tamasmeszaros
e4cb75edde
Fix build on Mac
2019-06-12 17:33:04 +02:00
tamasmeszaros
d1ed3d40c1
Fix build on windows.
...
This issue is annoying.
2019-06-12 17:23:12 +02:00
tamasmeszaros
4ffe3278be
Hotfix for pad shape deduction.
2019-06-12 17:09:40 +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
Enrico Turri
428cc4e7c9
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-12 11:45:57 +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
bubnikv
0bb8ee149e
Sharing TriangleMesh objects between the front end (UI) and back end
...
(background processing)
2019-06-11 17:08:47 +02:00
tamasmeszaros
b7e3ee0709
Refactor, fix wall normals and gap detection.
2019-06-11 16:17:51 +02:00
YuSanka
26fb68ba45
Added missed include for the OSX build
2019-06-11 14:54:31 +02:00
YuSanka
4e0eb12ef6
Import/export of the Layers information to/from 3MF
2019-06-11 14:39:41 +02:00
tamasmeszaros
ddd0a9abb6
SPE-742: Builtin pad feature in zero elevation mode.
2019-06-11 12:40:07 +02:00
YuSanka
16c5a87997
Import/export of the Layers information to/from AMF
2019-06-11 09:50:58 +02:00
bubnikv
af5017c46c
admesh refactoring: Use Eigen vec3i for indexed triangles.
2019-06-10 21:14:58 +02:00
bubnikv
6defabea53
admesh refactoring: separation of the shared vertices / indices
...
into an indexed_triangle_set structure
2019-06-10 18:30:54 +02:00
bubnikv
65238a89b1
admesh refactoring: Removed the shared_vertices counter as it is now
...
contained inside v_shared std::vector
2019-06-10 17:36:15 +02:00
bubnikv
a1c38794fb
Refactored admesh to get rid of the error and fp members of stl_file.
2019-06-10 17:17:36 +02:00
bubnikv
40b27e8332
admesh refactoring: Move the hashing structure out of stl_file
2019-06-10 16:53:08 +02:00
bubnikv
025f86ca3f
Fix of the previous refactoring.
2019-06-10 11:04:09 +02:00
YuSanka
819a4506fa
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-07 12:35:16 +02:00
bubnikv
7dd842b294
Merge remote-tracking branch 'remotes/origin/master' into vb_admesh_fix
2019-06-06 21:01:19 +02:00
tamasmeszaros
d4fe7b5a96
Adding rotating calipers algorithm for minimum are bounding box rotation.
...
Cleanup, fix build on windows and add test for rotcalipers.
Try to fix compilation on windows
With updates from libnest2d
Another build fix.
Clean up and add comments.
adding rotcalipers test and some cleanup
Trying to fix on OSX
Fix rotcalipers array indexing
Get rid of boost convex hull.
Adding helper function 'remove_collinear_points'
Importing new libnest2d upgrades.
Disable using __int128 in NFP on OSX
2019-06-06 14:27:07 +02:00
tamasmeszaros
6136fe7d92
Future-proof qhull dependency handling
2019-06-05 19:19:49 +02:00
Bryan Smith
0ea6f895c5
Write the total toolchanges statistic to the end of the GCODE file like the other statistics.
2019-06-05 11:23:44 -04:00
Bryan Smith
f364b956fc
Add [total_toolchanges] placeholder for filename and custom gcode sections.
2019-06-05 11:23:44 -04:00
tamasmeszaros
12797f2aa8
Re-adding missing file
2019-06-05 15:50:27 +02:00
tamasmeszaros
97cbb5344e
Merge branch 'master' into tm_sla_printer_mirror
2019-06-05 15:10:02 +02:00
YuSanka
1090105b68
Experiments with updating layer_config_ranges from UI
...
+ Fixed OSX build
2019-06-05 11:50:59 +02:00
YuSanka
4b3df010ab
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-05 11:16:25 +02:00
Enrico Turri
a9ea9b3e0a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-05 07:48:32 +02:00
bubnikv
8da54139c4
WIP: Admesh - replacement of C memory allocation with std vectors
2019-06-04 22:06:42 +02:00
bubnikv
3ab886b747
Fix of mesh decimation (the admesh library).
...
Fixes "Unable to save project (#2445 )"
2019-06-04 18:25:53 +02:00
tamasmeszaros
7a5d3de1c4
Move cstdint to Zipper header.
...
The declarations already contain specific integers.
2019-06-04 09:26:33 +02:00
Vojtech Kral
053a0af374
Add missing header
2019-06-03 17:41:02 +02:00
Enrico Turri
273c30c8ce
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-03 15:47:33 +02:00
YuSanka
51b18fddeb
Changed data types
2019-06-03 15:35:21 +02:00
tamasmeszaros
8376d14267
Fix for opening issues with archive files.
2019-06-03 15:27:46 +02:00
Bryan Smith
3d8bd85187
Add new [total_layer_count] placeholder everywhere [layer_num] is avalible.
...
Missed adding [total_layer_count] to layer_gcode
Revert "Add new [total_layer_count] placeholder everywhere [layer_num] is avalible."
This reverts commit e29e766224a14e1f237908c3e5507ac5586ca5b7.
Revert "Missed adding [total_layer_count] to layer_gcode"
This reverts commit f07907a8acc450e9ae1220c6a9fe4f7c7e6d896c.
Better way to add [total_layer_count]
2019-06-03 14:47:18 +02:00
Enrico Turri
4a4deef420
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-03 12:16:38 +02:00
tamasmeszaros
460887cdde
Adjust miniz usage to use nowide FILE streams everywhere.
2019-06-02 22:27:35 +02:00
tamasmeszaros
15620a2fc2
Fix unclosed file after export.
2019-06-02 20:02:27 +02:00
tamasmeszaros
916016f2d4
Use nowide fopen in Zipper instead of patching miniz.
2019-06-02 19:10:13 +02:00
Enrico Turri
545c013acd
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-02 09:39:11 +02:00
tamasmeszaros
34663a3514
Merge branch 'tm_minz_update'
2019-05-31 18:34:59 +02:00
Enrico Turri
58adeb01d1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-31 07:41:22 +02:00
tamasmeszaros
96380180f4
Build system tweaks to get rid of cmake and boost warnings.
2019-05-30 17:48:32 +02:00
Enrico Turri
e0da08906b
Disabled debug render statistics dialog
2019-05-27 09:20:48 +02:00
Enrico Turri
efe29b3c2d
Fixed conflicts after merge with master
2019-05-24 15:29:22 +02:00
Enrico Turri
bf9740188a
Code cleanup
2019-05-24 15:22:27 +02:00
Enrico Turri
c92940c985
Fixed conflicts after cherry-picking 844e99f84e
2019-05-24 14:42:46 +02:00
bubnikv
209f1e3b99
Fix of loading the variable layer height profile and the SLA support
...
points for projects with instances.
3mf does not support a concept of instances, therefore all the instances
of all objects are indexed in a linear fashion. However, the 3mf files
index the layer height profiles and the SLA support points with
the object ID. The loading was fixed to take the different indexing
into account.
2019-05-24 12:17:54 +02:00
Enrico Turri
302ac3a849
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-24 08:22:53 +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
Enrico Turri
3aa14bddf5
Max texture size dependent on OpenGL version on Win and Linux and on retina monitors on Mac
2019-05-23 13:49:57 +02:00
tamasmeszaros
902bf682c0
Replacing old miniz version with new 2.1.0
...
#2333 : The amalgamated library is used from the 'releases' section of the original upstream https://github.com/richgel999/miniz
2019-05-23 11:52:31 +02:00
Enrico Turri
763576fbc2
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-23 08:29:43 +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
Enrico Turri
844e99f84e
Prototype of scale to fit print volume command
2019-05-22 14:42:38 +02:00
Enrico Turri
3f990f1f45
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-22 10:31:12 +02:00
Jason Tibbitts
ef028cd8b1
Use generic qhull include location
...
Currently the qhull includes are referenced absolutely, but the compiler
is always called with the src directory in the include path and so it
should be safe to specify a more generic path.
2019-05-22 10:29:54 +02:00
Jason Tibbitts
37984ece16
Use the correct expat location
...
expat.h is (in most Linux distributions, at least) located directly in
/usr/include. Because the compiler is called with the src directory in
the include path, the include of <expat/expat.h> happens to work but
results in the bundled version of the header being used instead of the
system version.
2019-05-22 10:10:58 +02:00
Enrico Turri
efd247fc58
Use texture compression on GPU
2019-05-21 14:19:03 +02:00
Enrico Turri
91b97337b0
Tech ENABLE_NEW_EULER_ANGLES set as default
2019-05-21 10:16:44 +02:00
Enrico Turri
ac368e2c9e
Tech ENABLE_GENERIC_SUBPARTS_PLACEMENT set as default
2019-05-21 10:01:04 +02:00
Enrico Turri
83c06859a6
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-21 09:43:14 +02:00
Enrico Turri
975ccc4ac1
Tech ENABLE_VOLUMES_CENTERING_FIXES set as default
2019-05-21 09:42:59 +02:00
bubnikv
05aa51150c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-21 09:41:51 +02:00
bubnikv
84965dcb44
Fix of "PrusaSlicer 2.0.0.-rc+ g-code error when importing #2304 "
2019-05-21 09:41:46 +02:00
Enrico Turri
2a973c1dfa
Removed tech DISABLE_DESELECT_ALL_MENU_ITEM
2019-05-21 09:23:45 +02:00
Enrico Turri
84632d32ba
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-05-21 08:23:53 +02:00
tamasmeszaros
9dc6699229
Eliminate some warnings
2019-05-20 12:29:14 +02:00
tamasmeszaros
4e2ef09a50
Fixing build on Win and OSX
2019-05-20 11:34:48 +02:00
Enrico Turri
783a527109
Added imgui debug dialog for camera statistics
2019-05-20 09:39:57 +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
c7f6e5436c
Fix of
...
Extend the "filament type" list with PC or allow free form text into the filament type field. #1704
2019-05-17 11:46:46 +02:00
bubnikv
df19314645
Changed the default of output_filename_format to "[input_filename_base].gcode"
...
for FDM, and "[input_filename_base].sl1" for the SLA technology.
This improves the situation of
"Filename creation with variables broken"
https://github.com/prusa3d/PrusaSlicer/issues/1918
where anything after the last dot in the file name is considered
as an extension, therefore the .gcode resp. .sl1 extension is not added.
Now the user gets the output_filename_format filled in with the correct
extension.
Also now if the output_filename_format is empty, the output name
is generated anyway.
2019-05-16 15:55:26 +02:00
YuSanka
68bffee102
Fixed a typo leading to a crash in another then English languages ( #2233 )
2019-05-15 09:44:38 +02:00
bubnikv
3f08d9f30d
Changed references to renamed github project
...
https://github.com/prusa3d/PrusaSlicer
2019-05-14 19:46:01 +02:00
bubnikv
d54e14a41d
Fixed a crash on deleting objects due to the ObjectList accessing
...
released data before the selection was updated on the GLScene.
2019-05-14 16:37:32 +02:00
bubnikv
62847736c8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-14 12:35:37 +02:00
bubnikv
8a405d5a1c
Changed the wizard to generate explicit extrusion widths
...
for the custom profile (not the zeros).
Changed the default values for filament_diameter and nozzle_diameter.
2019-05-14 12:35:19 +02:00
YuSanka
66aee035ac
Set a max extruder's count for the Additional Setting "Extruders".
...
+ cat sidetext for options from Additional Setting "Extrusion Width".
2019-05-14 12:17:34 +02:00
Enrico Turri
14c4469cbf
Added Esc shortcut and menu item for command deselect all
2019-05-14 11:57:39 +02:00
tamasmeszaros
696ade15ca
New way of starting arrange and rotation optimization.
...
To prevent segfaults when exiting while processing is running.
2019-05-13 18:58:56 +02:00
bubnikv
0787fa861a
Updated handling of the SLIC3R_BUILD_ID key
2019-05-13 18:01:00 +02:00
YuSanka
cd82b03a0e
Localization improvements : Empty spaces at the end of phrase are removed from dictionary.
...
+ new POT
2019-05-11 23:29:25 +02:00
Enrico Turri
f0da19446b
Merge branch 'lm_arrange_wipe_tower' of https://github.com/prusa3d/Slic3r
2019-05-10 11:14:42 +02:00
bubnikv
3c4fa8859c
Unified side text for degrees.
2019-05-09 20:25:24 +02:00
YuSanka
7d032382b4
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-05-09 15:53:55 +02:00
YuSanka
bfcaa6cac0
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-05-09 15:46:24 +02:00
bubnikv
0cfac53d24
Some more localization fixes.
2019-05-09 15:44:53 +02:00
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
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
tamasmeszaros
594d40cec8
Fixing error with sla array indexing
2019-03-14 09:36:03 +01:00
YuSanka
5ecd78434c
Fixed #1949
2019-03-14 09:19:21 +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
tamasmeszaros
c6bae3e251
Slight enhancements in the cascading algorithm.
2019-03-13 17:29:47 +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
Enrico Turri
77964de9f2
Update of ModelVolume::m_is_splittable moved inside ModelVolume itself
2019-03-13 14:04:59 +01:00
Lukas Matena
03beb1870b
SLA gizmo - combo replaced by slider, autogeneration uses config value for head_diameter
2019-03-13 12:02:33 +01:00
Lukas Matena
63b65bb3c8
Wipe tower brim lines are now printed with overlaps as they should be
2019-03-13 10:46:50 +01:00
tamasmeszaros
5b7a325983
Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr
2019-03-12 15:22:00 +01:00
tamasmeszaros
1778c51af1
Fixed seed for the genetic optimizer for support generation
2019-03-12 15:21:55 +01:00
Enrico Turri
f5b5e48ad7
Added cancel mechanism to GCodeAnalyzer::calc_gcode_preview_data()
2019-03-12 11:57:39 +01:00
Vojtech Kral
4e510dc3e7
PostProcessor on Unix: Execute using default shell #1908
...
escape gcode path, collect stderr
2019-03-12 11:10:30 +01:00
tamasmeszaros
6ae869f3b1
Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr
2019-03-11 18:17:42 +01:00
tamasmeszaros
8b23740d30
Fixing issue with cascading pair has function.
2019-03-11 18:17:26 +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
tamasmeszaros
f876908c0e
Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr
2019-03-11 16:28:12 +01:00
tamasmeszaros
2da3f22fbc
Some constraints applied to support parameters.
2019-03-11 16:27:54 +01:00
Lukas Matena
cbe96906eb
SLA support points are correctly appointed as user-modified
...
SLA gizmo point cache is reloaded when appropriate
2019-03-11 15:05:36 +01:00
tamasmeszaros
140c717c04
Enable imgui support point size. Fine tuning of support params.
2019-03-11 14:55:28 +01:00
tamasmeszaros
7857206442
Fixes for cascading logic.
2019-03-08 16:06:21 +01:00
tamasmeszaros
3dba1e1fb4
Merge branch 'master' into tm_colldetection_upgr
2019-03-08 15:10:18 +01:00
tamasmeszaros
0a1bff3fc9
Fix for pad wall slope.
2019-03-08 15:08:55 +01:00
tamasmeszaros
7c09b841bc
Fix for the application of the new pillar link distance parameter
2019-03-08 14:18:22 +01:00
Enrico Turri
b5217918cf
Code cleanup
2019-03-08 12:03:31 +01:00
Enrico Turri
aa4c44dbea
Use unique camera shared by 3d view and preview (experimental)
2019-03-08 12:03:17 +01:00
tamasmeszaros
1cb1c12812
Fine tuning the new parameters and adding max_pillar_link_distance
2019-03-08 11:39:34 +01:00
tamasmeszaros
e0b1551790
Merge branch 'master' into tm_colldetection_upgr
2019-03-07 17:19:01 +01:00
tamasmeszaros
3bce99bd23
Fixes for interconnection issues.
2019-03-07 17:17:47 +01:00
bubnikv
311df8ecfd
Reworked discretization step of Archimedean Chords infill to lower
...
slicing time and memory requirements.
Fixes "Infill pattern Archimedean causing total freeze at Infilling patterns" #1871
2019-03-07 16:01:46 +01:00
tamasmeszaros
0d59433178
Fix build on Mac
2019-03-07 13:01:28 +01:00
tamasmeszaros
28a516b6dc
Fix a missing definition issue
2019-03-07 12:48:17 +01:00
tamasmeszaros
a7c07960ee
Merge branch 'master' into tm_colldetection_upgr
2019-03-07 12:02:28 +01:00
tamasmeszaros
9131b1658a
Replacing simplex optimizers with more intelligent genetic ones.
2019-03-07 12:01:21 +01:00
tamasmeszaros
efd3d27425
Experimental working version of onmodel pillar cascading.
2019-03-06 18:00:34 +01:00
tamasmeszaros
0a2ef07ca0
Reworking sidehead to pillar connections.
2019-03-06 15:21:07 +01:00
Enrico Turri
219ea04c23
Fix of #1812 (GCode Anayzer take in account extruder offsets for multiextruder printers)
2019-03-06 10:22:10 +01:00
bubnikv
e399cf6d3d
Implemented clipping of parts of multi-part objects in the order
...
they are presented in the UI.
Parallelized the slice stealing when splitting regions with modifier meshes.
Rewrote Layer::make_perimeters() to C++11 loops.
2019-03-06 10:21:10 +01:00
tamasmeszaros
34e0b69179
WIP: sidehead routedown when pillar is too long
2019-03-05 18:21:20 +01:00
tamasmeszaros
7552556998
New interconnection strategy
2019-03-05 16:28:18 +01:00
Vojtech Kral
857b68a82a
PrintHost: Fix host type configuration, refactor, fix #1687
2019-03-05 16:12:15 +01:00
Enrico Turri
a6ec3ea883
Reverted 8a29ec2204
by disabling the tech ENABLE_ANALYZER_EXTRUDER_OFFSET
2019-03-05 15:35:43 +01:00
Enrico Turri
8a29ec2204
GCode Anayzer take in account extruder offsets
2019-03-05 15:03:56 +01:00
bubnikv
676076b7b4
Fix of caching of the SlicingParamerters at PrintObject
2019-03-05 14:05:58 +01:00
bubnikv
737f545cf6
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-03-05 11:54:10 +01:00
bubnikv
5e582efc5c
Elephant foot compensation improvements.
...
Fix of the negative XY compensation on multi-material (or multi-region)
prints, where the negative XY compensation created gaps between parts.
2019-03-05 11:54:04 +01:00
Enrico Turri
822bd92bd1
Fixed conflicts after merge with master
2019-03-05 08:27:21 +01:00
tamasmeszaros
c2d5a8d03b
Working on improved interconnection strategy
2019-03-04 18:32:28 +01:00
Enrico Turri
826a3cdbd2
Technology for svg icons moved to next alpha (8)
2019-03-04 16:05:29 +01:00
bubnikv
cc79b1553d
Implemented caching of SlicingParameters by PrintObject
2019-03-04 15:28:04 +01:00
Enrico Turri
3c7ec5f7c6
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-03-04 08:33:52 +01:00
tamasmeszaros
f2f513dd3e
Trying to improve pillar connectivity.
2019-03-01 19:19:05 +01:00
bubnikv
44c64f4a98
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-03-01 17:59:17 +01:00
bubnikv
e3cba0a65a
Introduced the "slice_closing_radius" to define, how large gaps
...
will be closed after triangle mesh slicing.
The value is set to 0.049 by default, which corresponds to the hard
coded default in Slic3r-1.41.3.
See issues #520 #820 #1029 #1364 for the reference of why we need
the parameter for being able to print some specific models.
2019-03-01 17:53:02 +01:00
tamasmeszaros
878ac7f1b0
Fixing many errors caused by the new changes.
2019-03-01 17:45:29 +01:00
Lukas Matena
ee4496f59f
An attempt to fix an unwanted cancellation caused by improper frontend-backend data synchronization (SLA support points)
2019-03-01 16:17:23 +01:00
YuSanka
7a38d83d03
Deleted no-needed string from the PrintExport data
2019-03-01 12:30:45 +01:00
Enrico Turri
8c3df91f2e
Code cleanup
2019-03-01 10:46:28 +01:00
Enrico Turri
058468d371
Do not regenerate existing gcode preview toolpaths when switching to Preview
2019-03-01 10:42:46 +01:00
Enrico Turri
8a6d29f7d8
Workaround to fix inconsistencies of width of gcode preview extrusion paths
2019-03-01 09:55:43 +01:00
tamasmeszaros
450f817c09
Replacing old model routing with more advanced algorithm.
...
Interconnection still missing.
2019-02-28 19:05:11 +01:00
Enrico Turri
e5a2c0a8c8
ENABLE_MODE_AWARE_TOOLBAR_ITEMS set as default
2019-02-28 12:21:36 +01:00
Enrico Turri
9ff8cd01b3
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-02-28 11:45:11 +01:00
bubnikv
dc0c58a9c5
Improvement of the initial placement of modifier meshes:
...
Sphere and Cylinder are scaled to the same volume as Box
Newly entered modifier meshes are rotated parallell to the world coordinates.
If the instance coordinate system is rotated and scaled, it is not possible
to create an unskewed modifier to world transformation. In that case
the best possible transformation is found to minimize least squares error
of the 8 corners of the new modifier mesh bounding box using
Levenberg-Marquardt algorithm.
FIXME:
1) The Levenberg-Marquardt non-linear least squares does not converge
nicely, it may require some tuning.
2) Above all, if 1) is called, then often the skew of the modifier mesh
is so high, that it is likely more useful to display the modifier
with zero rotation and inverse scaling, so that the modifier will be
of correct size, but not parallel to the world coordinates.
2019-02-28 11:20:01 +01:00
Enrico Turri
806eff2325
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-02-28 08:23:44 +01:00
Lukas Matena
4eb4e40746
SLA gizmo keeps track of current status of the points, enables the user to erase all points
2019-02-27 16:23:10 +01:00
tamasmeszaros
93c57612bf
Grouping support generation algorithm into a separate class
2019-02-27 11:44:42 +01:00
Enrico Turri
922224541b
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-02-27 11:16:28 +01:00
bubnikv
773f1c35cf
Fixed Linux build, the old GCC compiler does not support
...
std::defaultfloat yet
2019-02-27 11:08:58 +01:00
Enrico Turri
2d77f89360
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-02-27 10:42:30 +01:00
bubnikv
fb91232d10
Fix of Model is marked as defective after opening project #1863
...
Fixes SPE-613
2019-02-27 10:31:53 +01:00
Enrico Turri
72c58fbdb4
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-02-27 09:56:34 +01:00
bubnikv
878ef5eee0
Improvement of automatic SLA supports: Don't put support points
...
on vertical walls.
2019-02-27 08:49:09 +01:00
tamasmeszaros
359de84a05
Fixing issues from code cleanup
2019-02-26 18:09:33 +01:00
tamasmeszaros
43f03b8032
Incorporate individual support point radius.
2019-02-26 17:13:33 +01:00
Enrico Turri
0f683a6a1e
1st installment of svg icons for toolbars and gizmos
2019-02-26 09:56:23 +01:00
tamasmeszaros
61f8e4f6f7
Merge branch 'tm_colldetection_upgr'
...
This branch is unfinished but it is better compared to current state.
2019-02-25 16:46:23 +01:00
tamasmeszaros
2b03c25bc6
Pad "tilt" changed to "slope"
2019-02-25 16:04:46 +01:00
bubnikv
f23919985f
Renamed the SLA output file to ".sl1"
2019-02-25 15:01:39 +01:00
tamasmeszaros
03079381e1
Merge branch 'master' into tm_colldetection_upgr
2019-02-25 13:24:43 +01:00
tamasmeszaros
e38522b3c1
Tiny cosmetics
2019-02-25 13:24:01 +01:00
tamasmeszaros
01c9b13ade
Disabling pad edge radius and adding the "wall tilt" parameter.
2019-02-25 12:06:38 +01:00
bubnikv
a0d256f9f7
Restart background processing for all steps on G-code export and send to
...
octoprint for SLA if the slicing for a single object only is active.
2019-02-25 10:21:12 +01:00
Enrico Turri
fab87ff1d9
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-02-25 09:32:02 +01:00
bubnikv
ed5598f59f
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-02-22 15:25:44 +01:00
bubnikv
ab30370fb4
Split the external infill pattern to separate top / bottom config values.
...
Based on f9344a00e3
thanks @supermerill
Implements #475 , #479 , #1133 , #1474
2019-02-22 15:25:35 +01:00
YuSanka
416411bd64
SLA: Changed default value of the faded_layers to the current one. This information is used for export config.ini
2019-02-22 13:22:13 +01:00
bubnikv
917f044f81
Renamed the "lambda-" prefix for the generic modifiers to "Generic-"
...
Refactored ModelVolume::Type to enum class ModelVolumeType to be able
to forward declare it.
Refactored UI to use the ModelVolumeType instead of the untyped int.
2019-02-22 12:12:10 +01:00
Enrico Turri
c6607bcd27
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-02-22 11:40:04 +01:00
Enrico Turri
a36896e4c9
Fixed conflicts after merge with master
2019-02-22 10:18:15 +01:00
bubnikv
4fa2b9e601
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-02-22 10:12:18 +01:00
bubnikv
53ccac6925
Show wait cursor when exporting an STL.
...
Fix of SLA gizmo picking by rectangle: point is occluded only if an object
is half its radius away from the point center.
Don't show the temp G-code file name in the status bar when exporting.
2019-02-22 10:11:57 +01:00
Enrico Turri
aa9994fa35
Gizmos overlay using a single png texture
2019-02-22 10:01:34 +01:00
Enrico Turri
eb0b3aea09
Fixed conflicts after merge with master
2019-02-22 09:11:49 +01:00