Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: detailled help file ?
Thebreizhm-
aker
Newbie
Posts: 9
Permalink
Post detailled help file ?
on: March 16, 2014, 17:59
Quote

Hello

thanks to Sandy and his awesome job, my polargraph is finished and works:
http://thebreizmaker.wordpress.com/2014/03/16/polargraph-tests/

Need to improve it with new motors, the right one ( from scraped printer ), is quite tough to rotate and I think it lose steps ( visible on the spiral picture )

May be I dont search efficiently, but is there anywhere a detailled help for the software, that describe all the functions ?

Is there a way to do a preview before printing ?

Don't succeed to use norvegian drawing. Is this function only possible with SD card? If I add a sd card to my device, could I get acces to these features ?

Thanks for your help

Image

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: detailled help file ?
on: March 16, 2014, 21:19
Quote

Looks good! Your drawing looks even - no sign of dropped steps there.

You will never find the detailed help you are looking for, sorry, there is no such thing! So:

There is a sharp divide between calculating the density of each pixel, and actually making shapes on the page with a pen. The controller calculates the density and position of each pixel, and can show you a preview of those things. That is the preview you already see in the controller.

The actual pattern of the lines in each pixel is entirely up to the firmware, so it cannot be previewed.

Norwegian pixel, and vector sprites both require an SD card. If you add an SD card like in http://www.polargraph.co.uk/2012/02/state-of-the-art-tangle/. I THINK anyway. I haven't done it for a year!

sn

Thebreizhm-
aker
Newbie
Posts: 9
Permalink
Post Re: detailled help file ?
on: March 17, 2014, 20:56
Quote

on the picture above, the paterns tend to be lower and lower from the beggining up/right to the end. Not as on on the image preview. and at the end, when I ask for a retrun to home, I was 2 centimeter under...

I'll by a adafruit sd breakout. I had a sd shield for ramps, quite sure it should be OK, but not sure of pin affectation...
thanks for your help

Thebreizhm-
aker
Newbie
Posts: 9
Permalink
Post Re: detailled help file ?
on: March 17, 2014, 23:18
Quote

spend time to understand my SD ramps and connect it on the mega:
miso to D50 / Mosi to D51 / Clk to D52 and CS to D53 + gnd and 5V. 3.3 not needed cause 3.3 regulator inside

try to do norvegian drawings with a .pbm written on the SD card... not succed.
How could I be sure the SD card is readed ? some test to do ?

thanks in advance. Regards

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: detailled help file ?
on: March 18, 2014, 00:44
Quote

As always when debugging, in the controller, open the console (press ctrl-c) and look for the lines starting "incoming:". These are messages coming from the machine, and are _usually_ concerned with errors. Also try resetting the machine with that window open, and you'll see a full directory listing if your card is mounted correctly and working.

Naturally, if it doesn't work, fall back on getting it working with the adafruit SD examples to reassure yourself that your hardware _does_ actually work.

sn

Thebreizhm-
aker
Newbie
Posts: 9
Permalink
Post Re: detailled help file ?
on: March 18, 2014, 12:13
Quote

incoming: Initializing SD card...
incoming: Wiring is correct and a card is present.
incoming:
incoming: Card type: SDHC
incoming:
incoming: Volume type is FAT32
incoming:
incoming: Volume size (bytes): 3038248960
incoming: Volume size (Kbytes): 2967040
incoming: Volume size (Mbytes): 2897
incoming:
incoming: Files found on the card (name, date and size in bytes):
incoming: GAT.PBM 2014-03-17 23:22:22 80250
incoming: READY_100
incoming: MEMORY,2276,END
incoming: READY_100

seems OK: SD card recognized eand the file in ... I'll try to understand why I can't succed with norvegian pixel

regards

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: detailled help file ?
on: March 18, 2014, 22:53
Quote

WEll, that's a good sign. But again, try issuing the command to start the drawing, and watch what the machine's response is using the console. It'll usually tell you what the problem is.

sn

Thebreizhm-
aker
Newbie
Posts: 9
Permalink
Post Re: detailled help file ?
on: March 20, 2014, 21:40
Quote

quick test without motors connected:

incoming: READY_100
Filename:gat1.pbm
Amplitude:20
Wavelength:2
Dispatching command: C43,gat1.pbm,20,2,END
Last command:C43,gat1.pbm,20,2,END:2984791380
incoming: This isn't a P5 file. It's a P4 file, and that's no good.
incoming: bad pbm
incoming: Couldn't open that file - gat1.pbm
incoming: READY_100

Pb of file format. I have to work on the gimp to understandall these features...

is there a place to download "certified" pbm and vector files, just to test before dealing with the gimp and inkscape ?
Regards

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: detailled help file ?
on: March 20, 2014, 22:06
Quote

The program expects a greyscale image format.

The problem is that the file format is not strongly tied to the file extension, and PGM and PBM are used interchangeably, even though the contents can be different. P4 and P5 are the internal format of the files. P4 files are indexed-colour bitmaps. P5 are greyscale bitmaps. Polargraph understands P5 files, whatever the file extension.

In theory PBM is Portable BitMap, and PGM is Portable GreyMap. It is possible for PBM to contain greyscale information, but it is just as possible for a PBM to contain indexed colours, where all the colours are grey (so it looks the same).

http://www.polargraph.co.uk/2012/08/norwegian-pixel/:

Save your source image as a greyscale PBM or PGM file, and put it on the SD card. Note that GIMP saves PBM files as 2 colour dithered files, so you need to export as PGM to get it to work there. Photoshop just saves in whatever format the image happens to be in, so make sure you convert to grayscale (not RGB or indexed) before saving.

I have just committed a P5 PBM file to the controller github repo here:
https://github.com/euphy/polargraphcontroller/raw/master/data/gradient.pbm

sn

Thebreizhm-
aker
Newbie
Posts: 9
Permalink
Post Re: detailled help file ?
on: March 21, 2014, 21:56
Quote

Thanks
very good file herr doctor 😉
drawing command send with success with your file.
trials with motors plugged this weekend.
I must have to read in detail the explanation in the technical articles of the blog...
Just have to find them 😉 and read carrefully
Its a french habbit to alway start an item without reading the fu... user manual 😉
thanks again for your patience

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: detailled help file ?
on: March 23, 2014, 21:51
Quote

I'm fairly ashamed of the state of the documentation to be honest - it is no failing on your part.

kongorilla
Pro
Posts: 362
Permalink
kongorilla
Post Re: detailled help file ?
on: March 24, 2014, 02:57
Quote

Time to wiki up this joint.

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: detailled help file ?
on: March 24, 2014, 10:06
Quote

Quote from kongorilla on March 24, 2014, 02:57
Time to wiki up this joint.

So good of you to offer 🙂

kongorilla
Pro
Posts: 362
Permalink
kongorilla
Post Re: detailled help file ?
on: March 24, 2014, 12:22
Quote

You set it up, and I'll fill in the blanks with everything I know. Shouldn't take me more than five minutes. 😉

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: detailled help file ?
on: March 24, 2014, 13:41
Quote

Ha, yeah right! Well you asked for it -

https://github.com/euphy/polargraph/wiki

I think I've added you as a collaborator. Anybody else who would like to contribute, please just ask. It is open, so anyone can go in and add stuff.

Do not be afraid to impose a structure, even if it is a skeleton. I will not have much time to add stuff for the next couple of weeks I think, but if there's something you think should be documented, but that you need me for, leave a placeholder, that way I know what to prioritise.

That goes for everybody. I can probably guess from the questions here what the things are that cause problems, but if I'm not moving fast enough then poke me directly - or raise an issue against the project in github (https://github.com/euphy/polargraph/issues) against the docs themselves. That's actually a good way of doing it. Do that to raise questions or issues.

Writing docs has never been onerous in itself, but I've never quite figured out the best place to put them. Lets try this.

ta!
sn

kongorilla
Pro
Posts: 362
Permalink
kongorilla
Post Re: detailled help file ?
on: March 24, 2014, 20:51
Quote

If you added github user 'kongorilla', you've added an imposter! I just created account 'kongorillaSJK' and the 'edit page' button appeared on the wiki, so I think the wiki is wide open right now.

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: detailled help file ?
on: March 24, 2014, 21:05
Quote

Counterfeit Kongorilla! Ok, I've just looked it up, and the wiki is open anyway, doesn't need a special designation.

kongorilla
Pro
Posts: 362
Permalink
kongorilla
Post Re: detailled help file ?
on: March 24, 2014, 23:24
Quote

A thread to discuss Wiki issues:
http://www.polargraph.co.uk/forum/polargraphs-group2/general-forum1/the-polargraph-wiki-thread285.0/

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