540 Commits

Author SHA1 Message Date
Marco Munari
d73ab66970 add --rotate-x and --rotate-y to slic3r.pl command line parsing
and their correspondent implementation and documentation
I previously created issue #4862 to submit this change
2021-03-14 20:01:12 -05:00
Roman Dvořák
0ed96db439
Used filament outputs (gcode comments) in more computer-parseable format (#4969)
* Used filament outputs (gcode comments) in more computer-parseable format

* Auto stash before rebase of "refs/heads/filament_calculations"

* Used filament outputs (gcode comments) in more computer-parseable format

* Auto stash before rebase of "refs/heads/filament_calculations"
2020-07-22 22:26:17 -05:00
Roman Dvořák
f442fa7782
calculation of COG in Slic3r (#4970)
Implement center of gravity (COG) calculation and gcode output in Slic3r.
2020-06-07 21:24:41 -05:00
Nick Neisen
1a0fc94c3b Set the current_extruder value for the GUI 2019-09-22 21:46:42 -05:00
supermerill
c221e97ddc refactor perl to also use the flag system (only one line really use it in suportmaterial.pm) 2018-11-29 14:13:37 +01:00
Alessandro Ranellucci
c0465d0434 Ported PrintObject::prepare_infill() to C++ 2018-11-26 23:45:19 +01:00
Alessandro Ranellucci
aac9c2481c Ported PrintObject::infill() to C++ 2018-11-26 21:24:33 +01:00
Alessandro Ranellucci
1cc8a8d3e3 Ported PrintObject::detect_surfaces_type() to C++ 2018-11-26 21:17:54 +01:00
Alessandro Ranellucci
f2e2c9aa71 Ported PrintObject::make_perimeters() to C++ 2018-11-26 21:16:37 +01:00
Alessandro Ranellucci
f7509f2a3f Ported PrintObject::slice() to C++ 2018-11-26 21:13:04 +01:00
Alessandro Ranellucci
2bbb089a4f Ported PrintObject::combine_infill() to C++ 2018-11-26 13:57:31 +01:00
Alessandro Ranellucci
fb3aba351b Ported PrintObject::discover_horizontal_shells() to C++ 2018-11-26 11:09:53 +01:00
Alessandro Ranellucci
ea186f5651 Ported PrintObject::_simplify_slices() to C++ 2018-11-26 09:25:15 +01:00
Alessandro Ranellucci
725d0ab408 Ported PrintObject::_support_material_flow() to C++ 2018-11-26 01:01:02 +01:00
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