Skip to main content

Crate custom_skateboard_deck_sizes

Crate custom_skateboard_deck_sizes 

Source
Expand description

Skateboard deck shapes, width by length dimensions, truck axle pairings and 300 DPI print specs across 33 boards.

Maintained from the open deck sizing catalog powering Custom Skateboard Decks and its interactive 3D skateboard deck designer.

§Example

use custom_skateboard_deck_sizes::{by_category, decks_near_width, find_deck, DECKS, PRINT_DPI};

let deck = find_deck("8.25").unwrap();
assert_eq!(deck.id, "popsicle-8-25");
assert_eq!(by_category("Shaped").len(), 12);
assert!(!decks_near_width(8.5, 0.1).is_empty());
assert_eq!(DECKS.len(), 33);
assert_eq!(PRINT_DPI, 300);

Structs§

DeckShape
Dimensions and truck pairing metadata for one skateboard deck shape.

Constants§

BOLT_HOLE_COUNT
Standard mounting bolt hole count across the two trucks.
PRINT_DPI
Standard production export resolution in dots per inch.
RAW_JSON
Raw JSON dataset identical to data/decks.json.
UPDATED
Dataset revision date (ISO 8601).

Statics§

DECKS
All 33 skateboard, cruiser, surfskate and longboard deck shapes.
PRINT_FILES_INCLUDED
Exported production print file variants.

Functions§

by_category
Return all deck shapes in a board family ("Popsicle", "Shaped", "Cruiser", "Surfskate", "Longboard").
decks_near_width
Find all decks whose width in inches is within tolerance_in of width_in.
find_deck
Find a skateboard deck shape by id, model or nominal width (e.g. "8.25", "egg", "pintail").