Skip to main content

Module lip

Module lip 

Source
Expand description

lip and groove: the joint between the two halves of an enclosure — a raised strip along one half’s rim, and the recess in the other’s that takes it.

Both are a band along a chain of the rim face’s edges (see crate::band), swept square off the rim: a lip width wide from the edges into the rim and height high, joined to the solid; a groove as wide as the lip and a clearance more, as deep as the lip is high and a clearance more, cut from it. The lip stands flush with the wall the edges are on, so on the edges of a shelled enclosure’s rim towards its inside it carries the inner wall on up, and the groove on the mating half takes the inner part of its wall away. The cut reaches past the rim and past the wall into the air, width both ways, so that none of its faces lies on a face of the solid.

A groove runs along any edges, a lip along straight and circular ones (see lip); corners between straight edges are mitred, other corners refused, and where the chain runs on smoothly is told by its walls. The rim has to be planar, and every edge of the chain convex: the wall falls away from the rim along it, so the space beside the edge, over the wall, is air.

Structs§

LipSize
The sizes of a lip, or of the lip a groove takes.

Functions§

groove
Cuts the groove that takes a lip of size along the edges edges of the rim face face (see the module docs), clearance wider and deeper, from its solid; named like a lip.
lip
Raises a lip along the edges edges of the rim face face (see the module docs), joined to its solid, for the operation operation_id whose names namer builds: the result is named namer’s root, the lip’s faces along an edge E N(E) (on the wall) and N(E,far) (inside the rim), its top N(end).
rim_chain
The chain of face’s edges edges — or, if none, its one hole — in the plane of the face: its frame, w the face’s outward normal, and the chain in it, the face on its left. Fails for a face that is not planar, edges that are not one chain along one of its loops, edges that are neither straight nor circular, and edges the solid is not convex along.