Commit graph

64 commits

Author SHA1 Message Date
John Lewin
9866aba124 Conditionally highlight render features based on Inspector flag
- Disable rendering until enabled
2019-02-22 22:25:07 -08:00
John Lewin
a848b0fb41 Add GCode debug panel, add accessors for current render feature 2019-02-22 21:23:33 -08:00
John Lewin
2832f1f912 Switch to indicating highlight, allow feature to determine highlight 2019-02-22 21:23:32 -08:00
John Lewin
1e965fc2e7 Add support for color overrides 2019-02-22 21:23:32 -08:00
John Lewin
4f7d46aa13 Refactor Travel and Extrusion RenderFeatures
- Convert GetStart/GetEnd methods to public properties
- Use protected start/end fields in derived types
- Use pattern matching rather than cast and null checks
- Simplify
2019-02-22 21:23:32 -08:00
John Lewin
3dc22b2c80 Remove unused renderInfo parameter 2019-02-22 21:23:32 -08:00
John Lewin
f5fcde1083 Update member ordering 2019-02-22 21:20:42 -08:00
John Lewin
216bd91dc3 Use new path stroke properties 2019-01-15 15:23:08 -08:00
Lars Brubaker
e1ce3419f2 simple mesh 2019-01-11 17:10:45 -08:00
Lars Brubaker
e9c4ba5d28 Better tracking of extrusion and position in consideration of relative moves
Reset position tracking correctly for G92 s
Render G92 instructions correctly (don't show as filament change)
Remove dead code

issue: MatterHackers/MCCentral#4688
Don't force tool change on layer change
2018-12-11 14:12:25 -08:00
Lars Brubaker
1a434b6388 Moved extruder offsets from passing to MS to being part of stream processing
Made '; NO_PROCESSING' track printer position correctly
issue: MatterHackers/MCCentral#4658
Create setting for ZOffset for extruder 2
2018-12-04 13:28:46 -08:00
Lars Brubaker
fa218d9ebe Making it possible to have a z offset in multi extruder setups 2018-12-03 14:58:42 -08:00
Lars Brubaker
e68ee72c77 fixing alpha blending in 2d shape rendering to gl 2018-10-31 09:37:27 -07:00
Lars Brubaker
d5b06de172 Adding coast at end
mad travel render transparent
fixed layer identification in ms gcode
2018-10-17 13:49:56 -07:00
John Lewin
ee936efb8a Revise theme support 2018-10-13 21:09:04 -07:00
John Lewin
d08813587f Cleanup csproj files 2018-09-19 13:21:11 -07:00
John Lewin
750531b4ac Convert projects to .netstandard2 2018-09-06 11:31:38 -07:00
Lars Brubaker
9d188e6b23 Changing GL to be a runtime connection to the output device
Moved GL enums to files and directory
2018-08-23 11:35:12 -07:00
John Lewin
57041c235c Use new Graphics2D.Render(IVertexSource) signature 2018-08-14 17:34:28 -07:00
John Lewin
3888cab962 Fix observed exception 2018-07-18 17:12:56 -07:00
John Lewin
0a67792ab7 Revise casing and member naming 2018-07-12 12:28:22 -07:00
John Lewin
4d02a77d74 Use optimized Dispose pattern with suppressed finalizer on Dispose() 2018-07-12 12:28:22 -07:00
John Lewin
0d821fdaa6 Use local disposed property for guard rather than vertexId 2018-07-12 12:28:22 -07:00
John Lewin
18fd48d562 Guard BindBuffer/BufferData calls for empty arrays
- Issue MatterHackers/MCCentral#3843
Crash when model is floating above plate with no supports
2018-07-12 12:28:22 -07:00
John Lewin
79804f354b Move cleanup methods 2018-07-12 12:28:22 -07:00
John Lewin
fdd8aa60d2 Set capacity via constructor 2018-07-12 12:28:22 -07:00
John Lewin
302026a021 Move array construction into helper method, return new VertextBuffer 2018-07-12 12:28:21 -07:00
John Lewin
71f84a37e2 Make VertexBuffer arrays immutable, remove setter methods 2018-07-12 12:28:21 -07:00
Lars Brubaker
e800b652d2 Changed gcode width calculation back to what it was.
Took out dead code
2018-06-12 09:30:25 -07:00
Lars Brubaker
46dc1210be Getting image path generation and extrude working with rebuild 2018-06-06 15:52:06 -07:00
John Lewin
761c833668 Revise SimulateExtrusion == false to better depict toolpaths
- Issue MatterHackers/MCCentral#3469
GCode extrusion option having no impact
2018-06-05 18:13:30 -07:00
Lars Brubaker
25883fc0bc Working on mesh wrapper and rebuild issues 2018-05-31 09:05:08 -07:00
Lars Brubaker
fbd4f9e219 Improved GlyphTranslator
Added true type fonts
Refactored VertexStorage data types
Shortened FlagsAndComamand enum names
2018-05-15 15:06:40 -07:00
Lars Brubaker
611874275e Cleaning up some bad code around small gcode data 2018-05-11 16:59:22 -07:00
Lars Brubaker
c2d2509195 Got the per layer info to show up in gcode view
Fixed bugs with gcode parsing
Moved classes into separate files
2018-05-08 15:19:29 -07:00
John Lewin
e7bf28d770 Simplify 2018-04-13 12:33:16 -07:00
John Lewin
27dd2ecedb Guard against observed exception 2018-04-06 16:02:51 -07:00
John Lewin
8bc9137424 Simplify color table creation, eliminate expensive load
- Issue MatterHackers/MCCentral#3006
Calculating gcode view when showing speeds is very slow on large models
2018-03-30 21:54:23 -07:00
John Lewin
d1b0797282 Remove full GCode iteration in renderer, use Speeds from GCodeMemoryFile 2018-03-30 21:17:16 -07:00
John Lewin
45f7063879 Upgrade framework to 4.7.1 2018-03-21 23:05:08 -07:00
John Lewin
5c76436fb5 Add prototype for user driven GCode coloring mode
- Issue MatterHackers/MCCentral#2793
Non-speed rendering should avoid using colors from the speeds table
- Issue MatterHackers/MCCentral#2792
Speeds legend should only be visible when Speed rendering is enabled
2018-02-09 21:51:06 -08:00
John Lewin
f5d31e7d29 Move Printing objects from GCodeVisualizer namespace to MC.Printing 2018-01-05 12:44:57 -08:00
John Lewin
1a77262b58 Revert unexpected change 2017-12-27 17:49:44 -08:00
John Lewin
f1ea9113e8 Configure -> Printer prototype
- Issue MatterHackers/MCCentral#2408
Migrate SliceSettings -> Printer to Printer -> Setup
2017-12-27 17:46:52 -08:00
John Lewin
5e7e8cf502 Adjust rendering to center on Z
- Issue MatterHackers/MCCentral#2115
Layer lines render half a nozzle higher than expected
2017-12-27 17:35:21 -08:00
John Lewin
068bfc2d9a Fix GCode line endcaps 2017-11-17 19:25:21 -08:00
John Lewin
3bdf6a5b92 Reset projects to AnyCPU 2017-11-02 18:01:37 -07:00
Lars Brubaker
cc4dc1b954 Switch to any cpu 2017-11-02 15:58:12 -07:00
Lars Brubaker
cfca964294 More Refactoring of RGBA_Bytes 2017-11-01 18:13:47 -07:00
Lars Brubaker
359784877f Unify Vector2 3 and 4 to have upper case field members 2017-10-31 12:53:46 -07:00