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.
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.
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.
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.
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.
The circle edge, the point, the tolerance and the radius of the new circles
The tangent circles
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
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
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 tangent constructions against circles; 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.