John Lewin
5873d254c6
Extract GCode generation to dedicated type
2019-02-19 11:05:42 -08:00
John Lewin
223b85760e
Extract embedded type to new file
2019-02-19 11:05:42 -08:00
John Lewin
35808e4bda
Use new onloadInvoked member
2019-02-19 11:05:42 -08:00
John Lewin
bae0bf9020
Add mechanism to DialogPage to start and show SetupWizards
...
- Remove special behavior in each SetupWizard for showing Dialogs
- Move initialization code in old Start method into constructors
2019-02-19 11:05:42 -08:00
John Lewin
843b353bbb
Move window.Closed listeners to IDisposable.Dispose
2019-02-19 11:05:42 -08:00
John Lewin
29812fdf82
Add WindowTitle to ISetupWizard
2019-02-19 11:05:42 -08:00
John Lewin
c5038e6772
Convert nozzle calibration into wizard format
...
- Wire up intro/heater/homing/templateprint/calibrate
2019-02-19 11:05:42 -08:00
John Lewin
6d613dd1e1
Add simple constructor
2019-02-19 11:05:42 -08:00
John Lewin
c85cd950d6
Set protected windowTitle in constructor
2019-02-19 11:05:41 -08:00
John Lewin
9d1170f118
Move SetupWizards to dedicated folder
2019-02-19 11:05:41 -08:00
John Lewin
029f4fc0a7
Reduce wizard definitions to new ISetupWizard interface
...
- Remove overlapping roles with DialogPage
- Use ISetupWizard to define forward through page definitions
- Remove PrinterSetupWizardRootPage, use first page in Pages
2019-02-19 11:05:41 -08:00
John Lewin
4e0078ebf0
Rename type
2019-02-19 11:05:41 -08:00
John Lewin
49c933eb56
Use GCode helper Transform
2019-02-19 11:05:41 -08:00
John Lewin
4334f279fe
Extract PrintLineEnd to new method
2019-02-19 11:05:41 -08:00
John Lewin
2b3817409d
Extract embedded type to new file
2019-02-19 11:05:41 -08:00
jlewin
38cbfa8fb9
Increment rather than reassign X offset
2019-02-19 11:05:41 -08:00
jlewin
e4c2fab814
Assign X offset
2019-02-19 11:05:41 -08:00
jlewin
32012097a3
Move calibration template into NozzleOffsetCalibrationPrintPage
2019-02-19 11:05:41 -08:00
jlewin
1d90446032
Convert SetExtruderZOffset into reusable SetExtruderOffset method
2019-02-19 11:05:41 -08:00
jlewin
429b2d0c30
Add Nozzle Offset calibration to Controls
2019-02-19 11:05:41 -08:00
jlewin
cb6a5616d0
Add calibration gcode template
2019-02-19 11:05:41 -08:00
jlewin
4cb10136ee
Expose Glyphs globally and ensure points centered around origin
2019-02-19 11:05:41 -08:00
jlewin
6772911a08
Switch back to T0 at probe calibration conclusion
...
- Short term workaround for move up behavior on homed Pulse
2019-02-19 11:05:41 -08:00
jlewin
640833367d
Update SwapToSettings to update in-place as recommended in TODO
2019-02-19 11:05:40 -08:00
johnlewin
383877b76d
Merge pull request #4290 from jlewin/master
...
Revise wizard system
2019-02-19 10:55:33 -08:00
John Lewin
b53e34d8f4
Fix typo
2019-02-15 21:04:45 -08:00
John Lewin
edba8b333f
Fix naming error
2019-02-15 21:03:01 -08:00
John Lewin
d035c58d10
Simplify naming
2019-02-15 20:58:13 -08:00
John Lewin
76ceddeec0
Remove conditional MoveRelative call from old BecomingActive scope
2019-02-15 20:54:08 -08:00
John Lewin
81678d9f8c
Simplify Page access, pass page instance reference to PageLoad
2019-02-15 20:54:08 -08:00
John Lewin
1b463ffaa7
Convert custom WizardPage actions/events to existing ones
...
- Remove PageIsBecomingActive, prefer existing OnLoad
- Remove PageIsBecomingInactive, prefer existing OnClosed
- Rename BecomingActive action to PageLoad, used for inline defs
- Rename BecomingInactive action to PageClose, used for inline defs
- Fire PageLoad/PageClose from page base OnLoad/OnClosed
2019-02-15 20:09:48 -08:00
johnlewin
ec826abd39
Merge pull request #4288 from jlewin/master
...
Simplify LevelingStrings
2019-02-15 11:02:08 -08:00
John Lewin
c3cc82f689
Fix string.Format parameter indexes
2019-02-15 09:18:47 -08:00
John Lewin
5ba569c9da
Remove duplicate bullet point
2019-02-15 09:17:13 -08:00
John Lewin
89708e5627
Extract logic to caller
2019-02-15 09:13:28 -08:00
John Lewin
92a2e8c9ed
Remove specificity
2019-02-15 09:04:39 -08:00
John Lewin
91b5659138
Use localized string instead of helper method
2019-02-15 09:03:14 -08:00
John Lewin
2823fc888f
Remove PrinterSettings dependency
...
- Leave dependency in caller
- Simplify LevelingStrings
2019-02-15 08:58:44 -08:00
John Lewin
3c3851d32a
Simplify LevelingStrings
...
- Use localized strings in context
- Eliminate LevelingString references when possible
2019-02-15 08:55:48 -08:00
Lars Brubaker
81bc321a21
Merge pull request #4286 from larsbrubaker/master
...
Finishing up subtract and replace
2019-02-13 14:10:36 -08:00
Lars Brubaker
bcfb3f897e
Subtract and replace enabled correctly
...
Clean up children names if needed
2019-02-13 14:03:57 -08:00
Lars Brubaker
9741ced755
Finishing up subtract and replace
...
issue: MatterHackers/MCCentral#4929
Move away from mesh wrapper to source item
2019-02-13 12:02:32 -08:00
Lars Brubaker
bd7888ff43
Merge pull request #4285 from larsbrubaker/master
...
Working on the new subtract tool
2019-02-13 10:45:33 -08:00
Lars Brubaker
ac03a4fcfd
Improving subtract object rendering
2019-02-13 10:26:02 -08:00
LarsBrubaker
76c4985111
Working to get subtract to show edit data better
2019-02-13 08:12:30 -08:00
Lars Brubaker
f70353a1ff
Getting Subtract and Replace 2 working (almost)
2019-02-12 17:27:22 -08:00
Lars Brubaker
1e723c71fe
Merge pull request #4283 from larsbrubaker/master
...
Working on subtract as source object
2019-02-12 17:25:28 -08:00
Lars Brubaker
51d7193bf0
Subtract 2 is working well now and rebuilding
...
Cleaning up On Invalidate and rebuild
issue: MatterHackers/MCCentral#4965
Rebuild should directly call base.OnInvalidate to prevent re-entering this.OnInvalidate
issue: MatterHackers/MCCentral#4964
Rebuild should fire Invalidate if content is changed
issue: MatterHackers/MCCentral#4970
Consider if primitives should use background tasks in Rebuild
issue: MatterHackers/MCCentral#4966
async Rebuild calls must be awaited in Create methods
2019-02-12 16:06:32 -08:00
LarsBrubaker
7598c8bf9c
Getting subtract object to work as source
2019-02-12 16:06:32 -08:00
Lars Brubaker
b73c4e5f63
Getting subtract 2 working
2019-02-12 16:06:31 -08:00