Liking cljdoc? Tell your friends :D

scad-tarmi.threaded


boltclj

(bolt &
      {:keys [iso-size pitch head-type drive-type point-type total-length
              unthreaded-length threaded-length compensator negative]
       :or {head-type :hex compensator dfm/none negative false}
       :as options})

A model of an ISO metric bolt. The very top of the head sits at [0 0 0] with the bolt pointing down. The total length of the bolt is the sum of head height (computed from nominal ISO size), unthreaded and threaded length parameters, plus an optional point. Though a drive-type parameter is accepted, only a socket-cap-style hex drive is supported, and even that will be ignored on a negative. Likewise, though a point-type parameter is accepted, the only implemented option beyond the default flat point is a cone.

A model of an ISO metric bolt.
The very top of the head sits at [0 0 0] with the bolt pointing down.
The total length of the bolt is the sum of head height (computed from
nominal ISO size), unthreaded and threaded length parameters, plus an
optional point.
Though a drive-type parameter is accepted, only a socket-cap-style hex
drive is supported, and even that will be ignored on a negative.
Likewise, though a point-type parameter is accepted, the only implemented
option beyond the default flat point is a cone.
sourceraw docstring

bolt-taperclj

(bolt-taper inner-radius outer-radius length)

Close over a tapering function that goes inward from the outer radius at the top and inward again to the inner radius at the bottom, with a stretch of neutrality in the middle.

Close over a tapering function that goes inward from the outer radius at
the top and inward again to the inner radius at the bottom, with a stretch
of neutrality in the middle.
sourceraw docstring

datumclj

(datum nominal-diameter key)

Retrieve or calculate a fact based on the ISO standards.

Retrieve or calculate a fact based on the ISO standards.
sourceraw docstring

flareclj

(flare inner-radius outer-radius length)

Close over a function to limit threading measurements as for the transition between the flat part of a long bolt and its threaded section, or the two sides of a nut.

This permits a 1 μm overshoot to improve rendering of flared negatives inside hex nuts in OpenSCAD.

Close over a function to limit threading measurements as for the transition
between the flat part of a long bolt and its threaded section, or the two
sides of a nut.

This permits a 1 μm overshoot to improve rendering of flared negatives
inside hex nuts in OpenSCAD.
sourceraw docstring

head-heightclj

(head-height iso-size head-type)

Get the height of an ISO bolt head. This is exposed for predicting the results of the bolt function in this module, specifically where the transition from head to body will occur.

Get the height of an ISO bolt head.
This is exposed for predicting the results of the bolt function in this
module, specifically where the transition from head to body will occur.
sourceraw docstring

iso-dataclj

Various constants from ISO metric fastener standards. This is a map of nominal ISO bolt diameter (in mm) to various other measurements according to spec. Instead of relying on this raw data in applications, prefer the more capable datum function.

Various constants from ISO metric fastener standards.
This is a map of nominal ISO bolt diameter (in mm) to various other
measurements according to spec. Instead of relying on this raw data in
applications, prefer the more capable datum function.
sourceraw docstring

nutclj

(nut &
     {:keys [iso-size height compensator negative] :or {compensator dfm/none}})

A single hex nut centred at [0 0 0].

A single hex nut centred at [0 0 0].
sourceraw docstring

rodclj

(rod &
     {:keys [iso-size taper-fn compensator negative]
      :or {taper-fn rounding-taper compensator dfm/none negative false}
      :as options})

A threaded rod centred at [0 0 0].

A threaded rod centred at [0 0 0].
sourceraw docstring

rounding-taperclj

(rounding-taper inner-radius outer-radius length)

Close over a function to limit threading measurements as for either end of a threaded rod.

Close over a function to limit threading measurements as for either end of
a threaded rod.
sourceraw docstring

washerclj

(washer & {:keys [iso-size inner-diameter outer-diameter height]})

A flat, round washer centred at [0 0 0].

A flat, round washer centred at [0 0 0].
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close