-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Docker container #8
Comments
Yes, it would. I will try to create one in the near future when I have time. |
Given the nature of the content, the website could run on multiple servers, good idea. |
@hroncok What database do you use? does it matter? trying to work on a docker image. I think that's the last deps I need to get it working. |
so sqlite does not work. mysql looks promising just had to configure the php docker image to install the pdo mysql client so I am getting stuck on loading models LDraw library
|
Any news on this? I have an R710 that I'd be interested in deploying a docker container of this. |
@marklester the problem you're running into is related to the There appears to be an attempt to catch this leak in In those cases, there appears to be a recursive loop at line 241, which will eventually exhaust the available memory on the system, causing the error. For the few I've looked at, this involves a case where Part 1 says Part 2 is it's parent, while Part 2 says Part 1 is it's parent .. thus the infinite loop. I'm suspecting the problem is in the I didn't use the |
@szelenka I'm trying to run this locally, solved the issue mentioned above with the memory by setting, but I get this in the command line:
I've raised the memory also to be unlimited, but there seems to be an issue with those .dat files, can it be? You were talking about infinite loop, do you think this is the case? |
@alecat88 I gave up on trying to get the site to work. The core logic for the CLI commands is useful for converting the LDraw files into a STL file, but even after that, I've found that I'm spending a lot of time in Fusion 360 patching them up and adjusting the tolerances to work with my printer. So while it's useful to have a site with all the STL files pre-processed, in practice I typically lookup the part number on bricklink, then grab it from LDraw and convert it to STL directly, import into Fusion 360 to patch, and print. |
@szelenka This does seem to be the case; the workflow to get TO the part is great but then the actual data is rough. Are you able to get a consistent sizing into F360 and then into your slicer? It seems like every thing I pull through Ldraw, stitch/wrap in F360, export as mm, always ends up... off. Although come to think of it I was starting from Bricklink Studio sometimes...even then I would think it would just use the native Ldraw part when it came down to it. |
The resolution of the models from ldraw is not the best, and sometimes their dimensions are questionable. I usually import them into F360 as a reference and create my own model from they're. But I'm also usually doing 5-10x size |
Would it make sense to have a
Dockerfile
that automatically sets up a docker container for this thing? That would make it a lot easier for others to set up proxies / mirrors.The text was updated successfully, but these errors were encountered: