LDraw OMR website


LDraw OMR website
#1
Hello everyone,

First off, I wasn't exactly sure in which subforum to post this, so I just placed it in general. I hope that's no problem.

Anyway, as the title already says, I wanted to talk about a website for the LDraw OMR sets. I'm the 'indexer'/'maintainer' of the huge list of user-submitted LDraw models at EuroBricks. I also was the one that started submitting LDraw files from EuroBricks onto Brickset. Due to reasons (which I won't include here now) the Brickset uploading stopped a while ago (for now at least).

And in between all of that and more, is the 'LDraw OMR'. A specification that a lot of people like, but the repository itself doesn't really exist. That's been bothering me since I started using LDraw years ago: everyone keeps talking about this 'Offical Model Repository', but it's nowhere to be found (easily at least). I'd like to change that. I was thinking about a little website which collects all those OMR files and makes it easy for the user to search for the file they'd like to download.

In fact, this morning I already made a prototype website. A little while ago I started experimenting with Python and a web-framework called Django (in my little experience, it's an amazing framework btw) and I saw this as a great oppurtunity to experiment and learn some more.

Well, prototype, it's actually already a fully working website which is just missing a bunch of features and content (and isn't hosted anywhere). As I said before, it's made in python using a framework called Django and it uses a sqllite database. It's fully functional; it has an admin-interface to add files and sets to the database. The only major feature that's missing is a search and listing of all available files. But those things are very easy to add. I just haven't done it yet.

You can view some images of what I have so far, here.

So, I was wondering what you guys think about this? Is this a good idea? Would it be better to be a standalone website or a subdomain at ldraw.org? Also, I have completely 0 experience with hosting anything, let alone a python application... Anyone who has more experience with that?

And, lastly: if this text is kind of vague or has no structure at all: I'm sorry, my writing skills were always very bad :|

Have a nice day! Smile
Reply
Re: LDraw OMR website
#2
Looks like a good idea! (but maybe I'm biased because you choose one of my models for the example...) This should indeed offer more visibility to the OMR that is lacking a lot. I guess it should be hosted at ldraw.org?
Reply
Re: LDraw OMR website
#3
Thanks! I just used your model, because it was an OMR model and it was one of the first ones I came across when searching for a file to test with.

As said before, I have no experience at all with hosting. Would it even be possible (with the current servers/setup) to run a python website (at for example omr.ldraw.org)?
Reply
Re: LDraw OMR website
#4
Yes. I can't give you access to the main LDraw server but I can setup a sub domain and give you and account on my server where the forums and wiki are hosted.
Reply
Re: LDraw OMR website
#5
Well, that would be nice. Still, I don't really know how to deploy a website and things like that, but having a server is of course a big step forward Wink.

So, should I continue to finish (a first version of) this website? Does anyone maybe have any feature-ideas that would be nice to include?
Reply
Re: LDraw OMR website
#6
I like that idea a lot.
As we have several models with b-set and c-sets, I would vote for a structure that will bring the main model and b model within the same site.
Something like:
Code:
Main site
*Model number
**Model a
**Model b
would be the best in my eyes.

Furthermore the models should get tags for it's theme and year.

And another thing: How do we do the quality control for such an mpd-file?

/Max
Reply
Re: LDraw OMR website
#7
There is already a basic structure in my prototype for handling multiple models from 1 set. You can see in the first image that the table includes a column "Submodel" which can be used for naming for example a B model. However, I think I'm going to change the database a little to be able to mark the 'Main' model of a set, the one that's on the front of the box. And, a extra textbox to name the other models from the same set. That way it's easier to filter and I think it's also less vague.

There are also already theme and year 'tags' included. I was not planning to make a detailed set database, there are already other websites for that (and that's also why a set page has a link to Brickset for more info). However, a little set information for easy filtering on the website itself is nice, that's why I included set number, name, theme and year.

Regarding quality-control: at the moment, I wasn't really planning to let users upload files themselves. Because, as you say, it's difficult to check for quality that way. At first, I think it's best to have a few admins that upload files that users submitted here in the forum. That might just work fine even after the first version, I mean, it's not a huge amount of sets. Once you've added the current OMR sets, it might be a few a week right?

-------

This morning, I also made some progress. I've started working on a simple filtering/search. I've also included a 'numbertrail' (for example 42044-1 instead of 42044) to handle different sets with the same set number. And, I've made some misc. changes. It's not a difficult website by far (I'm just relatively new to Django), so I think I might have a 'complete' version next week or maybe even this week Smile
Reply
Re: LDraw OMR website
#8
You wrote exactly what I had in my mind. :-)
We don't need another web catalogue for all sets, it should be just a database to get the mpd-files of several models. And the only reason for adding some tags should be an easier user search.
I'm not sure how far Chris prepared something for the OMR. I would really like to see some thoughts of Chris, before we really start with this project...

/Max
Reply
Re: LDraw OMR website
#9
Chris was (also) making something for the OMR? Or are you just wonderif if he was also making something for the OMR?
Anyway, anyone who could point Chris in this direction? Wink
Reply
Re: LDraw OMR website
#30
If you mean this "Chris", then I have not done anything tangible to provide an OMR website. There is quite a lot I have on my 'to do' list to add functionality to the Parts Tracker, and there is a Parts Requestor in 'development limbo'. After a major downtime to move house, I am hoping that I will have more time for LDraw development this winter.

I do think an OMR should have an equivalent submission, review and certification process to parts, however an 'official(1) model tracker' wouldn't need to be tightly linked to an 'official(1) model display' website.

We have a well integrated user management system at present with the Forum being the primary register of LDraw users. This has a group membership functionality, and the Parts Tracker checks appropriate group membership for parts submission and review authentication. I suggest that we would want OMR submitters to be members of the LDraw community (i.e have a forum account), and that we only grant membership of an 'OMR submit' group on receipt of confirmation of shareability rights (equivalent to the LDraw Parts Contributor Agreement). Forum admins have the ability to add users to groups. Although we may not stay with Phorum forever, any replacement would need to have equivalent functionaility, and I would prefer that OMR management is integrated into the same authentication framework.

(1) official in the sense of an official LEGO model
Chris (LDraw Parts Library Admin)
Reply
Re: LDraw OMR website
#31
Ah, I see. You have about the same thing in mind as a lot of other people here; that users can submit their own files. As I explained in one of my other posts here, I highly doubt it that's worth the effort.

Aside from the fact if it's possible to integrate the current authentication in the framework I'm using at the moment (python in combination with Django framework) or not, do we really need "an equivalent submission, review and certification process to parts". I mean, the current OMR (or what exists of it) is also managed by 1 person and isn't really checked except for OMR compliance.

And in the end, the files are not as 'important' as the parts right? I mean, people make the LDraw files of sets for fun and people download them for fun. It doesn't matter that much if the file isn't certified by x amount of people and checked for a long list of errors. If it is correct and not a complete mess, it's fine for 99% of the time the file is used. For parts that is much more important. In my opinion this OMR-site should be seen as some kind of 'extra service' to users.

But I'm open to discuss other possibilities Smile
Reply
Re: LDraw OMR website
#32
I agree with Merlijn on this one. Requiring OMR conformity is already quite frightening for the average user, a certification process would even more detract potential contributors.
Reply
Re: LDraw OMR website
#39
+1

w.
LEGO ergo sum
Reply
Re: LDraw OMR website
#42
yes, and to me the requirements for an OMR-compliant model are by far too restrictive to make it fun for me to contribute, sadly.
for me, it would be sufficient, if the file contained the model properly built, and its filename and title make somewhat sense.
this minimum set of req's would be enough for me.
of course, anyone wanting to go further formally inside the model, of course still may, but for me, the effort would be too high because I cannot see the gain.
Reply
Re: LDraw OMR website
#45
The only thing I consider as very important in the OMR specification is the latest added bit: inclusion of unofficial parts!
Reply
Re: LDraw OMR website
#35
Merlijn Wissink Wrote:And in the end, the files are not as 'important' as the parts right? I mean, people make the LDraw files of sets for fun and people download them for fun.
I think people model parts mainly for fun too, and whilst part quality might be more important to the commuinity than model quality, I would like to see the LDraw 'brand' maintain its reputation for high quality deliverables.

Merlijn Wissink Wrote:It doesn't matter that much if the file isn't certified by x amount of people and checked for a long list of errors.

I didn't suggest a value for 'x', just that a certification process is my preference. Although for parts x=3, for models it might only need to be 1 (anyone, or the OMR admin).

Merlijn Wissink Wrote:If it is correct and not a complete mess, it's fine for 99% of the time the file is used.
That's the whole point of a certification process. Despite their best efforts, authors make mistakes so it makes sense [to me] to have some peer review.

I do think authentication is important to ensure that authors are happy for the LDraw organisation to share their work.
Chris (LDraw Parts Library Admin)
Reply
Re: LDraw OMR website
#36
As it is now, there's already some kind of (basic) review before a model gets added, since only an admin can add files. If that admin does its job well, there's a minimal 'risk' of having files with errors on the website. Of course it's not a full review process on the website itself, but it's a review nonetheless.

Of course, it would be possible to allow authorized LDraw users to upload their files themselves and let them check by an admin before they get showed to the public. It's the same as the paragraph above, except that a user can upload the files themselves instead of sending them (or adding them onto the forum or something like that). And, as I said before, I wonder if it's worth the work to add that little bit of extra functionality (aside from the fact if I would even be able to, since I'm quite new to Python and Django).

How does the current authentication system work? Is it completely custom or does it use any of standard/framework/protocol?
Reply
Re: LDraw OMR website
#37
Merlijn Wissink Wrote:How does the current authentication system work? Is it completely custom or does it use any of standard/framework/protocol?
It uses a custom Perl module to query the user properties in the Phorum database.
Chris (LDraw Parts Library Admin)
Reply
Re: LDraw OMR website
#38
Correct me if I'm wrong, but the current situation is that we do not have a model repository present at LDraw.org.
If this only turns out as a single place, to better find all the present files, stored somewere in the forum or at Eurobricks, I'm OK with it.

All I personally ask for is that we stay away from the word "official" in this context.
Create a page that makes it easy to find files, but inform the user about the status of the files.

I really want a review process (by more than one person), but I also want a better way to find all the models allready made.
Lets start with a collecting, searchable page, but lets also think ahead of the next step, a review process.
Reply
Re: LDraw OMR website
#43
I fully agree.
May I suggest a new idea?
There already exist several uploaded models all over the world.
My idea is that our OMR repository is not a model repository, but instead simply a database pointing to models stored
wherever else. This _could_ include a server by us own, but does not have to.
The DB could point to models uploaded wherever, be it brickshelf, eurobricks, ldraw.org, or wherever else.
Inside the DB, each model is represented by a URL where it is physically stored, plus a md5 checksum of that file.
For every such model, attributes can be stored like
- the model is built properly (and this has been verified by X persons)
- all stickers or patterns are properly present
- a list of known issues like missing or substituted parts
- from which set that model was built
- year when that set appeared from TLG
and so on

The frontend of our database then would allow to search for models like this:
"give me all train sets between 1980 and 1985 containing at least 20 parts which got reviewed by at least 2 people to be correct"

This suggestion is a fundamentally different approach than creating a "PT" for models.
It allows better integration of all existing models, without having them to be copied to our servers.
This avoids the problem to ask all the existing model authors for their permission.
At the same time it avoids tedious re-creation of non omr-compliant models,
and has the charm that plenty of models are available from the start (most of them un-reviewed yet, of course)

play well
Steffen

PS, I agree with that we should drop the term "official".
I suggest titling that new thing a LEGO model-searching database.
If you want, it will in the end be a "peeron2", but with correctly built models, not only part lists.
The database could additionally match the uploaded models against existing part lists.
In the end, the new DB will be a much more powerful DB than peeron was, and this way also solve the problem of the slowly dying peeron.
Reply
Re: LDraw OMR website
#46
Well, what I have made so far is exactly what you describe except for the fact that the files are locally stored and not linked.

I do like the idea of linked files to create a bigger collection, but we have no control at all about the files hosted at other locations. A lot of files are hosted at Brickshelf, how long does Brickshelf still exist? A lot of files are hosted at Dropbox, what if a user deletes or moves the files in dropbox? etc. etc.

So, I highly doubt if it would be useful to include links instead of adding the files themselves. It could become very annoying when you'd like to download a file a year from now and the link doesn't work anymore.
Reply
Re: LDraw OMR website
#47
Totally agree: while links to external files might be interesting, I think that the core of the OMR should be locally stored.
Reply
Re: LDraw OMR website
#10
For your information: I have a pretty much complete and working website now. It just needs some polishing here and there, but other than that it just needs some hosting Wink
Reply
Re: LDraw OMR website
#11
Do you make some tests on the files that are supplied?

Are you able to use MPDCenter as commandline tool?

cu
mike
Reply
Re: LDraw OMR website
#12
If you mean that the website automaticly checks if the submitted file is OMR compliant: no, it doesn't. I'm not exactly sure how to implement that either. But, how it is now, is that there are a few people (although, at the moment it's only me of course) who can login to the admin-interface and add files submitted through the forum or something like that. There isn't a way for users themselves to add files. I could do that of course, but then again you need someone who checks if the files are correct.

What exactly did you have in mind?
Reply
Re: LDraw OMR website
#14
Yes, I have in mind that anybody (who is registered) is able to upload OMR conform files.
But for that case there needs to be a script (or application) that just do some checks and if that is not what we are looking for, we keep the upload, but marked as not OMR conform. If it has passed the checks with no faults, it is marked as OMR conform and after that a human being needs to check the file visually. After that check the file is marked as complete ok.

The checks that can be made are already integrated in MPDCenter. So I thought it would be easier for you to use that tool instead of coding all from the start.
Reply
Re: LDraw OMR website
#13
Ok. I can get the space setup this week.
Reply
Re: LDraw OMR website
#15
Here are some more screenshots of how it is now.
Reply
Re: LDraw OMR website
#16
I had a look at the pictures and would like to voice some opinions.

1.)
".. find LDraw files of official models released by LEGO" should be changed to not include the word "official". It is in my mind misleading.
".. find LDraw files of sets released by LEGO" would be better.
None of the OMR files are today "official". No file should become "official" without a review process.
Please keep in mind that the files beeing OMR compliant doesn't make them correct.

2.)
The word "submodel" is not correct in this context. Please don't use it.
To me there is also a big difference between "submodel" and "sub model".
A "submodel" is a smaller section of a bigger model.
A "sub model" is a complete model included in a set of models in a set. Like one of the cars in Flo's V8 Cafe.
"B-model" or "Alternate model" is better.

3.)
I don't like the combined names of the Author/username. I think it should be exactly the same as the Author line in the files.
Real name, followed by the username in hard brackets.

4.)
I think you should have some sort of status indicator in this repository.
Unofficial models may contain unofficial parts and assembly errors, but must be OMR compliant.
Offical models are reviewed and doesn't contain neither unofficial parts nor assembly errors.
Reply
Re: LDraw OMR website
#19
1) I think there's a bit of miscommunication. Yes, you are right a about the fact that 'official' might be misleading.

Quote:"Please keep in mind that the files beeing OMR compliant doesn't make them correct."
But this is not completely true. There is actually some kind of 'review proces'. As the website is now, only admins can log in and add/edit the LDraw files. Users themselves cannot upload files themselves. I think we should decide if we want to allow that or not (or maybe at a later stage). I personally think the admin-only approach is fine. Having users upload files themselves can attract trolls or just very bad LDraw files. Even if we would check if the file is OMR compliant doesn't say anything about the actual content of the file. It can be a mess of parts. And since it's not a huge workload to add maybe a few sets per week, I think a few admins can handle that (I can even do it on my own if needed). But, it seems the opinions are divided.

2) You're completely right. When making the page I couldn't come up with the right word Wink, so I just used submodel. But, indeed, it should be alternate.

3) That's a nice suggestion and easy to change.

4) Well, this is actually a bit the same as at number 1: do we allow users submitting files or not? If yes, you should indeed have a indication if the model is checked or not. But, again, the opinions about user-content seem to be divided.
Reply
Re: LDraw OMR website
#17
The Thumbnail of the set should IMHO be a some sort of standardized render - (automatically generated by the system) or you'll end up with official pics, mixed with POVrays, Blenders, ...

w.
LEGO ergo sum
Reply
Re: LDraw OMR website
#20
The thumbnail? You mean the image of the set?
I don't see why that should be generated. It isn't an image of the LDraw file but and image of the LEGO set. There are no images of the LDraw files anywhere.
Reply
Re: LDraw OMR website
#22
I would prefer a generated image from the ldraw file as well. So the user would have an uniform preview of the file.

/Max
Reply
Re: LDraw OMR website
#27
Sure there are. Most models in the forums: http://forums.ldraw.org/showthread.php?t...4#pid18214 or at eurobricks http://www.eurobricks.com/forum/index.ph...opic=48285 come with a rendering of the content.

Here is a very simple way to render them effortlessly.

w.
LEGO ergo sum
Reply
Re: LDraw OMR website
#28
Oh, like that. Well, I don't see any reason to not include it, but I'm not too sure how to make do that automaticly. I'll take a look into it.

Instead of images, we can also use a browser-based viewer, like this one. But, I don't know how well that works...
Reply
Re: LDraw OMR website
#29
Why not help reduce the work needed by an Admin and share the responsibility out more - require that a user submitting an .mpd also include at the very least a suitable screenshot according to some minimum resolution specification or other rules.
Reply
Re: LDraw OMR website
#18
Why is it called OMR?
Isn't this actually a Unofficial model repository of official LEGO sets?
Reply
Re: LDraw OMR website
#21
I actually started to doubt that too yesterday. It suddenly dawned on me that 'Offical' in OMR can mean 2 things:
- It can mean that the specification is about 'Offical LEGO sets'.
- It can mean that the repository is 'Official' as in managed by LDraw.org itself.

I'm not sure which one it actually is, but I think it's the first one. In that case calling it OMR is of course not correct. Any suggestions? Smile
Reply
Re: LDraw OMR website
#25
How about "LDraw COOL Sets", the LDraw catalog of official LEGO sets?
Too cheesy? Juvenile?
Reply
Re: LDraw OMR website
#26
Haha!
Sounds fun, but I think it'll create a lot of confusion when you see that name for the first time Wink
Reply
Re: LDraw OMR website
#33
Merlijn Wissink Wrote:I actually started to doubt that too yesterday. It suddenly dawned on me that 'Offical' in OMR can mean 2 things:
- It can mean that the specification is about 'Offical LEGO sets'.
- It can mean that the repository is 'Official' as in managed by LDraw.org itself.

I'm not sure which one it actually is, but I think it's the first one. In that case calling it OMR is of course not correct. Any suggestions? Smile
I think it was supposed to be the second one (a long time ago). But this might be a somewhat restricted approach to use.

Maybe you should just drop the 'O' and call it a generic model repository and just add a tag/flag to indicate if it's OMR. This way people can also do donate MOC's etc.

Just my 2cts
Reply
Re: LDraw OMR website
#23
Mike started his own OMR a couple of years ago, but somehow this project died(?).
Anyway this was seen as a catalogue for official LEGO sets.

/Max
Reply
Re: LDraw OMR website
#24
Thanks for mention my personal OMR. Smile

I had done it in the way we are now talking about. Instead of a cms system I created my own pages by an application I wrote.

But It was still too much work for only one guy. So it is not dead, but also not really alive Smile.
Reply
Re: LDraw OMR website
#34
Just in case anyone is interested: I've updated the website again. Although it's questionable if the website will ever come online, it's just a nice learning experience for me Smile

It's difficult to show the new things when the website is just locally on my PC, but one of the major things I've added is a file-detail page aside from the set-detail page. A set page shows some basic information about the set and all files in the database for that set. A file page shows a specific file and its information. At the moment there's also a blank area where either a generated image of the file should come or a browser-based viewer (I've tried Brigl, but I couldn't get it to work). The file-detail page also shows the file header. Although I think the header doesn't have much use, it does look nice Wink
Reply
Re: LDraw OMR website
#40
You'll get the site online. It just that it's the holiday season and I have a lot of other stuff going on. I'll have webspace setup before the new year for you try out.
Reply
Re: LDraw OMR website
#41
Oh, there's no hurry.
I just meant that there is a discussion about the (working of) site itself, not really the hosting Wink My phrasing was a bit weird.
Reply
Re: LDraw OMR website
#44
Ok. The webspace is setup and a (maybe temporarily named) subdomain of omr.ldraw.org is created. From here you'll have to send me the source code via email (orion at ldraw dot org) or upload it yourself via sftp (if you know how to do this). Either way you'll have to email me for login credentials.
Reply
Re: LDraw OMR website
#48
Although this thread had some discussion of "tagging" it related more to official information, such as year and theme.

It might be nice to also include freeform text tagging, so users can search for useful common terms like "building", "vehicle", "aircraft", "4-wide", and so on. Wouldn't want the tagging to get too out of hand (like the IMDB tags!) but perhaps up to 50 or so tags that are commonly used throughout the LEGO community.

It may seem like overkill now, but once there are 10000 models in there... Wink
Reply
Re: LDraw OMR website
#49
Well, it's a nice idea for searching lego-sets, but like I said before we don't really need to reinvent the wheel. When looking for a set, you can better use Brickset (which has those tags) or Rebrickable and once you found a set for which you'd like an LDraw file, you can go the OMR website to download that model. It would be a bit waste of time to make yet another database of Lego sets. That's my view of it at least.

Of course both Brickset and Rebrickable have an API for set info and maybe we can do something with that in the future, but let's get the thing online first Wink Any progress Orion?
Reply
Re: LDraw OMR website
#50
It seems we're life! Smile
Thanks Orion!

At the moment, there's still a little problem with the (albeit small and simple) admin interface, but the site functions fine for 'normal' users.

There are only 6 files at the moment. I still can't download the zip file with current OMR files, the ldraw.org site still throws an error. Does anyone have an additional download link?

Let me know what you think about it (either good or bad). Also, if you think you can write something better for the homepage/about page, feel free. Writing text is certainly not one of my best skills...

Btw, I thought I changed all OMR to MR (Model Repository), but the huge heading at the front-page still says OMR. Oops...
Reply
Re: LDraw OMR website
#51
Merlijn Wissink Wrote:There are only 6 files at the moment. I still can't download the zip file with current OMR files, the ldraw.org site still throws an error. Does anyone have an additional download link?

The download module is broken and it doesn't look like it will ever be updated. The file at the site was nothing more than a copy of the models you can find in the AIOI.

Merlijn Wissink Wrote:Let me know what you think about it (either good or bad). Also, if you think you can write something better for the homepage/about page, feel free. Writing text is certainly not one of my best skills...

Currently the page is missing the LDraw logo. The colors should be adjusted. LDraw.org uses the following color palette:

#000000
#0B2280
#1E4DB9
#2C6CCE
#4289E5
#C3D7FA
#E3F4FB
#596340
#838A92
#D9B59D
#F3F7F8
#41474D

As already pointed out I suggest that you use renders of the file content rather that photographs of the sets.

w.
LEGO ergo sum
Reply
Re: LDraw OMR website
#52
Thanks for the colors. I agree that the current colors don't match to the rest of the LDraw website very much. I'll see what I can do.

As for renders: on a set page, there's an image of the set, because there could be multiple files from 1 set. On a file page, I was planning to use an LDraw WebGL viewer (Brigl) like on Rebrickable and Bricklink. However, I couldn't get the thing working (actually, it did 'work', there was just no image and I have no idea why).

I guess I have to use images than. Only 'problem' is that I'm not really sure if it's possible to generate those automaticly.
Reply
Re: LDraw OMR website
#54
Merlijn Wissink Wrote:On a file page, I was planning to use an LDraw WebGL viewer (Brigl) like on Rebrickable and Bricklink. However, I couldn't get the thing working (actually, it did 'work', there was just no image and I have no idea why).

That would be awesome.

w.
LEGO ergo sum
Reply
Re: LDraw OMR website
#58
Yes, it would be awesome indeed (and actually easier, because the admin doesn't have to add any images).

I just couldn't get it to work. The log says it's loading all the files, then it says it completed loading the model. And then nothing appears. I've also had some contact with the author of Brigl, but he has no idea either... Quite annoying.

If someone would like to develop a completely new LDraw WebGL viewer, feel free Wink
Reply
Re: LDraw OMR website
#84
How large was the model? How long did you wait? Particularly if the model is large there can be a significant pause between when loading stops and the model is shown. On my computer I see something like a 1 minute pause for a model with ~1000 bricks.

-Hazen
Reply
Re: LDraw OMR website
#85
It were fairly small models. At some point I even tested single bricks. Nothing showed up, but there were no error messages in the console and log, only success messages so that didn't make things any easier. :/

I might look into it again though, now the site seems to be pretty much stable.
Reply
Re: LDraw OMR website
#53
I've edited the colors a bit: how does this look (image)?
Reply
Re: LDraw OMR website
#55
Cool stuff! Could you also add the "Rules and procedures" as a some sort of FAQ somewhere?

w.
LEGO ergo sum
Reply
Re: LDraw OMR website
#56
He can but I haven't set up his access to the live server. That'll happen very soon.
Reply
Re: LDraw OMR website
#57
Well, I realized yesterday that plain FTP access is not enough. Because, after I've put the new files on the server, there's a 99.9% chance the server/application has to restart for the new features to work. And as far as I know, I can't restart a server using FTP...

Aside from that, there's 1 little thing you need to install into the Python environment, but I'll email you about that. That's just once.
Reply
Re: LDraw OMR website
#59
Restarting is something easy to write script to do. Put it behind a passworded section of the site and away you go. That said, there are a number of option we can discuss to get you server access while also running Windows. Then it would be a moot point.
Reply
Re: LDraw OMR website
#60
Willy Tschager Wrote:The download module is broken and it doesn't look like it will ever be updated. The file at the site was nothing more than a copy of the models you can find in the AIOI.

Well, I can't access the models in the AIOI without installing it. I have my own 'manual' LDraw setup and I'd like to keep it that way. Could you maybe send a zip file of the models in the AIOI or something?

I've sent and updated version of the website to Orion (it took a little longer than expected because I had some problems with some relatively big changes under the hood), so I hope I can add all current OMR sets pretty soon Smile
Reply
Re: LDraw OMR website
#61
I'll get the update done soon. I've been turbo busy at work lately.
Reply
Re: LDraw OMR website
#64
No problem! I'm not in a hurry or anything Smile
Reply
Re: LDraw OMR website
#62
Sounds like you missed it:

http://forums.ldraw.org/showthread.php?t...9#pid20269

w.
LEGO ergo sum
Reply
Re: LDraw OMR website
#63
I've missed it indeed. Oops.
Thanks!
Reply
Re: LDraw OMR website
#65
Orion got the (newest version of) the site working. Super!
See set 1713 as an example.

I'll probably start adding the current OMR files tomorrow. Finally some content Wink
Reply
Re: LDraw OMR website
#66
Would it be possible to have a small picture of the set, first in every row, on the page All files?
Reply
Re: LDraw OMR website
#69
I guess that's not that difficult. I'll see what I can do in the next version.

The all-files table is a little messed up anyway. It used to look like the table on a set-page, but for some reason it has these super high columns now, which it didn't had when there were less files.
Reply
Re: LDraw OMR website
#67
LOVE IT!

However some remarks:

* The title of the single pages should be LDraw OMR - <set number> not viceversa
* The title of the all files page should be LDraw OMR - All available files, same goes for Statistics and About
* Latest files should also carry a rendering rather than a pic of the box.
* On the single page the "4349 Ken Drew [Ken]" should also carry the set name "4349-1 - Wild Pod - Ken Drew [Ken]"
* On the single page there should also be the theme
* Being known as extrem nitpicker I'd like to see a bit more room between the LDraw logo (which could be a tiny bit bigger) and OMR Home
* Finally the date of submission would be useful

w.
LEGO ergo sum
Reply
Re: LDraw OMR website
#68
Willy Tschager Wrote:* The title of the single pages should be LDraw OMR - <set number> not viceversa
* The title of the all files page should be LDraw OMR - All available files, same goes for Statistics and About
I indeed noticed that it was the other way around on the main LDraw site. I don't really mind if it's one way or the other. I'll change it in the next version.

Willy Tschager Wrote:* Latest files should also carry a rendering rather than a pic of the box.
Yup. I was using set-pictures because I wanted (and actually still want) to skip the file-images and use a browser based viewer. That didn't work, but I never changed the latest-files images. It's already on the list of things to do in the next revision.

Willy Tschager Wrote:* On the single page the "4349 Ken Drew [Ken]" should also carry the set name "4349-1 - Wild Pod - Ken Drew [Ken]"
Interesting one. Never noticed that. Indeed no reason to only show the set number.

Willy Tschager Wrote:* On the single page there should also be the theme
You mean on a file-page, where you can see the file-header? I skipped the theme (and all other set info), because it's a file-page. There's a difference between the two, a set page is focussed on a single set and shows all set data including all the related files. A file-page shows information about the file with a link to the set (which has the set information).

Willy Tschager Wrote:* Being known as extrem nitpicker I'd like to see a bit more room between the LDraw logo (which could be a tiny bit bigger) and OMR Home
I wanted the logo a little bigger too, but if it would be bigger, I would have to create a second header with the logo only (like on the main LDraw site). I didn't wanted to that, seemed like a waste of space. I tried to make the space between the logo and the OMR Home link bigger, but I couldn't get it done quickly, so I pushed it into the to-do list. It's not a major problem Wink

Willy Tschager Wrote:* Finally the date of submission would be useful

I realised this too. The date of submission is already being recorded anyway, so it's just a matter of showing the data. I was also considering to add a date of the latest edit (so a creation date and a edit date).
Reply
Re: LDraw OMR website
#70
I've made a small update to the website with some tweaks here and there. Changelog is here.

I just noticed however that there is a 'major' error when looking at certain files (for example 3798 or 3796). It seems to be a problem with encoding. I'll take a look into this. Almost all files are working fine though Smile
Reply
Re: LDraw OMR website
#71
Get a little issue: when I try to filter files, I get a cookie error. I tried to allow all cookies on the site to make sure (though my standard cookie policy should have worked), same problem. Browser: Seamonkey (Chrome works fine).
Message:
Quote:Forbidden (403)

CSRF verification failed. Request aborted.

You are seeing this message because this site requires a CSRF cookie when submitting forms. This cookie is required for security reasons, to ensure that your browser is not being hijacked by third parties.

If you have configured your browser to disable cookies, please re-enable them, at least for this site, or for 'same-origin' requests.
Reply
Re: LDraw OMR website
#73
I forgot to say that you might have to refresh the page completely (ctrl f5). I was having some issues with the cached css (the thumbnails were way too big) before refreshing. Maybe you were having a problem with the cached cookies?
Reply
Re: LDraw OMR website
#75
No, still doesn't work. I have a cookie set by omr.ldraw.org, named "csrftoken" that appears as soon as I visit omr website.
Quote:What exactly do you mean with distinguishing main models from alternate ones?
I meant that with a cursory glance the text 'main model' doesn't stand out compared to the name of alternate submodel (eg. 'Tow Truck" for set 42031). And 'main model' text could be removed as it is the implied value. Probably a moot point once the filter is available!

Another quirck: if I look for a set number I arrive on a page different from the page I reach if I click on model line in the all files list.
Reply
Re: LDraw OMR website
#76
Strange. It works fine for me on a bunch of different devices...
Have you tried another browser? Or restarting your browser? I can't really think of

I've also updated the site (again) with a little better styled table (press ctrl+f5 to clear css cache if needed) and the 'Is main model' filter.

Philo Wrote:Another quirck: if I look for a set number I arrive on a page different from the page I reach if I click on model line in the all files list.
I don't exactly understand what you mean? Could you give an example?
Reply
Re: LDraw OMR website
#77
Quote:Strange. It works fine for me on a bunch of different devices...
Have you tried another browser? Or restarting your browser? I can't really think of
Forget it for now, tried on another machine/same browser and it works fine. Clearly the problem seems to be on my side!
Quote:I don't exactly understand what you mean? Could you give an example?
OK, sorry, not a quirk but a feature. Depends whether you click on set name (view set) or on the magnifier (view LDraw file).
Reply
Re: LDraw OMR website
#78
Yup. There's a difference between a set-page and a file-page. A single set can have multiple files. I was in in doubt about having the set number/name in the table link to the set data or the actual file. As it is now (link to set data) is more logical (because you have to click on a set number/name), but having it go the the specific file is maybe more intuitive (because it's a list of files)...
Reply
Re: LDraw OMR website
#72
Perhaps something should be done to better distinguish between main model and alternate one? Could be as simple to remove completely "main model" so that alternate ones stand out, or maybe use italic font for alternate. What about adding an "alternate" criteria in filter?
Reply
Re: LDraw OMR website
#74
I knew there was something I forgot to add to my to-do list: the main-model filter. Oops, haha. It's on the list now Wink

What exactly do you mean with distinguishing main models from alternate ones? The table clearly states wheter it's a main-model or not. Or is the main-model filter what you mean?
Reply
Re: LDraw OMR website
#79
I've discovered a little bug on the website (which wasn't visibile earlier due to not enough models). When you've filtered the results on the all-files page and the filtered results have more than 1 page and you click on next (or previous) page the results get reset. Just a note so that nobody has to report that one anymore Wink

I'll hopefully take a look at it later today.
Reply
Re: LDraw OMR website
#90
How do I get my model in again exactly?
I made some small technic sets.
Jaco van der Molen
lpub.binarybricks.nl
Reply
Re: LDraw OMR website
#91
Well, by reminding me, haha. Wink

There are a bunch more models that need to be added. There were a lot of models in the old OMR that I had (and still have to in some cases) to add, in addition to my own files (which I've done about 50% of now) and while a few users (*cough* Damien *cough* ) were submitting a lot of models. In other words, I had (and have) a lot to add.

Although, that's mainly just because I've been adding multiple years of OMR and other work in a few weeks. When I'm done with that, the workload will lower a lot I guess. I'm not complaining though, I like to keep track of things and organise stuff Wink
Reply
Re: LDraw OMR website
#80
No idea if anyone cares, but I've updated the omr site again Wink
Changelog is here (1.2.3 and 1.2.4).

Nothing big, just some bugfixes. The only relatively 'major' change is that the all-files page has changed (both behind the scenes and in terms of features). It's a bit of an experiment, I'll see if I keep it this way and try to built on top of this or go back the old way and try to expand that. Both have their advantages and drawbacks.

I won't go into a lot of detail (but I can if somebody would like), but I've basicly moved all server-side processing in terms of pagination and sorting into client-side by using a javascript library. That's also the reason why the images are removed (for the moment). The server now serves ALL results and lets the client do the pagination and stuff. That means that when you visit the page and you have 100 results, the server also sends 100 images to the client. When we keep adding new files, this will get worse and worse.
Reply
Re: LDraw OMR website
#81
Except for this thumbnail issue, works great!
Reply
Re: LDraw OMR website
#82
Sounds like you're after of some feedback. Here it comes:

* Would move the complete "Welcome to the LDraw OMR, the 'Official Model Repository'. Here you can find LDraw files of official models released by LEGO ..." text block to the bottom - presuming that the "Latest files" block doesn't get higher in order to gain some head room between the text and the title. Would also shorten the "Latest files" block to 4 entries to avoid that the page becomes "scrallable". This is the showcase page and should just be that.

* Would move the "Filter" button on the "All avialable files" all to the right. After I made my selections i would find the button naturally on my way. "Missing Stickers" and dropdown box misaligned. Once this gets fixed the button would also stick out better 'cause it would have more room. For my taste using the lead class "Here you can search ..." it just overkill, the regular <p> size would do a better job ...

But you know: "There is no accounting for taste".

w.
LEGO ergo sum
Reply
Re: LDraw OMR website
#83
Thanks for your input Smile

Regarding the misalligned subtheme filter; at first I didn't know what you were talking about. Until I resized my browser window. I did the form re-layout very late into the update, just before I uploaded the new version. I didn't tested it very well, with that as a result. Ah well, lessons learned Wink
Reply
Re: LDraw OMR website
#86
Some remarks :

Could we have the models 3d pictures displayed in the searching results list?

Why the sub cathegories don't match official ones?
Like Blacktron I and Blacktron II are under the same Blacktron cathegory.
Reply
Re: LDraw OMR website
#87
Damien Roux Wrote:Could we have the models 3d pictures displayed in the searching results list?

There were thumbnails for a little while, but I removed them for the time being in favor of a better (sortable) table. See here for more details. Hopefully I can come up with a fix to bring the thumbnails back,but I'm afraid it'll take a little longer, because it's more complicated then I expected Sad

Damien Roux Wrote:Why the sub cathegories don't match official ones?
Like Blacktron I and Blacktron II are under the same Blacktron cathegory.

Haha. It was actually a little test of me to see what would be better. I don't 100% agree with the 'official' (aka Brickset, Bricklink etc.) themes and subthemes. This doesn't really have anything to do with the OMR site. Let me quickly explain:

In the past, there were certain Lego 'themes' for example Space and Castle. These included things like Blacktron, M:Tron, Forestmen etc. So, back then Bricklink and other databases saw these as subthemes of Space and Castle etc. However, I see them as seperate themes. Just as modern themes like 'Galaxy Squad' or 'Nexo Knights' are seperate themes. Just my opinion though and it was a little test to see what would work better. What do you think?
Reply
Re: LDraw OMR website
#89
I think the site should match the Themes and Subthemes of MPDcenter, which are obviously Bricklink's ones.
Reply
Re: LDraw OMR website
#88
A new milestone: over 200 files already.
Altough, I have to admit: at lot of those are just really small Creator sets from my collection of files. But still, over 200 files Wink
Reply
RE: LDraw OMR website
#92
I get an error when I try to filter the list:


Forbidden (403)

CSRF verification failed. Request aborted.

You are seeing this message because this site requires a CSRF cookie when submitting forms. This cookie is required for security reasons, to ensure that your browser is not being hijacked by third parties.

If you have configured your browser to disable cookies, please re-enable them, at least for this site, or for 'same-origin' requests.
Reply
RE: LDraw OMR website
#93
(2016-04-23, 21:07)Damien Roux Wrote: I get an error when I try to filter the list:


Forbidden (403)

CSRF verification failed. Request aborted.

You are seeing this message because this site requires a CSRF cookie when submitting forms. This cookie is required for security reasons, to ensure that your browser is not being hijacked by third parties.

If you have configured your browser to disable cookies, please re-enable them, at least for this site, or for 'same-origin' requests.

Ugh. Not again (not your fault). I have completely, totally no idea why it happens to certain people in certain browsers. Dodgy 

Philo also had it on a particular machine. I too have it, only in Chrome on my main desktop. It works perfectly fine in Firefox and on Chrome on my laptop. You could try deleting all cookies for the omr site and than visiting it again, but I doubt that will work.
Reply
RE: LDraw OMR website
#94
Great, simply great, I will try to use your model and see what can i make of it!
Reply
RE: LDraw OMR website
#95
http://omr.ldraw.org/

Quote:Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@omr.ldraw.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Is it supposed to be this way?
Reply
RE: LDraw OMR website
#96
(2016-09-07, 6:34)Michael Horvath Wrote: http://omr.ldraw.org/

Quote:Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@omr.ldraw.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Is it supposed to be this way?

No, certainly not. There was a Django update that maybe, just maybe, fixed the stupid 'CSRF verification failed' bug which I and other people had in some browsers.
However due to some weird Windows crash, I had to reinstall Windows a couple weeks ago and lost all my development stuff. I only have the source code left. So, I asked Orion if it would be possible to try to update Django being used on the website, with the added warning that I haven't been able to check if there would be any compatibility problems.

Well, he did update Django, but something went wrong... He said he'll look into it later because he's busy. Never heard from him since.
Orion, if you're reading this: I don't blame you or anything, I'm quite busy this week too Wink
Reply
RE: LDraw OMR website
#97
Spent 2 hours today trying to tease out the error. It appear to be some sort of problem with Django and the software the server uses to serve a python app. I'll have some more time Later this week to fully explore the problem or downgrade back to the prior version of Django
Reply
RE: LDraw OMR website
#98
(2016-09-07, 7:37)Orion Pobursky Wrote: Spent 2 hours today trying to tease out the error. It appear to be some sort of problem with Django and the software the server uses to serve a python app. I'll have some more time Later this week to fully explore the problem or downgrade back to the prior version of Django

But is it something related with Django/the website or the server?
It's been quite a long time since I last used Django, but I believe the site used a few plugins or something like that. Maybe those need to be updated as well? I'll try to get my own stuff up and running again later this week.
Reply
RE: LDraw OMR website
#99
Ok, the OMR site is running for like a week now without problems. Thanks Orion!
It seems that the 'CSRF verification failed' bug is indeed gone now, so that is good.

I had a busy week last week and probably next week too, but I'll try to add the little backlog of models on the forum today Smile
Reply
RE: LDraw OMR website
Merlijn,

I'd like to update the models shipped with the AIOI. Please select two models from every theme - I suggest a small one and the largest (most complex) - and store them in a dedicated folder. Take the current AIOI structure for reference. Finally send them to me or post them here. I would also be good, if you could update them first, in case they contain unofficial parts which have become certified in the meantime.

Thanks, w.
LEGO ergo sum
Reply
RE: LDraw OMR website
(2016-10-11, 8:12)Willy Tschager Wrote: Merlijn,

I'd like to update the models shipped with the AIOI. Please select two models from every theme - I suggest a small one and the largest (most complex) - and store them in a dedicated folder. Take the current AIOI structure for reference. Finally send them to me or post them here. I would also be good, if you could update them first, in case they contain unofficial parts which have become certified in the meantime.

Thanks, w.

I'm very, very busy at the moment, I don't have time to do that now. You could download the files yourself too, right?
I was also planning to upload a little backlog of models last week, but other things got in the way too.

This is a bit off-topic, but a few days ago I realized: it's perfectly possible to have 1 or 2 more OMR admins on the website, so why am I the only one? I don't mind to be the only one, but it's not as efficient as having an extra pair of hands Wink 
The framework supports multiple users and roles and such. So, I was actually thinking of adding 1 or 2 other people as admin (any suggestions?) and cleaning up the code and putting it on Github.
Reply
RE: LDraw OMR website
(2016-10-14, 14:07)Merlijn Wissink Wrote: You could download the files yourself too, right?

Sure, but since you're in charge of the OMR I'd like to leave it to you when it comes down to models. Since I already have some samples in the AIOI I leave everything as it is right now and hope for your next time frame :-)

(2016-10-14, 14:07)Merlijn Wissink Wrote:  
The framework supports multiple users and roles and such. So, I was actually thinking of adding 1 or 2 other people as admin (any suggestions?) and cleaning up the code and putting it on Github.

Right, any suggestions? If you don't have some names in mind call for volunteers.

w.
LEGO ergo sum
Reply
RE: LDraw OMR website
So, I realized I never told anyone here, but since a few weeks, 'Roland Dahl' is also admin on the OMR site. I was very busy last weeks/months and I wasn't able to give a lot of attention to the website (or Lego/LDraw in general). But, Roland volunteered to help, which I really appreciate. Thanks Roland!  Smile

I'm planning to clean the current code of the website, fix a few minor bugs and make the thing open-source. Hopefully I can get it done in a few weeks. There are also a couple of features which have been on my mind since the start, which I never incorporated. Maybe I can work on that too, during the upcoming holidays. Who knows. If I just can get this stupid python package installed in the env my new IDE created Dodgy
Reply
RE: LDraw OMR website
Ok, I don't know if anyone would even notice ( Wink ), but the omr site is kind of not working at the moment. Just a heads-up that we know it and are trying to solve it.
Orion and I (although, especially Orion, since he has access to the server) are looking into it. Hopefully it's fixed soon.

Aside from the problems getting it to work:
I sent Orion a completely new version of the website, most notable changes are:
  • A working browser-based WebGL viewer (using Brigl)
  • The use of the Rebrickable API instead of relying on manual input of set-info. That makes it a 1000x easier and faster for admins to add files.
There are a few rough edges here and there (although, mostly in the background regarding admin stuff and the Rebrickable API), but I wanted to get it up and running because the old site was having some problems.
Reply
RE: LDraw OMR website
(2017-02-09, 8:19)Merlijn Wissink Wrote: Ok, I don't know if anyone would even notice ( Wink ), but the omr site is kind of not working at the moment. Just a heads-up that we know it and are trying to solve it.
Orion and I (although, especially Orion, since he has access to the server) are looking into it. Hopefully it's fixed soon.

Aside from the problems getting it to work:
I sent Orion a completely new version of the website, most notable changes are:
  • A working browser-based WebGL viewer (using Brigl)
  • The use of the Rebrickable API instead of relying on manual input of set-info. That makes it a 1000x easier and faster for admins to add files.
There are a few rough edges here and there (although, mostly in the background regarding admin stuff and the Rebrickable API), but I wanted to get it up and running because the old site was having some problems.

Everything should work now. The brigl render even works on my iPhone. I am getting a weird error with Safari on my laptop when I try to download a file (something about insufficient disk space) but it works on my iPhone so I'm pretty sure that it's a problem with my machine.
Reply
RE: LDraw OMR website
Hi all,

I was wondering : is the OMR still maintained or is it dead?


I have also a remark/request: Following a conversation we had one or two years ago about inlining the non-official parts to make the models OMR compliant.
I was against it but did it anyway. Now there are many models that have parts inlined who have been made official without changing number or orientation. That would be a huge work to find them and update the models. Is there something we can do to help on finding the models with those parts? Like a page listing the models that need to be updated (because they have parts that have been made official)?
Reply
RE: LDraw OMR website
(2017-07-11, 20:33)Damien Roux Wrote: Hi all,

I was wondering : is the OMR still maintained or is it dead?

I have also a remark/request: Following a conversation we had one or two years ago about inlining the non-official parts to make the models OMR compliant.
I was against it but did it anyway. Now there are many models that have parts inlined who have been made official without changing number or orientation. That would be a huge work to find them and update the models. Is there something we can do to help on finding the models with those parts? Like a page listing the models that need to be updated (because they have parts that have been made official)?

It's certainly not dead, but at the moment I'm kind of the only admin. The previous version also had Roland Dahl as admin, but now that I think of it, I never made him admin again in the new version  Sad 
And my available free time fluctuates so every now and then there's a burst of models uploaded and then silence again. If you'd like to help, feel free.

About the unofficial parts -> official part conversions. It is something I thought about in the past. And the fact that official parts are inlined is not really a problem, better to have inlined parts than incorrect/no parts at all. But I agree that if possible, inlined parts that can be removed should be removed. I don't know if there are any python programmers here, but if you can write a little script that reads an LDraw file, checks for inlined parts and if they're already official (and if they did not change orientation), that can be used on the site.

Any objections to putting the site on Github? The OMR is not my... finest work  Tongue , but that way anyone can help if anyone wants to.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 2 Guest(s)
Forum Jump:


Users browsing this thread: 2 Guest(s)