g2 set back corner
cases
sound test · 20 cases × 4 kernels ·| case | arris | opencascade | solidcore | springrep |
|---|---|---|---|---|
definition
api.md · Blends
fillet(s: Solid, edges: list<Point3>, radius: Length) -> Solidfillet_radii(s: Solid, edges: list<Point3>, radii: list<Length>) -> Solidfillet_variable(s: Solid, edge: Point3, from: Point3, r_from: Length, r_to: Length) -> Solidfillet_conic(s: Solid, edges: list<Point3>, setback: Length, rho: Number) -> Solidfillet_g2(s: Solid, edges: list<Point3>, offset: Length, center: Length) -> Solidfillet_setback(s: Solid, edges: list<Point3>, radius: Length, setback: Length) -> Solidfillet_setback_g2(s: Solid, edges: list<Point3>, radius: Length, setback: Length) -> Solidfillet_faces(s: Solid, face_a: Point3, face_b: Point3, radius: Length) -> Solidfull_round(s: Solid, side_a: Point3, middle: Point3, side_b: Point3) -> Solidchamfer(s: Solid, edges: list<Point3>, distance: Length) -> Solidchamfer_two(s: Solid, edge: Point3, face: Point3, d1: Length, d2: Length) -> Solidchamfer_distances(s: Solid, edges: list<Point3>, distances: list<Length>) -> SolidAn edge is named by a point on it. Each point names the edge of s that passes within 10·ε of the point, where ε is the suite's tolerance of 1e-7 mm. A call with a point that names no edge refuses. Naming an edge by a point does not depend on how any kernel numbers or labels its topology, and a test can compute such a point from the solid's definition.
A blend runs along the whole tangent chain of its edge. The chain is the named edge and every edge reached from it through vertices where the next edge leaves in the direction in which the last edge arrived. The top loop of a prism on a rounded rectangle is one chain, so a point on any edge of that loop blends the whole loop. Following the chain is the work of the function, and so of the kernel. An adapter passes on the edge the point names and no other edge.
The definition leaves the result open within limits. The test checks that the result is valid and keeps what every acceptable answer has, not one answer. Scored apart.