Expand description
Motorcycle helmet shell silhouettes, paintable zones and surface finishes across 33 styles and 5 rider categories.
Maintained from the open shell catalog powering Custom Motorcycle Helmet and its interactive 3D motorcycle helmet designer.
§Example
use custom_motorcycle_helmet_styles::{by_category, find_style, paintable_zones, STYLES};
let shell = find_style("Retro full face").unwrap();
assert_eq!(shell.id, "retro-full-face");
assert_eq!(by_category("Motocross").len(), 7);
assert_eq!(paintable_zones("jet-long-shield"), &["crown", "forehead", "sides", "back", "neck"]);
assert_eq!(STYLES.len(), 33);Structs§
- Helmet
Style - Metadata for a single motorcycle helmet shell silhouette.
Constants§
Statics§
- FINISHES
- Supported clearcoat and material finishes for 3D helmet previews.
- OPEN_
ZONES - Paintable shell zone list for open-face and half helmets without a chin bar.
- STYLES
- All 33 motorcycle helmet shell silhouettes across 5 rider categories.
- ZONES
- Full paintable shell zone list when a closed chin bar is present.
Functions§
- by_
category - Return all helmet styles in a rider category (e.g.
"Full face","Motocross","Half helmet"). - find_
style - Find a helmet shell style by
idormodelname (case and separator insensitive). - paintable_
zones - Return the paintable shell zones available on the helmet style matched by
query.