PDA

View Full Version : WordBuilder 1.1



Alfar
09-14-2009, 03:31 PM
Yup, it's that time again - new release of WordBuilder :P

http://whee.dk/wordbuilder/WordBuilder.msi

New features:

Comments, // for single line comments, /* */ for block comments. Thank su_liam for that.
Capitalize command turns the first letter of the latest token to upper case.
Dictionary - find words by meaning or find the meaning of a word. Generate function to create new words based on your WordBuilder rule sets.
Export to svg file - create an svg file with a text-on-path object for each selected word (or all words if none are selected) - useful for placing labels on a map, perhaps. Uses new Export framework that will make it easier to make additional exports.
New example scripts: http://whee.dk/wordbuilder/DunderhillPlaces.wordo and http://whee.dk/wordbuilder/Esolanean.wordo
Example dictionary: http://whee.dk/wordbuilder/Esolanean.wdict - try searching for mountain, river (and also river.Determinate for 'the river' - this uses branches), and paejir.


The dictionary tool has lots of room for improvement, but I figured the sooner I got it out there, the better. I've attached some screenshots showing the new features.

Comments and such, yes please.

Alfar
09-15-2009, 07:44 AM
A bit of showing off for the export to svg feature:

I generated a bunch of place names (I didn't bother to check for duplicates, I guess that's an upcoming feature in a later release) and exported to svg.

The export makes each word a text object on a slightly curved path in the svg file.

Using Inkscape, I changed the font size and font (Poor Richard), and used Jitter Nodes on the paths.

Then, I used the align and distribute tools to scatter the names randomly and removed overlaps.

Finally, I hand-drew an island shape around the names and fractalized the path before filling it with a gradient.

I had to adjust the placement of a few names after the fractalize, but other than that, drawing the island path was my only manual task.

Total work: 10 minutes. And I don't know much about Inkscape.

Ramah
09-15-2009, 09:33 AM
Very nice. :)

I'm gonna have a tinker of this program when it comes to needing some more names for my map, it looks really cool.

su_liam
09-15-2009, 01:52 PM
http://whee.dk/wordbuilder/Esolanean.wdic

Like the Lady Chablis would say, no, "t."

Alfar
09-15-2009, 04:03 PM
Thank you, su_liam :) Yes, no t.

ravells
09-16-2009, 07:26 AM
A bit of showing off for the export to svg feature:

I generated a bunch of place names (I didn't bother to check for duplicates, I guess that's an upcoming feature in a later release) and exported to svg.

The export makes each word a text object on a slightly curved path in the svg file.

Using Inkscape, I changed the font size and font (Poor Richard), and used Jitter Nodes on the paths.

Then, I used the align and distribute tools to scatter the names randomly and removed overlaps.

Finally, I hand-drew an island shape around the names and fractalized the path before filling it with a gradient.

I had to adjust the placement of a few names after the fractalize, but other than that, drawing the island path was my only manual task.

Total work: 10 minutes. And I don't know much about Inkscape.

Oh yum yum yum

Going to have to see whether the export works with drawplus. Having the text as a text object on a path will save a lot of time.

Alfar
09-18-2009, 04:42 AM
How did that go, ravs? DrawPlus able to read my svg's?

If not, can you supply me with a DrawPlus file containing just one text object on a curved path, preferably in a xml or text based format? (Svg is an xml format, so (relatively) easy to read and create for humans.)

Edit:

tried it myself with DrawPlus SE, not much luck. Bugger. In good news, DrawPlus dpp files are zipped archives with a bunch of xml files in them, so it should be possible to export to that format somewhat easily. ;) Will work on that at some point.

ravells
09-18-2009, 06:10 AM
No...really frustrating. Drawplus can't actually read any svgs. They work on the principle that if you want to read in vector you should import either as a proprietry file (e.g. *.ai) or .pdf - which they say has replaced svg as a default vector file format in their eyes. Anyway, I can still paste the list as a text object and copy and paste each word, but I have to do the 'text on a path' thing for each word if I want text on a path. Ah well.

Anyway, need a little time to sit down and read your documentation to understand how the language works and I'll start doing a wordo file.

Alfar
09-18-2009, 06:33 AM
I'll look into making DrawPlus files. I don't think pdf files support text-on-path except in the form of separately placed characters, unless they've added it to the standard since pdf version 1.4. AI files are probably more difficult than DrawPlus, knowing Adobe ;)

Oh, and if you need help, feel free to ask - here or on the WordBuilder forums (http://whee.dk/?page_id=82)

Alfar
09-21-2009, 04:10 PM
There... It's done. WordBuilder version 1.2 (not yet released) will support export to .dpp files.

I just hope other people than Ravs will be able to use it ;)

Attached is a zip containing an example .dpp file generated by WordBuilder.

ravells
09-22-2009, 08:19 AM
I can't thank you enough, Alfar!!!!

I wish more people would use Drawplus - it's great value for the cost and has a very easy and intuitive interface.

ravells
09-22-2009, 08:28 AM
Hmmm can't download the zip file.

Alfar
09-22-2009, 08:48 AM
Neither can I. That's... troubling. ;)

Karro
01-04-2010, 11:02 AM
So, I finally got around to downloading a copy of this.

I'm having trouble learning the syntax, yet, but if I can get the hang of it, I can see how useful this program might be.

But, might I make a few small feature requests? (Well, I hope they're small...) You can copy the list to a clipboard, but you only get one item at a time doing it that way... you seem to have to manually select all in order to get all the items to copy them. Would it be possible to add a 'select all' command?

Better than that, if it would be possible to export the entire list, and details, into a comma-delimited format for easy transference into a spreadsheet program (Excel, Oo.org Calc, etc.) that would be super. When I get back to working on languages for my writing, I'll be storing most of that data in spreadsheets because it's easier for me to manipulate the data that way.

Thanks!

Alfar
01-04-2010, 01:52 PM
Yes, yes you may!

In fact, Ctrl+a selects the entire list of generated words, and if you haven't selected a word, the whole list will be copied as well.

Requests are always welcome, even if I've been quiet the last couple of months - I've been recuperating from a stress injury in my arm, rendering me unable to type for a month and a half.

Karro
01-04-2010, 02:15 PM
Yes, yes you may!

In fact, Ctrl+a selects the entire list of generated words, and if you haven't selected a word, the whole list will be copied as well.

Requests are always welcome, even if I've been quiet the last couple of months - I've been recuperating from a stress injury in my arm, rendering me unable to type for a month and a half.

Great, glad to know about ctrl-a.

I hope a comma-delimited export wouldn't be too much trouble, though? Though of course, there's no hurry. I just happened to have time to dl this today, but I won't be able to put it through the paces again for a while yet, since the new semester is starting soon.

Also, FYI, I cross-posted this to your wordbuilder forums, so ignore that, if necessary.

Anyway, hope your arm gets better! I'm recuperating from a cold today, myself (why I'm not at work today).

Alfar
01-04-2010, 02:45 PM
CSV export is implemented. I'm just adding a bow to the package (because right now it explodes if the file you're exporting to is locked), and I'll release v1.4.

Update: http://whee.dk/?p=138 - released!

Davros01
01-04-2010, 04:56 PM
Hope you heal up Alfa

Marcr

Alfar
01-28-2010, 03:36 PM
http://whee.dk/wp-content/wb16.png Just a heads up that I've released v1.6 of WordBuilder - I discovered a bug in the translate command, and got unicode support working with the syntax highlighting.

Download at http://whee.dk/wordbuilder/WordBuilder.msi as usual.

ravells
01-28-2010, 03:51 PM
Yay downloading now! I must get to grip with the rules system rather than tinkering with the existing files. I really want to do an anglo-saxon one.

Alfar
01-29-2010, 03:08 PM
If you need help, give me a hollar, eh?

I'm doing a walk-through of my own language, Esolanean, on http://whee.dk/. Maybe that'll help you?

ravells
01-29-2010, 03:46 PM
I might send you a pm so we can talk about it on the telephone if that's OK - much faster and I think it's a brilliant application. I just need to learn how to use it. So if I'm on the puter with you at the other end of the line, hopefully it won't take too long.

best

Ravs

Alfar
01-30-2010, 02:35 AM
Uh yeah! - that'd be cool!

Maybe we can use skype or some such, it's cheaper, and we'd be able to share a view of the screen.

Uncle Twitchy
05-14-2010, 04:31 PM
Did this ever become executable in Mac OSX?