dist/index.js
function(
    headDiameter,
    headLength,
    diameter,
    length,
    clearLength,
    options
  ) {
    var head = Parts.Hexagon(headDiameter, headLength);
    var thread = Parts.Cylinder(diameter, length);

    if (clearLength) {
      var headClearSpace = Parts.Hexagon(headDiameter, clearLength);
    }

    return Parts.Hardware.Screw(head, thread, headClearSpace, options);
  }
function(
    headDiameter,
    headLength,
    diameter,
    length,
    clearLength,
    options
  ) {
    var head = Parts.Hexagon(headDiameter, headLength);
    var thread = Parts.Cylinder(diameter, length);

    if (clearLength) {
      var headClearSpace = Parts.Hexagon(headDiameter, clearLength);
    }

    return Parts.Hardware.Screw(head, thread, headClearSpace, options);
  }
function ( headDiameter , headLength , diameter , length , clearLength , options ) { var head = Parts . Hexagon ( headDiameter , headLength ) ; var thread = Parts . Cylinder ( diameter , length ) ; if ( clearLength ) { var headClearSpace = Parts . Hexagon ( headDiameter , clearLength ) ; } return Parts . Hardware . Screw ( head , thread , headClearSpace , options ) ; }
Creates a `Group` object with a Hex Head Screw.
@param {number} headDiameter Diameter of the head of the screw
@param {number} headLength   Length of the head
@param {number} diameter     Diameter of the threaded shaft
@param {number} length       Length of the threaded shaft
@param {number} clearLength  Length of the clearance section of the head.
@param {object} options      Screw options include orientation and clerance scale.
Creates a Group object with a Hex Head Screw .