Commit graph

289 commits

Author SHA1 Message Date
Lars Brubaker
d129a75311 We can now move all the way through the initial setup on first run
Fixed a bug with timing of injecting regex replacements
moved T (extruder) tracking to queued command stream
check that we have loaded filament on extruder 1

issue: MatterHackers/MCCentral#5029
Don't do actual switch of extruders until there is a pending move command
2019-02-07 14:28:22 -08:00
Lars Brubaker
572fdd847a Getting switch extruder pre-gcode to run when needed
refactoring
2019-02-06 12:34:20 -08:00
John Lewin
3cd7314452 Fix naming 2019-02-04 20:08:33 -08:00
John Lewin
386dd2fd54 Move render toggles into dedicated menu 2019-02-04 20:06:34 -08:00
John Lewin
4164b615df Restore GCode2D view 2019-02-04 16:18:07 -08:00
John Lewin
f6a2f89b1c Use new IAVolumeProviders from Revised Plugins 2019-02-04 16:18:07 -08:00
John Lewin
fd675ab07e Listen for scene selection change and lookup IAVolume overrides 2019-02-04 16:18:07 -08:00
John Lewin
1a33e8d074 Add mechanism to override default IAVolumes per type
- Change .InteractionVolumes from List to IEnumerable
- Add mappings of type -> IAVolument overrides
- Conditionally returned mapped IAVolume overrides
- Force IAVolume registration through .RegisterIAVolume()
2019-02-04 16:18:07 -08:00
John Lewin
d8c8be922d Change IAVolume processing from index to instance
- Support changing IAV lists at runtime without index-out-of-range
2019-02-04 16:18:07 -08:00
John Lewin
23396a6c6d Clean up on Close 2019-02-04 16:18:06 -08:00
John Lewin
6347287c85 Extract BVH rendering logic for BvhIterator for reuse
- Reduce dependency to Matrix/IBvhItem instead of BvhIterator
2019-02-04 16:18:06 -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
330aba83f7 Add item Drawables to menu 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
3f02989e62 Remove redundant World dependency 2019-02-04 16:18:06 -08:00
John Lewin
6399686eed Remove UndoBuffer dependency from viewer 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
3e9b6d6fb0 Consolidate 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
0d895258aa Require additional metadata for Drawables 2019-02-04 16:18:05 -08:00
John Lewin
54b43faa2a Convert View3DWidget event handler into IDrawable interface 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
9908b54dbc Improve naming 2019-02-04 16:18:04 -08:00
John Lewin
56475a4bfa Remove dead code 2019-02-04 16:18:04 -08:00
John Lewin
0b1e3732c4 Revise plugins 2019-02-04 16:18:04 -08:00
LarsBrubaker
6731fdc5d8 Merge branch '2.19.2' 2019-02-03 13:34:11 -08:00
Lars Brubaker
add3356085 Make all the supports remove when we ask to remove supports
issue: MatterHackers/MCCentral#4978
Cannot remove support after saving and reopening design
2019-01-31 18:23:22 -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
John Lewin
15a6f063d7 Remove dead code 2019-01-31 16:02:28 -08:00
John Lewin
3dec3a93fb Remove redundant key definitions 2019-01-31 16:02:28 -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