Commit graph

15707 commits

Author SHA1 Message Date
Ian Paschal
2bc1e4b397 Fix bug where disovery window does not appear 2018-09-10 09:27:59 +02:00
Jaime van Kessel
5c6c299b27 Cleanup extruder manager
Few more unused functions removed & simplified.
It also fixes a few more typing issues that I encountered.
2018-09-07 17:06:18 +02:00
Jaime van Kessel
e6d0a9cc6a Add missing typing 2018-09-07 16:33:44 +02:00
Jaime van Kessel
a8fc6aabcc Switch incorrect usage of getMachineExtruders to getActiveExtruderStacks 2018-09-07 16:27:56 +02:00
Jaime van Kessel
638f9fb941 Remove unused functions 2018-09-07 16:02:54 +02:00
Jaime van Kessel
20ec8828ed Fix incorrect type hinting
The type hinting indicated that the property was a dict, but it could also be None.
In cases where it was None, it would cause an exception, which was also fixed (since
unpacking None will break)
2018-09-07 15:32:07 +02:00
Jaime van Kessel
c7350ff579 Merge branch 'master' of github.com:Ultimaker/Cura 2018-09-07 15:24:09 +02:00
Jaime van Kessel
4cde6c05ae Switch most usages of containerStackId to containerStack for settingPropertyProvider
This mostly makes the code a bit more logic and also decreases the number of searches in the registry
2018-09-07 15:23:09 +02:00
Diego Prado Gesto
244876b5f1
Merge pull request #4337 from Ultimaker/cura_connect_improvements
Organize files better before 3.5
2018-09-07 14:37:54 +02:00
Diego Prado Gesto
a9f151670e Remove unused components. They are no longer used. 2018-09-07 14:31:53 +02:00
Ian Paschal
4c6d101d70
Merge pull request #4338 from Ultimaker/cleanup_um3network_plugin
Remove unused files in the network plugin
2018-09-07 14:18:56 +02:00
Diego Prado Gesto
d53e9f9263 Remove not used files.
After the refactor, these files are no longer used.
2018-09-07 14:12:19 +02:00
Ian Paschal
18e0dacda4 Organize files better
First things first... organize!
2018-09-07 14:11:37 +02:00
Ian Paschal
49d72f5855
Merge pull request #4301 from Ultimaker/cura_connect_UI_rework
CL-893 CL-894 Cura connect ui rework
2018-09-07 12:45:56 +02:00
Ghostkeeper
b0e7562579
Rename VersionUpgrade plug-in from 40 to 35
Because the next version is going to be called 3.5, not 4.0.
2018-09-07 10:59:45 +02:00
Lipu Fei
d6046c725a Fix Toolbox QML null object warnings
CURA-5670
2018-09-07 09:29:31 +02:00
Ian Paschal
4cc1b6ce02 Add typings and fix code style 2018-09-06 16:57:45 +02:00
Lipu Fei
5a36bc963c Fix shortcut conflict in French 2018-09-06 16:06:45 +02:00
Lipu Fei
29ef964ba7 Add shortcut key check script into Jenkinsfile 2018-09-06 16:06:45 +02:00
Lipu Fei
15f5e9ff01 Remove TestShortcutKeys 2018-09-06 16:06:45 +02:00
Lipu Fei
784f7cca76 Move shortcut key check into a separate script 2018-09-06 16:06:45 +02:00
Lipu Fei
a8a88e5ccb Remove mistake changes in CuraEngineBackend 2018-09-06 16:06:45 +02:00
Lipu Fei
c36434ebdd Fix TestShortcutKeys 2018-09-06 16:06:45 +02:00
Aleksei S
27c112d4db Fix duplicated shortcut keys in all languages
CURA-5642
2018-09-06 16:06:45 +02:00
Aleksei S
0f655553bb Removed shortcut keys from general cura.pot
CURA-5642
2018-09-06 16:06:45 +02:00
Aleksei S
e853cdc04d Removed shortcut from Reset All Model &Transformations
CURA-5642
2018-09-06 16:06:45 +02:00
Aleksei S
944b937036 Simplified unit test, make code clear
CURA-5642
2018-09-06 16:06:45 +02:00
Aleksei S
17d2316da3 Validate shortcut keys in all languages(except default)
CURA-5642
2018-09-06 16:06:45 +02:00
Aleksei S
3a8d023371 Addded test for checking shortcut keys
CURA-5642
2018-09-06 16:06:45 +02:00
Lipu Fei
0b6574e715 Rename script to check_gcode_buffer.py
CURA-5561
2018-09-06 15:36:13 +02:00
Lipu Fei
32a49bf8fa Make annotated output gcode optional 2018-09-06 14:39:52 +02:00
Lipu Fei
053613ad97 Merge remote-tracking branch 'origin/master' into CURA-5561_gcode_analysis 2018-09-06 14:34:30 +02:00
Lipu Fei
bb578be066 Move the script to scripts dir 2018-09-06 14:22:36 +02:00
Jaime van Kessel
53d083e232 Merge branch 'master' of github.com:Ultimaker/Cura into cura_connect_UI_rework 2018-09-06 10:50:51 +02:00
Ghostkeeper
ea2b0d0480
Print total predicted number of buffer underruns
I think this is the final metric that we'll want to track.

Contributes to issue CURA-5561.
2018-09-06 09:58:25 +02:00
Lipu Fei
a7f421c60c
Merge pull request #4097 from Ultimaker/fix_layer_number_width
Adjust size of layer number depending on the maximum number of layers
2018-09-06 09:50:32 +02:00
Lipu Fei
9aea0e5109 Fix quality lookup logic for extruders
CURA-5694

 - Add convenience functions into GlobalStack
 - Use "has_variants" and "has_materials" instead of
 "has_variant_materials"
 - Remove "has_variant_materials"
 - For extruder qualities, skip global qualities if the machine has
   variants or materials
2018-09-06 08:12:55 +02:00
Mark
cfcf52d7c3 Center in parent and increase width. Fits good on Mac 2018-09-05 22:05:08 +02:00
Remco Burema
d3356cdba6
Merge pull request #4142 from smartavionics/mb-improve-overhanging-walls
Improve processing of overhanging walls
2018-09-05 17:38:32 +02:00
Lipu Fei
b21200c6a8 Check for None before updating model
CURA-5670
2018-09-05 17:16:58 +02:00
Ghostkeeper
3e30e26ac0
Move into tests folder
There it can stay and be used on modern code.

Contributes to issue CURA-5561.
2018-09-05 17:16:55 +02:00
Ghostkeeper
f5157aeeaf
Add commands per second to output
Contributes to issue CURA-5561.
2018-09-05 17:15:46 +02:00
Ghostkeeper
bec643cd79
Fix reading F parameter from g-code
We need to divide that by 60 to get into somewhat more sane units than the stupid mm/min that g-code uses.
Also simplifies a few other things there.

Contributes to issue CURA-5561.
2018-09-05 17:09:00 +02:00
Ghostkeeper
23e42164cb
Add total estimated time to output
So that we can verify whether our re-estimation is the same as CuraEngine's original estimation.

Contributes to issue CURA-5561.
2018-09-05 16:08:51 +02:00
Ghostkeeper
de43711226
All times in seconds instead of milliseconds
Everything in our tool chain works in seconds. Let's do that here too. Also, the algorithm from CuraEngine works in seconds as well.

Contributes to issue CURA-5561.
2018-09-05 16:08:51 +02:00
Ghostkeeper
f93a82041d
Fix typo
Contributes to issue CURA-5561.
2018-09-05 16:08:51 +02:00
Ghostkeeper
df435a4cf9
Don't recalculate last trapezoid if last command is not a move
I think we're just missing the last trapezoid then sometimes. Let's see what the effect of that is.

Contributes to issue CURA-5561.
2018-09-05 16:08:51 +02:00
Ghostkeeper
88a84f60e0
Make estimated_exec_time_in_ms just public
We're all adults here.
We need to modify this property in the fifth pass of move commands.

Contributes to issue CURA-5561.
2018-09-05 16:08:51 +02:00
Ghostkeeper
9a43ee4629
Fix kernel parameters
We did one the wrong way around and weren't safe enough with the other.

Contributes to issue CURA-5561.
2018-09-05 16:08:50 +02:00
Ghostkeeper
2cc3a593ef
Store current feedrate when encountering it
Otherwise the feedrate is zero and we get divisions by zero.

Contributes to issue CURA-5561.
2018-09-05 16:08:50 +02:00