Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Engine_Turning.HTML
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="style.css">
<head>
<title>Ferreri Engine Turning G-Code Generator</title>
</head>
Expand All @@ -16,8 +17,8 @@
<input type="number" id="tool_diameter" name="tool_diameter" step="0.1" value="6.35">
<br>
<!--
<label for="percent_overlap">Percent Overlap:</label><input type="number" id="percent_overlap" name="percent_overlap" step="0.01" value="50" title = "Default is 50 which is pretty standard"><br>
-->
<label for="percent_overlap">Percent Overlap:</label><input type="number" id="percent_overlap" name="percent_overlap" step="0.01" value="50" title = "Default is 50 which is pretty standard"><br>
-->
<label for="x_overlap">Percent X Overlap:</label>
<input type="number" id="x_overlap" name="x_overlap" step="0.01" value="50" title="Default is 50 which is pretty standard">
<br>
Expand Down Expand Up @@ -51,9 +52,12 @@
<input type="radio" id="in" name="units" value="in">
<label for="in">in</label>
<br>
<br>
<button onclick="generateGCode()">Generate G-Code</button>
<br>
<br>
<label for="gcodeOutput">G-Code:</label>
<br>
<textarea id="gcodeOutput" name="gcodeOutput" rows="10" cols="50" readonly></textarea>
<br>
<br>
Expand Down Expand Up @@ -153,4 +157,4 @@
}
</script>
</body>
</html>
</html>
8 changes: 8 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); /* Import the Roboto font from Google Fonts */

body {
font-family: 'Roboto', sans-serif;
margin: 20px;
background-color: #f5f5f5; /* Light grey background for better contrast */
color: #333333; /* Dark grey text for better readability */
}
3 changes: 3 additions & 0 deletions surfacingGenerator.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="style.css">
<head>
<title>Surfacing G-Code Generator</title>
</head>
Expand Down Expand Up @@ -68,7 +69,9 @@ <h1>Surfacing G-Code Generator</h1>
<br>
<button onclick="generateGCode()">Generate G-Code</button>
<br>
<br>
<label for="gcodeOutput">G-Code:</label>
<br>
<textarea id="gcodeOutput" name="gcodeOutput" rows="10" cols="50" readonly></textarea>
<br>
<br>
Expand Down