Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Moving manually works - but not Draw Vectors
rincey12
Newbie
Posts: 8
Permalink
Post Moving manually works - but not Draw Vectors
on: September 17, 2014, 22:20
Quote

Hi,

I am using an Uno R2 and Adafruit MS v2 and right now the server and controller connections works and I can control the pen using the Move buttons.

But as soon as I try to draw an SVG all I get is this:

-----
Send vector shapes.
finished filter.
finished filter.
finished filter.
finished filter.
finished filter.
finished filter.
finished filter.
finished.
regenerating preview queue.
Dispatching command: C14,END
Last command:C14,END:4042703483
incoming: READY
regenerating preview queue.
------

and the machine doesn't move. Any hints for me?

I tried different positions of the frame within the page, but nothing seems to help.

Thanks a lot,
Adi

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Moving manually works - but not Draw Vectors
on: September 18, 2014, 00:03
Quote

Good spot. I saw this just now too... I've just committed a fix to the repo and rebuilt the controller binaries in the bundle (same url: https://github.com/euphy/polargraphcontroller/releases/tag/1.10).

The long story is that I put in code that looked at each path, and treated it slightly differently if it crossed the page boundary. So I think lines that crossed the boundary were correctly chopped at the boundary and the leftover portions were drawn properly. HOWEVER, the lines that did NOT cross the boundary (that is, shapes that are entirely contained within the page) were ... well, thrown away.

Obviously that was a bit of an oversight. Problem not spotted until now because I was using a test SVG where all the lines DID cross the page boundary, so I didn't notice. Duh. I have returned it to the previous behaviour for v1.10.2.

The other difference (that I haven't returned) is that the vector boundary is now the PICTURE FRAME rather than the page. This is because the page is quite fixed, whereas the picture frame is as fluid as the selection area.

Please have another shot, let me know if you still have problems with it.

ta!
sn

rincey12
Newbie
Posts: 8
Permalink
Post Re: Moving manually works - but not Draw Vectors
on: September 18, 2014, 10:07
Quote

Thanks for the quick reply, will try the new binary as soon as I can get away from work Did some more tinkering before work today and drawing images works fine already. Yeah!

BTW, great project! Makes me want to order an "official" kit to give something back to you for your efforts - just using your firmware and controller for a self built one feels kind of odd.

rincey12
Newbie
Posts: 8
Permalink
Post Re: Moving manually works - but not Draw Vectors
on: September 18, 2014, 17:46
Quote

Just tested the new version, drawing vectors works fine now - but the pen lift/drop doesn't work. The commands in the generated GCODE are like "C14, END". I had to search & replace the queue to "C14, 30, END" to make it work (same for C13).

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Moving manually works - but not Draw Vectors
on: September 19, 2014, 00:43
Quote

Hi good spot again - on it, hopefully fixed!

Re-bundled, code committed into the project repository.

https://github.com/euphy/polargraphcontroller/releases/tag/1.10.2
http://www.polargraph.co.uk/2014/09/significant-changes-to-uno-firmware/

Let me know how you get on.

sn

rincey12
Newbie
Posts: 8
Permalink
Post Re: Moving manually works - but not Draw Vectors
on: September 19, 2014, 08:41
Quote

My first real print... thanks a lot for your support!
Image

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Moving manually works - but not Draw Vectors
on: September 19, 2014, 13:33
Quote

hurray!

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.043 seconds.