Spline Parameters: Rast2Vec
Use the Spline Parameters, Rast2Vec dialog box to set parameters when converting a raster image to fit spline geometry. Parameters you can set include noise and smoothing filters, spline tolerance, and spline corner break.
Active settings are shaded blue.
Preset
Lets you manage/save/restore parameters settings. Available options are: Last recently used, Save as, Delete, Default.
Noise filter
Removes elements equal to or less than the specified pixel size. For example, a setting of 4 removes elements of size 4x4 pixels (16 pixels squared) or smaller. Select left-hand icon to turn off noise filter. Select right-hand icon to turn on noise filter. When noise filter is turned on, you can set filter size in pixels using one of the following methods:
- Type: Type a number directly into box.
- Drop-Down List: Choose the down arrow and select from a small range of common values.
- Spinner: Choose the up arrow or down arrow to scroll quickly to near-range values.
- Slider: Drag the slider to scroll quickly to far-range values.
Smooth
Instead of mapping each stair step of a slanted pixel edge, you can use this setting to tell Mastercam to "stand off" the edge and thereby smooth the spline. Increasing the number smooths the image more. Select left-hand icon to turn off smoothing. Select right-hand icon to turn on smoothing. When smoothing is turned on, you can set the simplification tolerance in pixels using one of the following methods:
- Type: Type a number directly into box.
- Drop-Down List: Choose the down arrow and select from a small range of common values.
- Spinner: Choose the up arrow or down arrow to scroll quickly to near-range values.
- Slider: Drag the slider to scroll quickly to far-range values.
Smooth filter
Smooths only elements larger than the specified pixel size. This can be useful if you have small text that you want to map exactly (exclude from smoothing). If necessary, select Smooth Filter icon to turn on smoothing filter (icon is shaded blue when enabled). When the filter is turned on, you can set filter size in pixels using one of the following methods:
- Type: Type a number directly into box.
- Drop-Down List: Choose the down arrow and select from a small range of common values.
- Spinner: Choose the up arrow or down arrow to scroll quickly to near-range values.
- Slider: Drag the slider to scroll quickly to far-range values.
Output geometry type
Lets you select a line, a second-degree (standard curve) spline, or a third-degree spline (more curvy) as output geometry. If you select a spline option, you can set Spline Tolerance and Spline Corner Break parameters.
Spline tolerance
Determines how close the spline will map to a mathematical edge. Select left-hand icon to turn off Spline Tolerance. Select right-hand icon to turn on Spline Tolerance. When Spline Tolerance is turned on, you can set the tolerance in pixels using one of the following methods:
- Type: Type a number directly into box.
- Drop-Down List: Choose the down arrow and select from a small range of common values.
- Spinner: Choose the up arrow or down arrow to scroll quickly to near-range values.
- Slider: Drag the slider to scroll quickly to far-range values.
Spline corner break
Breaks the spline at the specified angle to eliminate very long splines that cause long calculation times. Select left-hand icon to turn off Spline Corner Break. Select right-hand icon to turn on Spline Corner Break. When Spline Corner Break is turned on, you can set the edge angle in degrees using one of the following methods:
- Type: Type a number directly into box.
- Drop-Down List: Choose the down arrow and select from a small range of common values.
- Spinner: Choose the up arrow or down arrow to scroll quickly to near-range values.
- Slider: Drag the slider to scroll quickly to far-range values.





