Skip to main content

make_ruled

Function make_ruled 

Source
pub fn make_ruled(
    model: &mut Model,
    a: &Shape,
    b: &Shape,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

The ruled surface between two curves: each point of a joined by a straight line to the point of b at the same fraction of its parameter.

a and b are edges or wires, open or closed, taken in their own traversal sense; wires pair edge for edge, one face per pair, and wires of different edge counts are first split to match by arc length (see make_loft_surface). Between two straight segments the face is the plane when the four corners share one and the bilinear patch otherwise; between curves it is the exact rational B-spline of degree one across. The long edges are a’s and b’s own edges where they were not split, and the rulings at the ends are straight segments.

§Errors

As make_loft_surface with two sections and ruled.