305 Commits

Author SHA1 Message Date
Arjen Hiemstra
b1e8b01549 Reduce time spent in "Preparing to slice" by optimizing vertex data sending
This effectively is a limited form of MeshData::getTransformed that ignores
normals and performs a faster transformation.

Contributes to CURA-2687
2016-12-06 17:35:26 +01:00
Simon Edwards
b9dd2ef6f9 Numpy magic to speed up the expansion of indices-to-vectors to just vectors. CURA-2548
Sending models to engine that have indices is slow
2016-11-29 15:16:55 +01:00
Jaime van Kessel
782a02661c If prime tower or prime position has an invalid position, we now give a specifc error message to indicate this
CURA-2481
2016-11-18 14:24:32 +01:00
Jaime van Kessel
c007c1fc4c Fixed global error keys always overriding the extruder error keys
CURA-2481
2016-11-18 14:17:46 +01:00
Jaime van Kessel
761efa1681 Unable to slice message now shows what settings are in error state
CURA-2481
2016-11-03 16:25:36 +01:00
Jaime van Kessel
c35b606807 Added a bunch more yielding, which should decrease the stutter in GUI
contributes to CURA-2687
2016-11-03 15:48:42 +01:00
Jaime van Kessel
d2ead852dd Decreased severity of logging of socket error
CURA-2809
2016-11-03 15:04:09 +01:00
Jack Ha
d308cd45bc Moved function out of MachineManager, changed "Valid" to "HaveErrors".
CURA-2730
2016-10-20 16:16:33 +02:00
Jack Ha
98688bf013 Changed MachineManager.isActiveStackValid to MachineManager.areStacksValid. CURA-2730 2016-10-19 15:46:22 +02:00
Ghostkeeper
fcb88f06ab
Fix typo in incompatibility warning message
This is the actual fix that we couldn't do due to the string freeze.

Contributes to issue CURA-2626.
2016-10-12 16:18:54 +02:00
Jack Ha
d45f61f778 Comment. CURA-2605 2016-10-11 15:13:16 +02:00
Jack Ha
b119be7d11 Remove settings from extruder that are not settable_per_extruder. CURA-2605 2016-10-11 15:00:17 +02:00
Jaime van Kessel
e582607e41 Added todo comment 2016-10-05 13:48:09 +02:00
Arjen Hiemstra
baa24370f6 Force garbage collection during ProcessSlicedLayersJob
For some reason, Python likes to hold on to LayerData and friends.
Forcing a GC run here will clean them up properly.

Contributes to CURA-2406
2016-09-22 00:57:44 +02:00
Arjen Hiemstra
8e5183bad4 Ensure we remove ProcessLayersJob once it has finished
Since it holds on to a fairly large amount of data.

Contributes to CURA-2406
2016-09-22 00:57:43 +02:00
Tim Kuipers
d8b1486637 doc: better documentation of limit_to_extruder and resolve properties in the JSON (CURA-2308) 2016-09-21 17:54:47 +02:00
Ghostkeeper
bc6e7dd24e
Merge branch 'sevaa-feature_x3d_file_format' 2016-09-20 11:49:39 +02:00
Tim Kuipers
479f9ea6d2 refactor: global_inherits_stack ==> limit_to_extruder (CURA-2308) 2016-09-14 10:46:57 +02:00
Jaime van Kessel
76e57c940d Added more specific error message when trying to slice with incompatible material
CURA-2271
2016-09-13 17:27:29 +02:00
Jaime van Kessel
677d6556fb Refuse to slice when material is mismatched
CURA-2271
2016-09-09 13:02:19 +02:00
Jaime van Kessel
9a84deb14e If buildplate has errors, slicing is not possible
CURA-2234
2016-09-07 17:19:20 +02:00
fieldOfView
2380614bd8 Update wording of error messages
Clearly list problem first, followed by possible resolvement.
2016-09-06 08:43:00 +02:00
fieldOfView
bd8db49a95 Add layer data type and color for Support Interface
CURA-2049
2016-09-05 16:29:15 +02:00
Jaime van Kessel
a68e112060 Fixed resolvement not being overwritten by user changes 2016-09-01 14:44:29 +02:00
Jaime van Kessel
8810fd83cc Slecting object no longer causes slice to trigger
CURA-2181
2016-08-25 14:34:05 +02:00
Jaime van Kessel
656a56632e Socket is now re-created if terminate is called and there is no engine process
CURA-2158
2016-08-25 11:44:46 +02:00
Jaime van Kessel
6c0aa0fa4f Tweaks to slicing engine restart behavior
CURA-2158
2016-08-25 10:49:35 +02:00
Seva Alekseyev
a43efcde05 Code review issues 2016-08-24 17:28:30 +02:00
Seva Alekseyev
5cb9f97986 Slicing logic now index-aware, correctly processes scenes with vertex reuse 2016-08-24 17:28:30 +02:00
Jaime van Kessel
221da85783 Backend state is now set to processing when cura frontend is done sending
This is instead of waiting for the backend to send it's first progress message.
This gives the feel of a more snappy response.
2016-08-24 16:59:12 +02:00
Jaime van Kessel
114899dc91 Merge branch 'cura-2007' of github.com:Ultimaker/Cura 2016-08-24 12:39:33 +02:00
Jaime van Kessel
e495534219 Rapid succesion of tool operations no longer freeze interface on Ubuntu
CURA-2158
2016-08-23 11:50:28 +02:00
Jack Ha
090b8d4f50 Solved merge conflict. 2016-08-23 10:35:20 +02:00
Jaime van Kessel
ea324eadc0 Added scroll bar to per object panel
If there are too many per object settings a scrollbar is now displayed

CURA-2131
2016-08-22 15:14:10 +02:00
Jaime van Kessel
bfc01827c2 We now always create a new socket on terminate
CURA-2127
2016-08-22 10:32:49 +02:00
Jack Ha
4ea9276682 Merge branch 'master' into cura-2007 2016-08-15 09:16:04 +02:00
fieldOfView
7aab8ad397 Change "object" to "model"
UXD-83
2016-08-10 17:55:51 +02:00
fieldOfView
7326d77605 Fix broken backend plugin on Windows 2016-08-08 12:30:47 +02:00
fieldOfView
6ab3939f75 Fix broken backend plugin on Windows 2016-08-08 12:12:06 +02:00
Thomas Karl Pietrowski
9bd59a4eaa Merge pull request #901 from thopiekar/master-linux-fallback-path
Scanning for CuraEngine and stop if it was not found
2016-08-08 10:47:49 +02:00
Thomas Karl Pietrowski
42db29d86a Removing the stray @awhiemstra mentioned 2016-08-08 10:47:19 +02:00
Thomas Karl Pietrowski
7c3b6814d0 Removing strays 2016-08-08 10:45:41 +02:00
Jack Ha
2402ba3d0e Bed temperature is now either a resolved value or a global value.
Contributes to CURA-2007
2016-08-04 14:30:48 +02:00
Ghostkeeper
de7f32da19
Convert global_inherits_stack to int before slicing
Sometimes it was accidentally converted to a float when it passes through Javascript.

Contributes to issue CURA-2055.
2016-08-04 13:25:51 +02:00
Arjen Hiemstra
b97b694f41 Force recreating the socket when using external-backend
This may recreate the socket with a new port number but at least it
recreates the socket now.

Partially fixes CURA-1877
2016-08-02 13:58:16 +02:00
Thomas Karl Pietrowski
32880a093e And again double quotes.. 2016-08-02 09:37:17 +02:00
Thomas Karl Pietrowski
6b61fdbe5c Using double quotes of course 2016-08-02 08:49:09 +02:00
Thomas Karl Pietrowski
fb1b199c6a Moving self.executableName into __init__ as executable_name 2016-08-02 08:47:48 +02:00
Thomas Karl Pietrowski
92983636b0 Use self.executableName in __init__ 2016-08-01 12:29:57 +02:00
Thomas Karl Pietrowski
34e8b4635b Scanning for CuraEngine and stop if it was not found
So far I ran 2 or 3 times into the problem that my engine was not up to
date. The bad thing here is that there is always an updated version from
my PPA on the PC. So first this commit gives the possibility to look for
CuraEngine in the $PATH directories. Before I had to copy it always
manually, eg. via "cp $(which CuraEngine) bin/CuraEngine" in my
workbench.

Second, people can get into the situation that CuraEngine is missing at
all. So before making Cura loop and try to use an executable that does
not exist, better raise an Exception here.
An additional info message tells about the location being used.

Does not contribute to any JIRA issue (I think), but makes my life
easier.
2016-08-01 12:28:00 +02:00