Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcguinlu/baby-yoda
Piece lists and building instuctions for creating your own Baby Yoda Lego model.
https://github.com/mcguinlu/baby-yoda
baby-yoda brickr lego r
Last synced: 21 days ago
JSON representation
Piece lists and building instuctions for creating your own Baby Yoda Lego model.
- Host: GitHub
- URL: https://github.com/mcguinlu/baby-yoda
- Owner: mcguinlu
- Created: 2020-08-13T16:13:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-29T18:44:54.000Z (over 4 years ago)
- Last Synced: 2024-10-28T04:59:04.668Z (2 months ago)
- Topics: baby-yoda, brickr, lego, r
- Language: R
- Homepage:
- Size: 12.2 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
echo = FALSE,
warning = FALSE,
message = FALSE,
comment = "#>",
out.width = "100%"
)
source("build.R")
```# Baby Yoda
This repository contains the detailed brick requirements and building instructions for creating your own Baby Yoda Lego model. The model was built using the [`brickr`](https://github.com/ryantimpe/brickr) R package, and was adapted from the Baby Yoda model originally designed by [Ryan Timpe](https://github.com/ryantimpe) (see [here](https://gist.github.com/ryantimpe/3893fdd0f94138d027bae35bf38b57c7) for the code for that model). The adaption was necessary, as the original model contained a number of "floating bricks" (i.e. bricks that are not supported by another brick from either above or below), which work fine when rendering the model in R but cannot be used in a physical version.
This version was designed to work with a electromagnetic levitation display to give it a true-to-life feel. I used the [Hongzer Magnetic Levitation Platform](https://www.amazon.co.uk/gp/product/B07YKY6K8J/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1) (£6-7 pounds from Amazon), but it will (/should!) work with any display where the diameter of the floating magnet is <5.5cm.
# Finished model
``` {r}
knitr::include_graphics("finished_model/babyyoda.gif")
```More photos of the finished model from different angles can be found [here](/finished_model).
# Build pieces and instructions
## Build pieces
These are the pieces you will need to build your own Baby Yoda. These can be acquired from the Pick A Brick service on the Lego store website. The total cost for all pieces included in this model was ~£30 pounds.
``` {r}
knitr::include_graphics("babyyoda_pieces.png")
```Here is the same information as a table:
``` {r}
babyyoda %>%
build_pieces_table() %>%
dplyr::select(-Piece) %>%
knitr::kable()
```## Instructions
The instructions below will guide you through building your own Baby Yoda, using the pieces detailed above. It can be awkward to get some of the pieces to work together when building from the bottom up, as they are supported by a brick on the next level. In this case, a useful tip is to try building down (i.e. descending through the steps).
``` {r}
knitr::include_graphics("babyyoda_instructions.png")
```