Dometyl.Column
module Join : sig ... end
val make :
?join_ax:[< `EW | `NS NS ] ->
n_keys:int ->
curve:(int -> Key.t -> Key.t) ->
caps:(int -> OSCADml.Scad.d3) ->
Key.t ->
t
make ?join_ax ~n_keys ~curve ~caps key
Create a column by distributing n_keys
copies of key
using the distribution function curve
, which will position each Key.t
according to the index (from 0 to n_keys - 1
), before they are joined via Scad.hull
between the Key.t.faces
along the axis indicated by join_ax
. The caps
lookup places a key cap above each Key.t
corresponding to the index (examples/defaults can be found in Caps
).
val to_scad : t -> OSCADml.Scad.d3