526 Commits

Author SHA1 Message Date
Alessandro Ranellucci
e5bd2ef801 Ported PrintObject::clip_fill_surfaces() to C++ 2018-11-26 01:01:02 +01:00
Joseph Lenox
1ae53d02c5
Ensure filament_extruder is reinitialized. 2018-11-06 08:17:37 -06:00
Joseph Lenox
5509afa82a #4569 Added new gcode placeholder, [filament_extruder_id] that is only valid in filament start/end gcode and refers to which position this filament is loaded in. 2018-11-05 19:50:29 -06:00
Joseph Lenox
d17659b67c Add GIT commit version to About dialog and to exported GCode.
Implements #4532
2018-09-07 21:40:49 -05:00
Joseph Lenox
fbdb8da86b Prime layer_num and layer_z for end_gcode. 2018-09-02 11:20:00 -05:00
Samir55
737353a85b Refactoring. 2018-07-15 04:34:49 +02:00
Samir55
1ed0191345 Reverting back SupportMaterial.pm 2018-07-11 08:06:23 +02:00
Samir55
4f77048fb5 Porting generate() function. 2018-07-11 08:00:30 +02:00
Samir55
5a2e71283d Porting object_top function. 2018-07-11 05:24:30 +02:00
Samir55
9c8e48595d porting contact_area function. 2018-07-11 02:36:50 +02:00
Samir55
5546d28150 Porting supports_z funtion. 2018-07-10 16:45:03 +02:00
Joseph Lenox
55a4e95b94 Oops, missed a line when editing to use label_printed_objects 2018-07-05 14:49:44 -05:00
Joseph Lenox
75de746431 Added specific option for labelling gcode sections on object change. Finishes implementing #4444
Thanks to @supermerill for the initial implementation.
2018-07-05 13:55:33 -05:00
Merill
89f8623eea CancelObject implementation (#4470)
* CancelObject implementation
activated with "verbose gcode" option

* typo
2018-07-05 13:28:28 -05:00
Ahmed Samir
1527cfbb26 Allow to set shell thickness for top/bottom layers (#4430)
* Fix a warning in PresetEditor line 806.

* Remove min_shell_thickness from the if condition in  LayerRegion.cpp

* Add missing line in spiral vase check.

* Add initial set top shell thickness.

* Add minimum shell thickness for top/bottom layers.

* Some refactoring.

* Some Fixes.

* revert last change.

* a fix.

* Some refactoring.

* Some fix in calculating solid layers count.

* Refactoring in LayerRegion.cpp, Object.pm and PresetEditor.pm
2018-06-06 19:26:03 -05:00
Jacob Greenfield
4fa6251dd5 Pillar config (#4410)
Implements workaround for #4407 

* Added support for pillar size configuration.
* Pillars UI fix
* Pillar configuration fix
* Fixed misspelled variable name.
* Strings are not numbers.
* Fixed pillar spacing label.
2018-05-12 20:03:50 -05:00
Joseph Lenox
bc145c5c73 Use end_gcode, not start_code for determining to append bed cool command. 2018-04-24 19:03:56 -05:00
Joseph Lenox
44dc572bf7 Use heatbed config option to determine whether to auto-include M140 S0 at end. 2018-04-24 19:00:25 -05:00
Joseph Lenox
d8a743d177 If M190, M109, M104, or M140 commands are not present in end gcode, append commands to shut off all hotends and the bed (same as start gcode). 2018-04-24 18:35:29 -05:00
Jaggz H
a46aa09755 Added max-support-layers (support_material_max_layers) (#4148)
* Added max-support-layers (support_material_max_layers)
* Revised tooltip text for support_material_max_layers
* Disable support_material_max_layers if no support.
2018-04-14 14:28:55 -05:00
DN
6454abfd5f Raft pattern angles (#3001) (#4334)
Fixes #3001
2018-04-04 22:43:58 -05:00
Joseph Lenox
5fd87dfab8
Update GCode.pm
Missed a call to process() when performing conditional gcode evaluation.
2018-02-20 14:02:31 -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
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
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
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
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
Can Geliş
5514c84f2e Fix generating supports for hovering slices (#4129) 2017-09-24 13:45:21 -05:00
Florens Wasserfall
c0dfffe0ff Merge branch 'master' into adaptive-slicing 2017-06-21 15:49:24 +02:00
Joseph Lenox
e064fdf170 Added notes to beginning of output gcode.
Order is Print -> Filament -> Printer.
Empty fields should not produce any output.

Also a bugfix - Printer notes were implemented as Strings when should have been String.
2017-06-03 19:26:58 -05:00
Alessandro Ranellucci
6e2ffaf4ca Bugfix: first_layer_temperature was ignored by ooze_prevention for first layer skirt/brim. #3964 2017-05-21 16:34:19 +02:00
Alessandro Ranellucci
1d97698270 Ignore too thin extrusions when computing the volumetric speed, otherwise very slow speeds would be generated. #3868 2017-05-05 00:26:08 +02:00
Alessandro Ranellucci
c82302e284 Fixed regression in dont_support_bridges. #3859 2017-05-02 00:56:39 +02:00
Alessandro Ranellucci
b69a52b105 Merge pull request #3877 from jaggzh/jaggz--enforce-supports-logic
Addressed logic of enforced supports.
2017-04-27 13:01:35 +02:00
Florens Wasserfall
57826c9262 Merge branch 'master' into adaptive-slicing 2017-04-19 09:29:23 +02:00
Jaggz H
b500f0cc01 changed overhang threshold for enforced supports from 75 to 89 2017-04-18 18:05:54 -07:00
Florens Wasserfall
2c85797c1f Introduce new step PosLayers to split layer generation and slicing 2017-04-18 13:48:36 +02:00
Alessandro Ranellucci
3776f1afc6 Fixed regression causing posPrepareInfill invalidation to have no effects. #3874 2017-04-18 00:05:23 +02:00
Joseph Lenox
1857bf6391 SupportMaterial operates in angle, underling XS Fill operates in radians. Convert degrees->radians
Fixes #3861
2017-04-15 14:31:31 -05:00
Jaggz H
3164217e3d Addressed logic of enforced supports. There are inconsistent rare crashes which I cannot find as related to my changes. 2017-04-12 19:52:03 -07:00
Joseph Lenox
5cc2d346a2 Wrong logic on detecting use of % for support threshold. Fixes #3842. 2017-04-10 19:16:30 -05:00
Alessandro Ranellucci
bc96a1a268 New customizable G-code to be added between objects when using sequential printing. (by @lordofhyphens) #3264 #3275 2017-04-04 18:51:06 +02:00
Alessandro Ranellucci
de1c900d8f Since prepare_infill is not actually idempotent, recalculate perimeters every time. #3827 2017-04-04 17:10:43 +02:00
Florens Wasserfall
f43e004f44 Merge branch 'master' into adaptive-slicing-spline
and added Spline variable to ModelObject
2017-04-03 18:01:06 +02:00
Joseph Lenox
068ef7b9af Use multiplication for support material speed
It's initialized same as infill, caused division by 0 when 'auto' speed for support material was selected.
Fixes #3837
2017-04-02 22:08:38 -05:00
Alessandro Ranellucci
3f0fea7585 Refactoring: moved Fill::adjust_solid_spacing() to Flow::solid_spacing(). 2017-04-02 17:14:07 +02:00
Alessandro Ranellucci
678ae9de72 Keep brim always attached to the object when support material is enabled. #2981 2017-04-02 17:14:07 +02:00
Alessandro Ranellucci
3271010226 Write mm^3/s to the G-code comments 2017-04-01 10:19:14 +02:00
Alessandro Ranellucci
9b4fe076a6 Workaround for detect_surfaces_type() not being idempotent and causing artifacts after multiple runs. #3764 2017-03-28 15:58:52 +02:00
Alessandro Ranellucci
ff9bae79ca Merge pull request #3796 from platsch/slice_xs
Ported parts of Slice to xs
2017-03-28 10:37:52 +02:00