hubnedav / printabrick Goto Github PK
View Code? Open in Web Editor NEWWeb catalogue of LEGO® parts for 3D printing
Home Page: https://printabrick.org/
License: GNU General Public License v2.0
Web catalogue of LEGO® parts for 3D printing
Home Page: https://printabrick.org/
License: GNU General Public License v2.0
Hello, I'm trying to run this project locally, seems everything in the setup still work.
When I try to run the app with the command bin/console app:init
the below error seems to happen, not sure if it is relevant to the .dat files or not. (PS: I've tried also to raise the memory to the max of my machine already)
Downloading LDraw library
------------------------------------------------------------------------------
Loading file from: http://www.ldraw.org/library/updates/complete.zip
[54.05 MB / 54.05 MB] [======================================================================] 100% (16 secs/16 secs)
LDraw libary downloaded
------------------------------------------------------------------------------
Loading models from LDraw library: /private/var/tmp/printabrick.fQhcxf/ldraw/
------------------------------------------------------------------------------
[ 1076 / 14038] [=====>----------------------------------------------------------------] 7% ( 1 sec/13 secs) (19159.dat)
[ 1079 / 14038] [=====>----------------------------------------------------------------] 7% ( 1 sec/13 secs) (191766.dat)
[ 1981 / 14038] [=========>------------------------------------------------------------] 14% (2 secs/14 secs) (2452.dat)
PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in /Applications/MAMP/htdocs/PrintABrick/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php on line 1582
16:02:57 CRITICAL [php] Fatal Error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) ["exception" => Symfony\Component\Debug\Exception\OutOfMemoryException {trace: { …} …}] []
[Symfony\Component\Debug\Exception\OutOfMemoryException]
Error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes)
for example, https://printabrick.org/bricks/3659
the STL is badly corrupted, only some slicers/tools can view it properly.
then, the tops of the locking knobs are 4.75mm at best (the model only 16 fragments, so the mean diameter is lower),
the real Lego pieces I measured are 4.82 ..4.87 mm
So, the webpage is fantastic, opening for user feedback would help people repair the parts that are ..bad.
I would like to see license information and link to GitHub in the footer. Would that be possible?
Something like:
LEGO®, the LEGO logo, the Minifigure, and the Brick and Knob configurations are trademarks of the LEGO Group of Companies which does not sponsor, authorize, or endorse this site.
Copyright © 2017 PrintABrick. Free software under GNU GPL v2. Sources and issues on GitHub.
Models from LDraw under Creative Commons Attribution 2.0. Data from Brickset and Rebrickable.
What do you think?
I'm not sure if I should post this here or email the creator, but the answer could be useful to others. The site is down today and I'd like to know if this is planned maintenance or if (Lego shut it down/nobody is maintaining it/the other sites it depends on are not cooperating) so I can switch gears.
Thanks!
When the page is viewed on https://printabrick.org/ there is mixed content on Set details such as https://printabrick.org/sets/5614-1 - the images are linked with http://printabrick.org/...
. Could the links be relative or //printabrick.org/...
to fix this issue?
Whenever I click on one of these buttons an error page appears, tested in Chrome and Firefox.
I wanted to 3D print a brick from printabrick.org but it appears to be down. I wanted to notify you. Thanks for running such a cool site!
Anyone has a plug & play docker container for this ? ^^
Made a low cost version of site, yet to add upload function.
As of rn, has 5000 bricks or something.
link to site.
Made a print a brick API today (mainly to teach myself aws)
It currently only has download, no upload as of yet.
https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/**model_no**
https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/list
Example:
NXT MOTOR: model id 53787
https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/53787
Door thingo: model id: 2400
https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/2400
by the way, if its slow its its because I throttled the rate to 1/second as i don't wan't to get billed if someone decides to screw with me.
Mainly to teach myself, but was thinking of making a simple java-script front end.
This API is AWS server less, so basically no maintenance, and low cost.
$3.50 for 1,000,000 API requests
S3 storage is like 0.025/gb
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.
If only sets are paginated, maybe Sets should pre-selected when page
is part of the query?
When I post the link such as https://printabrick.org/sets/2000416-1 to Facebook, the preview is boring:
Maybe some sort of social media preview could be utilized with the picture of the set/model?
See https://chodounsky.net/2015/04/28/facebook-and-twitter-link-preview/ for more information.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.