Commit graph

1833 commits

Author SHA1 Message Date
Lars Brubaker
611874275e Cleaning up some bad code around small gcode data 2018-05-11 16:59:22 -07:00
LarsBrubaker
47335b7219 improve gcode layer display:
issue: MatterHackers/MCCentral#3331
Index out of range exception when loading mostly empty GCode file

issue: MatterHackers/MCCentral#3332
more layer info
2018-05-11 14:40:56 -07:00
John Lewin
dd6c105fd3 Switch from GCode to Model view on drag over
- Issue MatterHackers/MatterControl#3148
After deleting obj in GCode view, model stays visually (kinda confusing?)
2018-05-10 17:21:59 -07:00
John Lewin
664b736f66 Disallow model selection in GCode views
- Issue MatterHackers/MatterControl#3148
After deleting obj in GCode view, model stays visually (kinda confusing?)
2018-05-10 17:14:54 -07:00
LarsBrubaker
c3ffe541be Refactoring selection bounds to be in world space
refactoring changing signatures
2018-05-10 10:20:39 -07:00
John Lewin
95a82a3093 Cleanup 2018-05-10 08:37:55 -07:00
John Lewin
6dcbd60fc0 Remove Invalidate from OnDraw call
- Issue MatterHackers/MCCentral#3347
Invalidate should not be invoked from Draw
2018-05-10 08:37:55 -07:00
John Lewin
b8d5b00ad3 Compute rather than move for selection render
- Issue MatterHackers/MCCentral#3344
Won't close if there is a selection on the bed

- Issue MatterHackers/MCCentral#3347
Invalidate should not be invoked from Draw
2018-05-10 08:37:54 -07:00
Lars Brubaker
f39d2116ee Made the selection much faster and consistent 2018-05-09 16:41:45 -07:00
John Lewin
7fadf07589 Change ZOffset to LayerTop 2018-05-09 15:27:31 -07:00
Lars Brubaker
9678fe7561 Don't show internals of !persistable objects 2018-05-09 12:30:49 -07:00
John Lewin
f6ce9431b6 Move state from widget to model and revise persistence/init
- Issue MatterHackers/MCCentral#3305
View style state not synced on load
2018-05-09 08:41:29 -07:00
John Lewin
6441440764 Improve readability, add uncommitted change 2018-05-09 07:50:50 -07:00
John Lewin
50ec91ea2f Ensure drag-drop GCode is disallowed on part tabs
- Issue MatterHackers/MCCentral#3318
Drag-drop GCode to part tab should not be allowed
2018-05-09 07:35:42 -07:00
John Lewin
7731b0b4fd Revise naming for clarity 2018-05-08 17:24:14 -07:00
John Lewin
4707907901 Only rebuild printer tab if printer changed
- Issue MatterHackers/MCCentral#3327
Avoid unnecessary printer tab close and reload
2018-05-08 17:24:14 -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
e882387187 Make AddTab virtual 2018-05-08 13:14:29 -07:00
John Lewin
eae0a57393 Ensure correct tab position on add 2018-05-08 12:49:19 -07:00
John Lewin
4bc195ab7a Ensure Printer tab icons honor scaling factor
- Issue MatterHackers/MCCentral#3324
2018-05-08 09:00:33 -07:00
John Lewin
3e600cfd6e Ensure single printer tab only, add support for AddTab(widget, index)
- Issue MatterHackers/MCCentral#3303
Don't open the same printer 2x when selecting a different plate
2018-05-08 08:53:37 -07:00
John Lewin
511362bcf4 Adjust Materials selector for consistency and ColorButton alignment
- Issue MatterHackers/MCCentral#3285
Need to align none
2018-05-07 19:22:21 -07:00
John Lewin
a1a0805ef8 Bring bed colors closer to each other across Model/GCode3D/GCode2D
- Issue MatterHackers/MCCentral#3320
2018-05-07 19:22:21 -07:00
John Lewin
45b8c06827 Switch back to Model view on ClearPlate
- Issue MatterHackers/MCCentral#3284
clearing the bed does not switch back on the 3D view after dragging on GCode
2018-05-07 19:22:21 -07:00
John Lewin
9a43326fd5 Switch to GCode view on load if is GCode content 2018-05-07 19:22:21 -07:00
John Lewin
e46737072e Never intentionally null ContentStore 2018-05-07 19:22:21 -07:00
John Lewin
37c131adac Remove hard-coded PlatingHistory binding, reuse current reference 2018-05-07 19:22:20 -07:00
John Lewin
7fa6736e4b Remove this prefix on local member 2018-05-07 19:22:20 -07:00
John Lewin
d1be142934 Persist expansion state of progress widgets
- Issue MatterHackers/MCCentral#3202
remember full / compact state of 3D progress indicator
2018-05-07 13:12:32 -07:00
John Lewin
ff833f230e Revise naming to reflect behavior 2018-05-07 09:47:50 -07:00
John Lewin
ff20c4e48e Remove redundant validation 2018-05-07 09:47:50 -07:00
John Lewin
dbee0e428f Use initializer syntax 2018-05-07 09:47:49 -07:00
John Lewin
9aa8bb80b1 Remove helper method 2018-05-07 09:47:49 -07:00
John Lewin
03838baef0 Use PNG for X icon
- Issue MatterHackers/MCCentral#3278
X is not same black as checkmark (switch it to an icon in the icon folder)
2018-05-05 08:36:02 -07:00
Lars Brubaker
ce5ad5f687 Updated animation callback
Working on fixed string
2018-05-04 13:48:06 -07:00
John Lewin
3f81c5e83d Add persistence mechanism for Part tabs
- Issue MatterHackers/MCCentral#3162
Tabs need new persistence mechanism to survive ReloadAll
2018-05-03 23:00:02 -07:00
John Lewin
0038c3c251 Use Round values when enforcing integer bounds 2018-05-03 14:14:38 -07:00
Lars Brubaker
6bf019c5b4 Change make permanent to apply (consistent with solidworks)
issues:
MatterHackers/MCCentral#3273
Selection object should not have delete and make permanent
MatterHackers/MCCentral#3277
check on text makes group of meshes
MatterHackers/MCCentral#3276
disable delete on text
MatterHackers/MCCentral#3263
Need a material none button (unset)
2018-05-02 14:34:51 -07:00
Lars Brubaker
f825e502b9 Cleaning up calls 2018-05-02 11:06:52 -07:00
Lars Brubaker
27b1e31ac5 Working on fit to bounds having radial option (image coin support)
Make default names and colors for all primitives
Improving public property editor context so we can show many at the same time
fixed spelling
2018-05-02 10:59:19 -07:00
Lars Brubaker
c3653967d0 Automation runner defaults to agg input methods and tests pass
Got agg input methods working better
deleted some unneeded tests
Working on adding past image to clipboard
Working on adding past FileDropList to clipboard
2018-04-30 15:16:25 -07:00
John Lewin
7847c1e574 Use consistent Click/RunOnIdle/async pattern for empty plate buttons 2018-04-30 07:14:20 -07:00
John Lewin
afc6e9855b Fix failing QualitySettingsStayAsOverrides test
- ClearPlate relies on loaded EditContext, thus load empty instead
2018-04-30 07:14:20 -07:00
John Lewin
d4dfb9d21e Use actual part history in ExporeBar -> Parts list 2018-04-29 11:03:48 -07:00
LarsBrubaker
05c4b75871 Getting leveling triangle lookup to have a cache 2018-04-28 13:35:39 -07:00
John Lewin
3b31a77d32 Inflate padding to account for scaling
- Issue MatterHackers/MCCentral#3236
Incorrect menu size when scaled to minimum size (0.7)
2018-04-27 18:38:57 -07:00
Lars Brubaker
8ad0dd293c Show the what's new after connect if not seen yet 2018-04-26 16:41:51 -07:00
Lars Brubaker
d1629c9433 Put colors back on primitives
Added 'Advanced' to more primitives
Removed redundant primitives
2018-04-26 14:58:45 -07:00
John Lewin
3906d1b659 Improve scaling 2018-04-26 07:56:29 -07:00
Lars Brubaker
e74cd66d73 Added 'Create printer' message
Fixing tests
2018-04-25 16:42:48 -07:00