Devesh36/pocket-audio-player

A portable, rechargeable microSD audio player built around an RP2040, SPI flash, USB‑C charging/power management, LCD/button controls, PCM5102A I²S DAC, and TPA6132A headphone amplifier in a 3D‑printed enclosure.

Version
1.0.12
License
unset
Stars
0

dist/enclosure/ring-button.jscad.json

{
  "type": "translate",
  "vector": [
    0,
    -27,
    0
  ],
  "shape": {
    "type": "rotate",
    "angles": [
      0,
      0,
      0
    ],
    "shape": {
      "type": "colorize",
      "color": [
        0.9294117647058824,
        0.9411764705882353,
        0.9411764705882353
      ],
      "shape": {
        "type": "subtract",
        "shapes": [
          {
            "type": "union",
            "shapes": [
              {
                "type": "translate",
                "vector": [
                  0,
                  0,
                  9.4
                ],
                "shape": {
                  "type": "extrudeLinear",
                  "options": {
                    "height": 2.1
                  },
                  "shape": {
                    "type": "polygon",
                    "points": [
                      [
                        19.356586406563036,
                        -18.823457777073244
                      ],
                      [
                        20.24130819768579,
                        -17.868672095214517
                      ],
                      [
                        21.07898495854103,
                        -16.87235588522246
                      ],
                      [
                        21.867669753279362,
                        -15.836824794178629
                      ],
                      [
                        22.60552951361895,
                        -14.764485612743254
                      ],
                      [
                        23.290849299279287,
                        -13.65783068127078
                      ],
                      [
                        23.922036283860795,
                        -12.51943209709001
                      ],
                      [
                        24.49762345690624,
                        -11.351935736412413
                      ],
                      [
                        25.01627303353961,
                        -10.158055104762871
                      ],
                      [
                        25.476779563757738,
                        -8.940565030225779
                      ],
                      [
                        25.87807273414803,
                        -7.702295214164683
                      ],
                      [
                        26.219219855520507,
                        -6.446123654404968
                      ],
                      [
                        26.499428030672373,
                        -5.174969956165473
                      ],
                      [
                        26.71804599724685,
                        -3.891788546285828
                      ],
                      [
                        26.87456564140297,
                        -2.599561806521044
                      ],
                      [
                        26.968623178778337,
                        -1.3012931418630873
                      ],
                      [
                        27,
                        0
                      ],
                      [
                        26.968623178778337,
                        1.3012931418630873
                      ],
                      [
                        26.87456564140297,
                        2.599561806521044
                      ],
                      [
                        26.71804599724685,
                        3.891788546285828
                      ],
                      [
                        26.499428030672373,
                        5.174969956165473
                      ],
                      [
                        26.219219855520507,
                        6.446123654404968
                      ],
                      [
                        25.87807273414803,
                        7.702295214164683
                      ],
                      [
                        25.47677956375774,
                        8.940565030225777
                      ],
                      [
                        25.016273033539605,
                        10.158055104762873
                      ],
                      [
                        24.49762345690624,
                        11.35193573641241
                      ],
                      [
                        23.922036283860795,
                        12.51943209709001
                      ],
                      [
                        23.290849299279287,
                        13.65783068127078
                      ],
                      [
                        22.60552951361895,
                        14.764485612743254
                      ],
                      [
                        21.867669753279362,
                        15.836824794178629
                      ],
                      [
                        21.07898495854103,
                        16.872355885222458
                      ],
                      [
                        20.24130819768579,
                        17.868672095214517
                      ],
                      [
                        19.356586406563036,
                        18.823457777073244
                      ],
                      [
                        15.126813821425188,
                        14.710183670231313
                      ],
                      [
                        15.818207517450748,
                        13.964036341075051
                      ],
                      [
                        16.472836393526514,
                        13.18543367326644
                      ],
                      [
                        17.08917895534054,
                        12.376185302117374
                      ],
                      [
                        17.665802693976293,
                        11.538172089958618
                      ],
                      [
                        18.201367415362704,
                        10.673341754622722
                      ],
                      [
                        18.69462835516529,
                        9.783704342540712
                      ],
                      [
                        19.14443907187858,
                        8.871327556974142
                      ],
                      [
                        19.549754111395767,
                        7.938331952240617
                      ],
                      [
                        19.909631436862533,
                        6.986886005102367
                      ],
                      [
                        20.223234618167538,
                        6.019201074773141
                      ],
                      [
                        20.489834775980842,
                        5.037526263257216
                      ],
                      [
                        20.708812275821746,
                        4.044143187966352
                      ],
                      [
                        20.879658168218835,
                        3.0413606787641103
                      ],
                      [
                        21.001975371614915,
                        2.031509411762742
                      ],
                      [
                        21.075479595267517,
                        1.0169364923448572
                      ],
                      [
                        21.1,
                        0
                      ],
                      [
                        21.075479595267517,
                        -1.0169364923448572
                      ],
                      [
                        21.001975371614915,
                        -2.031509411762742
                      ],
                      [
                        20.879658168218835,
                        -3.0413606787641103
                      ],
                      [
                        20.708812275821746,
                        -4.044143187966352
                      ],
                      [
                        20.489834775980842,
                        -5.037526263257216
                      ],
                      [
                        20.223234618167538,
                        -6.019201074773141
                      ],
                      [
                        19.90963143686253,
                        -6.9868860051023685
                      ],
                      [
                        19.54975411139577,
                        -7.938331952240615
                      ],
                      [
                        19.14443907187858,
                        -8.871327556974146
                      ],
                      [
                        18.69462835516529,
                        -9.783704342540712
                      ],
                      [
                        18.201367415362704,
                        -10.673341754622722
                      ],
                      [
                        17.665802693976293,
                        -11.538172089958618
                      ],
                      [
                        17.08917895534054,
                        -12.376185302117374
                      ],
                      [
                        16.47283639352651,
                        -13.185433673266441
                      ],
                      [
                        15.818207517450748,
                        -13.964036341075051
                      ],
                      [
                        15.126813821425188,
                        -14.710183670231313
                      ]
                    ]
                  }
                }
              },
              {
                "type": "translate",
                "vector": [
                  18.2,
                  0,
                  9.2
                ],
                "shape": {
                  "type": "cuboid",
                  "size": [
                    17.8,
                    3,
                    0.9
                  ]
                }
              },
              {
                "type": "translate",
                "vector": [
                  12,
                  0,
                  6.455
                ],
                "shape": {
                  "type": "cylinder",
                  "radius": 1.3,
                  "height": 5.79
                }
              }
            ]
          },
          {
            "type": "rotate",
            "angles": [
              0,
              0,
              -0.7853981633974483
            ],
            "shape": {
              "type": "translate",
              "vector": [
                24,
                0,
                10.5
              ],
              "shape": {
                "type": "cuboid",
                "size": [
                  14,
                  3,
                  2.2
                ]
              }
            }
          },
          {
            "type": "rotate",
            "angles": [
              0,
              0,
              0.7853981633974483
            ],
            "shape": {
              "type": "translate",
              "vector": [
                24,
                0,
                10.5
              ],
              "shape": {
                "type": "cuboid",
                "size": [
                  14,
                  3,
                  2.2
                ]
              }
            }
          }
        ]
      }
    }
  }
}