Git Product home page Git Product logo

printabrick's People

Contributors

hubnedav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

printabrick's Issues

Brick detail page Sets pagination vs. Related bricks

  1. open a brick detail page
  2. go to Sets
  3. open the same brick detail in another tab, Sets are pre-selected
  4. in one tab, go back to Related bricks
  5. in another tab, click page 2
  6. you are on Related bricks, but you wanted to be on Sets, page 2

If only sets are paginated, maybe Sets should pre-selected when page is part of the query?

Site Down Today and Future Reliability

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!

Improve footer

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?

Please add a feedback/vote good/bad option

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.

PrintABrick.org is down today

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!

Trying to run locally in 2021

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)  



Suggestion: Docker container

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.

Attempting to revive site with low cost s3 AWS

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.

Get File API:

https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/**model_no**

Get a list of all files: (json)

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.

Whats the point of this?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.