24705 Commits

Author SHA1 Message Date
Jaime van Kessel
ec5796400b
Remove hardcoded narrow_margins
CURA-7745
2020-10-08 17:55:11 +02:00
Jaime van Kessel
3e67d20890
Remove monitor_text_primary
It's so close to the text one that it really doesn't make sense to keep it.
Boyscouting the code a bit here

CURA-7745
2020-10-08 17:31:19 +02:00
Jaime van Kessel
910d8ec472
Fix reference error
CURA-7745
2020-10-08 17:22:24 +02:00
Jaime van Kessel
99f42c179f
Remove hardcoded value for num extruders
CURA-7745
2020-10-08 17:18:24 +02:00
Kostas Karmas
8678682d94 Reformat file and remove unused import
CURA-7440
2020-10-08 16:27:36 +02:00
Ghostkeeper
6bfa24686f
Mark disallowed areas as disallowed areas
Also improve the filtering a bit so that it's no longer dependent on the order. Doesn't really matter in this case but it should be more robust.

Contributes to issue CURA-7754.
2020-10-08 11:10:24 +02:00
Jaime van Kessel
a46bf8d6fa
Apply suggestions from code review
CURA-7440

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2020-10-08 09:43:22 +02:00
Remco Burema
24f95a9cab
Fix confusing nozzle-node 'ghost' in simulation-view.
part of a 30-min fix
2020-10-07 16:22:22 +02:00
Jip-Hop
3a16750b5a
Update creality_cr10max.def.json
We need the same fix as in https://github.com/Ultimaker/Cura/pull/7526 for the CR-10 Max as well.
2020-10-07 16:10:22 +02:00
Kostas Karmas
f25bfd717e Recalculate the number of user settings after setting the quality group
So that the dialog ensures actually knows that there are no changed settings and will not show up.

CURA-7728
2020-10-06 09:55:11 +02:00
Ghostkeeper
55f0c10f94
Upgrade usage of support_tree_enabled
This setting no longer exists.

Contributes to issue CURA-7752.
2020-10-05 17:59:57 +02:00
Ghostkeeper
87eca6f46a
Raise error if there is a syntax error in stored post-processing scripts
Instead of just crashing the entire application.

Fixes Sentry issue CURA-19W.
2020-10-05 17:59:25 +02:00
Jaime van Kessel
d801f9838a
Fix mypy issues
It doesn't seem to like blanket imports

CURA-7440
2020-10-05 14:52:50 +02:00
Jaime van Kessel
59b9639d87
Don't let arranger place all objects on the same spot if they don't fit
CURA-7440
2020-10-05 14:31:42 +02:00
Jaime van Kessel
a14135be5e
Add some documentation to the arrange nest algorithm
CURA-7440
2020-10-05 14:24:34 +02:00
Jaime van Kessel
9312dc5c07
Add deprecated tag to arranger
CURA-7440
2020-10-05 14:15:49 +02:00
Jaime van Kessel
a1f43e7bcf
Also use the new arranger when multiplying objects 2020-10-05 14:09:50 +02:00
Ghostkeeper
9b5005fc90
Fix Biqu definition files
There were a number of problems with it:
* There were duplicate JSON keys. One of the duplicates gets ignored then according to the JSON implementation in Python.
* There were some 'value' properties that contained undefined variables since the setting type was a string and the value is a string containing a Python expression that should result in a string, not a plain string.
* There was one instance in which a 'default_value' property contained a formula.

Contributes to issue CURA-7752.
2020-10-05 13:47:24 +02:00
Jaime van Kessel
5823140b21
Always add multiplied nodes to the root.
No idea why it was using the parent of the current node. It's
technically the same, but this is much more explicit

CURA-7440
2020-10-05 13:45:24 +02:00
Ghostkeeper
a73cd96e1a
Rename Biqu quality profiles to have unique IDs
These IDs were the same as the Creality profiles. As a result, only one profile could load into Cura of the two duplicates. In this case it chose Biqu's profile, and the Creality profiles wouldn't load as a result.

Contributes to issue CURA-7752.
2020-10-05 13:39:31 +02:00
Jaime van Kessel
30966beed2
Let autoplacement also take the existing nodes into account
CURA-7440
2020-10-05 13:37:57 +02:00
Jaime van Kessel
a34f1a6504
Arrange newly placed models
CURA-7440
2020-10-05 13:14:21 +02:00
Jaime van Kessel
2d084c9e2b
Remove the old arrange from mesh placement on load
For some reaso it was also handling the move up to the buildplate (which it
really shouldn't do)

CURA-7440
2020-10-05 13:08:28 +02:00
Ghostkeeper
abe2a56a03
Merge branch 'hotfix/simplify-baud-job-plugin' of https://github.com/aerotog/Cura into aerotog-hotfix/simplify-baud-job-plugin 2020-10-05 13:02:13 +02:00
Ghostkeeper
2ec5ffba0d
Assign FABtotum profiles to 0.4mm nozzle
This is the default (preferred) nozzle for the FABtotum Personal Fabricator.
Apparently when these nozzle profiles were added, the existing quality profiles weren't considered. We'll now put them on the nozzle size that the FABtotum printer had before the nozzle profiles were added. There is also the Pro nozzle for FABtotum but I think the Lite is more likely what the profiles were originally made for, since that is the default.
2020-10-02 15:04:57 +02:00
Ghostkeeper
5415ded35d
Update setting_version of new profiles
Normally we'd require contributors to submit up-to-date profiles but in this case they did, we were just slow to respond.

Contributes to issue CURA-7757.
2020-10-02 14:05:24 +02:00
Ghostkeeper
b2a5cd9703
Merge branch 'master' of https://github.com/eMotion-Tech/Cura into eMotion-Tech-master 2020-10-02 13:51:17 +02:00
Ghostkeeper
cd683bdcb6
Clarify description of what happens if bed temperature is 0
A bit more accurate.

Fixes #8460.
2020-10-02 13:31:57 +02:00
Jaime van Kessel
274dc8d06c
Split up arrange
This splits up the finding of new positions with the actual move. This is needed
for when we want to place new nodes on model load.

CURA-7440
2020-10-02 11:21:57 +02:00
Jaime van Kessel
c25351c98a
Remove unused imports
CURA-7440
2020-10-02 10:06:41 +02:00
Jaime van Kessel
8c1985cdb3
Move nest2darrange to it's own function
This makes it a lot easier to re-use it

CURA-7440
2020-10-02 10:06:09 +02:00
Jaime van Kessel
c33c025a6c
Add getters for Width/height/depth to build volume
CURA-7440
2020-10-02 10:04:46 +02:00
Tim Guenthner
27eb72c64a Remove redundant variable 2020-10-01 19:47:41 -05:00
Luke Harrison
ecf32a261e
Added BIQU machine base files as well as BIQU B1 machine files. (#8276)
* Added BIQU machine base files as well as BIQU B1 machine files.

* Fixed a variants settings version error.

* Updated base def by removing excluded materials and changing the pref to pla175

* Fixed the machine name value which should only take a default value and not also a value.

* Increased the max extruder feedrate to allow the default retraction speed.

* Removed comments from the quality profiles. Removed author from variants. Adjusted materials in quality profiles to refer to the 175 profiles directly.

* Enabled coasting by default in the B1 profile and increased the width of infill for the base profile.

* Updated all quality and variants configs to use settings version 16 in anticipation of release 4.8

* Final tweaks to B1 start gcode

* Added an ABL version of the B1 with tweaked start codes.
2020-09-30 17:00:10 +02:00
Remco Burema
395cdc14bb
Add warning max-value to skin-edge-support settings.
Can keep the CPUoccupied for a long time with higher values. Decided that very few people will need that many layers anyway. Rather than complete defer, at least warn people something might be up.

a 5-min. fix
2020-09-30 12:41:36 +02:00
Jaime van Kessel
e0e65b91b5
Take disallowed areas into account when arranging
CURA-7440
2020-09-30 10:34:35 +02:00
Jaime van Kessel
73289b2a77
Place objects that we couldn't fit next to the buildplate
CURA-7440
2020-09-28 16:21:47 +02:00
Jaime van Kessel
b0a8a5ccab
Switch out the arranger algorithm for arrange all
CURA-7440
2020-09-28 16:16:47 +02:00
Mathieu
1ac59d8857
Add support for Creality CR-6 SE (#8407)
* Add Creality CR-6 SE definition

Also did a few changes in the creality base.

* Add Creality CR-6 SE Nozzle variants

* Update creality_base.def.json

Reverted back to the 4.7 base file

* Update creality_cr6se.def.json

* Update creality_cr6se_0.8.inst.cfg

* Update creality_cr6se_0.6.inst.cfg

Updated to version 16

* Updated to version 16

* Updated to version 16

* Update to version 16

* Update to version 16

* Update to version 16
2020-09-28 12:25:17 +02:00
Ghostkeeper
c849312ecf
Use canonical MIME type for STL files
This is the canonical MIME type for STL files since March 2018: https://www.iana.org/assignments/media-types/model/stl
There is no longer a difference between the MIME type of binary vs. ASCII STL files now.
2020-09-28 11:56:54 +02:00
Ghostkeeper
a747ca0661
Fix filtering of output MIME types removable drive
The RemovableDriveOutputDevice was selecting the preferred format to save the slice output in automatically. To select this, it was taking the intersection between the available output formats (for which there is a Writer plug-in) and the file formats that the printer supports. However if the printer supports a file format that is not supported by Cura, it would crash here because it was looking up the plug-in for a MIME type it doesn't know about. Stupid mistake. But not half as stupid as the bug I'm about to fix in the next commit.

Fixes #4827.
2020-09-28 11:44:19 +02:00
FusedForm
ca108ae95c
Add Fused Form 3D printer profiles (#8231)
* Add files via upload

* Add files via upload

* Add files via upload

* Update fusedform_300_draft_abs.inst.cfg

* Add files via upload

* Delete fusedform_300_draft_abs.inst.cfg

* Delete fusedform_300_draft_pla.inst.cfg

* Deletion of old files

* changes in STD quality profiles

* Changes in mini quality files

* Changes in FF600 quality files

* changes in machine definition name

* Changes in definition files

* extruder and definition linking

* ff300 inherits and extruder def

* Update fusedform_300.def.json

* category deprecation in definitions

* inherits

* ff300 extruder definition machine

* extruder machine definitions

* Fused form FF600plus machine profiles

* PETG profiles

* Update fusedform_300.def.json

* changes in start gcode

* machine configuration dynamics on definitions

* speed adjustments

* dynamics modification in petg and flex quality

* Further adjustments on dynamics definitiosn

* Modification of all files under inherits data structure.

* Quality setting version 15 to 16

* These changes are for limiting quality types in the materials defined

* Quality Modification under Global and Material specific structure

Global quality structures and material specific definitions under the global structures
2020-09-28 11:33:47 +02:00
KOUBeMT
d7ef9355a3 Delete s3d_std1.2_PLA_H.inst.cfg 2020-09-25 10:25:01 +02:00
KOUBeMT
b049974cc5 Create s3d_std1.2_PLA_H.inst.cfg 2020-09-25 10:24:13 +02:00
Kostas Karmas
3d2d651b73 Fix crashing if QNetworkReply contains no status code
Display an appropriate message instead
2020-09-24 12:08:16 +02:00
Wolfgang Mauer
8ff8a2292c
Add BLV mgn Cube printer definition (#8261)
* Add BLV mgn Cube printer definition

* Add BLV mgn Cube printer definition

* Add BLV mgn Cube printer definition

* Add files via upload

* Delete blv_mgn_cube_300_platform.stl

* Delete blv_mgn_cube_350_platform.stl

* Delete blv_mgn_cube_300_platform.3mf

* Delete blv_mgn_cube_350_platform.3mf

* Add files via upload

* Update Meshes to 3mf

* Delete blv_mgn_cube_platform.3mf

* Add files via upload

* Delete blv_mgn_cube_235.def.json

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete blv_mgn_cube_235.def.json

* Correct position of 3mf

* Correct position of 3mf

* Update properties

* Update blv_mgn_cube_base.def.json

* Update some properties

* Update blv_mgn_cube_base.def.json

* Update to settings_version 16

* Update to settings_version 16
2020-09-24 09:20:30 +02:00
Jaime van Kessel
d16ab4fdd6
Merge branch '4.6' of github.com:Ultimaker/Cura 2020-09-21 15:44:51 +02:00
Konstantinos Karmas
c654718d8f
Merge pull request #8406 from Ultimaker/shrinkage_percentage_limits
Remove shrinkage percentage setting alias
2020-09-18 15:57:05 +02:00
Ghostkeeper
1d5a4f5080
Remove shrinkage percentage setting alias
This alias shouldn't be written any more since the firmware misinterprets the setting value and errors when it's more than 100%.

Contributes to issue CURA-7724.
2020-09-18 12:48:02 +02:00
Ghostkeeper
0ecefde880
Defensive coding: Don't get the linked material if there is no material
Fixes Sentry issue CURA-17W.
2020-09-18 11:24:39 +02:00