Commit Graph
100 Commits
Author SHA1 Message Date
bubnikv c3dc562ab0 Resurrected --dont-arrange command line parameter,
fixed command line print parameter validation.
2018-09-25 09:55:15 +02:00
bubnikv a9f52955a0 Fixed app icon on Windows 2018-09-24 14:27:03 +02:00
bubnikv 8296cbe046 Compile Slic3r versions into slic3r binary 2018-09-24 13:07:50 +02:00
bubnikv 96e035b2f8 Added various manifests,
added auto generation of includes and manifests from version and build
variables,
resurrected SLIC3R_LOGLEVEL env var.
2018-09-24 11:53:05 +02:00
bubnikv 9f2cd347e3 Fix of a set method to make ConfigOptionEnum compatible with
ConfigOptionEnumGeneric.
2018-09-21 23:00:49 +02:00
bubnikv 60a192ef34 Removed duplicate definition of QHull debug printfs 2018-09-21 21:54:54 +02:00
bubnikv bb386bb148 Simplified dependencies. 2018-09-21 21:16:09 +02:00
bubnikv 49c3d59897 Further reduction of Perl dependencies. Now the Perl dependencies
only influence the XS project (and the unit / integration tests).
2018-09-21 20:11:33 +02:00
bubnikv 8e1b5157b4 Moved the remaining Perl dependencies to xs/CMakeLists.txt 2018-09-21 19:37:35 +02:00
bubnikv b28047af5e Yet another fix of platform specific paths to resources. 2018-09-21 17:16:44 +02:00
bubnikv c37dc44ec4 Modified resources directory in Linux installation. 2018-09-21 16:38:42 +02:00
bubnikv 0a7646cd94 Fixed path to resources on OSX. 2018-09-21 16:10:16 +02:00
bubnikv 8841b7ae2c Another compilation fix 2018-09-21 15:59:39 +02:00
bubnikv 3658f96b16 Fixed compilation on Linux / OSX. 2018-09-21 15:42:31 +02:00
bubnikv e4373b6edd Fix of incorrect path separator in include. 2018-09-21 12:54:40 +02:00
bubnikv 6b2a4ffe03 Paths to resources / icons / images are set. 2018-09-21 11:40:32 +02:00
bubnikv 9a5796794e Merged Sasa's GUI WIP 2018-09-21 09:09:05 +02:00
bubnikv 20d0f046d2 Merge remote-tracking branch 'origin/dev2' into dev_native 2018-09-20 16:48:40 +02:00
bubnikv add45a8f6e Added C++ command line processing, thanks @alexrj and @loh 2018-09-20 16:48:13 +02:00
bubnikv 6ca5a18d05 Commented out wxPixelData.UseAlpha(), as it is missing from wxWidgets 3.1.1. 2018-09-19 18:54:23 +02:00
bubnikv 9c085dfcc5 Fixed Perl unit tests. 2018-09-19 18:31:41 +02:00
bubnikv ad54266395 Fixed GUI build 2018-09-19 18:05:58 +02:00
bubnikv d7f1c8670f Removed wrong dependency on wxWidgets from libslic3r.
Added cmake message for WXWIN environment variable.
2018-09-19 17:55:17 +02:00
bubnikv 6003005812 Removed dependency on wxWidgets from Alien.
Updated source code to wxWidgets 3.1.1
Moved invocation of perl unit / integration tests to the xs project.
2018-09-19 17:19:06 +02:00
bubnikv cc3572f3ce Another step to fix the build system. 2018-09-19 15:47:32 +02:00
bubnikv ffac360439 Yet another build system fix 2018-09-19 14:43:38 +02:00
bubnikv 8f01266ca4 Fix of compilation on Linux & OSX: Cannot create a "slic3r" executable
next to a "slic3r" directory.
2018-09-19 14:22:48 +02:00
bubnikv 681e9f03b3 Yet another fix of build process 2018-09-19 13:16:20 +02:00
bubnikv 58a0c41713 Fixed compilation on OSX & Linux 2018-09-19 13:12:57 +02:00
bubnikv 7ef894e074 Fixed GUI CMakeFile 2018-09-19 11:46:24 +02:00
bubnikv 7374eafc13 Moved the newly added GUI_Preview files. 2018-09-19 11:34:26 +02:00
bubnikv e8c16c35e5 Meged with dev2 2018-09-19 11:28:30 +02:00
bubnikv 6bd92a8198 Disabling calls from libslic3r to slic3r gui. 2018-09-19 11:27:04 +02:00
bubnikv 0558b53493 WIP: Moved sources int src/, separated most of the source code from Perl.
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00
bubnikv 3ddaccb641 Replaced CONFESS with throw std::exception in libslic3r, so now
libslic3r should be compilable without Perl.
2018-09-18 10:09:58 +02:00
Vojtech Bubnik 27bba45331 Fix of compilation on Linux, disabled -Wreorder 2018-09-17 17:17:38 +02:00
bubnikv 153bd108a2 WIP fix of PostProcessor on Linux 2018-09-17 15:32:54 +02:00
bubnikv fe3b92870f Merged with dev 2018-09-17 15:12:13 +02:00
bubnikv d934b63424 Removed Print.pm,
ported execution of post processing scripts into C++ (WIP, waits for
update of boost::system module on our build server)
Removed other mention of the "Controller".
2018-09-17 12:01:02 +02:00
bubnikv bb7f504296 Removed "Slice to SVG" and "Quick Slice" 2018-09-14 11:16:54 +02:00
bubnikv 2c9dc4dbbf Finished porting of the status bar to C++. 2018-09-14 10:59:50 +02:00
bubnikv 36faa090fc Removed the Controller, Layer View, System Info, ObjectCutDialog,
removed unused Perl modules.
2018-09-14 10:25:20 +02:00
bubnikv 9d9e4a0f7b WIP: Background processing. 2018-09-14 09:28:00 +02:00
bubnikv bb70ad6090 Removed Strings.hpp, replaced with wxString
Fixed UTF8 rendering of status messages.
2018-09-12 13:17:47 +02:00
bubnikv 0235f1a821 Merged with dev 2018-09-12 11:59:02 +02:00
bubnikv 41ce69f327 Improved constness of the Print / PrintObject / Layer ...
Split the wipe tower and time statistics data into separate objects.
Initial work in synchronizing the Model with the Print.
2018-09-11 14:04:47 +02:00
bubnikv 49697ed6aa Replaced this->m_xxx with just m_xxx 2018-09-10 09:11:49 +02:00
bubnikv 453e7e37d3 Bundled newer versions of PrusaResearch profiles. 2018-09-01 09:54:02 +02:00
bubnikv d57725ee18 Bumped up the version number to 1.41.0 release,
bundled updated PrusaResearch configs.
2018-08-30 16:08:25 +02:00
bubnikv 4522811f5b Bumped up the version number to 1.41.0-beta2 2018-08-25 22:11:04 +02:00
bubnikv 78a7104994 Changed the wording of "Purge into this object's ..." to "Wipe ..." 2018-08-25 22:09:55 +02:00
bubnikv fec2545033 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-08-24 16:58:53 +02:00
bubnikv 3c0d81e7d9 Merge remote-tracking branch 'remotes/origin/lm_lay_flat_round_merged_facets' 2018-08-24 16:39:24 +02:00
bubnikv de0f8ec267 Merge remote-tracking branch 'remotes/origin/lm_retraction_fix' 2018-08-24 16:33:57 +02:00
bubnikv 76d60070eb Eigenized the admesh structures
(stl_vertex, stl_normal).
2018-08-22 15:34:03 +02:00
bubnikv 6829704475 d .. 2018-08-22 15:03:35 +02:00
bubnikv ac72cd779f Replaced Point3 with Eigen Vec3crd, removed Point3 from the Perl binding. 2018-08-21 22:14:47 +02:00
bubnikv 0b5b02e002 Eradicated the Pointf class, replaced with Eigen Vector3d 2018-08-21 21:05:24 +02:00
bubnikv cae0806112 Eradicated most of Pointf extras compared to pure Eigen::Vector2d. 2018-08-21 20:34:45 +02:00
bubnikv cb138a20b8 Completely replaced the homebrew Pointf3 class with Eigen Vec3d.
Replaced the unscale macro with a template, implemented templates
for unscaling Eigen vectors.
2018-08-21 17:43:05 +02:00
bubnikv c5256bdd2c Removed the Point::coincides_with_epsilon() method 2018-08-21 09:51:22 +02:00
bubnikv ab60d8adb4 Replaced coincides_with(const Line &line) with operator== 2018-08-17 18:27:07 +02:00
bubnikv 9e7634b6e8 Merged with master 2018-08-17 18:07:45 +02:00
bubnikv 0eba590fc6 Updated the Eigen library to 3.3.5 2018-08-17 17:33:29 +02:00
bubnikv 5b94f53cd7 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
bubnikv 65011f9382 Removed the x(), y(), z() Point/Pointf/Point3/Pointf3 accessors. 2018-08-17 15:53:43 +02:00
bubnikv 1ba64da3fe 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
bubnikv 3b89717149 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 f34252a27b 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 86da661097 Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types, first step 2018-08-14 18:33:26 +02:00
bubnikv 93b8f3147c Fixed inccorect (excessive) time estimates with the MMU 2.0 2018-08-07 14:15:37 +02:00
bubnikv 288cd58ee2 Bumped up version number. 2018-08-06 18:09:52 +02:00
bubnikv c9192e874b Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-08-06 18:04:54 +02:00
bubnikv 1e8d646586 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
bubnikv 4f52601081 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
bubnikv ea163edc41 Deregister the update callback on end of the application.
This fixes a crash on exit.
2018-08-05 23:36:25 +02:00
bubnikv c13cd284e4 Fix of a regression bug: Update the print bed texture when switching
between printer profiles.
2018-08-05 22:52:38 +02:00
bubnikv 71b1e09af9 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 ac2b20b54b Merge branch 'master' into time_estimate 2018-08-03 23:04:44 +02:00
bubnikv 73ad49b9ae Merge remote-tracking branch 'origin/lm_minimal_purging_on_wt' 2018-08-03 22:55:08 +02:00
bubnikv 02d6d04185 Merge remote-tracking branch 'remotes/origin/feature_arrange_with_libnest2d' 2018-08-03 22:38:44 +02:00
bubnikv 6a9bd540c1 Merge remote-tracking branch 'origin/lm_wipe_tower_block_improvements_merged' 2018-08-03 22:34:53 +02:00
bubnikv 0454adc194 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:
https://github.com/prusa3d/Prusa-Firmware/commit/dd4c4b39b4359d61a3329c54bea58df119a731c6

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
bubnikv f65aadebef Corrected initialization of the SLA presets with their default values. 2018-08-03 14:14:25 +02:00
bubnikv cd919d986a Fixed the *MK3* references in Prusa3D profiles 2018-08-02 13:09:53 +02:00
bubnikv 8fc11c2f14 Configuration improvements:
Bumped up firmware versions for MK2.5/MK3 to 3.3.1, disabled priming areas for MK3MMU2
2018-08-02 09:11:11 +02:00
bubnikv 212ebc5615 Updated the start G-codes for the MK3 MMU2 profiles:
Implemented wiping line for MMU when the priming blocks are disabled,
added initialization of the MMU2 unit with the filament types.
2018-08-01 19:07:49 +02:00
bubnikv a76cb3bd67 Merge remote-tracking branch 'remotes/origin/wipe_tower_no_priming' 2018-08-01 13:16:49 +02:00
bubnikv 3e2aedaaf0 Merge commit '4e901a9db778660d3471a49cd95d66f85b2dbc88' 2018-08-01 13:16:30 +02:00
bubnikv 884f1ff4c0 Merge commit '4e901a9db778660d3471a49cd95d66f85b2dbc88' into SLA 2018-08-01 13:09:05 +02:00
bubnikv 4e193555ae Adding the SLA printer profiles, WIP 2018-08-01 11:09:51 +02:00
bubnikv f0c1c15b62 Integration of SLA parameters, WIP 2018-07-31 15:09:57 +02:00
bubnikv fa6a72ab2d Changed the filament_load_time / filament_unload_time defaults to zero. 2018-07-31 09:46:39 +02:00
bubnikv f49f871992 Added filament_load_time and filament_unload_time parameters
to define the filament load / unload times spent in the MMU2.0 unit
when performing the tool change code (the T code).
2018-07-31 09:44:29 +02:00
bubnikv b6c5fa7f68 Added the alpha4 config to the index. 2018-07-27 23:28:59 +02:00
bubnikv 4778312fa5 Merge branch 'master' into wipe_tower_no_priming 2018-07-27 23:26:10 +02:00
bubnikv 4a88075334 Updated change log for the Prusa3D config index,
bumped up the version to 1.41.0-alpha3
2018-07-27 22:31:24 +02:00
bubnikv db8ba5fb76 New parameter "single_extruder_multi_material_priming" to be able
to suppress the MM priming towers.
The PrusaResearch.ini was modified for the MMU2 printers to
correctly prime the initial extruder when
single_extruder_multi_material_priming is disabled.
2018-07-27 22:19:46 +02:00
bubnikv 78a8acfcf1 New PrusaResearch configuration, renamed and improved the MK3 MMU2 wizard
picture.
2018-07-27 15:57:00 +02:00
bubnikv 987fc4c6df Merge remote-tracking branch 'origin/backspace_to_delete_on_osx' 2018-07-27 09:55:13 +02:00