Jump to content


Bluebrick Layout Software


515 replies to this topic

#501 Alban Nanty

Alban Nanty

    Posts: 94
    Joined: 29-August 09
    Member: 7224
    Country: China

Posted 28 February 2012 - 02:44 PM

View PostSnapshot, on 28 February 2012 - 08:47 AM, said:

Alban,

I've just loaded 1.7.1 over 1.7 (and the additional components) and get loads of XML errors when I start the program. Below is just one file and its error message.

BlueBrick had encountered problems while loading XML files from the parts database. These XML files have been ignored. This problem may happen if an XML file contains syntax errors. Fix the syntax or delete the XML files to remove this warning. The file(s) concerned is/are:
D:\User data\Jonathan\Lego\bluebrick\parts\Rail\2868b.0.xml

2868b.0.xml:
Invalid character in the given encoding. Line 6, position 8.


Looking at the XML I think the problem is the accented characters in the French desccriptions.

Hi,

In the 1.7.1, the encoding format of the part XML files has changed for compatibility reasons with Mac and Linux.
Now the part XML files should be encoded in UTF-8. Therefore I advise you to:
1) Unzip the 1.7.1 on a clean folder to avoid some old files in ASCII that have been renamed.
2) Download again the additionnal packages if you want them, and unzip them in the 1.7.1 part folder.
3) Copy your custom parts in the 1.7.1 part folder then convert the encoding to UTF-8 (with your favorite text editor) and add the encoding in the first line of the XML file (you can look into a 1.7.1 part as an example).

Sorry for the inconvenience.

#502 Snapshot

Snapshot

    Posts: 122
    Joined: 09-September 10
    Member: 13151
    Country: England

Posted 28 February 2012 - 05:50 PM

View PostAlban Nanty, on 28 February 2012 - 02:44 PM, said:

Hi,

In the 1.7.1, the encoding format of the part XML files has changed for compatibility reasons with Mac and Linux.
Now the part XML files should be encoded in UTF-8. Therefore I advise you to:
1) Unzip the 1.7.1 on a clean folder to avoid some old files in ASCII that have been renamed.
2) Download again the additionnal packages if you want them, and unzip them in the 1.7.1 part folder.
3) Copy your custom parts in the 1.7.1 part folder then convert the encoding to UTF-8 (with your favorite text editor) and add the encoding in the first line of the XML file (you can look into a 1.7.1 part as an example).

Sorry for the inconvenience.
Thanks for the fast response. Fortunately I don't have any custom parts so I just extracted the files to a new folder then copied across the .config file and all my .bbms. Seems to be working perfectly now.

#503 tr1820

tr1820

    Posts: 2
    Joined: 20-December 11
    Member: 23384

Posted 01 March 2012 - 07:48 PM

I've sorted the models by tabs for more convenience. Unfortunately i have to do it once again now (1.7.1) :) May be it is possible to realize the transfer of models by tabs from the program?

Please I need your advice to realize my idea. I want to make a track from one room to another across the hall. I have dimensions of all these places. How can I transfer them to the program as a background to be able to build my track?

#504 missouri_bb63

missouri_bb63

    Posts: 286
    Joined: 01-August 09
    Member: 6866
    Country: Belgium

Posted 04 March 2012 - 02:12 PM

View Posttr1820, on 01 March 2012 - 07:48 PM, said:

I've sorted the models by tabs for more convenience. Unfortunately i have to do it once again now (1.7.1) :) May be it is possible to realize the transfer of models by tabs from the program?

Please I need your advice to realize my idea. I want to make a track from one room to another across the hall. I have dimensions of all these places. How can I transfer them to the program as a background to be able to build my track?

Hi tr1820,
sorry it has taken so long for someone to reply. I am not sure I have understood your first question correctly. Essentially BlueBrick makes the tabs in the
program based on the folders (and their respective names), that are in the parts library folder. Essentially, to get the same tabs as in your old version of BlueBrick, you just need to copy all the subfolders from the parts folder of your old BlueBrick installation, to your new one... and that is it. This assumes however that there have been no major changes to the XML encoding in the mean time (you did not mention which BlueBrick version you updated from), and of course any new GIFs in the upgrade will be deleted. The order of the tabs is set in the preferences of the program and just takes a few seconds to adjust.

There is no automated way of doing the above as BlueBrick is usually only updated once a year so it wouldn't add much value. It might be something for Alban to put on the long term ideas list though. :)

Concerning you second question, you need to make a layout of your room in GIF format and copy this into a new subfolder in the BlueBrick parts library. Below is an example I quickly made in photoshop using some basic squares. You can use pretty much any picture editing program for this. As you may have noticed from the table GIFs in BlueBrick, 1mm in the real world is roughly 1 pixel in BlueBrick. It will not be 100% accurate but it will give you a rough idea of how your layout could fit into the space.
Take the time to highlight items like windows, doors, sockets, light switches etc in the GIF of your room so you can plan your layout around them.

Good luck!


Posted Image

Edited by missouri_bb63, 06 March 2012 - 08:03 PM.


#505 Alban Nanty

Alban Nanty

    Posts: 94
    Joined: 29-August 09
    Member: 7224
    Country: China

Posted 06 March 2012 - 01:55 PM

It is true that the XML format didn't changed, but unfortunately the encoding changed. So unfortunately, in such situation you need to redo the organization with the new version of the files.  :cry_sad:

#506 Merkurius

Merkurius

    Posts: 15
    Joined: 28-January 09
    Member: 5145

Posted 16 April 2012 - 09:36 AM

Hi!
I am building a 12v layout combining tracks and old road plates. Now I wonder, is it possible to have a 7823 connected to a layout and connects its baseplate to other baseplates i.e 7866? I have tried countless variants but now I am beginning to think if its even possible? Can someone help me?

#507 Merkurius

Merkurius

    Posts: 15
    Joined: 28-January 09
    Member: 5145

Posted 16 April 2012 - 09:52 AM

View PostMerkurius, on 16 April 2012 - 09:36 AM, said:

Hi!
I am building a 12v layout combining tracks and old road plates. Now I wonder, is it possible to have a 7823 connected to a layout and connects its baseplate to other baseplates i.e 7866? I have tried countless variants but now I am beginning to think if its even possible? Can someone help me?

Yes! It is! 2 minutes after my post here, I solved it! Pics will come in a few days when my layout is ready!

#508 Ashi Valkoinen

Ashi Valkoinen

    Posts: 98
    Joined: 27-August 09
    Member: 7207

Posted 17 April 2012 - 12:09 PM

View PostAlban Nanty, on 20 February 2012 - 01:00 PM, said:

Hi,

Just a quick note to tell you that I released the version 1.7.1 of BlueBrick.
This is a maintenance version which fixes 21 bugs including 5 crash bugs.
But most important, this version is now fully compatible and tested with Mono.

[...]

Enjoy!

Great job, I won't need my girlfriend's Vista anymore! It perfectly works on Ubuntu 11.10!
AV
Brickshelf | My MOC topic on EB
ρ•grad(δ2Φ/δt2)-(λ+2μ)•graddivgradΦ+ρ•rot(δ2Ψ/δt2)+μ•rotrotrotΨ=0

#509 The Blue Brick

The Blue Brick

    Posts: 1179
    Joined: 01-July 11
    Member: 18793
    Country: United States

Posted 18 April 2012 - 11:23 PM

The name of this software intrigues me.  :grin:

I might need to try it out.  :classic:

#510 harnbak

harnbak

    Posts: 157
    Joined: 22-March 11
    Member: 16770
    Country: DK

Posted 19 April 2012 - 02:40 PM

(Maybe this is widely known, but)
Track designer files (extension tdl) can be opened and are automatically converted in Bluebrick - very handy!

#511 Snapshot

Snapshot

    Posts: 122
    Joined: 09-September 10
    Member: 13151
    Country: England

Posted 23 May 2012 - 10:59 PM

Problem with 'Export picture' - I'm getting an unhandled exception when I try this with just one or two .bbm files. I'm pretty sure it's something to do with editing or moving items in a text layer as it seems to occur after I've done this but freshly created files are okay. This happen with the same file under XP64 and W7 64.

Alban, I have the details from the exception message available if you would like them emailed to you.

Jonathan

#512 freakwave

freakwave

    Posts: 267
    Joined: 23-January 10
    Member: 9247
    Country: Austria

Posted 31 May 2012 - 01:38 PM

View PostZueriHB, on 31 January 2012 - 01:27 PM, said:

Say, is there a way to model wide curves made with strait track and a one sided half stud offset?

Like here:

Posted Image
LEGO ICE 3 on smooth curves
Foto by holgermatthes

I just came across this question now.... I had a discussion on 1000steine on this topic not long ago and I decided to do them as a quick exercise:

Go to my Brickshelf folder and download the GIFs and XML, put them into the correct "parts" folder and hat should do the job.

The correct GIF is not nice, so feel free to edit it properly :-)

L2865 is with the correct angles, correct but crappy GIF
K2865 is with the correct angles, incorrect but nicer GIF

fW

Edited by freakwave, 31 May 2012 - 01:39 PM.


#513 Stu83

Stu83

    Posts: 23
    Joined: 16-May 08
    Member: 3152

Posted 26 March 2013 - 11:59 AM

I notice that some of the parts recently added to the Part Tracker will not naturally appear in the part library once downloaded as they have the line "NotListedInLibrary" in the XML file.  Why is this? :look:
Posted ImagePosted ImagePosted ImagePosted Image

#514 Alban Nanty

Alban Nanty

    Posts: 94
    Joined: 29-August 09
    Member: 7224
    Country: China

Posted 26 March 2013 - 03:01 PM

That's a good question!!
This is because these parts are supposed to be used inside a group part which is a single XML file that group several parts. But unfortunately these standalone XML files are not listed in the part tracker. I will try to modify my script to let them appear such as you can also download them.
Sorry for the inconvenience.

Anyway, I'm working on the 1.8 version right now, and new cool features will come, including a new type of layer to add some rulers with measurement units, and also a very convenient filter combo box, to filter the parts displayed in the part lib.

Stay tuned!

#515 Alban Nanty

Alban Nanty

    Posts: 94
    Joined: 29-August 09
    Member: 7224
    Country: China

Posted 26 March 2013 - 04:06 PM

Hello,
I've modified my script, now the Set (only XML files) are also visible in the part tracker, and you can download them (they can be easily identified with there "Set" image).

I strongly suggest to download them and keep the "NotListedInLibrary" flag of the sub part to avoid having a part lib too crowded in BlueBrick. if you only need one part of the set (let say the vehicule for example), you can still drag and drop the whole set, then right click on it and choose "ungroup", then delete the subpart you don't want.

BTW, I will rename all the set with the peeron/bricklink convention, i.e. in the form of XXXX-Y for the 1.8 release. It won't break your existing file (unless we made some mistake in the renaming process).

Edited by Alban Nanty, 26 March 2013 - 04:09 PM.


#516 Stu83

Stu83

    Posts: 23
    Joined: 16-May 08
    Member: 3152

Posted 26 March 2013 - 04:45 PM

Great explanation, thanks!
Posted ImagePosted ImagePosted ImagePosted Image



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users