Documentation
¶
Overview ¶
Package helmetstyles provides motorcycle helmet shell silhouettes, paintable zones and surface finish metadata across 33 helmet styles and 5 rider categories.
Maintained from the open shell catalog powering Custom Motorcycle Helmet and its interactive 3D motorcycle helmet designer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var RawJSON []byte
RawJSON holds the embedded styles.json catalog bytes.
Functions ¶
func PaintableZones ¶
PaintableZones returns the paintable shell zones for the matched helmet style.
Types ¶
type HelmetStyle ¶
type HelmetStyle struct {
ID string `json:"id"`
Category string `json:"category"`
Model string `json:"model"`
HasPeak bool `json:"hasPeak"`
HasChinBar bool `json:"hasChinBar"`
}
HelmetStyle describes a single motorcycle helmet shell silhouette.
func ByCategory ¶
func ByCategory(category string) []HelmetStyle
ByCategory returns all helmet silhouettes in the given rider category.
func FindStyle ¶
func FindStyle(query string) *HelmetStyle
FindStyle resolves a helmet silhouette by ID or model name (case and separator insensitive).
func Styles ¶
func Styles() []HelmetStyle
Styles returns all 33 motorcycle helmet shell silhouettes.











