Commit graph

67 commits

Author SHA1 Message Date
jlewin
c327fce29b Fix AABB for items not in scene root
MatterHackers/MCCentral#5335
Some operations causing objects to render transparent
2019-04-15 16:07:01 -07:00
John Lewin
a290cd672e Handle wipe tower case
- Issue MatterHackers/MCCentral#5323
Add hotend limits support for multi-material items
2019-04-13 15:35:54 -07:00
John Lewin
60a1238f54 Migrate nozzle limits texture construction to drawable
- Construct and cache textures after use
- Create placeholder textures for use before constructed
- Remove bed texture construction from CreatePrintBedAndVolume
- Issue MatterHackers/MCCentral#5325
Migrate to themed bed colors
- Issue MatterHackers/MCCentral#5320
Cache per hotend bed textures
2019-04-13 02:13:20 -07:00
John Lewin
ddf9a8784f Invalidate per hotend bed textures on related settings change
- Issue MatterHackers/MCCentral#5321
2019-04-12 22:18:17 -07:00
jlewin
bf50de40e6 Draw hotend label, add RoundeRectShape with per corner radius 2019-04-12 16:44:07 -07:00
jlewin
c12e053493 Revise hotend bounds rendering 2019-04-12 16:44:06 -07:00
jlewin
1d1a06a966 Use new Vector4/Bounds field for nozzle insets 2019-04-12 16:44:06 -07:00
jlewin
8a0115f4d5 Refresh bed texture with nozzle limits 2019-04-12 16:44:06 -07:00
jlewin
db94e08e1c Move HotendBounds to PrinterSettings 2019-04-12 16:44:06 -07:00
jlewin
a5eebbb0ae Render hotend bounds on bed, color items to highlight out of bounds 2019-04-12 16:41:22 -07:00
LarsBrubaker
2248dbfcfc Made it possible to pass in the shape of the wipe tower 2019-03-17 10:58:28 -07:00
John Lewin
78e5649506 Code cleanup 2019-02-22 23:13:56 -08:00
John Lewin
b85d79e774 Extract leveling data visualizer to IDrawable 2019-02-22 21:53:34 -08:00
John Lewin
9ca18ad7ef Add LevelingMeshVisualizer for bed view 2019-02-22 21:14:17 -08:00
Lars Brubaker
ac03a4fcfd Improving subtract object rendering 2019-02-13 10:26:02 -08:00
John Lewin
1faddfd80c Observe Drawable.Enabled and DrawStage 2019-02-04 16:18:06 -08:00
John Lewin
32ab931342 Add item TraceData renderer 2019-02-04 16:18:06 -08:00
John Lewin
02793f790b Simplify 2019-02-04 16:18:06 -08:00
John Lewin
cf4bece014 Extract selection rendering to new Drawable 2019-02-04 16:18:06 -08:00
John Lewin
a9bb99cd99 Adjust timing so that some stages are inside/outside of SetGLContext 2019-02-04 16:18:06 -08:00
John Lewin
83712d7e08 Add and use new ISceneContext interface 2019-02-04 16:18:06 -08:00
John Lewin
ae923cd484 Move AddTransformSnapshot to InteractiveScene 2019-02-04 16:18:06 -08:00
John Lewin
3e7fcbbc09 Consolidate conditional color logic into existing GetItemColor() 2019-02-04 16:18:05 -08:00
John Lewin
2d1c6a560a Add toggles to Gui surface for demo 2019-02-04 16:18:05 -08:00
John Lewin
c7e76e1996 Add Enabled property to IDrawable 2019-02-04 16:18:05 -08:00
John Lewin
8aaa42d078 Invoke drawables at each stage 2019-02-04 16:18:05 -08:00
John Lewin
aaf543c2c7 Rename method to match behavior 2019-02-04 16:18:05 -08:00
John Lewin
316c15a844 Extract drawing from PPE to InteractionLayer
- Eliminate event bindings, invoke DrawEditor directly
2019-02-04 16:18:05 -08:00
John Lewin
5c54285392 Remove unused DrawGlTransparentContent event 2019-02-04 16:18:05 -08:00
John Lewin
7293319e4e Collapse single use method into caller 2019-02-04 16:18:05 -08:00
John Lewin
ff7b8e40cf Add item Drawables list 2019-02-04 16:18:05 -08:00
John Lewin
8f58e8e8d4 Extract InspectedItem render to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
a8dd1c6a5d Extract AABB debugger to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
0f857acc96 Add iterable list of Drawables to viewer 2019-02-04 16:18:05 -08:00
John Lewin
c2fee997d2 Extract AxisIndicator to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
add10eb242 Enable Drawable example 2019-02-04 16:18:04 -08:00
John Lewin
2a37ac564a Extract debug Drawables 2019-02-04 16:18:04 -08:00
John Lewin
f6a1029efc Extract drawable component from viewer 2019-02-04 16:18:04 -08:00
John Lewin
088db639a3 Indirectly combine MeshViewWidget and InteractionLayer 2019-02-04 16:18:04 -08:00
John Lewin
56475a4bfa Remove dead code 2019-02-04 16:18:04 -08:00
LarsBrubaker
6731fdc5d8 Merge branch '2.19.2' 2019-02-03 13:34:11 -08:00
John Lewin
8dfbd04423 Resuse existing AddToPlate() to pickup latest load/position behavior
- Move behavior into more reusable location, next to similar
  AddToPlate helper methods
- Issue MatterHackers/MCCentral#4955
Part plated at origin instead of bed center
2019-01-31 16:07:05 -08:00
Lars Brubaker
9061c2ed35 Needed to have the texture on the bed have some transparent pixels in it
issue: MatterHackers/MCCentral#4961
Support Pillars are invisible unless viewing from underneath bed
2019-01-31 13:46:19 -08:00
John Lewin
7037772465 Extract embedded types to new files 2019-01-30 08:26:23 -08:00
John Lewin
17c055c3bd Remove unnecessary indirection 2019-01-30 08:26:23 -08:00
LarsBrubaker
d63479a736 Setting better gcode default rendering values 2019-01-19 15:20:48 -08:00
Lars Brubaker
e1ce3419f2 simple mesh 2019-01-11 17:10:45 -08:00
John Lewin
5d109d4980 Use new FindDescendants syntax 2018-12-30 08:27:30 -08:00
John Lewin
af142f6992 Rename GuiWidget find descendant helpers 2018-12-30 08:18:22 -08:00
John Lewin
03bdbf51d6 Remove dead event 2018-12-29 12:33:01 -08:00