TIRE(nged)
Generate tire and optional wheel geometry from tire dimensions.
๐ TIRE(nged) โ NAME ๐
okay bestie, welcome to TIRE(nged) from BRL-CAD User Commands ๐ the tire command generates tire geometry, and optionally wheel geometry, using either ISO-style tire dimensions or explicit dimensional parameters. slay.
โจ SYNOPSIS โจ
tire [options]
tire --demo-file tire_demo.g
๐ DESCRIPTION ๐
So hereโs the vibe: tire makes tire geometry, and if you want it, wheel geometry too โ using either ISO-style tire dimensions or explicit dimensional parameters. iconic.
You can give it explicit ISO inputs with -d or โdimensions, and the synonymous long form โISO works too. The supported ISO form is width-mm/aspect-percent_R_rim-diameter-in, for example 235/75R15. no cap, thatโs the shape. ๐
๐ OPTIONS ๐
-h,-?,โhelpโ print help and exit. bye bestie ๐-n,โobj-namename โ set the top-level object name.-w,โwheelbool โ enable or disable wheel generation.-d,โdimensionsISO_tire_spec โ specify tire dimensions using ISO-style inputs.โISOISO_tire_spec โ synonym forโdimensions.-W,โwidthmm โ set tire width in millimeters. overrides ISO dimensions.-R,โaspect-ratioratio โ set aspect ratio asratio/100. overrides ISO dimensions.-D,โrim-diameterinches โ set rim diameter in inches. overrides ISO dimensions.-g,โtread-depthvalue โ set tread depth in1/32inch units.-j,โhub-widthinches โ set rim width.-s,โmax-sidewall-radiusmm โ set the maximum sidewall radius.-u,โtire-thicknessmm โ set tire thickness.-p,โtread-patternname โ set the tread pattern preset name. legacy aliases1and2are accepted.-c,โtread-pattern-cntcount โ override the number of tread patterns around the tire. named presets provide default counts. each preset has a pattern-aware valid range so lug and block designs remain visually plausible; values outside that range are rejected.-t,โtread-shapeid โ set the tread shape profile identifier.โtread-pattern-filefile โ read a custom JSON tread pattern definition. the object must specifytypeandsymmetry. supported optional fields are$schema,schema_version,id,description,terrain,axle,void,grooves,groove_angle,block,pitch,pitch_seq,sipes,shoulder,center,tie_bars,shape,pattern_count, andsketches. unknown fields are rejected.โlist-tread-patternsโ list available tread pattern presets and exit.โdemo-filefile.g โ generate a sampler grid of varied tire examples. when run from MGED, the sampler is written to the current database; when run as the standalonetire(1)program, the database filename is taken from file.g. the sampler creates an all combination that arranges compact-car, sedan, performance, SUV, van, pickup, commercial truck, bus, farm tractor, wheel-loader, and mining haul-truck tire assemblies in rows by vehicle class and increasing scale.
๐ CUSTOM TREAD JSON ๐
Files supplied with โtread-pattern-file are JSON objects. The required fields are type and symmetry. Unknown fields are rejected. ๐
๐งพ Custom tread JSON field contract ๐งพ
{
"$schema": "https://brlcad.org/schemas/tire-tread-pattern.schema.json",
"schema_version": 1,
"type": "rib | lug | block | hybrid",
"symmetry": "symmetric | directional | asymmetric",
"terrain": "HT | AT | MT",
"axle": "steer | drive | trailer | all",
"void": "number, 0.1 through 0.7",
"grooves": "integer, 1 through 8",
"groove_angle": "number, 0 through 60",
"block": "small | medium | large",
"pitch": "uniform | variable | {\"type\":\"variable\",\"count\":2..8}",
"pitch_seq": ["numbers, each 0.5 through 2.0, 2 through 16 entries"],
"sipes": "none | low | medium | dense",
"shoulder": "closed | semi-open | open",
"center": "continuous | broken | ribbed",
"tie_bars": false,
"shape": "integer, 1 or 2",
"pattern_count": "integer within the selected pattern family's supported range",
"sketches": [
[[0.10, 0.20], [0.24, 0.20], [0.24, 0.80], [0.10, 0.80]]
]
}
If sketches is supplied, the listed normalized cut polygons are used as the tread geometry instead of procedurally generated sketches. The other pattern fields are retained as documented metadata for round-trip editing, but they do not alter the supplied polygons. Each polygon must have at least three points, and each point is a two-number array. ๐ซถ
๐ฆ GENERATED OBJECTS ๐ฆ
The requested tire name is used as the top-level assembly combination. Generated child objects are named below that root using dotted subsystem names, for example name.tire.r, name.air.r, name.wheel.r, name.tire.outer.c, and name.tread.master.c. Indexed tread, bolt, and hub-hole objects use zero-padded numeric suffixes so database listings sort in generation order. obsessed with clean sort order ๐
The top-level assembly combination stores the resolved generation settings as attributes with the tire:: prefix. These include the normalized ISO size, wheel and tread enable flags, tread pattern source and count, tread depth, derived radii and widths, and tire thickness. If tread is generated, the resolved tread pattern JSON is stored as tire::tread_pattern_json so the pattern can be inspected, copied, and modified later. ๐
When โdemo-file is used, the generated all combination references the individual named tire assemblies with placement transforms for visual comparison. The individual assemblies remain available by their vehicle-target names, such as compact_car, pickup_truck, and mining_haul_truck.
๐ธ EXAMPLES ๐ธ
Example 1. Create a tire from ISO dimensions.
mged> tire โobj-name tire_235_75r15 โdimensions 235/75R15
Generates tire geometry named tire_235_75r15 using the specified ISO tire size. ๐
Example 2. Create a mud-terrain treaded tire.
mged> tire โobj-name tire_mt โdimensions 235/75R15 โtread-pattern
mud-terrain
Generates tire geometry using the built-in mud-terrain tread preset. ๐ฅ
Example 3. Create the built-in tire sampler.
mged> tire โdemo-file tire_demo.g
Generates the sampler objects and top-level all combination in the current database. โจ
๐ AUTHOR ๐
BRL-CAD Team โ absolute legends. ๐
๐ BUG REPORTS ๐
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. pls be nice, theyโre fixing things fr fr. ๐ซถ
๐ xoxo, your Unix bestie โ source/version: BRL-CAD, page: TIRE(nged). ๐
๐ฆ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms