215 Commits

Author SHA1 Message Date
Ghostkeeper
5e63c0df48
Add major grid cells
This draws a grid of 1x1cm.

Contributes to issue CURA-4150.
2017-08-17 09:56:11 +02:00
Ghostkeeper
484740f2ff
Remove grid pattern
It'll be replaced by grid lines instead of grid surfaces.

Contributes to issue CURA-4150.
2017-08-16 13:26:17 +02:00
Lipu Fei
3e870d2e40 Always update raft thickness and extra z clearance before rebuilding the build volume
CURA-4154
2017-08-11 12:27:45 +02:00
Ghostkeeper
a75387ff3e
Only use Z-hop setting for the used extruders
Otherwise the unused extruders still influence the build volume.
2017-08-08 11:40:19 +02:00
Lipu Fei
4564b2a843 Rebuild disallowed area when a limit_to_extruder_nr has been changed
CURA-4069

Trigger to rebuild the disallowed area when a limit to extruder feature
has been changed.
2017-07-24 10:40:14 +02:00
Ghostkeeper
75af56b1a1
Only use line widths of used extruders for brim/skirt size
No lines are drawn for the rest of the extruders.

Contributes to issue CURA-4072.
2017-07-21 12:56:37 +02:00
Lipu Fei
e6ce98b36d Make machine_nozzle_offset is not None before using it
CURA-4053
2017-07-17 13:01:15 +02:00
Ghostkeeper
fc93617698
Don't invert Y direction of offset for disallowed areas 2017-07-11 11:59:55 +02:00
14bitVoid
0f9125633b Multiply skirt/brim widths with initial layer line width 2017-07-11 02:51:24 +02:00
Jaime van Kessel
5895f27792 Revert "Also invert nozzle offset when offsetting machine-specified disallowed areas"
This reverts commit 319559740dd8c8c2f9ffad637bee43cef9345073.

This was already fixed (line 734 inveted it). This code breaks it when there is no extruder
2017-07-03 17:10:59 +02:00
Ghostkeeper
319559740d
Also invert nozzle offset when offsetting machine-specified disallowed areas
We inverted it properly with the borders, but not here yet.
2017-07-03 10:53:50 +02:00
Ghostkeeper
53e35daf02
Merge branch 'master' of github.com:Ultimaker/Cura 2017-06-29 13:45:02 +02:00
Jaime van Kessel
13f3477288 Fixed crash when adding a single extrusion printer
CURA-3980
2017-06-29 10:15:29 +02:00
Ghostkeeper
ab384ba8ec
Rename and invert moving disallowed areas metadata property
It's more easy semantically to invert this, to prevent the double negatives.

Contributes to issue CURA-3663.
2017-06-28 17:16:27 +02:00
Jaime van Kessel
f791017091 Revert "Added the no-nozzle offset for all polygons"
This reverts commit 45eb301f9b3e32f36b4fcfe2777bc3f9f177949d.
2017-06-28 14:20:12 +02:00
Jaime van Kessel
45eb301f9b Added the no-nozzle offset for all polygons
CURA-3663
2017-06-28 13:55:45 +02:00
Ghostkeeper
fb1d7bc223
Fix direction of Y-offset in disallowed areas
The front end has inverted Y with respect to the g-code. The prime position was correctly inverted but the nozzle offset wasn't.
2017-06-28 09:23:14 +02:00
Lipu Fei
b958e30fe6 Add machine_disallowed_areas and turn off nozzle offsetting for disallowed areas calculation
CURA-3663

We don't need to calculate the disallowed areas for certain machines
because they have taken into account the nozzle offsets. This commit
does the following:
- Add machine_disallowed_areas
- Add a flag in definition so that disallowed areas calculation with
  nozzle offsets becomes optional in Cura.

Update documentation for no offsetting for nozzles

Contributes to issue CURA-3663.
2017-06-23 08:33:03 +02:00
Lipu Fei
7fe5c2ad07 Fix code style
CURA-3663
2017-06-21 14:48:54 +02:00
Jaime van Kessel
4d853d5d52 Build volume no longer gives issue if -1 is provided as an int
CURA-3814
2017-05-22 13:22:03 +02:00
Tim Kuipers
69e4afffc8 fix: heightening of shadow for raft didn't take layer_0_z_overlap into account (CURA-3819) 2017-05-16 17:45:19 +02:00
Tim Kuipers
f4f6be103e cleanup: prime => prime blob and lil doc (CURA-3634) 2017-05-13 17:37:49 +02:00
Tim Kuipers
7e715277f9 fix: don't make disallowed area if blob is disabled (CURA-3634) 2017-05-13 17:32:31 +02:00
Ghostkeeper
5b8e1f25b7
Don't add prime tower area if single extrusion
Simple papercut fix.
2017-05-01 14:25:08 +02:00
Ghostkeeper
6e5f7ac28a
Merge branch 'feature_support_top_bottom_speed'
Contributes to issue CURA-3491.
2017-04-25 16:46:30 +02:00
Jaime van Kessel
5de3b4614f Updated type hinting 2017-04-12 16:26:25 +02:00
Jaime van Kessel
d7e5e5780b Fixed width & height not being settable to 0 2017-04-12 16:21:03 +02:00
Ghostkeeper
cb7c25f92f
Merge branch 'master' into feature_support_top_bottom_speed 2017-04-10 10:52:31 +02:00
Jack Ha
91edf5589e Fixed outside boundary check boo boo. CURA-3239 2017-04-06 16:01:57 +02:00
Jack Ha
892140150a Fix group models bounds check. CURA-3640 2017-04-03 15:06:40 +02:00
Jack Ha
1164805a68 WIP Solved stash apply. CURA-3610 2017-03-30 16:26:39 +02:00
Jack Ha
fa7a026efe Merge branch '2.5' of github.com:Ultimaker/Cura into 2.5 2017-03-30 16:05:07 +02:00
Jack Ha
da5288ea78 Fix updating allowed areas. CURA-3610 2017-03-30 16:04:57 +02:00
Jaime van Kessel
cd5e883010 Build volume now uses IsSlicable decorator to check for scene changes
CURA-3608 Fixes #1598
2017-03-30 11:24:01 +02:00
Jack Ha
3d6e378289 Revert accidently added test-code. 2017-03-22 09:44:21 +01:00
Jack Ha
40a7d2fecc Added not supported quality profiles. CURA-3555 2017-03-22 09:33:17 +01:00
Jack Ha
2b17f9665f Fix prime tower location/visualization on buildplate. CURA-3525 2017-03-20 14:09:55 +01:00
Ghostkeeper
2f1d957f99
Split support_interface_enable into roof and bottom
You can activate the roof and bottom separately now. If you want, of course. The original interface setting sets both of them unless overwritten.

Contributes to issue CURA-3491.
2017-03-20 10:47:37 +01:00
Ghostkeeper
2d9b2216a3
Allow printing support roof and bottom with different extruders
Note that currently the support_interface_extruder_nr is still used by the engine for some things and therefore the build volume calculations may not be 100% correct. I'll fix that up soon.

Contributes to issue CURA-3491.
2017-03-17 15:55:18 +01:00
Jack Ha
3468bae732 Add result type. 2017-03-07 10:31:11 +01:00
Jack Ha
fbc7e0f7c4 Take retraction_hop_enabled into account for extra z clearance. CURA-2729 2017-02-27 13:13:34 +01:00
Jack Ha
b0c8a4df7a Removed debug log. CURA-2729 2017-02-23 14:41:18 +01:00
Jack Ha
9bd973ab7b Build volume now takes z hop height into account. CURA-2729 2017-02-23 14:23:51 +01:00
Simon Edwards
eb43806d7a Merge branch 'master' into python_type_hinting 2017-01-27 15:37:30 +01:00
fieldOfView
45c8083423 Use themeable colors in Solid, Xray & Layer view 2017-01-23 22:08:27 +01:00
Simon Edwards
fb70eb6813 Merge branch 'master' into python_type_hinting 2017-01-17 08:42:55 +01:00
fieldOfView
1d308f2042 Fix the disallowed area for the prime tower and prime are when center_is_zero 2017-01-11 18:04:25 +01:00
Ghostkeeper
0e31de3ed9
No longer crash when numeric settings are empty strings
They may temporarily be empty strings while the user is typing, but that currently makes the setting red. However, if we crash during the build plate updating, the front-end gets in some half-updated state in which settings get reset to their previous state every time the user changes anything. So don't crash here.

Contributes to issue CURA-3157.
2016-12-16 16:17:14 +01:00
Arjen Hiemstra
04692d1093 Ignore polygons with length 0 when updating disallowed areas
Contributes to CURA-3148
2016-12-15 16:16:50 +01:00
Simon Edwards
d4619da358 Merge branch 'master' into python_type_hinting 2016-12-13 14:39:35 +01:00