251 Commits

Author SHA1 Message Date
supermerill
a42bf8602f Create sprinter firmware option to decouple it from reprap, because of the changes in reprap-firmware.
also add g10 to temperature detection
2020-08-20 12:17:50 +02:00
supermerill
3ec2f077e5 #399 add an other pattern for brim ear: rectilinear with perimeter.
If you have problem with adhesion of the ear.
also some fixes about brim invalidation.
2020-08-20 01:57:54 +02:00
supermerill
446a0e9436 macos&linux build fix 2020-08-19 21:08:11 +02:00
supermerill
f5dd32d969 #287 filament shrinkage compensation 2020-08-19 15:23:40 +02:00
supermerill
a1acd5b167 #152manual seam placement tool, inspired from @dartrax pull request
Currently it only use the center of sphere, using the nearest z for each layer.
2020-08-19 13:01:29 +02:00
supermerill
2e5f70bb5f Merge branch 'dev' 2020-08-11 15:56:54 +02:00
supermerill
882555895f #360 skirt extrusion width 2020-08-09 17:32:36 +02:00
supermerill
65f97a9092 #351 reworked brim ordering, now similar as perimeter algo. 2020-07-31 15:22:15 +02:00
Justin Schuh
3f6a9f2ebf Add external_perimeter_fan_speed setting (part1)
Adds a new setting and plumbs through the UI to independently control
the fan speed for external perimeters. Filed as issue #2776.

merill note: i only picked the setting definition, as the other part will need an almost compete re-write
2020-06-05 15:20:44 +02:00
supermerill
f2a503cdc8 fix #260: optional M20X header 2020-06-01 22:34:02 +02:00
supermerill
0e6950ab25 fix builds: renamed enum option
adjust mac build list.
2020-06-01 16:02:27 +02:00
supermerill
43f9d15a55 update to arrange, add some arrange tests. Not better than before, but it's moving in the right direction, i guess? 2020-06-01 00:41:40 +02:00
supermerill
1afaa6ef49 create little hierarchy of config to better use ratio_over
fixes on ratio_over
fix Flow::extrusion_width (bad computation of first_layer_height)
fix enum visibility
moving test classes to prusaslicer test directory (wip)
all that because i was trying to write a test class for a modification in min_object_distance (and i didn't even start)
2020-05-31 03:54:58 +02:00
supermerill
5fbc891707 Slic3r++ to SuperSlicer renamed in all files.
and going to version 51
2020-05-30 03:52:56 +02:00
supermerill
5b6aaf8c29 move warning about complete object from pop-up to red foreground message. 2020-05-29 22:59:06 +02:00
supermerill
9b60be0c1a Initial working prototype for the milling post-process 2020-05-29 21:01:30 +02:00
supermerill
3bb0b228bc add sorting for complete_objects
fix (hopefully) a problem with sequential_print_horizontal_clearance_valid
2020-05-23 02:05:57 +02:00
supermerill
90b129e585 external_perimeter_cut_corners setting
it reduce the flow around corners, depending of the angle.
experimental status! not tested yet!
2020-05-23 02:05:51 +02:00
supermerill
af437e3f32 fix bug when unticking "complete objects" 2020-05-18 18:48:58 +02:00
supermerill
a0ff5c3fec #226 Moar Wipe on external perimeters 2020-05-11 23:58:57 +02:00
supermerill
fad19b4b1c #213 Wipe tower Brim size & wipe tower brim now printed with first_layer_width 2020-05-10 16:40:45 +02:00
supermerill
6f9dc88aa6 #224 setting to force one skirt with complete_objects 2020-05-10 16:40:40 +02:00
supermerill
04f25541b8 #199 allow the machine limits on non-marlin firmware and add for them a "Time estimation compensation" setting 2020-05-10 16:40:36 +02:00
supermerill
4151e8fab0 #186 brim settings on the object instead of the print. 2020-05-03 00:14:16 +02:00
supermerill
252809c7c6 #210 skirt & brim use the correct extruder (diameter) when creating the polylines.
Useful for multi-extruders machine with diferent nozzle size.
If an object is printed with multiple nozzle size, the first is used.
2020-05-02 19:20:50 +02:00
supermerill
f47e7a67c7 #178 brim offset 2020-04-21 17:08:08 +02:00
supermerill
2e48f4a4bd avoid crossing perimeters on all layers except first layer #198 2020-04-17 20:31:17 +02:00
supermerill
cb836d25ac #165 inside brim fix & allow only inside brim. 2020-03-28 21:04:12 +01:00
supermerill
dae1e892b6 relax max width (change by @foxox) 2020-03-26 23:07:41 +01:00
supermerill
f087cf1239 Merge remote-tracking branch 'remotes/prusa/master'
seems to work
need to update profiles & ui
2020-03-26 12:10:30 +01:00
supermerill
7f4c9c9a5c add "first layer flow" setting, for fuck sake first layer width isn't enough with a cheap printer like an ender3 that can have his bed damaged so easily. 2020-03-22 15:25:34 +01:00
bubnikv
dc1ffe15a8 Revert "Added "Filament spool weight" option to filament options"
This reverts commit 3d3e36ba8d22d3654fb6adb451dae9f0eb6cf818.

The change is too risky just before the PrusaSlicer 2.2.0 final release
and the feature may need a bit of polishing before release.
2020-03-14 09:49:12 +01:00
bubnikv
6b58f67fb8 "inifinit_skirt" renamed to "draft_shield"
Polished the tooltip for the draft shield.
Legacy conversion from old skirt_heigth == -1 to draft_shield = 1
2020-03-14 07:46:39 +01:00
YuSanka
56c6193ff4 Merge remote-tracking branch 'origin/ys_add_new_options' into ys_improvements 2020-03-13 11:49:51 +01:00
bubnikv
88fcdf4b97 num_extruders is now available from the output_file_name template. 2020-03-11 18:12:44 +01:00
YuSanka
7fd9c736b3 Implemented "Use unlimited skirt" option 2020-03-11 11:43:08 +01:00
YuSanka
3d3e36ba8d Added "Filament spool weight" option to filament options 2020-03-09 17:01:05 +01:00
bubnikv
ab72d5135b Fix of Placeholders do not respect filament overrides. #3649 2020-02-19 10:56:30 +01:00
Lukas Matena
9b73ecdf02 Fixed printing order of skirt-brim intersecting extrusions (#3634) 2020-02-17 12:57:43 +01:00
bubnikv
519a982fe9 Fix of #3632: Crash if a thin wall object is not printable, therefore
no extrusion is generated.

Now the situation is detected and an exception is thrown.
2020-02-09 18:34:06 +01:00
bubnikv
5eb1e7e886 Fixed a bug in the update of the backend when the Spiral Vase option
is enabled / disabled.

Spiral Vase forces different kind of slicing than the normal model:
In Spiral Vase mode, holes are closed and only the largest area contour is kept at each layer.
Therefore toggling the Spiral Vase on / off requires complete reslicing.

This commit moves the update to the correct location.
2020-02-09 13:56:42 +01:00
bubnikv
348bf39012 Fix of the previous commit: Fixed sequential print unit tests. 2020-02-07 14:43:13 +01:00
bubnikv
b8c898bf40 Fixed a bug in validation of the FDM Print to check for extruder
collisions against already printed objects: Rotation of an object
was not being taken into account.
Fixes #2450 PrusaSlicer 2.0 Sequential printing vs rotate object
Fixes #3585 Always Sequential Printing Error (Regardless of setting, placement or object size)

Fixed some collisions in sequential print just after arrangement by
making the validation using a slightly lower extruder radius value
than the arrangement.

Refactored PrintObject coordinate system so that the PrintObject's
coordinate system is always centered in respect to its ModelObject's
geometries. This refactoring may improve path planning a bit and
it may lower the requirements on bits representing Clipper coordinates
by 1 bit.
2020-02-07 14:10:27 +01:00
bubnikv
fb235cb675 Color change - handling Color Change data stored for different
printer configuration:

ss -> sm : Just apply the color changes of the original ss project at the active extruder.
ss -> mm : There are no tool changes stored. Ignore color changes, they are invalid because they are extruder non-specific.

sm -> ss : Apply tool changes as color changes (tool changes remember the target color), apply original color changes.
sm -> mm : Ignore both color changes and tool changes.

mm -> ss/sm : Ignore both color changes and tool changes.
2020-02-06 14:03:27 +01:00
bubnikv
bca3e86455 Fixed invalidation of FDM back end if a custom per layer
extruder change is added or removed.
2020-02-04 17:46:31 +01:00
bubnikv
059bdb4711 Implemented handling of complex ConfigOptionFloatOrPercent chains
by the PlaceholderParser.

Namely, all the options with the "ratio_over" reference are now handled
correctly by the PlaceholderParser with the exception
of the "first_layer_extrusion_width", which overrides speed of extrusions
by their respective extrusion type.

Also the various extrusion widths (extrusion_width, first_layer_extrusion_width,
external_perimeter_extrusion_width etc.) produce the same numbers
as if ran through the back-end, with the assumption of not overriding
layer height by the variable layer height editing tool or layer height
modifiers.
2020-02-04 15:27:38 +01:00
bubnikv
c5fa400208 Fixed regression of 71fa41110049a79ec1d5c3052d22647a38d01bed
where the PrintObject bounding box was not invalidated correctly
when the transformation matrices of instances changed.

Also refactored PrintObject::size() for const correctness.
2020-01-30 12:22:30 +01:00
YuSanka
1ed313ab79 Synchronized mode of color_print data to/from 3mf/amf
+ Code refactoring " CustomGCode extracted to separate namespace and file
2020-01-23 16:11:21 +01:00
bubnikv
71fa411100 Refactored PrintObject::m_copies to PrintInstances,
so that the ordering code at G-code export may work directly with
pointers to PrintInstances instead of with pair of <PrintObject, copy idx>.
Also the PrintInstance knows its source ModelInstance, which allows
sorting of PrintInstances for sequential printing in the order
they appear in Plater's object list.
2020-01-23 09:53:06 +01:00
YuSanka
2259f7b3e8 Code refactoring to mode comparison 2020-01-17 12:24:58 +01:00