Commit Graph

6261 Commits

Author SHA1 Message Date
tamasmeszaros
0fa348155f Merge remote-tracking branch 'origin/eigenize' into sla_base_pool 2018-08-21 13:50:09 +02:00
tamasmeszaros
e28e8feed4 Edges now smoothed on the sides. 2018-08-21 13:20:43 +02:00
bubnikv
dd21d0bf50 Removed the Point::coincides_with_epsilon() method 2018-08-21 09:51:22 +02:00
tamasmeszaros
ba3c5c7c6a figured out how to round the edges of the generated model. 2018-08-20 13:55:01 +02:00
bubnikv
ace933db92 Replaced coincides_with(const Line &line) with operator== 2018-08-17 18:27:07 +02:00
bubnikv
5ebf7f093d Merged with master 2018-08-17 18:07:45 +02:00
bubnikv
e282165d64 Updated the Eigen library to 3.3.5 2018-08-17 17:33:29 +02:00
bubnikv
d6076cdf14 Removed the Point::wkt() and Point::dump_perl() methods.
Added to_string() for the basis Eigen vector types.
2018-08-17 16:54:07 +02:00
tamasmeszaros
f79d6f8213 pool is has now bended walls. 2018-08-17 16:17:35 +02:00
bubnikv
2f09a89bfb Removed the x(), y(), z() Point/Pointf/Point3/Pointf3 accessors. 2018-08-17 15:53:43 +02:00
Lukas Matena
743f5c710d Fixed a few tooltips, changed default value for minimal purge on wipe tower 2018-08-17 15:42:46 +02:00
Vojtech Kral
d4c2cf99e3 Build: Option to force generation of PDB file on MSVC Release build 2018-08-17 15:20:58 +02:00
Vojtech Kral
4f0e3482f7 Build: Plumb perl include path
Thanks to @kortschak for contributing to this fix
Co-authored-by: Dan Kortschak <dan@kortschak.io>
2018-08-17 15:20:58 +02:00
tamasmeszaros
4e559c63fc wall generation with different top and bottom plates. 2018-08-17 15:11:30 +02:00
bubnikv
f738c42aa5 Removed Point::scale(),translate(),coincides_with(),distance_to(),
distance_to_squared(),perp_distance_to(),negative(),vector_to(),
translate(), distance_to() etc,
replaced with the Eigen equivalents.
2018-08-17 14:14:24 +02:00
tamasmeszaros
dcf97e7659 Comments mostly 2018-08-16 17:58:45 +02:00
tamasmeszaros
a7a23d6f6f Working curve approximation of the concave hull with clipper offset. 2018-08-16 17:47:05 +02:00
bubnikv
dcd0d3f6aa Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types:
Changed the Point3 / Pointf3 to derive from the Eigen Vec3crd / Vec3d.
Replaced the Point::concide_with() method calls with == operator.
Reduced some compiler warnings.
2018-08-15 13:51:40 +02:00
bubnikv
55c903a6a2 Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types:
Changed the Point3 / Pointf3 to composite Eigen Vec3crd / Vec3d.
Point3 is no more derived from Point,
Pointf3 is no more derived from Pointf.
Introduced Transform2f/3f/2d/3d types as aliases to Eigen::Transform.
2018-08-14 21:33:41 +02:00
bubnikv
b55e796d1e Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types, first step 2018-08-14 18:33:26 +02:00
tamasmeszaros
79c0ed429c Rough base pool geometry can be generated from convex hull or from the ground slice itself. 2018-08-13 18:23:49 +02:00
tamasmeszaros
676dc4bf18 SLA base pool generation framework 2018-08-09 18:11:45 +02:00
tamasmeszaros
38f2cdb9ec Merge remote-tracking branch 'origin/master' into feature_slice_to_png
# Conflicts:
#	xs/CMakeLists.txt
2018-08-09 10:53:27 +02:00
bubnikv
8be6a3b5b6 Fixed inccorect (excessive) time estimates with the MMU 2.0 2018-08-07 14:15:37 +02:00
bubnikv
7185205107 Bumped up version number. 2018-08-06 18:09:52 +02:00
bubnikv
01e4ce58b1 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-08-06 18:04:54 +02:00
bubnikv
6b463480f7 Updated MK3MM2 presets, updated start G-codes of the MK2 printer
as it does not support the new M204 format.
2018-08-06 18:04:35 +02:00
Lukas Matena
25ed3d121b Merge branch 'master' of http://github.com/prusa3d/Slic3r 2018-08-06 16:38:16 +02:00
Lukas Matena
6c5060f773 Changed checkbox labels for purge into infill/object feature 2018-08-06 16:37:41 +02:00
bubnikv
430845c9d5 Minor tweaks of UI texts,
optimization of the wipe tower invalidation,
show collisions of the wipe tower with known dimensions.
2018-08-06 16:31:51 +02:00
YuSanka
2d465cc26b Deleted empty line between "default value" and "variable name" 2018-08-06 15:47:03 +02:00
bubnikv
97a957d05c Deregister the update callback on end of the application.
This fixes a crash on exit.
2018-08-05 23:36:25 +02:00
bubnikv
953a029d82 Fix of a regression bug: Update the print bed texture when switching
between printer profiles.
2018-08-05 22:52:38 +02:00
bubnikv
cda23ddbc6 T1 and M702 C are now evaluated by the time estimator to add the new
"filament_load_time" and "filament_unload_time" values to match
the MK3 MMU2 behavior.

Emitting of the remaining times into the output G-code was made optional
through a new "remaining_times" configuration value, so the firmware
flavors and versions, which do not know the M73 code, will not complain.

Configuration changes:

The wipe tower default position was shifted inwards after the wipe tower
coordinate reference point was changed from the center to the left front
corner.

Added the "filament_load_time" and "filament_unload_time" values
to the MK3 MMU filament profiles.

Enabled "remaining_times" for the MK2.5, MK3 and MK3MMU2 printers.
2018-08-04 17:38:25 +02:00
bubnikv
8f77fa7a3f Merge branch 'master' into time_estimate 2018-08-03 23:04:44 +02:00
bubnikv
ee50a6b9ad Merge remote-tracking branch 'origin/lm_minimal_purging_on_wt' 2018-08-03 22:55:08 +02:00
bubnikv
b01d711b24 Merge remote-tracking branch 'remotes/origin/feature_arrange_with_libnest2d' 2018-08-03 22:38:44 +02:00
bubnikv
e3504ee471 Merge remote-tracking branch 'origin/lm_wipe_tower_block_improvements_merged' 2018-08-03 22:34:53 +02:00
bubnikv
bf82491ac9 Added support for the upstream Marlin interpretation of the M204 code.
Fix of https://github.com/prusa3d/Slic3r/issues/1089

M204 S.. T..:
T is interpreted by the firmware and Slic3r time estimator the old way
(as acceleration when retracting) only if an S code is found at the same line.
This allows PrusaResearch to interpret the legacy G-codes generated
by our older Slic3r with older Slic3r profiles.

M204 P.. R.. T..:
T is ignored, P is interpreted as acceleration when extruding,
R is interpreted as acceleration when retracting.
This will be the format the Slic3r 1.41.0 will produce from
the Machine Limits page.
In the future both MK3 firmware and Slic3r will likely be extended
to support the separate travel acceleration.

This change is in sync with the Prusa3D firmware:
dd4c4b39b4

Slic3r will now export
M204 P[machine_max_acceleration_extruding] R[machine_max_acceleration_retracting] T[machine_max_acceleration_extruding]
before the custom start G-code, which will be correctly interpreted
by both the new Prusa3D firmware and the Slic3r's time estimator.

To support our legacy MK2 firmware before we merge the commit above, we may
just insert the following line into the custom start G-code section to override
the block inserted by Slic3r automatically before the custom start G-code:
M204 S[machine_max_acceleration_extruding] T[machine_max_acceleration_retracting]
2018-08-03 16:26:28 +02:00
Lukas Matena
a03474491e Changed color of preliminary wipe tower block 2018-08-03 15:36:47 +02:00
tamasmeszaros
4405d034af Added a spatial index to speed up alignment score calculation. 2018-08-03 12:37:27 +02:00
tamasmeszaros
342a7055a2 reduce accuracy to acceptable performance 2018-08-02 19:25:19 +02:00
tamasmeszaros
a8a5bf0111 Nlopt build fix 2018-08-02 19:17:27 +02:00
tamasmeszaros
83c23555fa Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-08-02 17:51:47 +02:00
tamasmeszaros
94d58259f5 New approach to big items with calculating the best alignment with other big items. 2018-08-02 17:51:11 +02:00
Lukas Matena
dc6c244315 Added a threshold for purging on the wipe tower (before it goes into infill/sacrificial object) 2018-08-02 15:14:12 +02:00
Lukas Matena
2b80462aa9 Merge branch 'master' of http://github.com/prusa3d/Slic3r 2018-08-02 14:07:20 +02:00
Lukas Matena
0d6eba4be9 Bugfix: priming lines for MM print were shown in preview even when disabled 2018-08-02 14:04:50 +02:00
Lukas Matena
9ff7da892d Merge branch 'lm_wipe_tower_block_improvements' into lm_wipe_tower_block_improvements_merged 2018-08-02 13:29:39 +02:00
tamasmeszaros
93757ac811 Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-08-02 13:16:11 +02:00