Click or drag to resize

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.

RAYLASE.Marker.Corrections.dll
  public class RAYLASE.Marker.Corrections.CorrectionFileAnalyzer

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.

  public class RAYLASE.Marker.Corrections.FieldCorrection

HasCameraAxis { get; }
   ↪ Please use HasSensorAxis instead.
AxisCamera { get; }
   ↪ Please use AxisSensor instead.

  public class RAYLASE.Marker.Corrections.FieldParameter

public void Apply( FieldCorrection fc )
   ↪ Please use ApplyTo instead.

RAYLASE.Marker.Device.dll
  public class RAYLASE.Marker.Device.ScanController.BaseScanController

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.

RAYLASE.Marker.dll
  public class RAYLASE.Marker.MarkerAPI

LicenceManager { get; }
   ↪ Please use LicenseManager instead.

RAYLASE.Marker.GUI.Common.dll
  public class RAYLASE.Marker.GUI.Common.Units

MaxPower { get; set; }
   ↪ Please use LaserProfile.NominalPower instead.

  public class RAYLASE.Marker.GUI.Common.Interactivity.BaseDialogAwareViewModel

IsStretched { get; set; }
   ↪ IsStretched is deprecated, please use ResizeMode instead.

RAYLASE.Marker.GUI.Wrapper.dll
  public class RAYLASE.Marker.GUI.Wrapper.RayguideWrapper

public void Initialize( )
   ↪ Initialization is done automatically in constructor.

RAYLASE.Marker.Job.dll
  public class RAYLASE.Marker.Job.JobDefinition

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

RAYLASE.Marker.VectorGraphicElement.dll
  public class RAYLASE.Marker.VectorGraphicElement.Cuboid

public bool IsInCuboid( dvec3 point )
   ↪ Please use Contains instead
public bool IsInCuboid( Cuboid cuboid )
   ↪ Please use Contains instead

  public interface RAYLASE.Marker.VectorGraphicElement.IFillingManager

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.

  public class RAYLASE.Marker.VectorGraphicElement.Filling.BaseFillingProfile

PenNumber { get; set; }
   ↪ This property is no longer used. It will be removed eventually. Use instead the property FillingPenNumber in BaseMarkableVectorGraphic.

RAYLASE.MarkerPlugin.dll
  public class RAYLASE.MarkerPlugin.Devices.ScanController.SPICE3.PortMapItem

StartingBitOffset { get; set; }
   ↪ This property is not used anymore. The value from LogicalPort.StartingBitOffset is used instead.

  public class RAYLASE.MarkerPlugin.Devices.ScanController.SPICE3.SPICE3Device

ScanHeadFormat { get; set; }
   ↪ Use ScanHeadProtocol instead.