85 Commits (98d362c2da07f2179d5f7af801f513b6f5a5f8e8)

Author SHA1 Message Date
Scott Lahteine fc140c4962 Followup for I2C_POSITION_ENCODERS 8 years ago
Scott Lahteine 05449cf6ee Add shorthand value accessors to gcode.h 8 years ago
Scott Lahteine 12f092c812 Cleanups to gcode.h, use seenval() 8 years ago
dot-bob a1632cfa0a Added option 'H' to G29 P4.
- Added `H` to set a nozzle height adjustment to surface of the bed.
- Updated G29 P4 comments to reflect changes.
8 years ago
Scott Lahteine 6c45d0fd81 Apply maths macros and type changes ahead of HAL 8 years ago
Scott Lahteine 062131554f Followup to #7045 8 years ago
Scott Lahteine d9da126776 Cleanups for UBL / ultralcd.cpp 8 years ago
Roxy-3D 824f71d503 LCD Panel Interactive Mesh Editing (#7045)
Original Mesh Bed Leveling replacement put at top of UBL Menu Options to
help facilitate the removal of the Original Mesh Bed Leveling.

Radar display (and control) of the UBL Interactive Mesh Editing.
8 years ago
Scott Lahteine e94f79ccea Patch some serial macros 8 years ago
Tannoo 731c8e6372 Translatable Strings for ubl_G29 (#6990) 8 years ago
Scott Lahteine 6bb05c4543 Save 20b in smart_fill_mesh with PROGMEM 8 years ago
bgort 82e662fc69 Remove requirement for LCD when UBL is used. (#6971)
* Remove requirement for LCD when UBL is used.

* fix previous oversights

* further refinement - error messages for P2 & P4

* require R on G26 when not using LCD; default to all points
8 years ago
oldmcg 9f295581f0 Ubl delta fixes and improvements (#6941)
* Change all direct changes of ubl.state.active to
  set_bed_leveling_enabled() which handles apply/unapply
  leveling to maintain current_position consistency.

Fix invalidation of UBL mesh to invalid unreachable
  mesh points as well (delta corners).

Fix UBL_DELTA unapply_leveling logic and when
it gets applied, including fade_height changes.

Add optional M114 D for detailed position information,
disabled from compilation by default (M114_DETAIL).

* UBL_DELTA raw and inline kinematics

* UBL planner fall through fix

* consistent variable names

* Cleanup orphaned code and whitespace changes.
Use _O2.

* compile warnings cleanup

* Remove redundant #ifdef condition
8 years ago
Scott Lahteine 46b32e4548 Cleanup LCD interface, add lcd_reset_status 8 years ago
Scott Lahteine 6f89db11f0 Allow lcd_setstatusPGM to reset the alert level 8 years ago
Scott Lahteine f4028fe088 New GCode Parser - Implementation 8 years ago
Scott Lahteine 85b967657e Embed G26/G29 in ubl class, with enhancements 8 years ago
Scott Lahteine c99bd69889 Apply const float & more 8 years ago
Scott Lahteine c2ea22da49 Clean up whitespace 8 years ago
oldmcg 48f7652143 UBL G29 -P3.1 smart fill (#6823)
* UBL G29 -P3.1 mesh fill with distance-weighted least squares fit.

* Back to original -O0 on G29 for now.
8 years ago
Roxy-3D 3129260c44 Misc. Clean Up (#6822)
* Misc. Clean Up

Mostly UBL related clean up.
- But fixed a bug in the thermistortables.
- Made G26 more responsive to user aborts.
- Added sanity checks for older name for UBL_MESH_VALIDATION.
- Made G29 P4 able to edit invalidated mesh points
- Restore a reasonable Fade Height for UBL when creating new state information
- Get UBL's Topology Map to look a little bit better
- Make sure the user doesn't see a blank screen when doing Mesh Editing.

* Huh???   GitHub Desktop screwed up!

* get the planner object in scope

* Fix out of scope z_fade_height

* Travis timed out...

I need a change so I can force a new commit and sync.
8 years ago
Scott Lahteine 02f15f6775 UBL-related cleanup, spacing, standards
Reference: #6804
8 years ago
Scott Lahteine 3c061a9f9a UBL tabs, whitespace, spelling, etc. 8 years ago
Scott Lahteine 75badae2f8 Disable PROBE_MANUALLY for UBL
Plus some other UBL tweaks.
8 years ago
Scott Lahteine 94a4af1d7f Merge pull request #6773 from thinkyhead/bf_lcd_patch_e5
Patch LCD code for 5th extruder
8 years ago
Brian 43c24f0027 Fix recent regressions, &c.
- fix broken `M421` due to less-than-careful optimization
- add HOME_AFTER_DEACTIVATE define to advanced config so not everyone has to rehome after steppers are deactivated
- misc. cleanups (remove unused label, unused variables)
8 years ago
Scott Lahteine 6c064bb7d6 Some probe_pt error-handling 8 years ago
Scott Lahteine a3abfeac47 Mark strings needing translation 8 years ago
Scott Lahteine 7f4e4b1212 UBL name/state methods 8 years ago
Brian 7852369987 Implement CRC16, develop mesh allocation table
- Add crc16 utility function
 - Implement CRC16 for config store, remove old checksum, increment layout version
 - Move UBL mesh store/load to MarlinSettings; increment UBL_VERSION
 - Begin to lay out MAT structure, prototype functions, etc.
 - Rename ubl.state.eeprom_storage_slot to .storage_slot
 - Misc. optimization
 - Cleanup/standardize/improve some messages

This is a work in progress!
8 years ago
Scott Lahteine 6b6630e11b Clean up trailing whitespace and tabs 8 years ago
Roxy-3D d30e478f97 Fix incorrectly optimized find_closest_mesh_point_of_type() function (#6761) 8 years ago
Roxy-3D 8606644343 M48 Fix for Delta Configuration Files & UBL G29 only homes when necessary (#6757)
* Fix M48 for Delta's  There was a scope issue: DELTA_PROBEABLE_RADIUS wasn't getting defined.

* Check if the specified G29 command requires homing
8 years ago
Tannoo 0cd398c25d UBL Menu Updates (#6751)
Things should be pretty stable for a while.   
But it wouldn't surprise me if the Delta people have a need for a few special commands.
8 years ago
Scott Lahteine 0fef9a2983 Remove "ubl." prefix from calls within ubl method 8 years ago
Scott Lahteine 14a4257c7b UBL tabs, whitespace, spelling, etc. 8 years ago
Scott Lahteine 56e2e331ed UBL G29: replace 'O' with 'T'
Since we already used 'T' for `G29` Topology Report in the past, and since 'T' is available…
8 years ago
Scott Lahteine 4ec4ecff1a Reduce find_closest_mesh_point_of_type a little 8 years ago
Roxy-3D 1fbcbc05f6 UBL no longer flout's the sacred GCode standard (#6745)
Also clean up ubl_motion.cpp debug info and fix declaration of cx & cy
8 years ago
Scott Lahteine 267f77b18b More constraint on axis_unhomed_error 8 years ago
Scott Lahteine a7fb55ea6d Use GRID_MAX_POINTS. Some formatting 8 years ago
Scott Lahteine ba29da56e0 Add disclaimer for verboten parameters 8 years ago
Scott Lahteine 233f824dd6 Define GRID_MAX_POINTS 8 years ago
Scott Lahteine b0ba5cae73 Fix a spelling boo 8 years ago
oldmcg 91841d75c9 UBL_DELTA (#6695)
UBL on Delta's....     Should be close!    Should not affect any Cartesian printer.
8 years ago
bgort 445003dbb8 Merge pull request #6694 from bgort/g29p2b
UBL:  Minor improvement to G29 P2
8 years ago
Brian 5a5dba6fc8 UBL: Minor improvement to G29 P2
- allow H code value to override probing height
- minor cleanups
8 years ago
Brian ae676490c9 M421: Add 'adjust closest point' capability
- Split M421 into separate versions for bilinear and ubl
- Fix minor issue in G26
8 years ago
Roxy-3D b63e82f309 M421 Mesh Point Offset and misc. UBL clean up (#6685)
* M421 Mesh Point Offset and misc. UBL clean up

Allow M421 to accept an offset as well as absolute value for a specified
mesh point.
And misc. UBL clean up to reduce redundent code.

* Better error checking for M421

* Fix M421 Y index bug

I just noticed....  We've had a Y index bug for who knows how long?
8 years ago
Tannoo 66db6c3acc UBL Menu System 1.1
/**
     * UBL System submenu
     *
     *  Prepare
     * - Unified Bed Leveling
     *   - Activate UBL
     *   - Deactivate UBL
     *   - Mesh Storage
     *       Memory Slot:
     *       Load Bed Mesh
     *       Save Bed Mesh
     *   - Output Map
     *       Map Type:
     *       Output Bed Mesh Host / Output Bed Mesh CSV
     *   - UBL Tools
     *     - Build Mesh
     *         Build PLA Mesh
     *         Build ABS Mesh
     *       - Build Custom Mesh
     *           Hotend Temp:
     *           Bed Temp:
     *           Build Custom Mesh
     *         Info Screen
     *       - Build Cold Mesh
     *       - Fill-in Mesh
     *           Fill-in Mesh
     *           Smart Fill-in
     *           Manual Fill-in
     *           Info Screen
     *         Continue Bed Mesh
     *         Invalidate All
     *         Invalidate Closest
     *     - Validate Mesh
     *         PLA Mesh Validation
     *         ABS Mesh Validation
     *       - Custom Mesh Validation
     *           Hotend Temp:
     *           Bed Temp:
     *           Validate Mesh
     *         Info Screen
     *     - Edit Mesh
     *         Fine Tune All
     *         Fine Tune Closest
     *       - Adjust Mesh Height
     *           Height Amount:
     *           Adjust Mesh Height
     *         Info Screen
     *     - Mesh Leveling
     *         3-Point Mesh Leveling
     *       - Grid Mesh Leveling
     *           Side points:
     *           Level Mesh
     *         Info Screen
     *   - Output UBL Info
     */
8 years ago