Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size of the wipe tower #4433

Closed
wants to merge 1,775 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1775 commits
Select commit Hold shift + click to select a range
d1580f6
Fix of the previous commit. Once the Slic3r::GUI::Tab was rewritten
bubnikv Apr 18, 2018
7083f58
Added lock icons to system presets in ComboBoxes.
YuSanka Apr 19, 2018
ad4cd05
Fixed hovering while panning/rotating camera
enricoturri1966 Apr 19, 2018
88dadce
Added tooltips for reverse buttons
YuSanka Apr 19, 2018
bdaf1b0
ConfigWizard: Fix reset checkbox
vojtechkral Apr 19, 2018
d671e06
Fix alpha legacy dir detection, Fix SemVer value ctor
vojtechkral Apr 19, 2018
2e61420
Sync index file
vojtechkral Apr 19, 2018
ab397e5
Added SnapshotDB::snapshot_with_vendor_preset() utility function
bubnikv Apr 20, 2018
9b5480b
PresetUpdater: Use PID in cache tmp filenames
vojtechkral Apr 20, 2018
93a902a
PresetUpdater: Fix double free from Perl
vojtechkral Apr 20, 2018
134a083
Merge branch 'config_snapshots' into updating
vojtechkral Apr 20, 2018
1e1bf03
Added reset buttons description
YuSanka Apr 20, 2018
669b0b6
Added missed files to commit
YuSanka Apr 20, 2018
e0421a3
PresetUpdater: Don't display new Slic3r version notifications multipl…
vojtechkral Apr 20, 2018
48bbd2d
Added new files to MackList
YuSanka Apr 20, 2018
27f77c7
Added little more information to ButtonsDescription dialog
YuSanka Apr 20, 2018
b8cb936
Added effective update of ComboBoxes on Plater
YuSanka Apr 20, 2018
f8b1dc5
Tweaks to zooming logic
enricoturri1966 Apr 23, 2018
9a1dbfa
Updated action_undo.png icon and added sys_unlock_grey.png & action_u…
YuSanka Apr 23, 2018
33c0d1d
PresetUpdater: Add/fix logging, comments
vojtechkral Apr 23, 2018
ec7e10e
Fixed wrong behavior of options group Tree after extruders count change
YuSanka Apr 23, 2018
a7a8030
PresetUpdater: Don't install updates that are already present in a sn…
vojtechkral Apr 23, 2018
cd3be74
Workaround for 3D view and GUI buttons not in synch when object's siz…
enricoturri1966 Apr 23, 2018
6432ec8
Experiment with extruders count change
YuSanka Apr 23, 2018
a3c3eb5
Fixed GCode Preview not invalidated when deleting an object
enricoturri1966 Apr 23, 2018
973060c
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 Apr 23, 2018
b0841f7
Experiment failed
YuSanka Apr 23, 2018
e31f5fc
Modified text for tooltips and ButtonsDescription
YuSanka Apr 24, 2018
71d9500
More robust fix for 3D view and GUI buttons not in synch when object'…
enricoturri1966 Apr 24, 2018
1e8d302
Fixed wrong updating of "Top/Bottom fill pattern"
YuSanka Apr 24, 2018
92b67fb
Change reset buttons tooltips according to its state
YuSanka Apr 24, 2018
7c7c37a
Added tooltips for reset buttons near each option
YuSanka Apr 24, 2018
ccd1c01
Fixed automatic view type selection when changing printer
enricoturri1966 Apr 24, 2018
fea5603
PresetUpdater: Bundle incompatibility / Slic3r downgrade scnario
vojtechkral Apr 24, 2018
a50bde4
Merge branch 'master' into updating
vojtechkral Apr 24, 2018
62d67d3
Merge branch 'profile_changes_reset' into updating
vojtechkral Apr 24, 2018
60f62a6
Fix text in UpdateDialogs
vojtechkral Apr 24, 2018
0feb4d8
PresetUpdater: Fix string type
vojtechkral Apr 24, 2018
6c627be
New cooling logic to equalize extrusion velocity. The old behavior ca…
bubnikv Apr 25, 2018
3cd7987
Fixed layer heights profile invalidated when loading model from amf file
enricoturri1966 Apr 25, 2018
449aff0
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 Apr 25, 2018
cfac6c0
Aligned printer settings on Plater tab
YuSanka Apr 25, 2018
eeb4369
Merge branch 'master' into updating
vojtechkral Apr 25, 2018
91db0a6
Merge remote-tracking branch 'origin/profile_changes_reset' into upda…
YuSanka Apr 25, 2018
e93391e
Fixed get_zoom_to_bounding_box_factor on linux
enricoturri1966 Apr 25, 2018
df3e84d
Merge branch 'updating' of https://github.com/prusa3d/Slic3r into upd…
enricoturri1966 Apr 25, 2018
bbc3c89
Snapshots: Disable activation of incompatible snapshots
vojtechkral Apr 25, 2018
1a4827b
Fixed incorrect z values set into GCode Preview sliders
enricoturri1966 Apr 25, 2018
933c0eb
Fixes in SemVer and MsgUpdateConfig
vojtechkral Apr 25, 2018
8096ef6
Fixed wrong countours for multipart objects in cut dialog 3D view
enricoturri1966 Apr 25, 2018
b7bcf27
Merge branch 'updating' of https://github.com/prusa3d/Slic3r into upd…
enricoturri1966 Apr 25, 2018
f23f86d
PresetUpdate: Fix UpdateConfig dialog
vojtechkral Apr 25, 2018
166ee4c
Export of print config enabled as default in save file dialog when ex…
enricoturri1966 Apr 25, 2018
03e9da8
Update PrusaResearch bundle & index
vojtechkral Apr 25, 2018
dce0aa6
Updating: Start using proper URLs
vojtechkral Apr 25, 2018
269770b
Fix of a new cooling logic.
bubnikv Apr 25, 2018
cbaf0cc
Refactored cooling logic for readibility and maintainability.
bubnikv Apr 25, 2018
fd16357
Increase z buffer range to avoid clipping while panning/rotating the …
enricoturri1966 Apr 26, 2018
a4df0bd
Fixed division by zero in get_zoom_to_bounding_box_factor on Linux
enricoturri1966 Apr 26, 2018
b3859c4
Updated description preset line for each type of presets...
YuSanka Apr 26, 2018
4d07b63
Merge remote-tracking branch 'origin/profile_changes_reset' into upda…
YuSanka Apr 26, 2018
ad9dca2
Fixed update of ranges for GCode paths colors selection
enricoturri1966 Apr 26, 2018
a223655
Inverted order of range items in legend texture
enricoturri1966 Apr 26, 2018
9548593
Forbid tabstop on resert buttons
YuSanka Apr 26, 2018
7698ba1
Merge branch 'updating' of https://github.com/prusa3d/Slic3r into upd…
YuSanka Apr 26, 2018
6467513
Set default bitmap (white_bullet) when creating Field's reset buttons
YuSanka Apr 26, 2018
19f8e0b
Changed background color in AboutDialog from wxWHITE to wxSYS_COLOUR_…
YuSanka Apr 26, 2018
25d47c1
Fix of the new cooling logic.
bubnikv Apr 26, 2018
7a8f68c
Merge branch 'new_cooling_logic'
bubnikv Apr 26, 2018
86e4c7b
Merge branch 'new_cooling_logic' into updating
bubnikv Apr 26, 2018
4811abf
Apply gradient to colors in GCode Preview
enricoturri1966 Apr 27, 2018
a3d5251
Merge branch 'cpp_ui_optimization' into updating
vojtechkral Apr 27, 2018
6d38943
Fix & refactor legacy datadir dialog
vojtechkral Apr 27, 2018
ad54210
3mf I/O - Added import/export of layer heights profile
enricoturri1966 Apr 27, 2018
b67064e
Keyboard capture by 3D view on Linux
enricoturri1966 Apr 27, 2018
285ded8
Add documentation for system profiles, snapshots & updating
vojtechkral Apr 27, 2018
879d22c
Added Freeze/Thaw and BusyCursor to selection_changed in object list …
YuSanka Apr 27, 2018
9fb8ee9
Merge branch 'updating' of https://github.com/prusa3d/Slic3r into upd…
YuSanka Apr 27, 2018
bb4c4d9
Legacy data update dialog: Add link to wiki
vojtechkral Apr 27, 2018
a208639
Fixed initial view on Linux Ubuntu
enricoturri1966 Apr 30, 2018
43d2027
ToolTips are showing on GTK
YuSanka Apr 30, 2018
dd10ccf
Merge branch 'updating' of https://github.com/prusa3d/slic3r into upd…
YuSanka Apr 30, 2018
4344eae
Added versioning to amf file
enricoturri1966 Apr 30, 2018
5624b8a
Add a new error dialog
vojtechkral Apr 30, 2018
3c13c4f
Added versioning to 3mf file
enricoturri1966 Apr 30, 2018
2d4cac0
Added ability to change color of the labels of the system or modified…
YuSanka Apr 30, 2018
6d34db3
Merge branch 'updating' of https://github.com/prusa3d/Slic3r into upd…
YuSanka Apr 30, 2018
28effac
Fix bitmap loading in new dialogs
vojtechkral Apr 30, 2018
4758b68
Fix: Turn two Preset & PresetUpdater exceptions into error logs
vojtechkral May 1, 2018
b4e63d4
Yet another attempt to fix the layer height profile validation
lukasmatena Apr 26, 2018
de0d1f3
Label in filament settings changed
lukasmatena May 2, 2018
e9b83a2
ConfigWizard: Add additional logging
vojtechkral May 2, 2018
97a948f
Fix Perl path MSVC props file #857
vojtechkral May 2, 2018
9d9bcfe
MSVC: Rename props file #857
vojtechkral May 2, 2018
6567997
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 2, 2018
e2e4310
Removed unneeded scene reloads when selecting objects
enricoturri1966 May 2, 2018
3deeda0
Merge pull request #859 from prusa3d/updating
vojtechkral May 2, 2018
81636ab
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 2, 2018
cb48652
Fixed crash when pressing 'A' with empty print bed
enricoturri1966 May 2, 2018
65f3b52
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 2, 2018
16d5faa
Preparations to the localization update & new Slic3rPE.pot
YuSanka May 2, 2018
4131a92
Merge remote-tracking branch 'origin/master' into updating
YuSanka May 2, 2018
8ad6053
PresetUpdater: More logging
vojtechkral May 2, 2018
e8d5c93
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 3, 2018
a02bfdd
Initial zoom set to bed extent
enricoturri1966 May 3, 2018
97ea02d
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 3, 2018
20b83c5
Save the Canonical Language Name instead of the Enumerator to the Sli…
YuSanka May 3, 2018
20d9bda
Merge branch 'master' of https://github.com/prusa3d/Slic3r
YuSanka May 3, 2018
d19b116
Fixed normals on wipe tower box
enricoturri1966 May 3, 2018
717fbc1
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 3, 2018
af4e030
Fixed visibility of the contents of the GCode fields
YuSanka May 3, 2018
dd4669d
Fixed crash when reducing objects from 2D/preview/layers tabs
enricoturri1966 May 3, 2018
6d88d0d
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 3, 2018
471f906
Fixed typo preventing to build on Win
enricoturri1966 May 3, 2018
81bfd8c
Merge branch 'master' of https://github.com/prusa3d/slic3r
bubnikv May 3, 2018
19977ed
Removed the "Broken croak" support, which was useful on broken
bubnikv May 3, 2018
678cbd9
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 4, 2018
c488550
Fixed update of 3D view when selecting objects on Linux
enricoturri1966 May 4, 2018
ec8b8a6
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 4, 2018
c579ec7
Fixed wrong extrusion paths detection with multimaterial objects
enricoturri1966 May 7, 2018
8eb9ddc
Max count of auto assigned extruders when splitting object set as dep…
enricoturri1966 May 7, 2018
bd4061c
Merge with master branch
enricoturri1966 May 9, 2018
86155ae
Fixed conflict in previous merge
enricoturri1966 May 9, 2018
754bfd9
Auto-correction of the input values according to the admissible range
YuSanka May 10, 2018
98d9ce3
Corrected error message to last commit
YuSanka May 10, 2018
5e231bf
New wipe tower parameters added to INI file with profiles
lukasmatena May 10, 2018
9af6a89
Fixed a crash when loading multipart objects
lukasmatena May 10, 2018
d620961
Fixed the version number. We have an alpha state as of today.
bubnikv May 10, 2018
0fc4225
Merge branch 'master' of https://github.com/prusa3d/slic3r
bubnikv May 10, 2018
e91ebdd
Added possibility of select all TextCtrl context using Ctrl+A
YuSanka May 11, 2018
d89f812
Fixed a GCode preview crash on Linux due to returning a reference to …
lukasmatena May 11, 2018
03c6efe
Merge branch 'master' of https://github.com/prusa3d/Slic3r
lukasmatena May 11, 2018
8c4c392
Fixed enable/disable of the tooltips on GTK
YuSanka May 11, 2018
d53127f
Merge branch 'master' of https://github.com/prusa3d/slic3r
YuSanka May 11, 2018
613bcf8
Updated PrusaResearch.ini with the latest version from Slic3r-setting…
lukasmatena May 11, 2018
6012102
Merge branch 'master' of https://github.com/prusa3d/Slic3r
lukasmatena May 11, 2018
ae1a015
Fixed Perl array addressing issues, leading to crashes when loading
bubnikv May 11, 2018
4a99fe6
Merge branch 'master' of https://github.com/prusa3d/slic3r
bubnikv May 11, 2018
4cf74d6
Object information is pasted to the ScrolledWindow
YuSanka May 13, 2018
e90bc3f
Fix in _3DScene::_load_gcode_extrusion_paths::Helper::path_color()
enricoturri1966 May 14, 2018
5fb81ba
Added layer index under sliders in 3D view
enricoturri1966 May 14, 2018
1edd2d0
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 14, 2018
b07e16a
Fix build failure (#884)
kortschak May 14, 2018
b51197b
Updated POT-file, added Spanish and Polish, fixed bug with Ctrl+U,O,L…
YuSanka May 14, 2018
3bc8d75
Merge branch 'master' of https://github.com/prusa3d/Slic3r
YuSanka May 14, 2018
0155f4a
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 15, 2018
328eba5
Removed auto zoom to volumes when changing view
enricoturri1966 May 15, 2018
e31244e
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 15, 2018
a612b5b
Replacement of xml escape characters when exporting to amf
enricoturri1966 May 15, 2018
c60bf69
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 15, 2018
7645e9c
Added layer_num, layer_z variables to the end_gcode, end_filament_gcode,
bubnikv May 15, 2018
868b400
Merge branch 'master' of https://github.com/prusa3d/slic3r
bubnikv May 15, 2018
4b87f71
Fix of the previous commmit. gcc and clang rightfully complained abou…
bubnikv May 15, 2018
5c44453
Fixed loading of configuration files after reverting to a snapshot
bubnikv May 16, 2018
a97226a
PresetUpdater: Fix: Don't offer updates on legacy datadir
vojtechkral May 15, 2018
0b4a61a
Fix of https://github.com/prusa3d/Slic3r/issues/791
bubnikv May 16, 2018
6d98c2b
Merge branch 'master' of https://github.com/prusa3d/slic3r
bubnikv May 16, 2018
b8fe48c
Modification of the AboutDialog to be correct showing on dark theme o…
YuSanka May 16, 2018
687c91d
Parsing of obsolete presets from Config Bundle to remove them
bubnikv May 16, 2018
e329f6f
Merge branch 'master' of https://github.com/prusa3d/slic3r
bubnikv May 16, 2018
7a6d83e
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 17, 2018
cc52654
Set minimum width for the right sizer
YuSanka May 17, 2018
77578f4
Reset tooltips for manifold objects into object info panel
enricoturri1966 May 17, 2018
b6b7945
Merge branch 'master' of https://github.com/prusa3d/Slic3r
enricoturri1966 May 17, 2018
ee4f95b
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 17, 2018
e13564c
Fixed shell visualization in g-code preview
enricoturri1966 May 17, 2018
24b5d61
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 17, 2018
6f792b7
Horrible workaround to make the gcode preview dropdown (show feature …
lukasmatena May 17, 2018
e3d8440
Fix of https://github.com/prusa3d/Slic3r/issues/896
bubnikv May 17, 2018
c5dc47c
Merge branch 'master' of https://github.com/prusa3d/slic3r
bubnikv May 17, 2018
d98dec3
Merge branch 'gcode_preview_dropdown_ui'
lukasmatena May 17, 2018
15f35a9
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 17, 2018
2cb108f
Fix in File menu
enricoturri1966 May 17, 2018
96c7c4a
PresetUpdater: Remove obsolete presets
vojtechkral May 16, 2018
35bf4ae
Fixed loading of configuraton values octoprint_host, support_material…
bubnikv May 17, 2018
37c498d
Merge branch 'master' of https://github.com/prusa3d/slic3r
bubnikv May 17, 2018
7ca9f46
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 17, 2018
9b4afb7
Hide legend texture when invalidating gcode by editing config data
enricoturri1966 May 17, 2018
f7702c0
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 17, 2018
de0b822
Tweaks to logic for sliders update in 3D Preview
enricoturri1966 May 17, 2018
e783e00
AppConfig: Remember previous Slic3r version
vojtechkral May 17, 2018
5fd2164
ConfigWizard: Fix incorrent wizard run after a language change
vojtechkral May 17, 2018
19221b7
Fix of https://github.com/prusa3d/Slic3r/issues/869
bubnikv May 18, 2018
d56b543
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 18, 2018
651c4ab
Fixed a typo in AppConfig
bubnikv May 18, 2018
f34250e
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 18, 2018
3f08ef7
Fix of extraneous infill over thin walls.
bubnikv May 18, 2018
5224aca
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 18, 2018
0584990
Fixed z layers indices under 3D preview sliders
enricoturri1966 May 18, 2018
9929301
Corrected brim generation (width), enabling continuity with skirt
lukasmatena May 18, 2018
5e1e43f
Resolved problem with Flickering.
YuSanka May 18, 2018
a7fd1b6
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 18, 2018
fd43e53
PresetUpdater: Add some more logging
vojtechkral May 18, 2018
deabeaa
Aligned frequently changing parameters according to presets settings …
YuSanka May 20, 2018
01b6bc1
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 21, 2018
53ddf72
Fixed object setting dialog on NVIDIA cards
enricoturri1966 May 21, 2018
67f7ec2
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene…
enricoturri1966 May 21, 2018
3291cbf
Fix of #889
enricoturri1966 May 21, 2018
308a0b5
Remember output directory default value set to true
enricoturri1966 May 21, 2018
64b9058
Fixed bugs with non-correct update of buttons enable.
YuSanka May 21, 2018
c4478cc
Fixed wrong updating of the options group tree
YuSanka May 21, 2018
1caeab9
avrdude base
vojtechkral Apr 19, 2018
11a00b0
avrdude integration basics (WIP)
vojtechkral Apr 19, 2018
53b42bf
CMake: Fix C compiler warning about C++ flags
vojtechkral Apr 23, 2018
c7e4d1d
avrdude.conf base
vojtechkral Apr 30, 2018
68a5702
avrdude.conf: Remove unsupported stuff
vojtechkral Apr 30, 2018
07817c8
avrdude: Compilation on Windows/MSVC
vojtechkral May 4, 2018
3d09f2a
avrdude: bugfixes
vojtechkral May 7, 2018
af360d7
Firmware updater GUI
vojtechkral May 4, 2018
4ac17da
avrdude: Use C99, fix alloca include in stk500
vojtechkral May 15, 2018
839c045
avrdude: Fix PATH_MAX
vojtechkral May 16, 2018
97b3c38
avrdude: Fix h_addr
vojtechkral May 16, 2018
404fdbc
avrdude: Fixes in error handling
vojtechkral May 16, 2018
fe21ca5
avrdude: Build fixes
vojtechkral May 16, 2018
c5f1acf
FirmwareUpdater: Disable dialog close while flashing
vojtechkral May 16, 2018
a54672f
Firmware updater: Make the GUI less scary
vojtechkral May 18, 2018
98ae20c
Firmware updater: Perform work in a background thread
vojtechkral May 18, 2018
fd00ea0
Firmware updater: Add cancelation
vojtechkral May 18, 2018
e1930d5
Firmware updater: Disable dictionary flashing menu entry for the time…
vojtechkral May 21, 2018
4723a99
FirmwareDialog: Fix dialog sizing
vojtechkral May 21, 2018
4f4649d
avrdude: Fix serial I/O timeout on Windows
bubnikv May 21, 2018
a43e72f
Firmware updater: rework cancelling
vojtechkral May 21, 2018
7f8265e
FirmwareDialog: Fix log clearing
vojtechkral May 21, 2018
33f2142
Added friendly names to serial ports, added automatic selection of Pr…
bubnikv May 21, 2018
d4e939f
Serial port fix, get description for serial ports on OSX.
bubnikv May 21, 2018
8917f18
Fix of previous commit, fix of compilation on OSX.
bubnikv May 21, 2018
0a32878
Fixed compilation on Linux.
bubnikv May 21, 2018
1e8a0b6
Yet another fix for OSX
bubnikv May 21, 2018
3307dbc
Another fix for linux & osx
bubnikv May 21, 2018
ee5a5df
Serial port friendly name on Linux
vojtechkral May 21, 2018
5697754
avrdude: Fix exit hook not being adapted properly
vojtechkral May 21, 2018
2fab254
Merge branch 'fwupdater'
vojtechkral May 21, 2018
7b4aeef
Moved the "Flash firmware" menu to "Configuration",
bubnikv May 21, 2018
6b4fe79
Fix of the previous commit: When asking the operating system to open
bubnikv May 21, 2018
512b6df
Yet another fix of the previous commit.
bubnikv May 21, 2018
b694f1a
One day I will fix it!
bubnikv May 21, 2018
e2f44a2
A fix to use correct spacing with multiloop skirts
lukasmatena May 22, 2018
ca3ea12
Partial french translation (#914)
rycks May 22, 2018
eef1d50
Merge remote-tracking branch 'remotes/origin/brim_width_calculation'
bubnikv May 22, 2018
81fb408
Merge branch 'master' of https://github.com/prusa3d/slic3r
bubnikv May 22, 2018
36b337b
Moved max_print_height from [print:*common*] to [printer:*common*],
bubnikv May 22, 2018
ae394ca
Fixed remember output directory default value set to true
enricoturri1966 May 22, 2018
6ea8127
Fixed correct updating of the modified preset on Plater tab.
YuSanka May 22, 2018
e8247c5
When loading a config bundle, make sure a config value is not accepted
bubnikv May 22, 2018
306d775
Merge remote-tracking branch 'remotes/origin/scene_manipulators'
bubnikv May 22, 2018
360b349
ErrorDialog: Fix size and message encoding
vojtechkral May 22, 2018
076b293
Bumped up version numbers of the PrusaResearch.ini and the Slic3r its…
bubnikv May 22, 2018
a9499ae
Fix of a crash intruduced with e8247c5646d512da4c8060ecd7d0a6a3232a6c28
bubnikv May 23, 2018
a4261b1
Updated translations (de, fr, es, it & pl)
YuSanka May 23, 2018
e4aff5b
Feedrate on the first layer of the wipe tower properly set (bugfix)
lukasmatena May 29, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ xs/buildtmp
MANIFEST.bak
xs/MANIFEST.bak
xs/assertlib*
.init_bundle.ini
.init_bundle.ini
local-lib
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

84 changes: 27 additions & 57 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ use File::Spec;

my %prereqs = qw(
Devel::CheckLib 0
Encode 0
Encode::Locale 1.05
ExtUtils::MakeMaker 6.80
ExtUtils::ParseXS 3.22
ExtUtils::XSpp 0
ExtUtils::Typemaps 0
ExtUtils::Typemaps::Basic 0
File::Basename 0
File::Spec 0
Getopt::Long 0
Math::PlanePath 53
Module::Build::WithXSpp 0.14
Moo 1.003001
POSIX 0
Expand All @@ -25,38 +25,29 @@ my %prereqs = qw(
IO::Scalar 0
threads 1.96
Time::HiRes 0
Unicode::Normalize 0
);
my %recommends = qw(
Class::XSAccessor 0
XML::SAX::ExpatXS 0
Test::Harness 0
);

my $sudo = grep { $_ eq '--sudo' } @ARGV;
my $gui = grep { $_ eq '--gui' } @ARGV;
my $xs_only = grep { $_ eq '--xs' } @ARGV;
my $nolocal = grep { $_ eq '--nolocal' } @ARGV;
if ($gui) {
%prereqs = qw(
Class::Accessor 0
Wx 0.9918
Socket 2.016
);
%recommends = qw(
Growl::GNTP 0.15
Wx::GLCanvas 0
OpenGL 0
LWP::UserAgent 0
Net::Bonjour 0
);
if ($^O eq 'MSWin32') {
$recommends{"Win32::TieRegistry"} = 0;

# we need an up-to-date Win32::API because older aren't thread-safe (GH #2517)
$prereqs{'Win32::API'} = 0.79;
}
} elsif ($xs_only) {
%prereqs = %recommends = ();
}

my @missing_prereqs = ();
Expand Down Expand Up @@ -109,33 +100,29 @@ EOF
my @cpanm_args = ();
push @cpanm_args, "--sudo" if $sudo;

# install local::lib without --local-lib otherwise it's not usable afterwards
if (!eval "use local::lib qw(local-lib); 1") {
my $res = system $cpanm, @cpanm_args, 'local::lib';
warn "Warning: local::lib is required. You might need to run the `cpanm --sudo local::lib` command in order to install it.\n"
if $res != 0;
}

push @cpanm_args, ('--local-lib', 'local-lib') if ! $nolocal;

# make sure our cpanm is updated (old ones don't support the ~ syntax)
system $cpanm, @cpanm_args, 'App::cpanminus';

# install the Windows-compatible Math::Libm
if ($^O eq 'MSWin32' && !eval "use Math::Libm; 1") {
system $cpanm, @cpanm_args, 'https://github.com/alexrj/Math-Libm/tarball/master';
}

my %modules = (%prereqs, %recommends);
foreach my $module (sort keys %modules) {
my $version = $modules{$module};
my @cmd = ($cpanm, @cpanm_args);

# temporary workaround for upstream bug in test
push @cmd, '--notest'
if $module =~ /^(?:OpenGL|Math::PlanePath|Test::Harness)$/;
if $module =~ /^(?:OpenGL|Test::Harness)$/;

push @cmd, "$module~$version";
if ($module eq 'XML::SAX::ExpatXS' && $^O eq 'MSWin32') {
my $mingw = 'C:\dev\CitrusPerl\mingw64';
$mingw = 'C:\dev\CitrusPerl\mingw32' if !-d $mingw;
if (!-d $mingw) {
print "Could not find the MinGW directory at $mingw; skipping XML::SAX::ExpatXS (only needed for faster parsing of AMF files)\n";
} else {
push @cmd, sprintf('--configure-args="EXPATLIBPATH=%s\lib EXPATINCPATH=%s\include"', $mingw, $mingw);
}
}

my $res = system @cmd;
if ($res != 0) {
if (exists $prereqs{$module}) {
Expand All @@ -145,36 +132,19 @@ EOF
}
}
}

if (!$gui) {
# clean xs directory before reinstalling, to make sure Build is called
# with current perl binary
if (-e './xs/Build') {
if ($^O eq 'MSWin32') {
system '.\xs\Build', 'distclean';
} else {
system './xs/Build', 'distclean';
}
}
my $res = system $cpanm, @cpanm_args, '--reinstall', '--verbose', './xs';
if ($res != 0) {
die "The XS/C++ code failed to compile, aborting\n";
}
}
}

if (@missing_prereqs) {
printf "The following prerequisites failed to install: %s\n", join(', ', @missing_prereqs);
exit 1;
} elsif (!$gui) {
eval "use App::Prove; 1" or die "Failed to load App::Prove";
my $res = App::Prove->new->run ? 0 : 1;
if ($res == 0) {
print "If you also want to use the GUI you can now run `perl Build.PL --gui` to install the required modules.\n";
} else {
print "Some tests failed. Please report the failure to the author!\n";
}
exit $res;
print "\n";
if ($gui) {
print "Perl dependencies for the Slic3r GUI were installed.\n";
} else {
print "Perl dependencies for Slic3r were installed.\n";
print "If you also want to use the GUI you can now run `perl Build.PL --gui` to install the required modules.\n";
}

print "\n";
print "In the next step, you need to build the Slic3r C++ library.\n";
print "1) Create a build directory and change to it\n";
print "2) run cmake .. -DCMAKE_BUILD_TYPE=Release\n";
print "3) run make\n";
print "4) to execute the automatic tests, run ctest --verbose\n";
__END__
75 changes: 75 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Boost 1.63 requires CMake 3.7 or newer
cmake_minimum_required(VERSION 2.8)

project(Slic3r)

if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
message(STATUS "No build type selected, default to Release")
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type (default Release)" FORCE)
endif()

if(DEFINED ENV{SLIC3R_STATIC})
set(SLIC3R_STATIC_INITIAL $ENV{SLIC3R_STATIC})
else()
if (MSVC OR MINGW OR APPLE)
set(SLIC3R_STATIC_INITIAL 1)
else()
set(SLIC3R_STATIC_INITIAL 0)
endif()
endif()

option(SLIC3R_STATIC "Compile Slic3r with static libraries (Boost, TBB, glew)" ${SLIC3R_STATIC_INITIAL})
option(SLIC3R_GUI "Compile Slic3r with GUI components (OpenGL, wxWidgets)" 1)
option(SLIC3R_PRUSACONTROL "Compile Slic3r with the PrusaControl prject file format (requires wxWidgets base library)" 1)
option(SLIC3R_PROFILE "Compile Slic3r with an invasive Shiny profiler" 0)
option(SLIC3R_MSVC_COMPILE_PARALLEL "Compile on Visual Studio in parallel" 1)

if (MSVC AND SLIC3R_MSVC_COMPILE_PARALLEL)
add_compile_options(/MP)
endif ()

# Find the Perl interpreter, add local-lib to PATH and PERL5LIB environment variables,
# so the locally installed modules (mainly the Alien::wxPerl) will be reached.
if (WIN32)
set(ENV_PATH_SEPARATOR ";")
else()
set(ENV_PATH_SEPARATOR ":")
endif()
set(ENV{PATH} "${PROJECT_SOURCE_DIR}/local-lib/bin${ENV_PATH_SEPARATOR}$ENV{PATH}")
set(ENV{PERL5LIB} "${PROJECT_SOURCE_DIR}/local-lib/lib/perl${ENV_PATH_SEPARATOR}$ENV{PERL5LIB}")
message("PATH: $ENV{PATH}")
message("PERL5LIB: $ENV{PERL5LIB}")
find_package(Perl REQUIRED)

# CMAKE_PREFIX_PATH is used to point CMake to the remaining dependencies (Boost, TBB, ...)
# We pick it from environment if it is not defined in another way
if(NOT DEFINED CMAKE_PREFIX_PATH)
if(DEFINED ENV{CMAKE_PREFIX_PATH})
set(CMAKE_PREFIX_PATH "$ENV{CMAKE_PREFIX_PATH}")
endif()
endif()

add_subdirectory(xs)

get_filename_component(PERL_BIN_PATH "${PERL_EXECUTABLE}" DIRECTORY)
if (MSVC)
# By default the startup project in MSVC is the 'ALL_BUILD' cmake-created project,
# but we want 'slic3r' as the startup one because debugging run command is associated with it.
# (Unfortunatelly it cannot be associated with ALL_BUILD using CMake.)
# Note: For some reason this needs to be set in the top-level CMakeLists.txt
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT XS)
set(PERL_PROVE "${PERL_BIN_PATH}/prove.bat")
else ()
set(PERL_PROVE "${PERL_BIN_PATH}/prove")
endif ()

enable_testing ()
add_test (NAME xs COMMAND "${PERL_EXECUTABLE}" ${PERL_PROVE} -I ${PROJECT_SOURCE_DIR}/local-lib/lib/perl5 WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/xs)
add_test (NAME integration COMMAND "${PERL_EXECUTABLE}" ${PERL_PROVE} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})

install(PROGRAMS slic3r.pl DESTINATION bin RENAME slic3r-prusa3d)

file(GLOB MyVar var/*.png)
install(FILES ${MyVar} DESTINATION share/slic3r-prusa3d)
install(FILES lib/Slic3r.pm DESTINATION lib/slic3r-prusa3d)
install(DIRECTORY lib/Slic3r DESTINATION lib/slic3r-prusa3d)
Loading