7023 Commits

Author SHA1 Message Date
Ghostkeeper
ee3e0ba6ab
Add material indication to extruder boxes
Only if a material is known of course. But the case where it is unknown is not tested.

Contributes to issue CURA-3161.
2017-02-03 14:52:09 +01:00
Ghostkeeper
687cdcc30e
Add grey border between extruder boxes
This is done by fitting tightly a rectangle around the grid of boxes. The boxes themselves have a white background but there is spacing between the boxes, which results in the little border.

Contributes to issue CURA-3161.
2017-02-03 13:54:37 +01:00
Ghostkeeper
9546c85967
Add boxes containing information on extruders
These are meant to eventually replace the bullet-list of information we currently have.

Contributes to issue CURA-3161.
2017-02-03 13:50:17 +01:00
Ghostkeeper
39cbed61e5
Make machine_nozzle_expansion_angle min/max properly into functions
They are inheritance functions so they must be written as a string in the JSON.

Contributes to issue CURA-2572.
2017-02-03 11:30:54 +01:00
Jack Ha
0889722350 Finishing up opengl 4.1 core profile things, it all works. CURA-3273 2017-02-02 17:08:20 +01:00
Simon Edwards
0e306df1bc Initial basic version of this feature.
CURA-3335
2017-02-02 15:59:09 +01:00
Ghostkeeper
7b41e844cc
Fix name and address for USB printing devices
As address it uses the serial port, which would be COM# for Windows and /dev/ttyUSB# for Linux. I don't know what it would display there on OSX, probably a drive directory.

Contributes to issue CURA-3161.
2017-02-02 15:19:56 +01:00
Ghostkeeper
7b8d41cb8f
Remove old connected printer header
It has been replaced by a nicer header.

Contributes to issue CURA-3161.
2017-02-02 14:48:06 +01:00
Ghostkeeper
c7a91f07d2
Add label for printer connection text to header
Also fixed the indenting of the previous two labels to use spaces instead of tabs. I knew I was going to forget putting it back to spaces after working on a different project that uses tabs.

The information is duplicated now. I'll remove the old one promptly.

Contributes to issue CURA-3161.
2017-02-02 14:45:44 +01:00
Ghostkeeper
1f0bcc1abd
Add header bar for print monitor
It lists the name of the printer it is connected to, and the address on the right side. This won't work for USB printing (it'll give errors there). I'll solve that later.

Contributes to issue CURA-3161.
2017-02-02 14:34:40 +01:00
Ghostkeeper
cda5ee1dca
Separate name from address in properties
This way we can display them separately.

Contributes to issue CURA-3161.
2017-02-02 14:27:49 +01:00
Ghostkeeper
5c2f1a935a
Move monitorLabel into PrintMonitor.qml
It's a label that belongs to the print monitor after all. Let the print monitor file decide how it's going to look.

Contributes to issue CURA-3161.
2017-02-01 17:31:36 +01:00
Ghostkeeper
425dbf1ad8
Only check for validationState changes if it's not already a value change
No need to check the second if-statement in most cases.

Contributes to issue CURA-3291.
2017-02-01 16:29:59 +01:00
Jack Ha
4659d8616e Fixed some opengl 4.1 core vertex and fragment shaders, layerview anchor. CURA-3273 2017-02-01 16:29:21 +01:00
Ghostkeeper
3ac9036b4a
Only listen for other container stack errors if multi-extrusion
It's not even necessary to check otherwise. Requesting an extruder stack would give None anyway, which would give errors.

Contributes to issue CURA-3291.
2017-02-01 16:28:45 +01:00
Ghostkeeper
a0ba1188a1
Always listen to changes on all extruder stacks of the current machine
We need to listen for changes on all extruder stacks because the values might change and therefore the validation states might change. The value of a different extruder stack could change if you change a global value that has impact on a per-extruder value via inheritance, or in this case if a limit-to-extruder property specifies that the setting should be changed on a different stack. It could change on the stack that is not active in either case.
This might have some performance impact, but it is very small. Other than layer_height there aren't many global settings that have impact on multiple extruders via inheritance. And via limit-to-extruder there will typically only be one changed value which you want to update for. Changing layer height will be a bit slower though.

Contributes to issue CURA-3291.
2017-02-01 16:17:12 +01:00
Jack Ha
4bb8e1b025 Converted layers3d.shader to 41core spec. Contributes to CURA-3273 2017-02-01 16:10:52 +01:00
Simon Edwards
4715afdad6 Fixed one new class variable. Updated the script to run mypy. 2017-02-01 14:53:22 +01:00
Ghostkeeper
362c5835ee
Don't use limit_to_extruder if it evaluates to -1
The default value for the limit_to_extruder property is -1. So no need to check if the property exists. Just check if it is positive.

Contributes to issue CURA-3291.
2017-02-01 14:42:06 +01:00
Ghostkeeper
ed2b09c975
Fix getting limit to extruder property
Apparently it didn't even reach this code up until now. Well, now it does.

Contributes to issue CURA-3291.
2017-02-01 14:26:37 +01:00
Ghostkeeper
039015e3df
Don't unnecessarily copy extruder stacks to list
You're just looping over it. No need to actually make a list out of it.

Contributes to issue CURA-3291.
2017-02-01 14:24:03 +01:00
Ghostkeeper
7d536e2f8b
Clarify global container stack checking code in _checkStacksHaveErrors
The order of operations was a bit weird. This made the code unclear and also required an extra check in an if-statement. This is simpler and theoretically even a bit faster.

Contributes sorta to issue CURA-3291.
2017-02-01 14:17:23 +01:00
Ghostkeeper
31e88aa5af
Also check for errors via limit_to_extruder settings
The error should then not be checked in the active stack but in the stack which has the correct setting value.

Contributes to issue CURA-3291.
2017-02-01 14:14:50 +01:00
Ghostkeeper
9cf0fdc4a3
Add quality profiles for ABAX printers
These are delivered to me by Pedro J. of ABAX 3D Tech. I modified the file names to be in line with our code standards, and I modified the link to the machine definition to coincide with the file names that were changed there to be in line with our code standards.
2017-02-01 13:17:02 +01:00
Ghostkeeper
f2695a40e0
Remove Prusa platforms from ABAX printers
The Prusa platform meshes say 'PRUSA' in huge letters. They are not the ABAX printers, though the structure is mostly the same. To prevent confusion I'm removing the platform mesh.
2017-02-01 13:17:02 +01:00
Ghostkeeper
2c893e2ea1
Conform ABAX printers to our code style
Fixed indenting, that's mostly all.
2017-02-01 13:17:02 +01:00
Ghostkeeper
d45f292324
Add ABAX printer definitions
These are exactly how they were delivered to me by Pedro J. from ABAX 3D Tech.
2017-02-01 13:17:02 +01:00
Tim Kuipers
6e84805c93 fix: angle limitations for machine_nozzle_expansion_angle (CURA-2572) 2017-02-01 13:10:39 +01:00
Tim Kuipers
6b7876d60e fix: fill line distance of 0 is possible, but generates no fill (CURA-2572) 2017-02-01 13:06:02 +01:00
Tim Kuipers
2db15602a4 fix: minmum line width is 1 micron (CURA-2572) 2017-02-01 13:05:17 +01:00
Ghostkeeper
307896cb41
Fix converting URL to local path in setDefaultPath
It is a method, not a static function.

Contributes to issue CURA-3297.
2017-02-01 09:48:06 +01:00
Ghostkeeper
1a4d71c3f8
Save last-opened file path as local-file format
It's stored in the format of '/home/user/Models/Basic' rather than 'file:///home/user/Models/Basic'. The QML FileDialog class expects the latter format though.

Contributes to issue CURA-3297.
2017-01-31 17:42:32 +01:00
Jack Ha
e31a695061 WIP OpenGL 4.1 core profile. CURA-3273 2017-01-31 17:05:00 +01:00
Ghostkeeper
3aec36018f Add entry that we switched Linux to AppImage format
It was deemed worthy to mention.

Contributes to issue CURA-3048.
2017-01-31 16:54:54 +01:00
Ghostkeeper
a9b8fbe72b
Don't start menu entry with 'Configur'
Because OSX triggers on that and moves the entry in its own main menu.

Contributes to issue CURA-3029.
2017-01-31 14:19:21 +01:00
Ghostkeeper
d4af2ce797
Merge branch 'maukcc-master' 2017-01-31 13:14:42 +01:00
Ghostkeeper
7115db6f2e Merge branch 'master' of https://github.com/maukcc/Cura into maukcc-master 2017-01-31 10:46:36 +01:00
Jack Ha
aa923321f8 Fix compatibility mode layout. CURA-3273 2017-01-31 09:19:18 +01:00
MaukCC
e2b208eebd Update cartesio_0.4.inst.cfg 2017-01-31 09:02:31 +01:00
MaukCC
26854eedcf Update cartesio_extruder_0.def.json 2017-01-31 09:01:46 +01:00
MaukCC
f65ea57e80 Update cartesio.def.json 2017-01-31 09:01:14 +01:00
Ghostkeeper
876de2bd03 Merge branch 'patch-1' of https://github.com/probonopd/Cura into probonopd-patch-1 2017-01-30 17:39:31 +01:00
Jack Ha
5a2aa8846b Added extruder count detection to layer view. CURA-3273 2017-01-30 13:29:35 +01:00
Jack Ha
5f6ed488d1 Layerview removed Color Only Selected Extruder, cleanup 3d shader. CURA-3273 2017-01-30 11:39:59 +01:00
Jack Ha
2f9618f2ad Merge branch 'master' into layer_view3_cleanup 2017-01-30 11:25:55 +01:00
Ghostkeeper
ee2076b407
Merge branch '2.4' 2017-01-28 02:35:28 +01:00
Ghostkeeper
d24f42444e
Fix formatting so translation files actually compile
My guess is that the translation bureau didn't properly check its file format correctness.

Contributes to issue CURA-3028.
2017-01-28 02:30:33 +01:00
Ghostkeeper
24cb768339
Remove all fuzzy markers from professional translations
They don't want them there. They apparently don't think they have to check for fuzziness either.

Contributes to issue CURA-3028.
2017-01-28 01:44:17 +01:00
Ghostkeeper
3d0c57262c
Fix fuzzy translations
They are still marked as fuzzy. Going to resolve that next.

Contributes to issue CURA-3028.
2017-01-28 01:29:40 +01:00
Ghostkeeper
efb866c64f
Update translations for 2.4
This initial round, the translators didn't check the fuzzy string matches. These are therefore incorrect. We have new translations for the fuzzies. I'm going to add them now.

Contributes to issue CURA-3028.
2017-01-28 01:05:43 +01:00