Draws the straight lines from two points that just touch a circle, one tangent line from each point.
positionResult keeps the solutions on one side of the circle or all of them, and
circleRemainder adds the piece of the circle between the touching points. It is replaced
by linesTangentToTwo, which takes curves other than circles too.
The circle edge, the two points, the tolerance and which solutions to keep
The tangent lines, and the circle piece when asked for
Draws the two straight lines from a point that just touch a circle.
positionResult keeps the solution on one side of the circle or both, and circleRemainder
adds the piece of the circle between the touching points. It is replaced by
linesTangentToTwo, which takes curves other than circles too.
The circle edge, the point, the tolerance and which solutions to keep
The tangent lines, and the circle piece when asked for
Draws the straight lines that just touch two circles at once, like a belt around two pulleys.
positionResult keeps the lines on one side or all of them, and circleRemainders adds the
outside or inside pieces of the circles between the touching points, which completes the belt
shape. It is replaced by linesTangentToTwo, which takes curves other than circles too.
The two circle edges, the tolerance and which solutions and circle pieces to keep
The tangent lines, and the circle pieces when asked for
Draws the circles of a given radius that just touch two circles at once.
It is replaced by circlesTangentToTwoWithRadius, which takes curves other than circles too.
The two circle edges, the tolerance and the radius of the new circles
The tangent circles
Draws the circles of a given radius that pass through a point and just touch a circle.
It is replaced by circlesTangentToTwoWithRadius, which takes a vertex and a curve other than a
circle too.
The circle edge, the point, the tolerance and the radius of the new circles
The tangent circles
Draws every circle that touches three edges, or passes through the vertices among them, in the plane of a frame.
Straight edges count as endless lines and arcs as whole circles unless onArgumentsOnly is
set; other curves are touched within their ends. A circle that is one of the edges is left out.
The three edges or vertices, the plane, the tolerance and whether the circles must touch the edges themselves
One whole circle per solution
Draws every circle of a given radius that touches two edges, or passes through the vertices among them, in the plane of a frame.
Straight edges count as endless lines and arcs as whole circles unless onArgumentsOnly is
set; other curves are touched within their ends. A circle that is one of the given edges is
left out.
The two edges or vertices, the plane, the radius, the tolerance and whether the circles must touch the edges themselves
One whole circle per solution
Draws every circle centered on an edge that touches two other edges, or passes through the vertices among them, in the plane of a frame.
Straight edges count as endless lines and arcs as whole circles, the edge of centers too,
unless onArgumentsOnly is set, which also keeps each center within centerOn. Other curves
are touched within their ends.
The two edges or vertices, the edge of centers, the plane, the tolerance and whether the circles must touch the edges themselves
One whole circle per solution
Draws every straight line that touches two curved edges, or touches one and passes through a vertex, in the plane of a frame.
Each line runs from the first shape to the second, like a belt between two wheels. Arcs count
as whole circles unless onArgumentsOnly is set; straight edges and two vertices are refused.
The two shapes, the plane, the angular tolerance and whether the lines must touch the edges themselves
One line per solution, from contact to contact
Draws every straight line that touches a curved edge at an angle to a straight reference edge, in the plane of a frame.
The angle, in degrees, turns counterclockwise about the frame's normal. Each line runs from its touch to the reference's line; a parallel one is centered on its touch, as long as the reference.
The curve, the reference, the plane, the angle in degrees, the tolerance and whether the lines must touch the edges themselves
One line per solution, from the touch to the reference
Collects diagnostic facts about the curve of an edge: its type and degree, control point and knot counts, whether it is rational, periodic or closed, its parameter range and period, its length and its end points.
The edge to inspect
The report about the edge's curve
Cuts an edge into pieces at places given as fractions from 0 at its start to 1 at its end.
The pieces keep the edge's curve and direction, so the pieces of an arc are arcs. Fractions follow the parameter, not the length; ends and repeats are skipped, so n places inside the edge give n + 1 pieces.
The edge and the fractions to cut at
The pieces, in order from the start
Cuts an edge into pieces at places given as lengths along it from its start, in model units.
Each piece runs along the edge's own curve and keeps its direction. Lengths at or past the ends and repeats are skipped, so n lengths inside the edge give n + 1 pieces.
The edge and the lengths to cut at
The pieces, in order from the start
Lengthens an edge before its start and past its end, carrying its curve on the way it runs.
A line stays a line and an arc an arc, up to a full circle. Other curves become B-splines ending that far along the end's tangent, bending smoothly across the join; one still turning there gains a little more.
The edge and the lengths to add at its start and its end
A new, longer edge running the same way
Bridges the gap from the end of one edge to the start of another with a smooth Bezier edge that leaves and arrives along their tangents.
With matchCurvature it also bends as each edge bends at its end. bulge sets how long it
holds each tangent; edges whose ends already meet are refused.
The edge to leave, the edge to reach and how the blend joins them
The blend edge
Finds the point a fraction of the way along an edge: 0 is the start, 1 the end, 0.5 the middle of the parameter range.
The fraction follows the curve's own parameter, which for a free-form curve is not evenly
spread by length; use pointOnEdgeAtLength for a distance.
The edge and the fraction from 0 to 1
The point on the edge
Finds the point at the same fraction along each edge in a list.
The edges and the fraction from 0 to 1
One point per edge, in the same order
Turns every edge of a shape into a run of points that follows its curve closely enough to draw it, one list per edge.
The deflection settings say how tightly the points hug curved edges; a wire's edges come in their order along the wire.
The shape and the deflection settings
One list of points per edge
Finds the direction the edge is heading at a fraction of the way along it, from 0 at the start to 1 at the end.
The edge and the fraction from 0 to 1
The tangent direction
Finds the direction each edge in a list is heading at the same fraction along it.
The edges and the fraction from 0 to 1
One tangent per edge, in the same order
Finds the point a given distance along an edge from its start, measured along the curve in model units.
The edge and the distance from its start
The point on the edge
Finds the point at the same distance from the start along each edge in a list.
The edges and the distance from the start
One point per edge, in the same order
Finds the direction the edge is heading at a given distance along it from its start, measured along the curve.
The edge and the distance from its start
The tangent direction
Finds the direction each edge in a list is heading at the same distance from its start.
The edges and the distance from the start
One tangent per edge, in the same order
Reads the point where an edge starts, in the edge's own direction.
The edge
The start point
Reads the start point of each edge in a list.
The edges
One start point per edge, in the same order
Reads the point where an edge ends, in the edge's own direction.
The edge
The end point
Reads the end point of each edge in a list.
The edges
One end point per edge, in the same order
Places points along an edge at equal steps of its parameter, from start to end.
nrOfDivisions steps give one more point than that; removeStartPoint and removeEndPoint
drop the ends. On a free-form curve equal parameter steps are not equal distances; use
divideEdgeByEqualDistanceToPoints for those.
The edge, the number of divisions and whether to drop the end points
The points along the edge, in order
Places points along each edge in a list at equal steps of its parameter, one list per edge.
The edges, the number of divisions and whether to drop the end points
One list of points per edge, in the same order
Places points along an edge at equal distances measured along its curve, from start to end.
nrOfDivisions steps give one more point than that; removeStartPoint and removeEndPoint
drop the ends.
The edge, the number of divisions and whether to drop the end points
The points along the edge, in order
Places points along each edge in a list at equal distances along its curve, one list per edge.
The edges, the number of divisions and whether to drop the end points
One list of points per edge, in the same order
Finds a frame on an edge at a parameter, from 0 where the edge starts in its own direction.
kind sets how it follows: carried from the start without twisting, across the edge level with
up, or in the plane it bends in; Frenet frames throw where the edge runs straight, level
ones where it runs along up.
The edge, the fraction along it, the kind of frame and the up vector
The frame at that place
Finds a frame on an edge at a length from its start, as frameOnEdgeAtParam finds it at a
parameter.
The edge, the length along it, the kind of frame and the up vector
The frame at that place
Finds frames on an edge at several parameters in one pass. Rotation-minimizing frames are carried along the whole edge from its start, so each is the frame a swept profile would ride on there.
The edge, the fractions along it, the kind of frame and the up vector
One frame per parameter, in the same order
Finds frames on an edge at several lengths from its start in one pass, as
framesOnEdgeAtParams finds them at parameters.
The edge, the lengths along it, the kind of frame and the up vector
One frame per length, in the same order
Makes an edge from a 2D curve laid onto a surface: the curve lives in the surface's UV space and the edge follows it across the surface.
The 2D curve and the surface to lay it on
The edge on the surface
Makes a straight edge from a line object of the form { start, end }.
The line
The straight edge
Makes one straight edge per line object of the form { start, end }.
The lines
One edge per line, in the same order
Makes a straight edge from a segment, a pair of points [start, end].
The segment
The straight edge
Makes one straight edge per segment, each a pair of points [start, end].
The segments
One edge per segment, in the same order
Joins each point to the next with a straight edge, so a list of points becomes a chain of edges.
The edges are returned loose; shapes.wire.createPolylineWire makes the joined wire
directly.
One edge per pair of neighboring points
Makes one straight edge per segment of a polyline object; a closed polyline also gets the edge from its last point back to its first.
The polyline
One edge per segment, in order
Makes the three straight edges of a triangle given as three points.
The triangle
Its three edges
Makes the three straight edges of every triangle of a mesh, all in one flat list.
A triangle whose edges cannot be built is skipped with a warning rather than stopping the rest.
The mesh as a list of triangles
The edges of all the triangles
Picks one edge out of a shape by its position, counting from 0, in the order the kernel walks the shape.
The shape must be an edge, a wire or something built from them; an index beyond the last edge throws an error.
The shape and the 0-based index
The edge at that index
Lists every edge of a shape in the order the kernel walks it, which is not the order along a
wire; use getEdgesAlongWire for that.
The shape
The edges found in the shape
Lists the edges of a wire in the order they follow each other along it, each oriented to run in the wire's direction.
A single edge is returned as a one-element list.
The wire
Its edges in order along the wire
Lists only the circular edges of a wire, in the order they follow each other along it.
The wire
Its circular edges in order
Lists only the straight edges of a wire, in the order they follow each other along it.
The wire
Its straight edges in order
Lists the end points of every edge of a shape, with repeats removed, so a corner where several edges meet appears once.
The points come in no particular order.
The shape whose edges to read: a wire, face, shell or solid
The unique end points of the edges
Measures the length of an edge along its curve, in model units.
The edge
The length
Measures every edge of a shape along its curve, in model units.
The shape
One length per edge, in the order getEdges lists them
Measures each edge in a list along its curve, in model units.
The edges
One length per edge, in the same order
Finds the center of mass of an edge, the balance point of its curve; for a straight edge that is its midpoint, for an arc a point inside the curve.
The edge
The center of mass point
Finds the center of mass of each edge in a list.
The edges
One point per edge, in the same order
Flips the direction of an edge, so its start becomes its end.
The edge
A new edge running the other way
Finds the center of the circle a circular edge lies on.
An edge that is not circular throws an error.
The circular edge
The center point
Reads the radius of the circle a circular edge lies on.
An edge that is not circular throws an error.
The circular edge
The radius in model units
Reads the normal of the plane a circular edge lies in.
An edge that is not circular throws an error.
The circular edge
The unit normal of the circle's plane
Tells whether an edge is a straight line.
The edge
True when the edge is straight
Tells whether an edge lies on a circle, whether a full circle or an arc.
The edge
True when the edge is circular
Makes a straight edge between two points, the simplest edge there is.
The straight edge
Makes a circular arc that starts at the first point, passes through the middle one and ends at the last.
The three points
The arc edge
Makes a circular arc from one point to another that leaves the first point in a given direction.
The tangent fixes the plane and the radius of the arc.
The start point, the tangent direction there and the end point
The arc edge
Cuts an arc out of a circle edge between two points on it.
sense picks which way round the circle the arc runs from the first point to the second.
The circle edge, the two points and the direction of travel
The arc edge
Cuts an arc out of a circle edge between two angles, in degrees, measured around the circle from its own start.
sense picks which way round the circle the arc runs from the first angle to the second.
The circle edge, the two angles in degrees and the direction of travel
The arc edge
Cuts an arc out of a circle edge that starts at a point on the circle and spans a given angle, in degrees.
sense picks which way round the circle the arc runs.
The circle edge, the start point, the angle in degrees and the direction of travel
The arc edge
Makes a full circle as one closed edge, lying in the plane whose normal is direction.
The circle edge
Makes a full ellipse as one closed edge, lying in the plane whose normal is direction.
radiusMajor must not be smaller than radiusMinor, or the kernel refuses the ellipse.
The center, the plane normal and the two radii
The ellipse edge
Rebuilds the curve of an edge as a B-spline of a given degree, within a tolerance.
Lowering the degree simplifies the curve, raising it gives later operations more freedom;
either way the new curve stays within tolerance of the old.
The edge, the degree to rebuild to and the tolerance
A new edge with the rebuilt curve
Moves the seam of a closed periodic edge, the point where it starts and ends, to a given parameter along the curve.
The geometry does not change; only where the edge is considered to begin.
The periodic edge and the parameter of the new seam
A new edge starting at the seam
Moves the seam of a closed periodic edge, the point where it starts and ends, by a distance along the curve from its current start.
The geometry does not change; only where the edge is considered to begin.
The periodic edge and the distance to move the seam
A new edge starting at the seam
Merges faces that lie on the same surface and edges on the same curve, which removes the internal seams a boolean or a fuse leaves behind.
It is shapes.shape.unifySameDomain with edges and faces both unified and B-splines left as
they are.
The shape
The shape without internal seams
Edges in OpenCascade: single curves between two vertices, straight, circular, elliptical or free-form. Build them from points and lines, as arcs, circles and ellipses, or as lines and circles tangent to other curves in a plane; cut, lengthen and blend them; read them back as points, lengths, tangents and centers; and pick edges out of any shape. Edges join end to end into wires, which
shapes.wirehandles. Parameters along an edge run from 0 at its start to 1 at its end; angles are in degrees.