4791 Commits

Author SHA1 Message Date
efa
dc9d7ed70f Now work as startup script from every directory, also if runt from a link in /usr/bin, with spaces, or from a desktop shortcut (#4266) 2018-01-21 16:16:28 -06:00
Joseph Lenox
19ea7a596a
Long retract support in marlin and repetier for FW retract. (#4108)
* For reprap (really Marlin) or Repetier flavors and a toolchange retract, produce G10 S1 instead of G10.

Also refactored comments (were getting eaten by fw retract)

* Fixed tests to check for correct retract gcode output.

* Better reference to scalar.

* Added config checks for if fw tool retracts are in place and firmware is repetier/marlin, disable the advanced option.

* Disable z lift if firmware retraction is enabled.

* With gcode comments on, indicates which extruder Slic3r thinks it is retracting/unretracting.
2018-01-08 15:08:30 -06:00
Joseph Lenox
86c3600684 Fix external perimeter width to nozzle diameter to avoid auto width messing things up 2018-01-05 20:48:42 -06:00
David Eccles (gringer)
54fe2e4145 Update 3D Honeycomb Infill to switch directions at squares rather than every line (#4049)
* Initial attempt at updated minimal-bridging honeycomb pattern

* Revert, make incremental change of existing code
2018-01-05 20:20:06 -06:00
Ahmed Samir
1190a74f4e Support moving objects using keyboard arrows in the 2d plater view. (#4104)
* * Add nudge_instance to 2D.pm to move the selected instance.
* Add menu items ->, -<, ^, v keyboards shortcuts.

* Add Set nudge value as a config option in Preferences.

* Add Move instance submenu to Plater menu.

* Add Move instance icon.

* Remove move instance menu item and use EVT_KEY_DOWN instead in 2D.pm.

* Fix selecting objects between 3D and 2D platers.

* Fix Ubuntu keyboard focus error in 2D plater.

* Correct the keycodes in 2D.pm keyboard event.

* Fix Windows keyboard focus error.

* Remove Todo line.

* Adding a minimum value for 2d plater nudege variable and improving keyboard focus in 2D plater.
2018-01-05 20:16:04 -06:00
Joseph Lenox
b6209c4ee3 herp herp derp static methods. 2018-01-05 20:14:30 -06:00
Joseph Lenox
54e86b7307 Reduce bounds on auto width again (the math likes to go very wide which is not feasible if your nozzle isn't really big).
Should address #4212
2018-01-05 20:02:54 -06:00
Joseph Lenox
d8a331fda0 Re-added original on_change hook back onto the optgroup that
contained the extruders so that the state of has_heatbed is
correctly updated.

Fixes #4249
2018-01-02 14:03:21 -06:00
Joseph Lenox
a1a2a31e77 Use the default extrusion width for the first loaded object if the configured perimeter width and first layer width is 0.
Fixes #4245
2017-12-29 20:12:34 -06:00
Giles Bathgate
966fd37ea7 Use statusbar to show warnings instead of obtrusive dialog box (#4220) 2017-12-29 19:17:13 -06:00
tmotl
dccb146b4a show close button for the first profile editor tab if controller tab is disabled (#4244) 2017-12-29 19:09:03 -06:00
platsch
6dd400914e Removed factor 4 from layer height gradation, don't apply min/max layer height limitation after gradation. Fixes #4235 (#4241) 2017-12-21 10:39:47 -06:00
platsch
93c898f4bc apply conditional gcode parser to tool change gcode (#4229)
* apply conditional gcode parser to tool change gcode

* provide [previous_retraction] and [next_retraction] in toolchange gcode and [current_retraction] in layer change gcode
2017-12-21 10:38:17 -06:00
Giles Bathgate
d0e2adea4e Ensure that modifiers are aligned to the center of the part. (#4170) 2017-12-21 10:36:50 -06:00
Joseph Lenox
d27b8a933e Revert "Ensure order of operations for calculating min_dz, also apply adjustment to first layer height."
This reverts commit e0a82eee3de44eb83dcd8bdf729b29457ddeac6a.
2017-12-17 19:41:15 -06:00
Joseph Lenox
498ac0c5b6 Revert "Caught another use of z steps per mm that needs to be clear in its application."
This reverts commit 8f26cd7619bed295f114ac279d6d63169086b400.

Fails tests.
2017-12-17 19:40:35 -06:00
Joseph Lenox
8f26cd7619 Caught another use of z steps per mm that needs to be clear in its application.
Fixes #4235
2017-12-16 23:36:53 -06:00
Joseph Lenox
e0a82eee3d Ensure order of operations for calculating min_dz, also apply adjustment to first layer height. 2017-12-16 23:30:33 -06:00
Giles Bathgate
54205b7df6 Fixes the GL_MULTISAMPLE and GL_ARRAY_BUFFER_ARB messages on failed launch (#4230) 2017-12-14 18:57:29 -06:00
Joseph Lenox
576a86d449 Consider filament start gcode when deciding whether or not to prepend heating gcode.
Fixes #4223.
2017-12-10 15:10:33 -06:00
Giles Bathgate
b5276e6e25 Auto align z preference (#4218)
* Add preference to disable auto alignment to the z plane

* Make it clear auto-center preference only effects x,y
2017-12-07 18:35:01 -06:00
rmx-it
02b5014b57 Fix compiling for FreeBSD (#4188)
Fix compiling at least for FreeBSD 11+
2017-12-07 18:33:21 -06:00
Joseph Lenox
8ca6171a0a Fix test and really emit {} on parse failure. 2017-11-06 22:03:27 -06:00
Joseph Lenox
f7e6d53e06 Allow the use of escaped open/close brackets so that brackets may be emitted in the output (does not permit use of {} inside evaluations).
Fixes behavior to emit brackets on failure.

Fixes #4180
2017-11-06 22:00:21 -06:00
Joseph Lenox
f366700b44 Emit original string on failure to parse. 2017-11-06 21:11:17 -06:00
Joseph Lenox
add2895f38 Commit workaround for #4174 to push brim slightly closer to model. 2017-10-30 16:17:35 -05:00
Joseph Lenox
5499674137 Changed comment to doxygen in BridgeDetector 2017-10-28 13:29:39 -05:00
Joseph Lenox
3a29aeccd9 Fix label for support material interface width. 2017-10-22 23:03:16 -05:00
Joseph Lenox
db2369526b Fix compilation on OSX because clang is specific about default constructors not being specified in exprtk 2017-10-22 19:35:10 -05:00
Can Geliş
a553d6de3d New configuration for support material interface extrusion width (#4086)
* different configuration for support material interface extrusion width

* add test for support material interface extrusion width
2017-10-21 17:16:49 -05:00
Can Geliş
451f2e3914 constant speed for too short displacements (#4088) 2017-10-21 17:14:54 -05:00
Joseph Lenox
e29fbee967 Pull changes to SVG.cpp to (#4144)
* Add lock/unlock using flock() for output gcode files.

* Added description of unsupported_edges() from the cpp

* Ported updates to SVG class from prusa3d/Slic3r. Thanks @bubnikv

* Revert "Add lock/unlock using flock() for output gcode files."

This reverts commit a0d42fe3dcda714a8ccc0230a113ed6f85159e6b.
2017-10-21 17:13:44 -05:00
Can Geliş
b3bd918f29 Fix comparison bw integer and pointer (#4155)
* Fix comparison bw integer and pointer

Error: ISO C++ forbids comparison between pointer and integer [-fpermissive]

* Check for nullptr input string.
2017-10-21 14:58:24 -05:00
Giles Bathgate
2675e697ef Provide warning when object(s) are outside print bed. (#4163) 2017-10-21 11:11:16 -05:00
Joseph Lenox
202a90ff90 Math evaluation in gcode (#4157)
* Prototype gcode infix math, very basic.

* Adding exprtk math parser library, header only.
@ArashPartow
https://github.com/ArashPartow/exprtk@4e1315a87dcc99a1ccad21fae1def0c2d4913c0f

* Now evaluating strings with exprtk, only support no variables in input
strings.

* Moved executable code to cpp file, stubbed out xsp and let the testing begin...

* Added conditional gcode parser into export path, added tests.

* Added one more test to ensure that {if0} only removes up to newlines.

* Test failure to parse

* Add some compiler flags to compile out stuff from exprtk

* Fix debug messages to be more specific, don't use deleted stringstream = method.

* Trade expression speed for apparently around 50MB of object size.

* Removed an extra trim that was breaking existing tests.

* fix test

Fixes #3390
2017-10-20 21:40:05 -05:00
Giles Bathgate
4f2250dc70 Fix to autocenter option. (#4156)
* Fix to autocenter option.

Ensure that with autocenter turned off the part is not positioned
in the center of the bed.

* Ensure object is aligned to Z=0 with autocentering off.
2017-10-19 23:35:39 -05:00
platsch
f302df3fb6 Renamed Layers Tab to Layer height table and updated description of this dialog (#4158) 2017-10-19 23:31:35 -05:00
Shien Yang Lee
dc6cfffae4 Added option to manually reorder sequentially printed objects via plater (#4153)
* Added option to tell Slic3r CLI to not arrange at all.

* Implement manual override to object printing order during sequential printing.

* Undo accidental merge of pull request #4146 from alexrj/Slic3r.git
2017-10-16 23:08:13 -05:00
Ahmed Samir
ed65c81d11 Add 3MF format to ReadMe.md (#4152) 2017-10-14 16:02:34 -05:00
Can Geliş
a28f431d04 fix acceleration gcode for reprapfirmware (#4083) 2017-10-01 23:25:34 -05:00
Chow Loong Jin
b9592961fa Fix importing of binary STLs in big-endian architectures (#4143)
Fix from https://github.com/admesh/admesh/pull/26
2017-10-01 16:01:51 -05:00
Joseph Lenox
7bf852201f Use input name for cut. Also use find_last_of() instead of find_first_of() to properly capture names with periods in them.
Fixes #4136
2017-09-28 23:53:56 -05:00
Joseph Lenox
695f5fd86c Add Adaptive slicing to CLI makefiles. 2017-09-28 22:39:24 -05:00
Joseph Lenox
e9c0c93ff1 Address warnings about comparing signed/unsigned integers. 2017-09-28 22:20:30 -05:00
Joseph Lenox
90f66ea9b9 Allows hiding of the Controller tab (controller tab still defaults to visible).
Fixes #3984
2017-09-28 07:49:09 -05:00
platsch
d1e4fa6889 Fixes tab/space artefact from adaptive-slicing merge (#4138) 2017-09-26 07:26:37 -05:00
Can Geliş
5514c84f2e Fix generating supports for hovering slices (#4129) 2017-09-24 13:45:21 -05:00
Joseph Lenox
e6c715cad2 Merge branch 'adaptive-slicing' into merge-adaptive
# Conflicts:
#	xs/src/libslic3r/Model.cpp
#	xs/src/libslic3r/Model.hpp
2017-09-24 13:39:28 -05:00
Joseph Lenox
5ae6a7fe3e Corrected open() syntax. Fixes #4128, thanks to @rob-miller for the heads-up. 2017-09-24 12:56:10 -05:00
Joseph Lenox
29d2159e29 Increased maximum baud rate for serial connections to 500k for those of you who like to live dangerously. Fixes #4131 2017-09-24 12:52:31 -05:00