Skip to main content

Module network

Module network 

Source
Expand description

NetworkSurface: a face standing on its own through a network of curves — curves in one direction, u, crossing curves in the other, v, each u curve every v curve once — interpolating all of them (see NurbSurface3D::gordon).

The curves are edges, of solids, sheets or wires — a 3-D sketch’s lines, arcs and splines — or a planar sketch’s curves, picked in any order and running either way. They are put in order along the other direction, by where they cross the first curve of it, and turned to run the way the curves they cross are ordered.

Where two curves cross is found by the kernel’s curve–curve intersection, refined by Newton (see refine_curve_curve_crossing). Two curves sharing an end — an edge’s vertex, a sketch’s point — are declared to meet there, and are taken to, without a search. A pair that does not cross, crosses more than once, or runs along each other is refused, naming both curves, and a pair that misses says by how much. So are two curves of one direction that meet within the network: they make no grid.

The network’s outer curves bound the face: each curve is cut to the stretch between its first and last crossing, so curves may run on past the network’s border. Closed curves are refused, as are tangency conditions: the face meets the faces along its border as the curves make it.

Structs§

NetworkSurface
Spans a face standing on its own through a network of curves, u_curves crossing v_curves, for the operation N — see the module docs. The curves are copied, the originals left as they are.
NetworkSurfaceArgs

Functions§

network_surface
The sheet spanned through the network of u_curves and v_curves (see the module docs), each a curve picked: what to build, named after namer, as NetworkSurface says.