890

Incase it doesn't show up:

you are viewing a single comment's thread
view the rest of the comments

I’m interested in specifically what your first program did?

Like what data is it harvesting and how is it showing that in PDFs or should I say why?

[-] Treczoks@lemmy.world 1 points 2 months ago

The software gets data from a website named bricklink.com, where one can buy and sell LEGO bricks and sets.

The main view holds a list of bricks I've selected from the large range available. In a requester to add parts, I can select a certain brick from the list of existing bricks by first chosing a category (e.g. "Bricks") in the leftmost column, then chosing it's shape (e.g. "Brick 2x4") in the middle one, and then selecting the color (of the known existing colors for this brick, e.g. "Black") in the right column. On all three selections I can multi-select and sort, which allows me to select e.g. a number of different Bricks, then sort the last view by color, and multiselect those bricks in the color I need. OK'ing the requester add the part(s) to my list.

The list that shows all the properties (including when this part was in production, how much a single brick of it weighs, as well as mold codes and article numbers). From there, I can choose some bricks (usually 15 in a go) to print, which produces a PDF with 15 labels on a double-sided A4-paper with cut-marks on one side. I cut them along the cut marks and put them into the bag with the coresponding part. This is quite helpful, if you consider a box with bags all containing e.g. black parts and bad lighting conditions in the storage room. Alternatively, I can print a double-sided paper with four larger cards to cut, which I laminate and use for marking boxes when I have larger amounts of one brick shape and color.

I can (and do) export those bricks to an export folder as CSV once I've printed the labels. In a future version of the software, I will be able to take a bag or box of parts from my collection, select it in my software via it's article number, and derive an approximate count by weighing them (therefor the parts weight) to get an approximate inventory.

Hey, thanks for explaining the project for me. That sounds fascinating, is it public? Not that I want to steal it, I never got into Lego, just would like to see exactly how it works.

It also begs the question of how much Lego you actually have lol.

I’ve been thinking of building Lego when I’m sad but it seems so expensive.

[-] Treczoks@lemmy.world 2 points 2 months ago

No, the project is still in its early stages, far from what I would publish.

Regarding the amount of LEGO, well, if I write a resource management and inventory system, you can imagine that it is a bit more than a handfull. My current estimates are around one million bricks, give or take a few hundred k. One of the reason to inventorize it...

Thanks again.

Do you make money with Lego or is it purely a hobby. Apologies for the questions I’m inherently curious and this is very interesting.

[-] Treczoks@lemmy.world 2 points 2 months ago

I don't make money with it, on the contrary - my son is a bit more direct here and claims I'm wasting money ;-) It is just a hobby. OK, a big one. I build my own models for fun and exhibit them at shows and events.

And: Curiosity is good. It kept the human race advancing.

Thanks again.

I would say that it isn’t wasted money if it’s something you enjoy and brings you pleasure or satisfaction.

this post was submitted on 02 Sep 2024
890 points (99.1% liked)

Programmer Humor

32396 readers
648 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS