Commit graph

12461 commits

Author SHA1 Message Date
Diego Prado Gesto
c432646908 CURA-4425 Avoid adding the center bounding box. Revert some previous changes. 2018-02-01 16:37:16 +01:00
Diego Prado Gesto
433176d25a CURA-4425 Cleanup and small refactor 2018-02-01 16:18:21 +01:00
Diego Prado Gesto
2770ff5848 CURA-4425 Remove debug printout 2018-02-01 15:45:17 +01:00
Diego Prado Gesto
056ae4fe68 CURA-4425 Small refactor to avoid using repeated code 2018-02-01 15:22:45 +01:00
Jack Ha
e464c1144b Merge branch 'feature_ufp_writer' of github.com:Ultimaker/Cura into feature_ufp_writer 2018-02-01 10:49:25 +01:00
Jack Ha
b4eb2e173c CURA-4425 fix multiple objects in snapshot; the AxisAlignedBox is supposed to be read-only 2018-02-01 10:49:02 +01:00
Ghostkeeper
cfb5d71c27
Fix imports
Needs to be a capital letter now. Also remove the unused one (the kitty is no longer there).

Contributes to issue CURA-4872.
2018-02-01 10:34:38 +01:00
Ghostkeeper
a34ca45c38
Remove outdated UCP writer
The real file extension became .ufp. The plug-in was rewritten.

Contributes to issue CURA-4872.
2018-01-31 17:09:11 +01:00
Jack Ha
c42f186812 CURA-4425 first thumbnail in UFP file; updated CuraSceneModel and PreviewPass 2018-01-31 17:08:32 +01:00
Ghostkeeper
2fe9860bb9
Use streaming open function
This way we can actually write the result to the correct stream rather than opening a random file separately (which was placeholder).

Contributes to issue CURA-4872.
2018-01-31 08:52:28 +01:00
Ghostkeeper
f54767ae93
Remove unused _namespaces field
The code that used to use this is now in libSavitar.

Discovered while working on issue CURA-4872.
2018-01-31 08:45:52 +01:00
Ghostkeeper
ebe221f604
Add origin to thumbnail relation
This thumbnail is now about the g-code, so let the relation say that.

Contributes to issue CURA-4872.
2018-01-31 08:43:40 +01:00
Ghostkeeper
a9048a587d
Use new open_stream
This allows us to do something else than write to a file, too.

Contributes to issue CURA-4872.
2018-01-29 17:25:36 +01:00
Ghostkeeper
fec553dbee
Return true after successfully writing the file
This is how Uranium detects that it's been written successfully.

Contributes to issue CURA-4872.
2018-01-29 13:06:38 +01:00
Ghostkeeper
2d48fbb608
Rename file_type parameter to relation_type
It was renamed in libCharon for better semantic meaning.

Contributes to issue CURA-4872.
2018-01-29 12:51:23 +01:00
Ghostkeeper
6f833051f8
Close archive after writing
It gets flushed then and everything.

Contributes to issue CURA-4972.
2018-01-26 16:28:34 +01:00
Ghostkeeper
e3e8e8b170
Fix opening kitty file
Contributes to issue CURA-4872.
2018-01-26 16:21:01 +01:00
Ghostkeeper
20b903855f
Close streams before opening the next
Because zipfile can't handle multiple open streams at the same time.

Contributes to issue CURA-4872.
2018-01-26 16:15:30 +01:00
Ghostkeeper
b6c7a0829f
Use virtual_path parameter instead of target
This parameter was renamed.

Contributes to issue CURA-4872.
2018-01-26 15:43:14 +01:00
Ghostkeeper
d299786de7
Convert g-code to bytes before writing it to archive
Contributes to issue CURA-4872.
2018-01-26 15:41:39 +01:00
Ghostkeeper
8bd351c133
Add placeholder thumbnail to package
This kitten really likes boxes of all kinds: Cardboard and plastic boxes for sure, but also digital boxes such as the UFP.

Contributes to issue CURA-4872.
2018-01-26 13:52:20 +01:00
Ghostkeeper
8a3a3d32da
Fix imports to Charon classes
Contributes to issue CURA-4872.
2018-01-26 13:34:45 +01:00
Ghostkeeper
600e2abce1
Add basic UFP writer plug-in
This already implements most of it. Just the thumbnail must still be gotten and put inside the container.

Contributes to issue CURA-4872.
2018-01-26 13:25:49 +01:00
ChrisTerBeke
6cd64e1ce8
Two more fixes for typo in USBPrinterOutputController 2018-01-25 22:47:48 +01:00
ChrisTerBeke
8c7f8fa1fa
Fix typo in USBOutputController 2018-01-25 22:34:28 +01:00
Jaime van Kessel
bcfac3ace6 Added very rough implementation for UCP files 2018-01-25 17:14:32 +01:00
Ghostkeeper
4f72f52447
Reduce minimum value for flow to 0.0001%
CuraEngine can handle that. It's not going to extrude anything, but neither is 5% really.

Contributes to issue CURA-4506.
2018-01-24 16:29:24 +01:00
Ghostkeeper
b9fe0046f2
Merge branch 'initial_layer_flow' of https://github.com/BagelOrb/Cura into BagelOrb-initial_layer_flow
Contributes to issue CURA-4506.
2018-01-24 16:20:48 +01:00
Ghostkeeper
ae40071ffd
Merge branch '3.2' 2018-01-24 16:17:49 +01:00
Ghostkeeper
1818055966
Merge branch 'master' of github.com:Ultimaker/Cura 2018-01-24 16:17:24 +01:00
ChrisTerBeke
9af3a5faa6 Merge branch '3.2' of https://github.com/Ultimaker/Cura into 3.2 2018-01-24 14:02:54 +01:00
ChrisTerBeke
d1f2d6f45d Fix checking material_used per extruder for analytics - CURA-4858 2018-01-24 14:02:44 +01:00
Ghostkeeper
3f7eaaae94
Move HTML tags out of translated text
We always want the same HTML tag around it. There's no need to allow the translator to change that.

Discovered during issue CURA-4692.
2018-01-24 13:52:31 +01:00
Ghostkeeper
d6182c8c49
Fix extra space in translation
The only mistake I found, really.

Contributes to issue CURA-4692.
2018-01-24 13:52:31 +01:00
Ghostkeeper
5b90bb3c5a
Update Portuguese translations by Utópica3D
These people did a pass on the Portuguese translations and made a lot of improvements.

Contributes to issue CURA-4692.
2018-01-24 13:52:31 +01:00
ChrisTerBeke
c471991044 Update plugin browser version to 4 as network rewrite has another set of breaking changes 2018-01-24 13:30:08 +01:00
ChrisTerBeke
b41d8eb0dd Merge branch '3.2' 2018-01-24 13:29:30 +01:00
ChrisTerBeke
9488c39f68 Update plugin browser version as we have breaking changes in Cura 3.2 2018-01-24 11:07:13 +01:00
Lipu Fei
a6f5f8ea68 Revert "Revert "Rename Enable Travel Optimization to Infill Travel Optimization""
This reverts commit 3ec4cc6a0b.
2018-01-23 20:37:24 +01:00
Jack Ha
994969634e Merge branch '3.2' 2018-01-23 16:17:50 +01:00
Jack Ha
def86defe6 CURA-4848 Global stack now does its infinite resolve prevention on per thread basis 2018-01-23 16:17:38 +01:00
Ghostkeeper
f88df7e5cd
Remove overzealous log entry
This was in the happy path and gets executed for every material profile in every material file, which is hundreds of times. Better not.

Found during development of CURA-4797.
2018-01-23 15:45:12 +01:00
Jack Ha
cde3799702 CURA-4848 removing the debugging list because it's not a threading issue 2018-01-23 14:46:44 +01:00
Jack Ha
b0d0b75662 Merge branch '3.2' 2018-01-23 14:25:11 +01:00
Jack Ha
e561217415 Merge branch 'master' of github.com:Ultimaker/Cura 2018-01-23 14:25:05 +01:00
Jack Ha
e3bffb0b1d Merge branch '3.2' of github.com:Ultimaker/Cura into 3.2 2018-01-23 14:24:07 +01:00
Jack Ha
07e6875199 CURA-4848 added logging for when the crash occurs 2018-01-23 14:24:00 +01:00
Lipu Fei
710e3c1629 Revert "Simplify check for _outside_buildarea"
This reverts commit 5c8d46b5c2.
2018-01-23 12:39:15 +01:00
Lipu Fei
f45de9654b Revert "Remove unused import"
This reverts commit cf556ccf8f.
2018-01-23 12:39:07 +01:00
Lipu Fei
d3e85e6370 Revert "Do boundary checks on nodes for which the boundary check is unknown"
This reverts commit 27e441ecd9.
2018-01-23 12:38:59 +01:00