Design: Construct * Splines
A spline, according to Merriam-Webster, is a function that is defined on an interval, is used to approximate a given function, and is composed of pieces of simple functions defined on subintervals and joined at their endpoints with a suitable degree of smoothness.
For Synergy's purposes, a spline is an entity that passes smoothly through a set of plotted data points in the order they were created.
Synergy will approximate the curvature when connecting the points.
Construct * Splines * Cubic Splines
Cubic Spline are also sometimes referred to as c-splines.
-
Curve:
This command constructs a c-spline through a group of points.
Pick the points in the order the c-spline will move through.
Enter the coordinates of the last point twice to generate the c-spline.
/usr/weber/ascrpt/csplines.d/csplinecurve
-
Blend:
This command constructs a c-spline through a two points on two entities.
Pick the first entity and the start-point for the c-spline, then pick the second entity and the end point for the c-spline.
/usr/weber/ascrpt/csplines.d/blendcspline
-
Two Points:
Use this to create a c-spline between two points at specific starting and ending angles.
Pick the start and end points, then enter the angle that the c-spline should start from relative to the x-axis from the start point.
Finally, enter the angle that the c-spline should end at relative to the x-axis from the end point.
/usr/weber/ascrpt/csplines.d/cspline
-
Group Points:
This command creates a c-spline between a previously grouped collection of points.
/usr/weber/ascrpt/csplines.d/csplinegroup
Construct * Splines * Nurbs
NURBS are a way of representing curves and surfaces.
NURBS is an acronym for Non-Uniform Rational B-splines.
Synergy can, of course, create NURBS.
Most major standards, (like STEP and OpenGL) have adopted NURBS as a method of representing curved surfaces.
Weights and control points can be modified using the commands located under:
Main Menu: Edit * Geometry.
The default weight is 1.
-
Bezier Curve:
A Bezier Curve is a b-spline where the start and end points are tangent, but the flow and direction of the curve is influenced by the weight of all the points used in constructing it.
/usr/weber/ascrpt/nurbs.d/beziercurve
The first point location serves as the start point for your Bezier Curve.
The last point location serves as the end point.
All other points in between influence the final b-spline, but are not necessarily tangent to the spline.
Enter the coordinates of the last point twice to generate the curve.
-
Blend:
This command constructs a b-spline through a two points on two entities.
Pick the first entity and the start-point for the b-spline, then pick the second entity and the end point for the b-spline.
/usr/weber/ascrpt/nurbs.d/blendbspline
-
Convert to Nurb:
This script lets you convert any entity into a NURB curve.
Once an entity has been converted into a NURB curve, it can be modified via control points like any NURB entity.
/usr/weber/ascrpt/nurbs.d/convtobspline
-
Group Points:
This command creates a Nurb curve between a previously grouped collection of points.
/usr/weber/ascrpt/nurbs.d/bsplinegroup
-
-
By Points
-
Control points:
Create a NURB curve by defining the control points.
The start and end points are the first and last points you enter respectively.
/usr/weber/ascrpt/nurbs.d/bsplinecurve
-
Through points:
Create a b-spline that runs tangent to the points you enter.
/usr/weber/ascrpt/nurbs.d/bsplinethrupts
-
Two points:
Create a b-spline between two points at specific starting and ending angles and weights.
/usr/weber/ascrpt/nurbs.d/bspline