Liking cljdoc? Tell your friends :D

patterning.library.machines


centre-rangeclj/s

(centre-range lo hi inner-proportion)
source

circumferenceclj/s

(circumference radius)
source

cog->patternclj/s

(cog->pattern {:keys [addendum-radius dedendum-radius pitch-radius tooth-angle
                      basic-wheel hole-type hole-radius no-hollows
                      hollow-radius]
               :as cog}
              guides?)
source

cog-tooth->pointsclj/s

(cog-tooth->points {:keys [start foot-start mid-start top-start top-end mid-end
                           foot-end end]})
source

crude-circleclj/s

(crude-circle r s)
(crude-circle cx cy r s)
source

edge-styleclj/s

source

guide-styleclj/s

source

hollow-styleclj/s

source

ICogclj/sprotocol

A wheel with teeth

A wheel with teeth

engages?clj/s

(engages? this other-cog)

Is this and the other cog at the right distance to engage without crashing?

Is this and the other cog at the right distance to engage without crashing?
sourceraw docstring

ICrashableclj/sprotocol

Two things that collide

Two things that collide

crash?clj/s

(crash? this other)

Do this and the other intersect?

Do this and the other intersect?
sourceraw docstring

IWheelclj/s≠protocol

It's basically a circle

It's basically a circle

cxclj/s

(cx this)

Centre X

Centre X

cyclj/s

(cy this)

Centry Y

Centry Y

dist-to-pointclj/s≠

clj
(dist-to-point this [x y])
cljs
(dist-to-point this G__18742)

Distance from centre to point x,y

Distance from centre to point x,y

distance-toclj/s

(distance-to this other-wheel)

Distance between the centres of the two wheels

Distance between the centres of the two wheels

hit?clj/s≠

clj
(hit? this [x y])
cljs
(hit? this G__18744)

Does point x y fall inside the circle?

Does point x y fall inside the circle?
sourceraw docstring

make-cogclj/s

(make-cog cx
          cy
          no-teeth
          pitch-radius
          addendum
          dedendum
          clearance
          tooth-thickness
          top-thickness
          hole-type
          hole-radius
          no-hollows
          hollow-radius)
source

make-cog-toothclj/s

(make-cog-tooth {:keys [basic-wheel pitch-radius addendum-radius dedendum-radius
                        tooth-thickness top-thickness tooth-angle]
                 :as cog-wheel}
                a)
source

multilineclj/s

source

PI2clj/s

source

spaced-engagedclj/s

(spaced-engaged cog ratio)
(spaced-engaged cog ratio hole-type hole-radius no-hollows hollow-radius)
source

spawn-connectedclj/s

(spawn-connected {:keys [no-teeth tooth-thickness top-thickness addendum
                         dedendum clearance circular-pitch]
                  :as cog}
                 a-ratio
                 hole-type
                 hole-radius
                 no-hollows
                 hollow-radius)
source

spindle-styleclj/s

source

tapclj/s

(tap x)
source

translate-basic-wheelclj/s

(translate-basic-wheel cog dx dy)
source

translate-cogclj/s

(translate-cog cog dx dy)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close