Permalink
Browse files

Homing to 0 for delta printer.

  • Loading branch information...
1 parent 6b2f4b2 commit ea9c3ced36e04cc578268c8cba0baee92077fb79 @repetier committed Oct 8, 2012
View
@@ -0,0 +1,26 @@
+Installation
+
+1) Binary installation
+
+The prefered way is to install one of the binary installation packages.
+You find the latest downloads here: http://www.repetier.com/download/
+
+2) Compile from source
+
+You need a .NET ide with c# compiler. The software is developed using
+Visual Studio 2008. Any later version will work as well. Also an installation
+of the latest OpenTK version (http://www.opentk.com) is needed.
+
+Step 1: Open RepetierHost.sln in src/RepetierHost
+
+Step 2: Build binary
+
+Step 3: Now you have a binary in bin/Debug or bin/Release. The binary expects
+ some files in the directory from where it runs. You need to copy them into
+ this directory. Most important is the data directory found in src. You can
+ also copy the Slic3r binary there if wanted. The main Folder must be named
+ Slic3r with no version numbers etc. You should also copy the OpenTK binary
+ and configuration files in that directory.
+
+
+Now you can start the application be starting it in debug mode (F5).
View
@@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Repetier-Host"
-#define MyAppVersion "0.74"
+#define MyAppVersion "0.75beta"
#define MyAppPublisher "repetier"
#define MyAppURL "https://github.com/repetier/Repetier-Host"
#define MyAppExeName "RepetierHost.exe"
@@ -24,7 +24,7 @@ DefaultGroupName={#MyAppName}
AllowNoIcons=yes
LicenseFile=Repetier-Host-licence.txt
OutputDir=.
-OutputBaseFilename=setupRepetierHost_0_74
+OutputBaseFilename=setupRepetierHost_0_75beta
Compression=lzma
SolidCompression=yes
ArchitecturesInstallIn64BitMode=x64

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -406,7 +406,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAB+
- HwAAAk1TRnQBSQFMAgEBCAEAAewBDAHsAQwBIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
+ HwAAAk1TRnQBSQFMAgEBCAEAARwBDQEcAQ0BIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABgAMAAWADAAEBAQABCAYAATAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
Binary file not shown.
@@ -122,9 +122,9 @@ public void Analyze(GCode code)
else if (cmd.Equals("@isathome"))
{
hasXHome = hasYHome = hasZHome = true;
- x = (Main.printerSettings.checkHomeXMax.Checked ? Main.printerSettings.XMax : Main.printerSettings.XMin);
- y = (Main.printerSettings.checkHomeYMax.Checked ? Main.printerSettings.YMax : Main.printerSettings.YMin);
- z = (Main.printerSettings.checkHomeZMax.Checked ? Main.printerSettings.PrintAreaHeight : 0);
+ x = Main.printerSettings.XHomePos;
+ y = Main.printerSettings.YHomePos;
+ z = Main.printerSettings.ZHomePos;
xOffset = yOffset = zOffset = 0;
}
return;
@@ -172,7 +172,7 @@ public void Analyze(GCode code)
if (e > emax)
{
emax = e;
- if (z > lastZPrint)
+ if (z != lastZPrint)
{
layer++;
lastZPrint = z;
@@ -206,9 +206,9 @@ public void Analyze(GCode code)
case 161:
{
bool homeAll = !(code.hasX || code.hasY || code.hasZ);
- if (code.hasX || homeAll) { xOffset = 0; x = (Main.printerSettings.checkHomeXMax.Checked ? Main.printerSettings.XMax : Main.printerSettings.XMin); hasXHome = true; }
- if (code.hasY || homeAll) { yOffset = 0; y = (Main.printerSettings.checkHomeYMax.Checked ? Main.printerSettings.YMax : Main.printerSettings.YMin); hasYHome = true; }
- if (code.hasZ || homeAll) { zOffset = 0; z = (Main.printerSettings.checkHomeZMax.Checked ? Main.printerSettings.PrintAreaHeight : 0); hasZHome = true; }
+ if (code.hasX || homeAll) { xOffset = 0; x = Main.printerSettings.XHomePos; hasXHome = true; }
+ if (code.hasY || homeAll) { yOffset = 0; y = Main.printerSettings.YHomePos; hasYHome = true; }
+ if (code.hasZ || homeAll) { zOffset = 0; z = Main.printerSettings.ZHomePos; hasZHome = true; }
if (code.hasE) { eOffset = 0; e = 0; emax = 0; }
if (eventPosChanged != null)
if (privateAnalyzer)
@@ -387,7 +387,7 @@ public void analyzeShort(GCodeShort code)
if (e > emax)
{
emax = e;
- if (z > lastZPrint)
+ if (z != lastZPrint)
{
lastZPrint = z;
layer++;
@@ -414,9 +414,9 @@ public void analyzeShort(GCodeShort code)
case 4:
{
bool homeAll = !(code.hasX || code.hasY || code.hasZ);
- if (code.hasX || homeAll) { xOffset = 0; x = (Main.printerSettings.checkHomeXMax.Checked ? Main.printerSettings.XMax : Main.printerSettings.XMin); hasXHome = true; }
- if (code.hasY || homeAll) { yOffset = 0; y = (Main.printerSettings.checkHomeYMax.Checked ? Main.printerSettings.YMax : Main.printerSettings.YMin); hasYHome = true; }
- if (code.hasZ || homeAll) { zOffset = 0; z = (Main.printerSettings.checkHomeZMax.Checked ? Main.printerSettings.PrintAreaHeight : 0); hasZHome = true; }
+ if (code.hasX || homeAll) { xOffset = 0; x = Main.printerSettings.XHomePos; hasXHome = true; }
+ if (code.hasY || homeAll) { yOffset = 0; y = Main.printerSettings.YHomePos; hasYHome = true; }
+ if (code.hasZ || homeAll) { zOffset = 0; z = Main.printerSettings.ZHomePos; hasZHome = true; }
if (code.hasE) { eOffset = 0; e = 0; emax = 0; }
// [delegate positionChangedFastX:x y:y z:z e:e];
}
@@ -452,9 +452,9 @@ public void analyzeShort(GCodeShort code)
else if (hc == "@isathome")
{
hasXHome = hasYHome = hasZHome = true;
- x = xOffset = (Main.printerSettings.checkHomeXMax.Checked ? Main.printerSettings.XMax : Main.printerSettings.XMin);
- y = yOffset = (Main.printerSettings.checkHomeYMax.Checked ? Main.printerSettings.YMax : Main.printerSettings.YMin);
- z = zOffset = (Main.printerSettings.checkHomeZMax.Checked ? Main.printerSettings.PrintAreaHeight : 0);
+ x = xOffset = Main.printerSettings.XHomePos;
+ y = yOffset = Main.printerSettings.YHomePos;
+ z = zOffset = Main.printerSettings.ZHomePos;
}
}
break;
@@ -124,9 +124,9 @@ public void merge(IniFile f)
{
sections[s.name].merge(s);
}
- IniSection ms = sections[s.name];
+ /*IniSection ms = sections[s.name];
foreach (string ent in s.entries.Values)
- ms.addLine(ent);
+ ms.addLine(ent);*/
}
}
public void flatten()
Oops, something went wrong.

0 comments on commit ea9c3ce

Please sign in to comment.