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