Expand description
The geometry of a STEP file: points, placements, curves and surfaces as the file defines them — in millimetres, placed where the assembly puts them — and their conversion to the kernel’s NURBS.
What the file says is read into plain f64 definitions (CurveDef,
SurfaceDef): it is data, decided on (where a face wraps around, which
loop is outer) before anything exact is built from it. The NURBS built
from it are exact for every analytic type — lines, circles, ellipses,
planes, cylinders, cones, spheres, tori, surfaces of revolution and of
extrusion — not approximations.
Structs§
- Frame
- A right-handed orthonormal frame:
AXIS2_PLACEMENT_3D. - Nurbs
Curve - Nurbs
Surface - Placement
- A rigid motion, as an assembly places a part:
p -> origin + axes p. - Revolved
- A surface swept by a profile turning about the
zofframe: the profile lies in the half plane offrame.xat angle 0. - Scope
- How the geometry of one representation is read: its units, its uncertainty, and where the assembly places it.
- Surface
Def - A surface as the file defines it, and whether the NURBS it is built as
(see [
SurfaceDef::natural_normal_flipped]) faces the other way.
Enums§
- Conic
Kind - Curve
Def - A curve as the file defines it.
- Profile
- What a
Revolvedsurface’s profile is, as a function of its parametervin the half plane at angle 0:(radius, height)alongframe.xandframe.z. - Shape
- Where a curve the file defines is a circle or a line, what tells
whether it runs along a parallel or a meridian of a surface of
revolution (see
Revolved::iso_line). - Surface
Kind
Functions§
- parameter_
of - Where on
curvethe pointpis: the parameter of its nearest point (NurbCurve3D::closest_point). A free choice of where to cut the curve, so sharp. - point_
at - The point of
curveat the parametert, chosen inf64: at a domain end, the end itself, whichtmay miss by rounding.