Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MarlinKimbra
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
MarlinKimbra
Commits
fb32df8b
Commit
fb32df8b
authored
May 03, 2016
by
MagoKimbra
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
parents
6c633f0e
43d598eb
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
202 additions
and
228 deletions
+202
-228
Configuration_Delta.h
MK/Configuration_Delta.h
+5
-8
MK_Main.cpp
MK/module/MK_Main.cpp
+184
-202
MK_Main.h
MK/module/MK_Main.h
+13
-18
No files found.
MK/Configuration_Delta.h
View file @
fb32df8b
...
@@ -142,9 +142,6 @@
...
@@ -142,9 +142,6 @@
// Precision for G30 delta autocalibration function
// Precision for G30 delta autocalibration function
#define AUTOCALIBRATION_PRECISION 0.1 // mm
#define AUTOCALIBRATION_PRECISION 0.1 // mm
// Precision probe. Number of probe for the mean
#define PROBE_COUNT 3
// Z-Probe variables
// Z-Probe variables
// Offsets to the probe relative to the extruder tip (Hotend - Probe)
// Offsets to the probe relative to the extruder tip (Hotend - Probe)
// X and Y offsets MUST be INTEGERS
// X and Y offsets MUST be INTEGERS
...
@@ -163,13 +160,13 @@
...
@@ -163,13 +160,13 @@
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1 // Z offset: -below [of the nozzle] (always negative!)
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1 // Z offset: -below [of the nozzle] (always negative!)
// Start and end location values are used to deploy/retract the probe (will move from start to end and back again)
// Start and end location values are used to deploy/retract the probe (will move from start to end and back again)
#define Z_PROBE_DEPLOY_START_LOCATION {0, 0,
2
0} // X, Y, Z, E start location for z-probe deployment sequence
#define Z_PROBE_DEPLOY_START_LOCATION {0, 0,
3
0} // X, Y, Z, E start location for z-probe deployment sequence
#define Z_PROBE_DEPLOY_END_LOCATION {0, 0,
2
0} // X, Y, Z, E end location for z-probe deployment sequence
#define Z_PROBE_DEPLOY_END_LOCATION {0, 0,
3
0} // X, Y, Z, E end location for z-probe deployment sequence
#define Z_PROBE_RETRACT_START_LOCATION {0, 0,
2
0} // X, Y, Z, E start location for z-probe retract sequence
#define Z_PROBE_RETRACT_START_LOCATION {0, 0,
3
0} // X, Y, Z, E start location for z-probe retract sequence
#define Z_PROBE_RETRACT_END_LOCATION {0, 0,
2
0} // X, Y, Z, E end location for z-probe retract sequence
#define Z_PROBE_RETRACT_END_LOCATION {0, 0,
3
0} // X, Y, Z, E end location for z-probe retract sequence
// How much the nozzle will be raised when travelling from between next probing points
// How much the nozzle will be raised when travelling from between next probing points
#define Z_RAISE_BETWEEN_PROBINGS
5
#define Z_RAISE_BETWEEN_PROBINGS
30
// Define the grid for bed level AUTO BED LEVELING GRID POINTS X AUTO BED LEVELING GRID POINTS.
// Define the grid for bed level AUTO BED LEVELING GRID POINTS X AUTO BED LEVELING GRID POINTS.
#define AUTO_BED_LEVELING_GRID_POINTS 9
#define AUTO_BED_LEVELING_GRID_POINTS 9
...
...
MK/module/MK_Main.cpp
View file @
fb32df8b
This diff is collapsed.
Click to expand it.
MK/module/MK_Main.h
View file @
fb32df8b
...
@@ -40,19 +40,18 @@ void FlushSerialRequestResend();
...
@@ -40,19 +40,18 @@ void FlushSerialRequestResend();
void
ok_to_send
();
void
ok_to_send
();
#if MECH(DELTA)
#if MECH(DELTA)
float
probe_bed
(
float
x
,
float
y
);
void
set_delta_constants
();
void
set_delta_constants
();
void
adj_tower_delta
(
int
tower
);
static
float
probe_bed
(
float
x
,
float
y
);
void
adj_tower_radius
(
int
tower
);
static
void
adj_tower_delta
(
int
tower
);
void
home_delta_axis
(
);
static
void
adj_tower_radius
(
int
tower
);
void
calibration_report
();
static
void
home_delta_axis
();
void
bed_probe_all
();
static
void
calibration_report
();
void
set_delta_constants
();
static
void
bed_probe_all
();
void
calculate_delta
(
float
cartesian
[
3
]);
static
void
calculate_delta
(
float
cartesian
[
3
]);
void
adjust_delta
(
float
cartesian
[
3
]);
static
void
adjust_delta
(
float
cartesian
[
3
]);
void
adj_endstops
();
static
void
adj_endstops
();
void
reset_bed_level
();
static
void
reset_bed_level
();
void
prepare_move_raw
();
static
void
prepare_move_raw
();
extern
float
delta
[
3
];
extern
float
delta
[
3
];
extern
float
delta_tmp
[
3
];
extern
float
delta_tmp
[
3
];
extern
float
delta_tower1_x
,
delta_tower1_y
;
extern
float
delta_tower1_x
,
delta_tower1_y
;
...
@@ -71,11 +70,7 @@ void ok_to_send();
...
@@ -71,11 +70,7 @@ void ok_to_send();
void
calculate_SCARA_forward_Transform
(
float
f_scara
[
3
]);
void
calculate_SCARA_forward_Transform
(
float
f_scara
[
3
]);
#endif
#endif
void
prepare_move
(
void
prepare_move
();
#if MECH(DELTA)
const
bool
delta_probe
=
false
#endif
);
void
kill
(
const
char
*
);
void
kill
(
const
char
*
);
void
Stop
();
void
Stop
();
...
@@ -113,7 +108,7 @@ void prepare_arc_move(char isclockwise);
...
@@ -113,7 +108,7 @@ void prepare_arc_move(char isclockwise);
void
clamp_to_software_endstops
(
float
target
[
3
]);
void
clamp_to_software_endstops
(
float
target
[
3
]);
extern
millis_t
previous_cmd_ms
;
extern
millis_t
previous_cmd_ms
;
void
refresh_cmd_timeout
();
inline
void
refresh_cmd_timeout
()
{
previous_cmd_ms
=
millis
();
}
extern
void
delay_ms
(
millis_t
ms
);
extern
void
delay_ms
(
millis_t
ms
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment