Migration from v1 to v2 |
Custom plugins have to implement the new class PluginsProvider. This change is necessary for improving the startup performance. Furthermore, the DLL name must contain "Plugin".
Please see chapter 3.4 Writing Plug-ins for Use in RAYGUIDE and 3.5 Writing Custom UI Plug-ins and Using Events for details.
Following is the list of members, which have been removed after been flagged as obsolete.
public void GetLineZRange( dvec3 start, dvec3 end, out ref double minZ, out ref double maxZ, int axis = 3 )
↪ Replaced by FieldCorrection.GetLineZRange. Note that the replacement method no longer takes the field offset into account. Please adjust your code accordingly.
HasCameraAxis { get; }
↪ Please use HasSensorAxis instead.
AxisCamera { get; }
↪ Please use AxisSensor instead.
public void Apply( FieldCorrection fc )
↪ Please use ApplyTo instead.
public ScanHeadInformation GetScanHeadInformation( int head = 0, int timeoutMilliseconds = 1 )
↪ This method does nothing. Please use BaseScanHead.GetInformation() instead.
public bool ScanHeadOperational( int head, Axes axes, int timeoutMilliseconds = 1 )
↪ This method does nothing. Please use BaseScanHead.IsOperational() instead.
LicenceManager { get; }
↪ Please use LicenseManager instead.
MaxPower { get; set; }
↪ Please use LaserProfile.NominalPower instead.
IsStretched { get; set; }
↪ IsStretched is deprecated, please use ResizeMode instead.
public void Initialize( )
↪ Initialization is done automatically in constructor.
public Image RenderAsImage( ivec2 imageSize, dvec3 fieldSize )
↪ Please use IJobManager.RenderAsImage instead
public Image RenderAsImage( ivec2 imageSize, dvec3 fieldSize, double strokeThickness, Color background )
↪ Please use IJobManager.RenderAsImage instead
public void RenderAsBitmap( string filePath, ivec2 imageSize, dvec3 fieldSize )
↪ Please use IJobManager.RenderAsBitmap instead
public void RenderAsBitmap( string filePath, ivec2 imageSize, dvec3 fieldSize, double strokeThickness, Color background )
↪ Please use IJobManager.RenderAsBitmap instead
public IList<JobElementHolder> FindJobElement( string jobElementName, StringComparison stringComparison = Ordinal )
↪ Renamed to FindJobElements
public bool IsInCuboid( dvec3 point )
↪ Please use Contains instead
public bool IsInCuboid( Cuboid cuboid )
↪ Please use Contains instead
void GenerateFillingElements( IEnumerable<VectorGraphicLayer> layers, int sequenceCount, int defaultPenNumber, dmat4 modelMatrix, bool clearFillings = true )
↪ This method will be removed in the future. Please use the othe variant.
void GenerateFillingElements( IEnumerable<VectorGraphicPath> paths, int sequenceCount, int defaultPenNumber, dmat4 modelMatrix, bool clearFillings = true )
↪ This method will be removed in the future. Please use the other variant.
PenNumber { get; set; }
↪ This property is no longer used. It will be removed eventually. Use instead the property FillingPenNumber in BaseMarkableVectorGraphic.
StartingBitOffset { get; set; }
↪ This property is not used anymore. The value from LogicalPort.StartingBitOffset is used instead.
ScanHeadFormat { get; set; }
↪ Use ScanHeadProtocol instead.