Giter Site home page Giter Site logo

timschmidt / repsnapper Goto Github PK

View Code? Open in Web Editor NEW
154.0 34.0 52.0 12.67 MB

RepSnapper RepRap control software

Home Page: http://reprap.org/wiki/RepSnapper_Manual:Introduction

Shell 0.14% C++ 84.52% C 12.63% CMake 0.18% Makefile 0.47% Python 0.21% NSIS 0.07% Perl 1.66% M4 0.12%

repsnapper's Introduction

RepSnapper is an alternative host software for controlling the RepRap (http://reprap.org) open source 3D printer.

Getting it

Compilation

To build and run repsnapper do:

./autogen.sh
make
./repsnapper

For more details on prerequisites see the manual: https://github.com/timschmidt/repsnapper/blob/master/doc/manual.asciidoc

Documentation

For latest documentation, see: * https://github.com/timschmidt/repsnapper/blob/master/doc/manual.asciidoc RepSnapper v2 Manual For version 1.1.x, see: * https://github.com/timschmidt/repsnapper/blob/repsnapper-1.1.x/doc/manual.asciidoc RepSnapper v1 Manual

Contact Info

  • Irc channel: #repsnapper at irc://chat.freenode.net

RepSnapper v2

Current development of Repsnapper is happening in Timothy Schmidt’s repository at the following URLs.

Kulitorum version

For historical reasons we leave here the links to the old svn version that developed by Kulitorum, this version is now unmaintained and commits go into the Timothy Schmidt version (as of ~ October 5th, 2010)

repsnapper's People

Contributors

davidbuzz avatar diara628 avatar grandpaul avatar harryeakins avatar hroncok avatar hughsie avatar hurzl avatar ibraheem5000 avatar jwildeboer avatar korneliuszo avatar krakonos avatar m0n5t3r avatar maurerpe avatar mmeeks avatar nullsub avatar phord avatar ralith avatar tdaitx avatar thaytan avatar timschmidt avatar wijnen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

repsnapper's Issues

configure: error: cannot find binary for libreprap - check meeks branch

i can't be the only one getting this configure error upon trying "./autogen.sh", can i?

and here's what happens:
sh@sh-X58A-UD5:~/timschmidt-repsnapper-b27d8b7$ ./autogen.sh
...
checking for rr_dev_create in -lreprap... no
configure: error: cannot find binary for libreprap - check meeks branch

what am i missing?

Document clarification

I was asked by elmom on the repsnapper irc channel if there was any way to clarify the libreprap section of the install instructions. My suggestion is to make each distro have its own end to end instructions rather than interlacing them which makes it difficult to see which steps are for what. I have written a how to for Fedora 14, presumably it will work for 13 and 15 too but I have not tested either. I think it would be better for someone who uses the other distros regularly to write the docs for them. I hope this is useful.

_installing from yum_
Repsnapper is currently packaged by jebba for Fedora 14 at this repository: http://repos.fedorapeople.org/repos/jebba/reprap/ Please see http://fedoraproject.org for instructions on installing via this method.

_Installing from sources_
Install dependencies:
yum install git gtk2-devel gcc-c++ gcc binutils make cmake gtkglextmm gtkglextmm-devel gtkmm*

Install libreprap (from https://github.com/Ralith/libreprap/blob/master/INSTALL):
git clone https://github.com/Ralith/libreprap.git
cd libreprap
cmake .
make
su
make install
cd ..

Install repsnapper:
git clone git://github.com/timschmidt/repsnapper.git
cd repsnapper
su
echo "/usr/local/lib" > /etc/ld.so.conf.d/local.conf
ldconfig
exit
./autogen.sh
make

Run the program:
cd src
./repsnapper

Unknown temp reading messages

Ultimaker Marlin emits "raw" temperature values, like
ok T:30.00, raw:55 B:24.00

libreprap stops on the "raw" with error message, not continuing to read the bed temperature.

patch to ignore unknown keywords:

------------------------- libraries/libreprap/fived.c -------------------------
index 86adbaf..edcf937 100644
@@ -45,9 +45,10 @@ fived_handle_reply (rr_dev dev, const char *reply, size_t nbytes)
       case 'E':
    float_reply (dev, &i, RR_E_POS);
    break;
       default:
-   return rr_dev_emit_error (dev, RR_E_UNKNOWN_REPLY, reply, nbytes);
+   // return rr_dev_emit_error (dev, RR_E_UNKNOWN_REPLY, reply, nbytes);
+   break;
       }
     }
     return 0;
 

STL files merging upon load

An overall description of the bug

When loading 2 different STL files, the first model will look fine, the second model will be the first and the second STL files merged together.

Steps to reproduce

STL files from - http://www.thingiverse.com/thing:1498 and http://www.thingiverse.com/thing:4565

Open Repsnapper
Click Input file tab -> Click Load STL -> Load 15mm_cube.stl
Click Load STL -> Load steinschleuder.stl file

Expected result

Single cube and single slingshot

Actual result

There will seem to be 2 cubes. The left most is the original cube. The cube on the right will be merged with the slingshot model.

Additional information

Ubuntu 10.10, running repsnapper 03.24.11

Auto-select loaded stl automatically

When loading an stl file, it is not automatically selected. That means that using rotation and translation values don't work until you select the file. When trying anyway, there is no warning, but nothing happens. I had to browse the source to understand that "no file selected" was the reason that there was no response (src/view.cpp:238).

So this is really two feature requests: give a warning if no file is selected, and auto-select a file on load.

fan voltage

restriction to 25 "volts" is nonsense.

ultimaker understands 1-255, not voltage

gtk2 branch: set baud in gui

hi, I'm trying out the gtk2 branch (commit 007106a) until #17 is solved.

seems to work well enough in my preliminary tests, although I noticed there's no way to set the baud rate in the gui, had to track down the config file with strace to sort that out.

also, it doesn't seem to care about received data from the firmware, it let me send tons of info without any response at all before I found where to set the baud rate. is that a libreprap thing, or something to do with repsnapper?

Gcode generated with numerical errors

When converting an object, such as the Huxley X Axis Motor Mount, the conversion works up to a point, then starts generating values that appear to be off by quite a few decimal points.

You can see that the error affected X, Y, and Extruder values. The X and Y values are corrected eventually, but the extruder values will be wrong from this point forward.

Example:

G1 X54.2093 Y69.9386 E3591.78 F1000
G1 X54.9195 Y69.9417 F1000
G1 X57.007 Y72.0292 E3594.73 F1000
G1 X58.0468 Y72.3619 F1000
G1 X55.6296 Y69.9447 E3598.15 F1000

G1 X7.02513e+06 Y7.02385e+06 F1000
G1 X-7.02497e+06 Y-7.02379e+06 E1.98717e+07 F1000
G1 X7.02513e+06 Y7.02385e+06 E3.97398e+07 F1000
G1 F70
G1 Z1.8 F70

G1 X84.414 Y77.9443 F1000
G1 Y58.1504 E3.97398e+07 F1000
G1 X84.2856 Y58.4604 F1000
G1 X84.5866 Y57.7337 F1000
G1 X84.6892 Y56.9539 F1000
G1 X84.5866 Y56.1741 F1000
G1 X84.2856 Y55.4475 F1000
G1 X83.8068 Y54.8234 F1000
G1 X83.1828 Y54.3446 F1000
G1 X82.3629 Y54.005 F1000
G1 X73.9186 E3.97398e+07 F1000

Print Fails with N-1 M110 *15

I was printing today when suddenly noticed the printer had gone still, looking it over it seemed to indicate it had finished yet looking at the part I could clearly see it hadn't. This is on linux x86_64. The informative bit seems to be:

22:29:34 Send >>SendData: N50556 G1 X-33.42 Y3.19 E11.3506 *113
22:29:34 Echo >>Echo: N50555 G1 X-33.42 Y5.31 E9.608 *121
22:29:34 Send >>SendData: N-1 M110 *15
22:29:34 Echo >>Echo: N50556 G1 X-33.42 Y3.19 E11.3506 *113
22:29:34 Echo >>Echo: N-1 M110 *15
22:29:34 Send >>Received:DEBUG:LineNr set
22:29:36 Send >>Sending:M105
22:29:36 Echo >>Echo:M105

I've uploaded both the log and the gcode file I was printing to:

http://bobbens.dyndns.org/files/repsnapper_fail_0.log.tar.bz2

No idea what went wrong, at least the part may be usable... Although I do have to print another...

attempting to build the new 2.x branch on OSX - some notes...

get a few dependancies first:

brew install gtkmm gtk+ gtkglext cmake glib glade

you'll also need to manually download , compile and install the latest versions of libtool, autoconf and make:

wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz
wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.tar.gz
wget http://ftp.gnu.org/gnu/make/make-3.82.tar.gz
( extract each of these to a folder, cd to it, type: ./configure ; make ; sudo make install )

these above tools are ( by default) installed into /usr/local, so you need to have /usr/local/bin in your PATH variable, before /usr/bin etc:

set PATH=/usr/local/bin:$PATH

you'll also need to tweak the code so it doesn't refer to GL/gl.h or GL/glu.h

edit this file:
vi src/stdafx.h
and change the two GL related #includes near the top to:
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>

then type :
aclocal
automake
sh autogen.sh

I'm not sure what else is needed, as I kinda hacked around a bit. Eg: I installed freeglut, but I don't thnk it's needed. Anyway, I downloaded it from here: http://aarnet.dl.sourceforge.net/project/freeglut/freeglut/freeglut-2.6.0.tar.gz and I found that this configure line works for it: ./configure --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib

still working on it, so I'll add comments to this ticket if /when it all comes together. :-)

Build error on Ubuntu 11.04 - "No rule to make ... libpolylib.la"

Hi,

after some problems getting all required packages (hint: you need to logout and login again or maybe better even restart to make your system recognize all newly installed packages!) and using "autogen.sh" I finally was able to start my build-procedure.
But I get following errors:

johnny@ubuntu:~/Downloads/timschmidt-repsnapper-973db6e/src$ make
CXX stl.o
CXX model.o
CXX view.o
CXX gllight.o
CXX gcode.o
CXX arcball.o
CXX stdafx.o
CXX rfo.o
CXX file.o
CXX platform.o
CXX render.o
CXX progress.o
CXX connectview.o
CXX settings.o
CXX repsnapper.o
make: *** No rule to make target ../libraries/polylib/libpolylib.la', needed byrepsnapper'. Stop.

But when I check the folder /libraries/polylib/ I find a Makefile. I even can run it manually. How can I fix this?

Next layer gcode insertion - unexpected result

What I did:
Loaded multiple stl files and arranged them on the board
Typed ";COMMENT" in the box under the Next layer tab of the GCode section.
Clicked Convert to GCode.
Analysed the resulting GCode in the Result tab.

What I saw:
The Next layer comment was inserted into the GCode between layers AND between GCode sections for different stl models. This meant that with 3 models there were 3 insertions of the Next layer comment per layer of GCode.

What I expected:
The Next layer comment to be inserted between layers only, and not between GCode sections for different stl models.

Linux: ttyACM ports not showing up (with fix)

I have a fix:

$ diff -u modelviewcontroller.cpp.orig modelviewcontroller.cpp
--- modelviewcontroller.cpp.orig    2011-01-30 15:08:06.738794505 -0800
+++ modelviewcontroller.cpp 2011-01-30 17:21:17.113524628 -0800
@@ -264,10 +264,12 @@
    currentComports.push_back(string("COM"+highestCom));

 #elif defined(__APPLE__)
-   const char *ttyPattern = "tty.";
+   // We could club this in with the Linux case now -- any reason not to?
+   const char *ttyPattern[] = {"tty.", NULL};

 #else // Linux
-   const char *ttyPattern = "ttyUSB";
+   // Some boards show up as ttyACM now, so we must check for both
+   const char *ttyPattern[] = {"ttyUSB", "ttyACM", NULL};
 #endif

 #ifndef WIN32
@@ -276,9 +278,11 @@
        struct  dirent *e;
        while ((e = readdir (d))) {
            //fprintf (stderr, "name '%s'\n", e->d_name);
-           if (strstr(e->d_name,ttyPattern)) {
-               string device = string("/dev/") + e->d_name;
-               currentComports.push_back(device);
+           for (const char **ttyPidx = ttyPattern; *ttyPidx != NULL; ++ttyPidx) {
+               if (strstr(e->d_name,*ttyPidx)) {
+                   string device = string("/dev/") + e->d_name;
+                   currentComports.push_back(device);
+               }
            }
        }
        closedir(d);

Exact Object Scaling

There should be a number input for scaling to be able to build several objects at the same scale.

some menus missing - Ubuntu 10.10 - Could not load settings file: FileIOException Settings to defaults.

i compiled repsnapper on ubuntu 10.10 and its working, but there are some menus missing.
The only menus are "Simple" "Input File" "G-Code" "Interactive" and "Print".
The others like "Printer Settings" "Raft Settings" "Display Settings" are missing.
On Start i get the error:
"Could not load settings file: FileIOException
Settings to defaults."

I just found the menus are missing too.
Everything that is described here is missing:
#2 (comment)
in which file the menues are included? there has to be something wrong

geometry

Why not use a sophisticated library as CGAL or some other?

Error message durring install

Did fresh install of Ubuntu 10.10 and got these errors while installing after installing the dependencies and running make

stl.cpp:95: warning: format not a string literal and no format arguments
stl.cpp: In member function ‘bool STL::Read(std::string, bool)’:
stl.cpp:182: warning: format not a string literal and no format arguments
stl.cpp: In member function ‘void CuttingPlane::MakeGcode(const std::vectorvmml::Vector2<float, std::allocatorvmml::Vector2 >&, GCode&, float&, float, float, float, float, float, float, float, bool, bool, bool)’:
stl.cpp:793: warning: comparison between signed and unsigned integer expressions
stl.cpp:797: warning: comparison between signed and unsigned integer expressions
stl.cpp:831: warning: comparison between signed and unsigned integer expressions
stl.cpp: In member function ‘bool CuttingPlane::LinkSegments(float, float)’:
stl.cpp:1589: warning: comparison between signed and unsigned integer expressions
stl.cpp:1590: warning: comparison between signed and unsigned integer expressions
stl.cpp:1621: warning: comparison between signed and unsigned integer expressions
stl.cpp:1643: warning: comparison between signed and unsigned integer expressions
stl.cpp:1644: warning: comparison between signed and unsigned integer expressions
stl.cpp:1652: warning: comparison between signed and unsigned integer expressions
stl.cpp: In member function ‘void CuttingPlane::recurseSelfIntersectAndDivide(float, std::vector<locator, std::allocator >&, std::vectorstd::vector<vmml::Vector2<float, std::allocatorvmml::Vector2 >, std::allocatorstd::vector<vmml::Vector2<float, std::allocatorvmml::Vector2 > > >&, std::vector<locator, std::allocator >&)’:
stl.cpp:1971: warning: comparison between signed and unsigned integer expressions
stl.cpp:1971: warning: comparison between signed and unsigned integer expressions
stl.cpp:1988: warning: comparison between signed and unsigned integer expressions
stl.cpp:1988: warning: comparison between signed and unsigned integer expressions
stl.cpp: In member function ‘void STL::OptimizeRotation()’:
stl.cpp:2789: warning: enumeration value ‘NEGZ’ not handled in switch
stl.cpp:2789: warning: enumeration value ‘NOT_ALIGNED’ not handled in switch
g++ pkg-config --cflags gtk+-2.0 gthread-2.0 -DHAVE_GTK -I/usr/include -I../libraries -I../libraries/vmmlib/include -I/usr/include/boost -I/usr/include/lua5.1 -I../libraries/polylib -c -O2 -Wall reprapserial.cpp -o reprapserial.o
g++ pkg-config --cflags gtk+-2.0 gthread-2.0 -DHAVE_GTK -I/usr/include -I../libraries -I../libraries/vmmlib/include -I/usr/include/boost -I/usr/include/lua5.1 -I../libraries/polylib -c -O2 -Wall processcontroller.cpp -o processcontroller.o
processcontroller.cpp:23: fatal error: libconfig.h++: No such file or directory
compilation terminated.
make: *** [processcontroller.o] Error 1
reprap@RepRap:~/repsnapper/src$

ieee754.h

neither FreeBSD nor OSX have this header, is it really necessary?

mac osx snow leopard compiling error

"fl_measure(char const_, int&, int&, int)", referenced from:
Flu_Tree_Browser::Node::recurse(Flu_Tree_Browser::RData&, int, int)in flu_tree_browser.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *_* [repsnapper] Error 1

ubuntu 10.04 and libpolylib.la

hello
I'm trying to compile the gtk2 branch on ubuntu 10.04
but it stopps everytime during compilation :

(...)
CXX settings.o
CXX repsnapper.o
make: *** Pas de règle pour fabriquer la cible « ../libraries/polylib/libpolylib.la », nécessaire pour « repsnapper ». Arrêt.

I tryed to install
https://launchpad.net/ubuntu/+archive/primary/+files/libpolylib64-8_5.22.5-1%2Bdfsg_i386.deb
https://launchpad.net/ubuntu/+archive/primary/+files/libpolylib64-dev_5.22.5-1%2Bdfsg_i386.deb

('coz libpolylib isn't in the lucid depot)

and add in the makefile of polylib :
GTKMM_CFLAGS =(..)-I/usr/include/polylib
(where is the libpolylib64-dev)

still have the problem...
any idea ?

Mac OSX build instructions

The instructions don't work.

From the install page:

Install XCode.
Install MacPorts
Run from a terminal window:
sudo port install fltk glut libconfig-hr boost
Acquire source and compile:
git clone git://github.com/timschmidt/repsnapper.git
cd repsnapper/src
make

Which results in:

make: *** No targets specified and no makefile found. Stop.

Will renaming the makefile work?

Triffid firmware compatibility

I tested the Triffid's firmware on my Gen6 board and tried connecting to it with repsnapper, but no matter what I tried repsnapper would just connect for anywheres between 5-8 seconds then disconnect again.
in the short period of time that it WAS connected i was able to manually move all axis without a problem and everything works fine until it disconnects again....

The log shows that it tries to connect and sends a bunch of M105's but after a bit it says that the connection response timed out.......

FYI iMac intel and which port to use

My first try with RepSnapper, spent most of today debugging and wondering why it connects but leaves the printer motionless. Both my 2Gen Sanguino electronics RepRap and RAMPS 1.2 Milling machine stayed put.

Ultimately it turns out that /dev/cu.usbserial-A6008sa0 works and /dev/tty.usbserial-A6008sa0 NOT. Googling learned the cu* and tty* indeed differ, but I don't think I fully understand yet. Over two years used the tty* in ReplicatorG without a problem. Anyway, for those that are as puzzled as me, this may make the difference.

Details
Intel iMac, OS X 10.5.8
Compiled Git master from source and dependencies installed w Macports

Reading of binary files on powerpc fails

When reading a binary STL file, the program crashes with a std::length_error which is caused by the number of triangles being wrongly read from the binary STL file. I suspect that this is a MSB vs LSB issue.

segmentation fault at startup, opengl related

backtrace:
#0 0xb763cdd6 in glLoadIdentity () from //usr/lib/opengl/xorg-x11/lib/libGL.so.1
#1 0x0808b8d9 in ModelViewController::draw() ()
#2 0x080a05ca in GUI::show(int, char**) ()
#3 0x0805562d in main ()

if there's any more info I can provide, please let me know.

from my poking around, it looks like glLoadIdentity may be the first gl function called - Indeed, if I remove that first call to glLoadIdentity, the segfault simply moves to glViewport instead. Perhaps it's simply related to the first gl function called? Does opengl need to be initialised first or something?

Other gl apps work fine on this system.

Ubuntu 10.04 compile error.

After download I execute ./autogen.sh and receive the following.

./autogen.sh: 44: autoreconf: not found

./autogen.sh: 45: aclocal: not found

Send Gcode Uppercase

the commands should be made uppercase automatically, so that you can input lowercase characters.

And the last input should remain in the input box. Even better a dropdown with a list of the last commands

Repsnapper in Ubuntu 10.04 Installation fail

I have all dependences, but I can't install Repsnapper.
I've read the previous bugs, but can't find solution.
Please a need help.

This is my bug:

lucas@lucas-desktop:/Escritorio/RepRap/RepSnapper/repsnapper$ ./autogen.sh
configure.ac:28: warning: macro AM_GLIB_GNU_GETTEXT' not found in library configure.ac:28: warning: macroAM_GLIB_GNU_GETTEXT' not found in library
libtoolize: putting auxiliary files in .'. libtoolize: copying file./config.guess'
libtoolize: copying file ./config.sub' libtoolize: copying file./install-sh'
libtoolize: copying file ./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR,m4'.
libtoolize: copying file m4/libtool.m4' libtoolize: You should add the contents ofm4/libtool.m4' to aclocal.m4'. libtoolize: copying filem4/ltoptions.m4'
libtoolize: You should add the contents of m4/ltoptions.m4' toaclocal.m4'.
libtoolize: copying file m4/ltsugar.m4' libtoolize: You should add the contents ofm4/ltsugar.m4' to aclocal.m4'. libtoolize: copying filem4/ltversion.m4'
libtoolize: copying file m4/lt~obsolete.m4' libtoolize: You should add the contents ofm4/lt
obsolete.m4' to aclocal.m4'. libtoolize: Consider adding-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:28: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
configure.ac:28: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf2.50: /usr/bin/autoconf failed with exit status: 1
Failed to run autoconf at ./autogen.sh line 113.

Thanks.

Installing on fresh Ubuntu 10.10 autogen.sh fails with...

./autogen.sh
running ./configure with ''
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
Error running configure at ./autogen.sh line 153.

Installed libreprap correctly, tried as root... etc.

libglut needs to be required by autotools

I installed all the libraries a call to ./autogen said I needed but then when I ran make, it failed saying I was missing a library:

platform.h:37:45: fatal error: GL/glut.h: No such file or directory

It would be better if autogen caught this.

Infinite Paths

Trying to slice wfu_cbi_skull.stl (example from replicatorG) I get lines to the inifinite.
Should be at least possible to limit them to the bounding box.

Linux Ubuntu 10.10 compilation fails (with fix)

Hi, I'm trying to compile repsnapper for linux. I'm using Ubuntu 10.10 with the following packages installed:
apt-get install build-essential libfltk1.1 libfltk1.1-dev libglut3 libglut3-dev libboost-dev fluid libconfig++8-dev libconfig-dev

After installing libgtk2.0-dev libboost-thread-dev libboost-system-dev as well, it DOES work. So if you could update your instructions to:
sudo apt-get install build-essential libfltk1.1 libfltk1.1-dev libglut3 libglut3-dev libboost-dev fluid libconfig++8-dev libconfig-dev libgtk2.0-dev libboost-thread-dev libboost-system-dev

Better Windows 7 compatibility?

I am running Windows 7 64 bit system, and every time I start repsnapper up my screen goes black for a few seconds and comes back on with the windows theme looking way different.

This is before I start Repsnapper: http://tinypic.com/r/2iw6aaa/7

This is after I start Repsnapper: http://tinypic.com/r/2j5mkxf/7

All windows within windows move around sluggish and the graphics seem real slow too......

Didnt know if this was a bug or just the way that Repsnapper handles graphics?

anti-ooze, a suggestion

when I turn on anti-ooze backing, it appears to reverse the extruder after every single move. Builds almost twice as fast with anti-ooze backing turned off. When infilling, etc, ooze is not really a problem, as you are immediately starting on the next line... where ooze becomes an issue is during moves where you are not moving the extruder. Perhaps we should only generate anti-ooze backing before extruder-less moves?

I would be happy to take a look at the code and implement this, but I don't want to step on anyone's toes. Also, I don't want any modifications I make to go away the next time install an updated version. I'm not familiar with the procedures for contributing... ?

Thoughts?

runtime issues using beagleboard xm and ubuntu10.10

This may be something that I am misunderstanding working in linux or some setting in repsnapper but after opening repsnapper v2, when trying to manually position in "Printer Controls" tab, I get sometimes:

'Cannot move manually while printing' -- but I am not printing and did not actually start a print (at least it wasn't my intent).

thanks

Possible missing callback to display bed temp in ui.fl details in body

Possible missing callback to display bed temp in ui.fl

Forum Thread > http://forums.reprap.org/read.php?218,78518,79246,quote=1#REPLY

BodgeIt Wrote:

Thought this could be solved by editing the Tonkip
Case 105

From

case 105: // M105
Serial.print("T:");
Serial.print(
analog2temp(analogRead(TEMP_0_PIN)) );
Serial.print(" B:");
Serial.println(
analog2temp(analogRead(BED_TEMP_0_PIN)) );

to read:-

case 105: // M105
Serial.print("T:");
Serial.println(
analog2temp(analogRead(TEMP_0_PIN)) );
Serial.print("B:");
Serial.println(
analog2temp(analogRead(BED_TEMP_0_PIN)) );

As this is the code in Repsnapper looking for the
temprature strings

              // temperature token:
              } else if ( s.substr(0,2) == "T:" ) { 
                  temp_param = s.substr(2,s.length());

                  // Reduce re-draws by only updating the GUI

on a real change
const char *old_value =
gui->CurrentTempText->value();
if (!old_value || strcmp
(temp_param.c_str(), old_value))
gui->CurrentTempText->value(temp_param.c_str
());

              // bed temperature token:
              } else if ( s.substr(0,2) == "B:" ) { 
                  bedtemp_param = s.substr(2,s.length());

That did not work as there seems to be a call back
missing in the repsnapper Gui code here I marked
where the missing Callback line should go in
bold:-

{
Fl_Light_Button SwitchHeatOnButton
{
label {heat on}
callback
{MVC->SwitchHeat(o->value(),
TargetTempText->value());}
xywh {805 194 85 30}
}
Fl_Value_Input TargetTempText {
label Target
callback
{MVC->SetTargetTemp(o->value());}
xywh {1175 200 90 24} maximum
300 value 200
}
Fl_Output CurrentTempText {
label Current
xywh {985 199 90 26}
}
}
Fl_Group {} {
label Bed open
xywh {775 235 495 41} box
ENGRAVED_FRAME color 39 align 4
} {
Fl_Light_Button BedHeatOnButton {
label {bed heat on}
callback
{MVC->SwitchBedHeat(o->value(),
TargetBedTempText->value());}
xywh {805 241 105 28}
selection_color 2
}
Fl_Output CurrentBedTempText {
label Current

Missing call back line goes here <<<<<

             xywh {985 244 90 26}
            }
            Fl_Value_Input TargetBedTempText

{
label Target
callback
{MVC->SetBedTargetTemp(o->value());}
xywh {1175 246 90 24} maximum
300 value 200
}

Unfortunatly my registed Visual C++ is a 1990
version and I can't compile Repsnaper not sure if
I can get a free upgrade..
So I cant fix the new Repsnapper beta version ;-(

Unless some one knows another way to set up an
enviormet that would give me the ability to
compile the code.

Compile error BeagleBoard XM

Hi I am trying to set this up on OMAP based Beagleboard that is running Ubuntu 10.10.

The compile errors are:
./autogen.sh: 44: autoconf: not found
./autogen.sh: 45: alocal: not found

thanks
rista

Suggestion: Improved gcode generation

I have two suggestions to generate better gcode:

Use a modularized approach, like skeinforge does. There are several things to do, each of which can be implemented by one or more modules:

  1. read stl (or other format) file into triangles.
  2. convert triangles to slices with polygons
  3. convert polygons to areas (either "shell" or "inside"; best would be to have shell on top and bottom of a region as well).
  4. convert areas to polygons (head movement)
  5. convert polygons to gcode

For any conversion, there must be exactly one option selected. Between conversions, there must be a defined format which can be modified by filters. Between conversions any number of filters may be added. For example, a towering filter could be added just before converting to gcode; it would reshuffle the polygons.

Because building this, and in particular implementing all the filters, will take long, and because skeinforge is very good: allow external gcode generators to be called from the gui instead of the internal one.

I think the start of step 1 is not so hard. Just split stl.cpp into several modules. Everything is already in there. All intermediate storage types must be defined. This is important, because filters will work on them. It's not very hard, but it must be done well.

If anyone dislikes this approach, please speak up; I don't like to spend time on things which aren't used. :-)

xon/xoff flowcontrol compatibility

Ouch!

I've been building my reprap controller board myself. The board use the FT232RL chip as a usb->serial interface. However this chip has a built-in XON/XOFF hardware flowcontrol and as far as I can see this is not supported by repsnapper.

Any chance that a flowcontrol selection option can be added to the official repsnapper?

crossing fingers

Preview Rotation Center

Shouldn't it be set to the objects` center or somewhere near the surface? When I zoom out I cannot rotate without getting the objects out of sight

SIGSEGV in GTK2 branch

I'm running the gtk2 branch of Repsnapper, and am getting a segfault when manually moving the axes. This is on Ubuntu 10.10.

Program received signal SIGSEGV, Segmentation fault.
gtk_text_iter_make_real (_iter=)
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtktextiter.c:202
202 /build/buildd/gtk+2.0-2.22.0/gtk/gtktextiter.c: No such file or directory.
    in /build/buildd/gtk+2.0-2.22.0/gtk/gtktextiter.c
(gdb) bt
#0  gtk_text_iter_make_real (_iter=)
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtktextiter.c:202
#1  0x00007f2ab2c7bd2e in _gtk_text_iter_get_any_segment (iter=0x3)
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtktextiter.c:474
#2  0x00007f2ab2c8319d in IA__gtk_text_layout_get_line_display (layout=0x9922220, 
    line=0x7f2a9c004da0, size_only=)
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtktextlayout.c:2229
#3  0x00007f2ab2c86fca in gtk_text_layout_real_wrap (layout=0x9922220, 
    line=0x7f2a9c004da0, line_data=0x9e6da80)
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtktextlayout.c:1167
#4  0x00007f2ab2c6667d in gtk_text_btree_node_validate (
    view=, node=, view_id=0x9922220, 
    state=0x7ffff8294a30) at /build/buildd/gtk+2.0-2.22.0/gtk/gtktextbtree.c:5103
#5  0x00007f2ab2c667d8 in gtk_text_btree_node_validate (
    view=, node=, view_id=0x9922220, 
    state=0x7ffff8294a30) at /build/buildd/gtk+2.0-2.22.0/gtk/gtktextbtree.c:5176
#6  0x00007f2ab2c667d8 in gtk_text_btree_node_validate (
    view=, node=, view_id=0x9922220, 
    state=0x7ffff8294a30) at /build/buildd/gtk+2.0-2.22.0/gtk/gtktextbtree.c:5176
#7  0x00007f2ab2c669fa in _gtk_text_btree_validate (tree=0x9937d80, 
    view_id=0x9922220, max_pixels=, y=0x7ffff8294a9c, 
    old_height=0x7ffff8294a98, new_height=0x7ffff8294a94)
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtktextbtree.c:5255
#8  0x00007f2ab2c85bf7 in IA__gtk_text_layout_validate (layout=0x9922220, 
    max_pixels=2000) at /build/buildd/gtk+2.0-2.22.0/gtk/gtktextlayout.c:1141
#9  0x00007f2ab2c915b2 in incremental_validate_callback (data=0x9938340)
---Type  to continue, or q  to quit---
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtktextview.c:3641
#10 0x00007f2ab280e626 in gdk_threads_dispatch (data=0x99d7ae0)
    at /build/buildd/gtk+2.0-2.22.0/gdk/gdk.c:512
#11 0x00007f2aaff0a342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0x00007f2aaff0e2a8 in ?? () from /lib/libglib-2.0.so.0
#13 0x00007f2aaff0e7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#14 0x00007f2ab2bd43e7 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c:1237
#15 0x00000000004a0158 in main (argc=1, argv=0x7ffff8294eb8) at repsnapper.cpp:123

RepSnapper for Windows won't connect with printer if serial port has been used.

I'm running RepSnapper on Windows 7. There is no obvious version number, but the exe I have was downloaded on 10/26/2010.

If I have run anything that uses the same com port-- either Arduino or RepSnapper itself-- RepSnapper cannot connect to the printer. It appears to be a RepSnapper issue, since the same is not true of Arduino. I can run Arduino after RepSnapper with no issues at all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.