VectorGraphicOptimizerReplaceAllByDrills Method |
Converts the vectors to a list of drills./>
Namespace: RAYLASE.Marker.VectorGraphicElementAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntaxpublic void ReplaceAllByDrills(
VectorGraphicLayer layer,
dmat4 transformation,
double spacing,
bool forceCorners,
LaserOnMode mode,
int pulses,
double time
)
Parameters
- layer VectorGraphicLayer
- Layer to optimize.
- transformation dmat4
- Model matrix.
- spacing Double
- Distance between two drills.
- forceCorners Boolean
- Forces drill on corners.
- mode LaserOnMode
- Type of drill.
- pulses Int32
- Number of pulses in case of mode is pulse.
- time Double
- Laser on time in case of mode is time.
Remarks
In case of forceCorners, a drill be set on each corner. The spacing of the drills between two corners will be adjusted to ensure equidistant placement.
See Also