Commit graph

51 commits

Author SHA1 Message Date
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
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
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
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
Lars Brubaker
8d1fecab8c Changed RGBA_Bytes -> Color 2017-10-31 11:43:25 -07:00
John Lewin
6c21f79ef6 Revise control names 2017-10-22 20:09:40 -07:00
Lars Brubaker
da5a9279df Refactoring PathStorage -> VertexStorage 2017-10-10 15:42:33 -07:00
Lars Brubaker
ab41b7c1a7 Pass graphics 2D to 3D render calls so we can draw to the screen 2017-08-24 13:58:14 -07:00
Lars Brubaker
9f14121268 Get the extrusion colors to match material colors 2017-08-15 09:35:55 -07:00
Lars Brubaker
f404da20e9 Working on new value display.
White space
2017-07-07 12:10:24 -07:00
John Lewin
50b60868f2 Rename method for clarity 2017-07-06 07:56:38 -07:00
John Lewin
c5267b0f41 Remove redundant implementation, reuse View3D RenderInfo options 2017-07-05 13:04:50 -07:00
John Lewin
d6829ff52d Update RenderType on settings change 2017-07-05 12:45:42 -07:00
John Lewin
81e3cc1425 Rename NumChangesInZ to LayerCount 2017-06-29 14:17:08 -07:00
John Lewin
3ab89b8d3f Move ownership of GCode ActiveLayer & FeatureToStart/StopOn to model 2017-06-29 14:17:08 -07:00
John Lewin
2dfe25c9ee Use auto properties 2017-06-28 19:01:21 -07:00