Walls.Sides
Four cardinal Side.t
s for a body/thumb.
val manual_body :
west:Side.config ->
north:Side.config ->
east:Side.config ->
south:Side.config ->
Columns.t ->
t
manual_body ~west ~north ~east ~south columns
Construct a t
with the given Side.config
s for each of the edges of the provided Plate.t
body columns
(columns oriented along the Y-axis (N-S)).
val manual_thumb :
west:Side.config ->
north:Side.config ->
east:Side.config ->
south:Side.config ->
Columns.t ->
t
manual_thumb ~west ~north ~east ~south columns
Construct a t
with the given Side.config
s for each of the edges of the provided Plate.t
thumb columns
(columns oriented along the X-axis (W-E)). Note that the relevant indices are increment in directions reflecting the 90 degree rotation of the thumb columns relative to the body.
val auto :
?d1:[ `Abs of float | `Rel of float ] ->
?d2:float ->
?north_clearance:float ->
?south_clearance:float ->
?side_clearance:float ->
?n_steps:Wall.Steps.t ->
?min_step_dist:float ->
?scale:OCADml.V2.t ->
?scale_ez:(OCADml.V2.t * OCADml.V2.t) ->
?end_z:float ->
?index_scale:OCADml.V2.t ->
?north_lookup:(int -> bool) ->
?south_lookup:(int -> bool) ->
?west_lookup:(int -> bool) ->
?east_lookup:(int -> bool) ->
?thumb:bool ->
Columns.t ->
t
auto columns
Construct a t
from a collection of parameters to be applied consistently across the generated Wall.t
s.
d1
, d2
, n_steps
, min_step_dist
,scale
, scale_ez
, and end_z
are as described in the documentation of Wall.make
index_scale
can be used to override scale
for the first two columns of the body.{north,south,side}_clearance
provide clearance to Wall.make
for the corresponding sections (defaults = 0.
).thumb
flags whether columns
represents a thumb plate (default is false){north,south,west,east}_lookup
parameters are functions from index to bool
, indicating whether there is a wall present at a position or not.val to_scad : t -> OSCADml.Scad.d3