Customizable Raspberry Pi 3 Model

von joaquinfq

Druckbare Dateien (1)

Beschreibung

URL

https://gitlab.com/joaquinfq/openscad/blob/master/Modules/Models/PCB/RaspberryPi.scad

Español

Estos días he necesitado hacer varias cosas con Raspberry's pero no encontré un modelo que fuera configurable desde afuera sin tener que leer todo el código y extraer manualmente los valores. El diseño que traigo hoy tiene las siguientes características:

  • Los valores de cada bloque se obtienen en una función llamada getBlocks que a su vez acepta un parámetro para ajustar la tolerancia de las medidas.
  • Cada índice está referenciado en una constante para que no haya que recordar el valor.
  • block: Módulo que acepta el índice del bloque a dibujar. Por ejemplo, haciendo block(RPI_B_ETH()) se dibuja solamente el conector ethernet.
  • logo: Módulo que dibuja el logo de Raspberry Pi.
  • pcb: Módulo para dibujar solamente el PCB de la Raspberry, sin conectores ni logo.
  • raspberry3: Módulo que dibuja la Raspberry Pi 3.

Cada bloque está formado por un array de 4 elementos:

  • 0: Las dimensiones del bloque.
  • 1: El color a usar para dibujar el bloque.
  • 2: Posición sobre el PCB.
  • 3: Ángulo de rotación.

En los próximos días subiré un sistema que permite generar carcasas personalizadas de la Raspberry para ser usadas en distintas situaciones: soporte VESA, soporte para disco duro, LCD, apilables, etc., todo en un solo proyecto.

English

These days I have needed to do several things with Raspberry's but I did not find a model that was configurable from the outside without having to read all the code and manually extract the values. The design that I bring today has the following features:

  • The values ​​of each block are obtained in a function called getBlocks which accepts a parameter to adjust the tolerance of the measurements.
  • Each index is referenced in a constant so that the value does not have to be remembered.
  • block: Module that accepts the index of the block to be drawn. For example, making block (RPI_B_ETH()) draws only the ethernet connector.
  • logo: Module that draws the Raspberry Pi logo.
  • pcb: Module to draw only the Raspberry PCB, without logo and connectors.
  • raspberry3: Module that draws the Raspberry Pi 3.

Each block is an array of 4 elements:

  • 0: The dimensions of the block.
  • 1: The color to use to draw the block.
  • 2: Position on the PCB.
  • 3: Angle of rotation.

In the next few days I will upload a system that allows you to generate custom Raspberry cases to be used in different situations: VESA support, support for hard disk, LCD, stackables, etc., all in one project.

Tags