32 Commits

Author SHA1 Message Date
Jack Ha
ce462ace17 Layout. CURA-1707 2016-07-28 13:48:43 +02:00
Arjen Hiemstra
823ab61cc5 Tweak convex hull node and transparent object shader
Now we render at least a vague hint at lighting instead of nothing at
all.
2016-07-27 18:03:20 +02:00
Jack Ha
3703ed9eb0 Fix overlapping object with raft/brim/skirt in one-at-a-time mode.
head_and_fans is extended by an extra margin to prevent overlapping.
CURA-1776

Also fixed: showing one-at-a-time head convex at start.
2016-07-26 11:45:06 +02:00
Jack Ha
d82249e260 Fix for one-at-a-time. CURA-1707 2016-07-25 17:09:06 +02:00
Jack Ha
d77f6e86e4 Added an extruded convex hull as a raft instead of a grey plane.
- New shader transparent_object.shader
- Raft thickness is calculated in BuildVolume and used in
  ConvexHullDecorator, notified by a Signal.
- Removed old grey plane from BuildVolume.
- Vertex data below build plane is no longer discarded (caused convex
  hulls that are too small).
- Uses new functions in MeshBuilder (update Uranium as well).

CURA-1707
2016-07-25 16:45:38 +02:00
Simon Edwards
9641a25f31 Fixed up the convex hull 'shadow' creation and deletion after the merge.
Contributes to CURA-1504
2016-06-22 14:48:15 +02:00
Simon Edwards
5f638f6e69 Better handling of degenerate convex hull cases.
Contributes to CURA-1504
2016-05-26 14:39:22 +02:00
Simon Edwards
3915dec426 Only remove the old convex hull shadow when a tool is really being used.
Contributes to CURA-1504
2016-05-24 20:56:41 +02:00
Simon Edwards
d7127b800c Finally, use the new convex hull code to compute the object 'shadow' and exclusion zones.
Contributes to CURA-1504
2016-05-23 17:21:52 +02:00
Jaime van Kessel
4e722d61ce Removed unused code 2016-04-28 15:28:50 +02:00
Jaime van Kessel
97d16ae3bd Update documentation & code cleanup 2016-04-08 14:26:28 +02:00
Ghostkeeper
0684cee681 Merge branch '2.1'
Conflicts:
	resources/machines/fdmprinter.json
	resources/machines/innovo-inventor.json
	resources/profiles/general/High+Quality.cfg
	resources/profiles/general/Low+Quality.cfg
	resources/profiles/general/Normal+Quality.cfg
	resources/profiles/general/Ulti+Quality.cfg
	resources/profiles/ultimaker2+/pla_0.4_high.curaprofile
2016-04-04 18:49:09 +02:00
Jaime van Kessel
99de21fba7 Setting one at a time mode now decreases size of build volume
CURA-1245 CURA-1224
2016-03-25 10:59:11 +01:00
Jaime van Kessel
6c2878221d Removed color from convex hull node when it has profile / setting
CURA-1251
2016-03-25 10:49:09 +01:00
Thomas-Karl Pietrowski
bbf931450a Marking another unused variable 2016-03-15 12:09:49 +01:00
Thomas-Karl Pietrowski
115d5dceae Removing more unneeded imports 2016-03-14 17:26:21 +01:00
Ghostkeeper
6ef5aeb02b Remove superfluous comment
This should be obvious. The thought process was that now we're using the builder instead of making the MeshData object directly, but that has only relevance if you still remember what the old code was.

Contributes to issue CURA-625.
2016-01-22 15:25:08 +01:00
Ghostkeeper
7e1927434a Use MeshBuilder to make convex hull mesh
The convex hull mesh was made without adding colours to the vertices. This was probably causing the convex hull to appear red on some machines, if red is the default vertex colour. Using meshbuilder makes code maintenance easier and allows us to easily set the colour of the vertices. Hopefully this fixes the issue with the red convex hulls.

Contributes to issue CURA-625.
2016-01-21 13:55:11 +01:00
Arjen Hiemstra
45d797515f Render Convex Hull below 0 to avoid z fighting artifacts 2015-12-14 13:58:24 +01:00
Arjen Hiemstra
435186e6d1 Fix convex hull and layer view rendering 2015-12-14 13:56:32 +01:00
Arjen Hiemstra
9900a0b327 Fix ConvexHullNode so it renders 2015-12-14 13:56:32 +01:00
Arjen Hiemstra
7395f37efe Update BuildVolume and ConvexHullNode to use new API 2015-12-14 13:56:32 +01:00
Arjen Hiemstra
9267b517d6 Fix coding style issues 2015-11-27 16:53:32 +01:00
Jaime van Kessel
45f213cd82 Head shape is now also shown in hull 2015-09-03 16:34:25 +02:00
Arjen Hiemstra
f099c30dfd Merge branch 'master' of github.com:ultimaker/Cura into per_object_settings
* 'master' of github.com:ultimaker/Cura: (98 commits)
  15.10 Restyling of the message stack
  Fixed machine head polygons
  Removed unused settings from fdmprinter
  Added action for togling fullscreen
  Fixed usage of wrong checkbox in viewpage
  Added preference to disable automatic push free
  Added preference to disable auto center when selecting object
  Cleanup
  15.10 Restyling toolbar, viewmode button
  Update README.md
  Update README.md
  Added rudementary 3 point bed leveling
  15.10 New font for Cura
  15.10 Changes the styling for the open file button
  15.10 Changes the label names for the different action buttons
  Fixed typo
  Endstop now stops listening upon destruction
  15.10 Re-alignment of the messagestack
  Cleaned up code a bit
  Added heated bed check
  ...
2015-08-21 13:29:30 +02:00
Arjen Hiemstra
6fa6b1ac5d Render ConvexHullNode with different colors depending on setting/profile overrides 2015-08-19 19:14:22 +02:00
Arjen Hiemstra
792c3426f8 Fix convex hull and other bits so they use the new API 2015-08-18 18:11:32 +02:00
Jaime van Kessel
ddc34eaa3a Fixed bug that caused crash when object was entirely below platform 2015-08-13 13:35:51 +02:00
Jaime van Kessel
132f51883f Mult-nested convex hulls should now be correctly updated 2015-07-16 15:14:05 +02:00
Jaime van Kessel
8e6dd2486f Groups now also have a convexHull 2015-07-14 16:41:59 +02:00
Arjen Hiemstra
9849283144 Do not render the convex hull node unless the object is selected
Contributes to #52
2015-06-16 13:20:22 +02:00
Arjen Hiemstra
ae71c309ac Move src to cura so we can use the same package for installed and source
Contributes to #41
Contributes to #42
2015-05-18 15:03:42 +02:00