How to export a Mecabricks project to a Bricklink Wanted list?
JD430w started this discussion in Help and Tips

I want to export a MB project of mine to a Bricklink wanted list. I was planning on exporting it to LDD and exporting that to BL, but I couldn't figure out how to do that. I exported all three file options, all with the LEGO logo, but none of them were compatible with either LDD or Bricksmith. There are other forum posts talking about an .xml file to put in to Bricklink, but I can't find that, either. I can't even find a parts list to painstakingly enter in each piece manually. Am I just foolishly overlooking something, or is there some deeply hidden program to run, or is this entirely impossible and I just wasted* all my time building it here when I should have used Bricksmith?**

*Well, not really wasted... MB is superior to either of its alternatives in its convenience and versatility.
**If this is the case, could this function be added someday really soon?

23 replies · Page 1 of 2
Avatar of Scrubs
Administrator

Hello,

There aren't any functions to export to LDD or Ldraw format from Mecabricks.

Regarding the part list for bricklink, yes it is possible. For public models:
Model page -> Inventory (below 3D player) -> Bricklink XML

You will get 2 files. One can be uploaded directly on Bricklink. The other one is the list of part that Mecabricks doesn't know how to convert (e.g. bricklink information has not been filled in yet in the database).

For your own private models, use the url:

http://www.mecabricks.com/inventory/bricklink/{MODEL_ID}.zip

where MODEL_ID is the 11 chars alphacode of your model.

@Scrubs
It didn't work... It says one of the items is invalid or doesn't exist in the Bricklink catalog. Do I have to search through the .xml file and find and delete all the parts in the "not in BL" file that came with the download?

Why does everything I want to do on my computer require a Level 5 Sorcerer?!

Avatar of Scrubs
Administrator

No. The bricklink xml file doesn't include the parts from the other "Not in BL" file. There might be a glitch somewhere either on the file generated by Mecabricks or Bricklink. Is the model you want the inventory for public?

Avatar of Scrubs
Administrator

Actually, did you try to open the xml file in a text editor, copy the content and paste in bricklink instead of uploading the file? I think it is how it works if I remember.

Just wanted to say that this question has been asked before, and it's completely normal as it's a quite difficult process.
@Scrubs, 5 minutes work, add a link to the inventory url in the account library.
For the unspecified bricks, it's an ongoing work I guess to match them up.

Avatar of Scrubs
Administrator

I am not willing to really promote it for now. This is just a link for you guys but behind the scene it is not that simple to maintain and make it work 100%. It is still buggy for now as you can see.

@Scrubs It is public, yes: http://mecabricks.com/en/models/EAbjpWXz25y
I opened the .xml file in TextWrangler and copied it from there and pasted it into the BL .xml upload box.

@Sim Do you have a link to the post? It might be useful.

It was just a suggestion to add a link to the xml in the library for private use. So, there is no link yet, as Scrubs wants to keep this feature unpromoted for now.
@Scrubs, what should be done to make it work for 100%. Is the code not really good or is it data that needs to be added?

Avatar of Scrubs
Administrator

It was working before and it appears that it doesn't always now. Bricklink might have changed its code and may be a bit more strict on the input data. If it is what I am thinking about, it will be really tricky to solve. But before jumping to conclusion I will have to investigate which is not the priority now.

Investigated and all:

For this case, it seems to be a typo:
Mecabricks: Flat Tile 1X2 No.90 has bricklink id: 3069bcp1
Bricklink: Flat Tile 1X2 No.90 has bricklink id: 3069bpc1
If this gets fixed on Mecabricks, then JD430w will import the file succesfully on Bricklink

The XML page on Bricklink might have changed, I'm unsure as I've signed up today, and if your XML is failing, it will just give the same message every time.
"One of the items in the XML file is invalid or does not exist in the Bricklink Catalog."
The XML itself hasn't changed. The documentation page is redirecting to the old site.

Avatar of Scrubs
Administrator

Corrected.
Same, I never use the xml import function on Bricklink and error return is pretty basic and doesn't allow for debug. I guess we will have to live with it. If it fails it will be likely that a reference has been entered incorrectly.

@Scrubs
It's fixed now?

Avatar of Scrubs
Administrator

I corrected the database error that Sim pointed out. It is up to you now to try if it works or not.

@Scrubs Okay, thanks. I was not expecting it to be that fast. Usually when things go wrong for me they take a week or two to fix.
Thanks for your help!

My zip folder is always empty. What have I done wrong?

What model are you trying to export?

Private model. I use the URL and my model alpha code as above. However, when I do an empty zip downloads.

I’m trying to upload my project to bricklink and its giving me a file not found error Error uploading model: EC_STUDIO_FILE_NOT_FOUND

Or when I upload the (project name)-BL.xml it says file not supported and i tried it as a link and got invalid format: content not allowed in prolog

For a different project its saying the file Y wing 3.zip/ Y wing-BL.xml is not supported

Previous
Next
Advertising
7 participants
Avatar of JD430w
Avatar of Scrubs
Avatar of Sim
Avatar of B1Trash

LEGO, the LEGO logo, the Minifigure, and the Brick and Knob configurations are trademarks of the LEGO Group of Companies. ©2024 The LEGO Group.

Mecabricks, the Mecabricks logo and all content not covered by The LEGO Group's copyright is, unless otherwise stated, ©2011-2024 Mecabricks.