COIL(nged)
create a coil spring geometry object
okay bestie, this is COIL(nged) β yep, the nged manual page from the BRL-CAD User Commands β and it's literally about making coil springs in mged like it's no big deal. ππ
πΈ NAME πΈ
coil β create a coil spring geometry object
β¨ SYNOPSIS β¨
coil [-d mean_outer_diameter] [-w wire_diameter] [-H helix_angle]
[-p pitch] [-n number_of_turns] [-s start_cap_type] [-e end_cap_type]
[-S coil_data_structure] [-l overall_length] [-L] [name]
π DESCRIPTION π
The coil command creates a coil spring geometry as a combination of pipe and cylindrical primitives in the database. No cap, it's building real geometry for you. An optional name may be provided; if omitted, the object is named coil.
All dimensional parameters are in the current working units unless otherwise noted.
π Options π
-dmean_outer_diameterβ mean outer diameter of the coil. Defaults to10Γthe wire diameter if unspecified. If both are zero, defaults to1000(with wire diameter defaulting to100).-wwire_diameterβ diameter of the coil wire. Defaults to1/10of the mean outer diameter if unspecified.-Hhelix_angleβ helix angle of the coil in degrees. Affects the pitch of the winding relative to the axis. (Unsupported when-lis used.)-ppitchβ distance between adjacent turns along the coil axis. Must beβ₯wire diameter; if smaller, it is automatically set to the wire diameter.-nnumber_of_turnsβ number of full coil turns.-sstart_cap_typeβ end cap style at the start of the coil:0= open (no cap),1= squared,2= squared and ground.-eend_cap_typeβ end cap style at the end of the coil. Same values as-s.-loverall_lengthβ constrain the coil to a total axial length. When set, pitch and/or number of turns are adjusted automatically to fit. Caps are forced to open (0) and helix angles are ignored.-Lβ use left-hand winding (default is right-hand).-Scoil_data_structureβ advanced: provide an explicit section data structure to override the automatic coil generation.
π¦ EXAMPLES π¦
π Example 1. Create a default coil π
mged> coil
Creates a coil spring named coil using default dimensions.
π« Example 2. Create a named coil with specific dimensions π«
mged> coil -d 50 -w 5 -p 6 -n 10 spring1
Creates a 10-turn coil spring named spring1 with a mean outer diameter of 50 units, wire diameter of 5 units, and pitch of 6 units per turn.
π Example 3. Create a left-hand wound coil with caps π
mged> coil -d 100 -w 10 -n 8 -s 2 -e 2 -L lh_spring
Creates a left-hand wound coil with squared-and-ground end caps.
π SEE ALSO π
pipe(nged) β that's the whole cross-reference, bestie. π«Ά
π AUTHOR π
BRL-CAD Team β iconic behavior, honestly.
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org.
okay that's the whole page! π«Ά source/version: BRL-CAD; page: COIL(nged); date: not shown in the original footer, so that's a little mystery. π
π¦ 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