Welcome! Log In Create A New Profile

Advanced

0.8.1rc1 unofficial pre-release package available

Posted by jmarsden 
0.8.1rc1 unofficial pre-release package available
June 30, 2007 01:39AM
At [www.box.net] you will find a button to let you download a test package named reprap-host-0.8.1rc1.zip

This is very close to what I expect to release as reprap-host-0.8.1 tomorrow.

The corresponding source package is available via [www.box.net]

Testers very much welcome!

Jonathan
Re: 0.8.1rc1 unofficial pre-release package available
June 30, 2007 02:07AM
cool, worked okay for me. i'll test it tomorrow on my machine.

also, i dug into the code a bit, and tackled a smaller problem. its hard to tell the lower shell apart from the extrusion, so i made it green. it seems to work, and here is my diff:

its a very minor change, so i'll probably check it in tomorrow. unless you'd like to be for the 0.8.2 release. let me know.

Index: src/org/reprap/gui/PreviewPanel.java
===================================================================
--- src/org/reprap/gui/PreviewPanel.java (revision 679)
+++ src/org/reprap/gui/PreviewPanel.java (working copy)
@@ -254,7 +254,7 @@
BranchGroup subLower = new BranchGroup();
if(ls != null)
{
- ls.setAppearance(extrusion_app);
+ ls.setAppearance(shell_app);
subLower.addChild(ls);
lowerShell.addChild(subLower);
}
Index: src/org/reprap/gui/Panel3D.java
===================================================================
--- src/org/reprap/gui/Panel3D.java (revision 679)
+++ src/org/reprap/gui/Panel3D.java (working copy)
@@ -71,6 +71,7 @@
protected Color3f selectedColour = new Color3f(0.6f, 0.2f, 0.2f);
protected Color3f machineColour = new Color3f(0.3f, 0.4f, 0.3f);
protected Color3f unselectedColour = new Color3f(0.3f, 0.3f, 0.3f);
+ protected Color3f shellColour = new Color3f(0.1f, 0.6f, 0.1f);

// That's the end of the configuration file data

@@ -78,6 +79,7 @@

protected static final Color3f black = new Color3f(0, 0, 0);
protected Appearance default_app = null; // Colour for unselected parts
+ protected Appearance shell_app = null; // Colour for the lower shell during print.
protected Appearance picked_app = null; // Colour for the selected part
protected Appearance wv_app = null; // Colour for the working volume
protected Appearance extrusion_app = null; // Colour for extruded material
@@ -162,9 +164,13 @@

picked_app = new Appearance();
picked_app.setMaterial(new Material(selectedColour, black, selectedColour, black, 0f));
+
extrusion_app = new Appearance();
extrusion_app.setMaterial(new Material(unselectedColour, black, unselectedColour, black, 101f));

+ shell_app = new Appearance();
+ shell_app.setMaterial(new Material(shellColour, black, shellColour, black, 101f));
+
wv_app = new Appearance();
wv_app.setMaterial(new Material(machineColour, black, machineColour, black, 0f));
Re: 0.8.1rc1 unofficial pre-release package available
June 30, 2007 10:51AM
Zach,

Sounds good to me. If you can add 3 lines to the preferences and set the ShellColour from them (default to your green if they don't exist), that would be more in keeping with the way the rest of the colo(u)rs in the host Preview window work. Although the Preferences screen *is* getting a bit crowded!

Go ahead and check it in anyway, with or without preferences.

Jonathan
Re: 0.8.1rc1 unofficial pre-release package available
June 30, 2007 05:54PM
i checked it in... i'm not sure how to add it to the preferences.
Re: 0.8.1rc1 unofficial pre-release package available
June 30, 2007 10:49PM
Your change made it into 0.8.1 :-)

Jonathan
Sorry, only registered users may post in this forum.

Click here to login