diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Machining.html b/App/wwwroot/HiAPI-docsite/api/Hi.Machining.html
index fa50730..3e89caa 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Machining.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Machining.html
@@ -123,11 +123,6 @@ This cutter type supports complex geometries for both the noble (upper) part and
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Mech.Topo.html b/App/wwwroot/HiAPI-docsite/api/Hi.Mech.Topo.html
index 6a95ba2..1d3cdc7 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Mech.Topo.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Mech.Topo.html
@@ -131,8 +131,8 @@ in form of Coordinate
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActMcXyzabcOrientableLinearContour.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActMcXyzabcOrientableLinearContour.html
index 1cc2192..b2a5a8a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActMcXyzabcOrientableLinearContour.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActMcXyzabcOrientableLinearContour.html
@@ -206,7 +206,7 @@ This class handles complex tool movements with both position and orientation con
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.HardNcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.HardNcLine.html
index 1723e2c..f4d5432 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.HardNcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.HardNcLine.html
@@ -2294,54 +2294,6 @@ So be care that do not change the NC XYZ if not needed.
-
-
-
- GetProgramXyzabc(HardNcEnv, DVec3d, out bool?, IMessageHost)
-
-
-
-
Gets the program XYZABC coordinates from machine coordinates.
-
-
-
-
-
public DVec3d GetProgramXyzabc(HardNcEnv ncEnv, DVec3d mcXyzabc, out bool? isG68p2Successed, IMessageHost messageHost)
For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied.
-The baseDirectory is typically the folder at the nearest configuration file folder.
-Since the folder can be moving with the configuration file.
-
-
-
-
-
-
-
-
- McAbcToTiltMat(Vec3d)
-
-
-
-
Converts machine ABC coordinates to a tilt matrix.
-the tilt matrix is the transformation matrix from table to attacher.
SQLite-based role store for ASP.NET Core Identity.
+
+
+
+
+
public class SqliteRoleStore<TRole> : IRoleStore<TRole>, IQueryableRoleStore<TRole>, IRoleStore<TRole>, IDisposable where TRole : SqliteIdentityRole, new()
The task object containing the results of the asynchronous operation, a flag indicating whether the email address for the specified user
+has been confirmed or not.
The Task that represents the asynchronous operation, containing a flag indicating whether the specified
+user has two factor authentication enabled or not.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GetUserIdAsync(TUser, CancellationToken)
+
+
+
+
Gets the user identifier for the specified user.
+
+
+
+
+
public Task<string> GetUserIdAsync(TUser user, CancellationToken cancellationToken)
The Apply action should be well-set. Include SetFileDelegate from Gen function.
The last argument should also be delivered by the host. So there must exist an property to pass the argument.
In the program file, setting the HiNC application initialization and finalization.
-
using Hi.Disp;
-using Hi.HiNcKits;
-using Hi.Licenses;
-using Hi.MongoUtils;
+
using Hi.HiNcKits;
using System;
namespace Sample
diff --git a/App/wwwroot/HiAPI-docsite/index.json b/App/wwwroot/HiAPI-docsite/index.json
index 8ee2d56..c057774 100644
--- a/App/wwwroot/HiAPI-docsite/index.json
+++ b/App/wwwroot/HiAPI-docsite/index.json
@@ -957,7 +957,7 @@
"api/Hi.Common.XmlUtils.XFactory.html": {
"href": "api/Hi.Common.XmlUtils.XFactory.html",
"title": "Class XFactory | HiAPI-C# 2025",
- "summary": "Class XFactory Namespace Hi.Common.XmlUtils Assembly HiGeom.dll Factory class for generating objects from XML elements using registered generator functions. public static class XFactory Inheritance object XFactory Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Remarks Generator functions must be added to Regs to enable the factory to create objects from XML. Properties Regs Gets or sets the dictionary mapping XML element names to generator functions with relative file path. public static Dictionary Regs { get; set; } Property Value Dictionary Methods GenByChild(XElement, string, SetFileDelegate, GenMode, params object[]) Generates an object of type T from a child element of the provided XML element. public static T GenByChild(XElement src, string baseDirectory, SetFileDelegate setFileAction, GenMode genMode, params object[] res) where T : class Parameters src XElement The parent XML element containing the child to process baseDirectory string The base directory for resolving paths setFileAction SetFileDelegate Action to execute when setting the file path genMode GenMode The generation mode to use res object[] Additional parameters for generation Returns T The generated object of type T, or null if generation fails Type Parameters T The type of object to generate GenByFile(string, string, GenMode, params object[]) Generates an object of type T from an XML file. public static T GenByFile(string baseDirectory, string relFile, GenMode genMode, params object[] res) where T : class Parameters baseDirectory string The base directory for resolving paths relFile string The relative file path to the XML file genMode GenMode The generation mode to use res object[] Additional parameters for generation Returns T The generated object of type T, or null if generation fails Type Parameters T The type of object to generate GenXmlFileSourceByChild(XElement, string, GenMode, params object[]) Generates an XML source and file object of type T from the first child element of the provided XML element. public static XmlSourceAndFile GenXmlFileSourceByChild(XElement src, string baseDirectory, GenMode genMode, params object[] res) where T : class, IMakeXmlSource Parameters src XElement The parent XML element containing the child to process baseDirectory string The base directory for resolving paths genMode GenMode The generation mode to use res object[] Additional parameters for generation Returns XmlSourceAndFile An XmlSourceAndFile object containing the generated object and its file path Type Parameters T The type of object to generate, must implement IMakeXmlSource GenXmlFileSourceByFile(string, string, GenMode, params object[]) Generates an XML source and file object of type T from an XML file. public static XmlSourceAndFile GenXmlFileSourceByFile(string baseDirectory, string relFile, GenMode genMode, params object[] res) where T : class, IMakeXmlSource Parameters baseDirectory string The base directory for resolving paths relFile string The relative file path to the XML file genMode GenMode The generation mode to use res object[] Additional parameters for generation Returns XmlSourceAndFile An XmlSourceAndFile object containing the generated object and its file path Type Parameters T The type of object to generate, must implement IMakeXmlSource GenXmlSourceAndFile(XElement, string, SetFileDelegate, GenMode, params object[]) Generates an XML source and file object of type T from an XML element. public static XmlSourceAndFile GenXmlSourceAndFile(XElement src, string baseDirectory, SetFileDelegate setFileAction, GenMode genMode, params object[] res) where T : class, IMakeXmlSource Parameters src XElement The source XML element baseDirectory string The base directory for resolving paths setFileAction SetFileDelegate Action to execute when setting the file path genMode GenMode The generation mode to use res object[] Additional parameters for generation Returns XmlSourceAndFile An XmlSourceAndFile object containing the generated object and its file path Type Parameters T The type of object to generate, must implement IMakeXmlSource Gen(XElement, string, SetFileDelegate, GenMode, params object[]) Generates an object of type T from an XML element with specified generation mode. public static T Gen(XElement src, string baseDirectory, SetFileDelegate setFileAction, GenMode mode, params object[] res) where T : class Parameters src XElement The source XML element baseDirectory string The base directory for resolving paths setFileAction SetFileDelegate Action to execute when setting the file path mode GenMode The generation mode to use res object[] Additional parameters for generation Returns T The generated object of type T, or null if generation fails Type Parameters T The type of object to generate"
+ "summary": "Class XFactory Namespace Hi.Common.XmlUtils Assembly HiGeom.dll Factory class for generating objects from XML elements using registered generator functions. public static class XFactory Inheritance object XFactory Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Remarks Generator functions must be added to Regs to enable the factory to create objects from XML. Properties Regs Gets or sets the dictionary mapping XML element names to generator functions with relative file path. public static Dictionary Regs { get; set; } Property Value Dictionary Methods GenByChild(XElement, string, GenMode, params object[]) Generates an object of type T from a child element of the provided XML element. This overload discards the relative file path output. public static T GenByChild(XElement src, string baseDirectory, GenMode genMode, params object[] res) where T : class Parameters src XElement The parent XML element containing the child to process baseDirectory string The base directory for resolving paths genMode GenMode The generation mode to use res object[] Additional parameters for generation Returns T The generated object of type T, or null if generation fails Type Parameters T The type of object to generate GenByChild(XElement, string, out string, GenMode, params object[]) Generates an object of type T from a child element of the provided XML element. public static T GenByChild(XElement src, string baseDirectory, out string relFile, GenMode genMode, params object[] res) where T : class Parameters src XElement The parent XML element containing the child to process baseDirectory string The base directory for resolving paths relFile string Output parameter that receives the relative file path if src is a file reference, or null otherwise genMode GenMode The generation mode to use res object[] Additional parameters for generation Returns T The generated object of type T, or null if generation fails Type Parameters T The type of object to generate GenByFile(string, string, GenMode, params object[]) Generates an object of type T from an XML file. public static T GenByFile(string baseDirectory, string relFile, GenMode genMode, params object[] res) where T : class Parameters baseDirectory string The base directory for resolving paths relFile string The relative file path to the XML file genMode GenMode The generation mode to use res object[] Additional parameters for generation Returns T The generated object of type T, or null if generation fails Type Parameters T The type of object to generate GenXmlFileSourceByChild(XElement, string, GenMode, params object[]) Generates an XML source and file object of type T from the first child element of the provided XML element. public static XmlSourceAndFile GenXmlFileSourceByChild(XElement src, string baseDirectory, GenMode genMode, params object[] res) where T : class, IMakeXmlSource Parameters src XElement The parent XML element containing the child to process baseDirectory string The base directory for resolving paths genMode GenMode The generation mode to use res object[] Additional parameters for generation Returns XmlSourceAndFile An XmlSourceAndFile object containing the generated object and its file path Type Parameters T The type of object to generate, must implement IMakeXmlSource GenXmlFileSourceByFile(string, string, GenMode, params object[]) Generates an XML source and file object of type T from an XML file. public static XmlSourceAndFile GenXmlFileSourceByFile(string baseDirectory, string relFile, GenMode genMode, params object[] res) where T : class, IMakeXmlSource Parameters baseDirectory string The base directory for resolving paths relFile string The relative file path to the XML file genMode GenMode The generation mode to use res object[] Additional parameters for generation Returns XmlSourceAndFile An XmlSourceAndFile object containing the generated object and its file path Type Parameters T The type of object to generate, must implement IMakeXmlSource GenXmlSourceAndFile(XElement, string, GenMode, params object[]) Generates an XML source and file object of type T from an XML element. public static XmlSourceAndFile GenXmlSourceAndFile(XElement src, string baseDirectory, GenMode genMode, params object[] res) where T : class, IMakeXmlSource Parameters src XElement The source XML element baseDirectory string The base directory for resolving paths genMode GenMode The generation mode to use res object[] Additional parameters for generation Returns XmlSourceAndFile An XmlSourceAndFile object containing the generated object and its file path Type Parameters T The type of object to generate, must implement IMakeXmlSource Gen(XElement, string, GenMode, params object[]) Generates an object of type T from an XML element with specified generation mode. This overload discards the relative file path output. public static T Gen(XElement src, string baseDirectory, GenMode mode, params object[] res) where T : class Parameters src XElement The source XML element baseDirectory string The base directory for resolving paths mode GenMode The generation mode to use res object[] Additional parameters for generation Returns T The generated object of type T, or null if generation fails Type Parameters T The type of object to generate Gen(XElement, string, out string, GenMode, params object[]) Generates an object of type T from an XML element with specified generation mode. public static T Gen(XElement src, string baseDirectory, out string relFile, GenMode mode, params object[] res) where T : class Parameters src XElement The source XML element baseDirectory string The base directory for resolving paths relFile string Output parameter that receives the relative file path if src is a file reference, or null otherwise mode GenMode The generation mode to use res object[] Additional parameters for generation Returns T The generated object of type T, or null if generation fails Type Parameters T The type of object to generate"
},
"api/Hi.Common.XmlUtils.XmlSourceAndFile-1.html": {
"href": "api/Hi.Common.XmlUtils.XmlSourceAndFile-1.html",
@@ -1507,7 +1507,7 @@
"api/Hi.Geom.Solvers.SolverUtil.html": {
"href": "api/Hi.Geom.Solvers.SolverUtil.html",
"title": "Class SolverUtil | HiAPI-C# 2025",
- "summary": "Class SolverUtil Namespace Hi.Geom.Solvers Assembly HiGeom.dll Utility class providing advanced numerical solving methods for systems of equations. public static class SolverUtil Inheritance object SolverUtil Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Properties LinearSlowIterationFunc Gets a linear function for slow iteration convergence. public static Func LinearSlowIterationFunc { get; } Property Value Func LogSlowIterationFunc Gets a logarithmic function for slow iteration convergence. public static Func LogSlowIterationFunc { get; } Property Value Func Methods DeepSolveArray(Func, int, double[], double[], double, Func, int, int, int) Performs deep solving of a function with multiple parameters. public static IEnumerable DeepSolveArray(Func func, int outputNum, double[] para, double[] dpara, double convergenceLimit, Func slowIterationFunc = null, int maxDirectIteration = 6, int maxSlowIteration = 6, int maxTotalIteration = 1200) Parameters func Func The function to solve. outputNum int The number of output values. para double[] The initial parameter values. dpara double[] The parameter delta values. convergenceLimit double The convergence limit. slowIterationFunc Func The function for slow iteration. maxDirectIteration int The maximum number of direct iterations. maxSlowIteration int The maximum number of slow iterations. maxTotalIteration int The maximum total number of iterations. Returns IEnumerable An enumerable of deep solving status objects. GetApproxInv(double[,], double) Calculates an approximate inverse of a matrix using SVD decomposition. public static double[,] GetApproxInv(double[,] mat, double availableAccumulatedWeightRatio = 0.99999999) Parameters mat double[,] The input matrix. availableAccumulatedWeightRatio double The ratio of accumulated weights to consider. Returns double[,] The approximate inverse matrix. GetApproxInvAndOrthogonalPaces(double[,], out List<(double eigenValue, double[] v)>) Calculates an approximate inverse of a matrix and returns orthogonal paces using SVD decomposition. public static double[,] GetApproxInvAndOrthogonalPaces(double[,] mat, out List<(double eigenValue, double[] v)> orthogonalPaces) Parameters mat double[,] The input matrix. orthogonalPaces List<(double eigenValue, double[] v)> The output list of orthogonal paces with eigenvalues and eigenvectors. Returns double[,] The approximate inverse matrix. GetBiases(Func, double[], double[]) Calculates the bias values between function outputs and target values. public static double[] GetBiases(Func func, double[] paras, double[] targets) Parameters func Func The function to evaluate. paras double[] The parameter values. targets double[] The target values. Returns double[] The bias values. GetJacobMat(Func, double[], double[], int) Calculates the Jacobian matrix for a function. public static double[,] GetJacobMat(Func func, double[] paras, double[] dparas, int targetNum) Parameters func Func The function to evaluate. paras double[] The parameter values. dparas double[] The parameter delta values. targetNum int The number of target values. Returns double[,] The Jacobian matrix. GetParasCompensation(Func, double[], double[], double[], out double[,]) Gets parameter compensation values based on the function, current parameters, parameter deltas, and target values. public static double[] GetParasCompensation(Func func, double[] paras, double[] dparas, double[] targets, out double[,] jacob) Parameters func Func The function to evaluate. paras double[] The current parameter values. dparas double[] The parameter delta values. targets double[] The target values. jacob double[,] The output Jacobian matrix. Returns double[] The parameter compensation values. GetParasCompensation(Func, double[], double[], double[], double[], out double[,]) Gets parameter compensation values based on the function, current parameters, parameter deltas, target values, and biases. public static double[] GetParasCompensation(Func func, double[] paras, double[] dparas, double[] targets, double[] biases, out double[,] jacob) Parameters func Func The function to evaluate. paras double[] The current parameter values. dparas double[] The parameter delta values. targets double[] The target values. biases double[] The bias values. jacob double[,] The output Jacobian matrix. Returns double[] The parameter compensation values. GetParasCompensations(Func, double[], double[], int, double[], out double[,]) Gets multiple parameter compensation values for a function. public static List GetParasCompensations(Func func, double[] paras, double[] dparas, int outputNum, double[] biases, out double[,] jacob) Parameters func Func The function to evaluate. paras double[] The parameter values. dparas double[] The parameter delta values. outputNum int The number of output values. biases double[] The bias values. jacob double[,] The output Jacobian matrix. Returns List A list of parameter compensation values. Solve(Func, double, double, double, double, int) Solves a one-dimensional function for a target value. public static IEnumerable Solve(Func func, double para, double dpara, double target, double convergenceLimit, int maxIteration = 12) Parameters func Func The function to solve para double Initial parameter value dpara double Parameter step size for calculating derivatives target double Target value to solve for convergenceLimit double Convergence limit (acceptable error) maxIteration int Maximum number of iterations Returns IEnumerable A sequence of solving result objects showing the progress of the solution SolveArray(Func, double[], double[], double[], Func, double, int) Solves a multi-dimensional function for specified target values with a custom convergence function. public static IEnumerable SolveArray(Func func, double[] paras, double[] dparas, double[] targets, Func convergenceFunc, double convergenceLimit, int maxIteration = 12) Parameters func Func The function to solve paras double[] Initial parameter values dparas double[] Parameter step sizes for calculating derivatives targets double[] Target values to solve for convergenceFunc Func Function to calculate convergence from biases convergenceLimit double Convergence limit (acceptable error) maxIteration int Maximum number of iterations Returns IEnumerable A sequence of solving result objects showing the progress of the solution SolveArray(Func, double[], double[], int, double, int) Solves a multi-dimensional function with default convergence function. public static IEnumerable SolveArray(Func func, double[] paras, double[] dparas, int funcDstNum, double convergenceLimit, int maxIteration = 12) Parameters func Func The function to solve paras double[] Initial parameter values dparas double[] Parameter step sizes for calculating derivatives funcDstNum int Number of output values from the function convergenceLimit double Convergence limit (acceptable error) maxIteration int Maximum number of iterations Returns IEnumerable A sequence of solving result objects showing the progress of the solution SolveArray(Func, double[], double[], int, Func, double, int) Solves a multi-dimensional function with a specified convergence function. public static IEnumerable SolveArray(Func func, double[] paras, double[] dparas, int funcDstNum, Func convergenceFunc, double convergenceLimit, int maxIteration = 12) Parameters func Func The function to solve paras double[] Initial parameter values dparas double[] Parameter step sizes for calculating derivatives funcDstNum int Number of output values from the function convergenceFunc Func Function to calculate convergence from biases convergenceLimit double Convergence limit (acceptable error) maxIteration int Maximum number of iterations Returns IEnumerable A sequence of solving result objects showing the progress of the solution Test() Internal Use Only public static void Test() Test2() Internal Use Only public static void Test2()"
+ "summary": "Class SolverUtil Namespace Hi.Geom.Solvers Assembly HiGeom.dll Utility class providing advanced numerical solving methods for systems of equations. public static class SolverUtil Inheritance object SolverUtil Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Properties LinearSlowIterationFunc Gets a linear function for slow iteration convergence. public static Func LinearSlowIterationFunc { get; } Property Value Func LogSlowIterationFunc Gets a logarithmic function for slow iteration convergence. public static Func LogSlowIterationFunc { get; } Property Value Func Methods DeepSolveArray(Func, int, double[], double[], double, Func, int, int, int) Performs deep solving of a function with multiple parameters. public static IEnumerable DeepSolveArray(Func func, int outputNum, double[] para, double[] dpara, double convergenceLimit, Func slowIterationFunc = null, int maxDirectIteration = 6, int maxSlowIteration = 6, int maxTotalIteration = 1200) Parameters func Func The function to solve. outputNum int The number of output values. para double[] The initial parameter values. dpara double[] The parameter delta values. convergenceLimit double The convergence limit. slowIterationFunc Func The function for slow iteration. maxDirectIteration int The maximum number of direct iterations. maxSlowIteration int The maximum number of slow iterations. maxTotalIteration int The maximum total number of iterations. Returns IEnumerable An enumerable of deep solving status objects. GetApproxInv(double[,], double) Calculates an approximate inverse of a matrix using SVD decomposition. public static double[,] GetApproxInv(double[,] mat, double availableAccumulatedWeightRatio = 0.99999999) Parameters mat double[,] The input matrix. availableAccumulatedWeightRatio double The ratio of accumulated weights to consider. Returns double[,] The approximate inverse matrix. GetApproxInvAndOrthogonalPaces(double[,], out List<(double eigenValue, double[] v)>) Calculates an approximate inverse of a matrix and returns orthogonal paces using SVD decomposition. public static double[,] GetApproxInvAndOrthogonalPaces(double[,] mat, out List<(double eigenValue, double[] v)> orthogonalPaces) Parameters mat double[,] The input matrix. orthogonalPaces List<(double eigenValue, double[] v)> The output list of orthogonal paces with eigenvalues and eigenvectors. Returns double[,] The approximate inverse matrix. GetBiases(Func, double[], double[]) Calculates the bias values between function outputs and target values. public static double[] GetBiases(Func func, double[] paras, double[] targets) Parameters func Func The function to evaluate. paras double[] The parameter values. targets double[] The target values. Returns double[] The bias values. GetCosSinTermRotationMat4d(Vec3d, double, double) public static Mat4d GetCosSinTermRotationMat4d(Vec3d axis, double cos, double sin) Parameters axis Vec3d cos double sin double Returns Mat4d GetCosSinTermRotationMat4d(Vec3d, double, double, Vec3d) public static Mat4d GetCosSinTermRotationMat4d(Vec3d axis, double cos, double sin, Vec3d pivot) Parameters axis Vec3d cos double sin double pivot Vec3d Returns Mat4d GetJacobMat(Func, double[], double[], int) Calculates the Jacobian matrix for a function. public static double[,] GetJacobMat(Func func, double[] paras, double[] dparas, int targetNum) Parameters func Func The function to evaluate. paras double[] The parameter values. dparas double[] The parameter delta values. targetNum int The number of target values. Returns double[,] The Jacobian matrix. GetParasCompensation(Func, double[], double[], double[], out double[,]) Gets parameter compensation values based on the function, current parameters, parameter deltas, and target values. public static double[] GetParasCompensation(Func func, double[] paras, double[] dparas, double[] targets, out double[,] jacob) Parameters func Func The function to evaluate. paras double[] The current parameter values. dparas double[] The parameter delta values. targets double[] The target values. jacob double[,] The output Jacobian matrix. Returns double[] The parameter compensation values. GetParasCompensation(Func, double[], double[], double[], double[], out double[,]) Gets parameter compensation values based on the function, current parameters, parameter deltas, target values, and biases. public static double[] GetParasCompensation(Func func, double[] paras, double[] dparas, double[] targets, double[] biases, out double[,] jacob) Parameters func Func The function to evaluate. paras double[] The current parameter values. dparas double[] The parameter delta values. targets double[] The target values. biases double[] The bias values. jacob double[,] The output Jacobian matrix. Returns double[] The parameter compensation values. GetParasCompensations(Func, double[], double[], int, double[], out double[,]) Gets multiple parameter compensation values for a function. public static List GetParasCompensations(Func func, double[] paras, double[] dparas, int outputNum, double[] biases, out double[,] jacob) Parameters func Func The function to evaluate. paras double[] The parameter values. dparas double[] The parameter delta values. outputNum int The number of output values. biases double[] The bias values. jacob double[,] The output Jacobian matrix. Returns List A list of parameter compensation values. Solve(Func, double, double, double, double, int) Solves a one-dimensional function for a target value. public static IEnumerable Solve(Func func, double para, double dpara, double target, double convergenceLimit, int maxIteration = 12) Parameters func Func The function to solve para double Initial parameter value dpara double Parameter step size for calculating derivatives target double Target value to solve for convergenceLimit double Convergence limit (acceptable error) maxIteration int Maximum number of iterations Returns IEnumerable A sequence of solving result objects showing the progress of the solution SolveArray(Func, double[], double[], double[], Func, double, int) Solves a multi-dimensional function for specified target values with a custom convergence function. public static IEnumerable SolveArray(Func func, double[] paras, double[] dparas, double[] targets, Func convergenceFunc, double convergenceLimit, int maxIteration = 12) Parameters func Func The function to solve paras double[] Initial parameter values dparas double[] Parameter step sizes for calculating derivatives targets double[] Target values to solve for convergenceFunc Func Function to calculate convergence from biases convergenceLimit double Convergence limit (acceptable error) maxIteration int Maximum number of iterations Returns IEnumerable A sequence of solving result objects showing the progress of the solution SolveArray(Func, double[], double[], int, double, int) Solves a multi-dimensional function with default convergence function. public static IEnumerable SolveArray(Func func, double[] paras, double[] dparas, int funcDstNum, double convergenceLimit, int maxIteration = 12) Parameters func Func The function to solve paras double[] Initial parameter values dparas double[] Parameter step sizes for calculating derivatives funcDstNum int Number of output values from the function convergenceLimit double Convergence limit (acceptable error) maxIteration int Maximum number of iterations Returns IEnumerable A sequence of solving result objects showing the progress of the solution SolveArray(Func, double[], double[], int, Func, double, int) Solves a multi-dimensional function with a specified convergence function. public static IEnumerable SolveArray(Func func, double[] paras, double[] dparas, int funcDstNum, Func convergenceFunc, double convergenceLimit, int maxIteration = 12) Parameters func Func The function to solve paras double[] Initial parameter values dparas double[] Parameter step sizes for calculating derivatives funcDstNum int Number of output values from the function convergenceFunc Func Function to calculate convergence from biases convergenceLimit double Convergence limit (acceptable error) maxIteration int Maximum number of iterations Returns IEnumerable A sequence of solving result objects showing the progress of the solution Test() Internal Use Only public static void Test() Test2() Internal Use Only public static void Test2()"
},
"api/Hi.Geom.Solvers.SolvingResult.html": {
"href": "api/Hi.Geom.Solvers.SolvingResult.html",
@@ -1687,17 +1687,17 @@
"api/Hi.HiNcKits.HiNcHost.html": {
"href": "api/Hi.HiNcKits.HiNcHost.html",
"title": "Class HiNcHost | HiAPI-C# 2025",
- "summary": "Class HiNcHost Namespace Hi.HiNcKits Assembly HiNc.dll Rich HiNC Service. Host class for HiNC functionality that provides project management, path resolution, and MongoDB integration. public class HiNcHost : IDisposable Inheritance object HiNcHost Implements IDisposable Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Extension Methods DuplicateUtil.TryDuplicate(TSelf, params object[]) InvokeUtil.SelfInvoke(TSrc, Action) InvokeUtil.SelfInvoke(TSrc, Func) ColorUtil.GetGloomyColor(object, double, double) NameUtil.GetSelectionName(object) StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool) LockUtil.Lock(object) Constructors HiNcHost(ProxyProjectService) Initializes a new instance of the HiNcHost class with a proxy project service. public HiNcHost(ProxyProjectService proxyProjectService) Parameters proxyProjectService ProxyProjectService The proxy project service to use. HiNcHost(string, int, string) public HiNcHost(string adminDirectory, int mongodbPort, string displayEngineFontFile) Parameters adminDirectory string mongodbPort int displayEngineFontFile string The default value will be alternative if the value is null. Fields HiNcUserDbMetaName Gets the name of the HiNC user database metadata. public const string HiNcUserDbMetaName = \"UserDbMeta\" Field Value string HiNcUserDbName Gets the name of the HiNC user database. public const string HiNcUserDbName = \"HiNcUserDb\" Field Value string Properties AdminDirectory Admin absolute directory. public string AdminDirectory { get; set; } Property Value string AdminExtendedNamedPath Gets the admin extended named path. public ExtendedNamedPath AdminExtendedNamedPath { get; } Property Value ExtendedNamedPath AdminNamedPath Gets the admin named path. public NamedPath AdminNamedPath { get; } Property Value NamedPath CacheDbId Gets the cache database ID. public static string CacheDbId { get; set; } Property Value string LocalProjectService Gets the local project service from the proxy project service. public LocalProjectService LocalProjectService { get; } Property Value LocalProjectService MachiningProject Gets the machining project from the local project service. public MachiningProject MachiningProject { get; } Property Value MachiningProject MongoServer Gets the main MongoDB runner. public IMongoRunner MongoServer { get; } Property Value IMongoRunner ProjectDirectory Project Absolute Directory. public string ProjectDirectory { get; } Property Value string ProjectExtendedNamedPath Gets the project extended named path. public ExtendedNamedPath ProjectExtendedNamedPath { get; } Property Value ExtendedNamedPath ProjectNamedPath Gets the project named path. public NamedPath ProjectNamedPath { get; } Property Value NamedPath ProjectRelativeDirectory Gets the relative project directory path. public string ProjectRelativeDirectory { get; } Property Value string RelativeProjectPath Gets the relative project path from the proxy project service. public string RelativeProjectPath { get; } Property Value string ResourceDir Resource absolute directory. public string ResourceDir { get; } Property Value string ResourceExtendedNamedPath Gets the resource extended named path. public ExtendedNamedPath ResourceExtendedNamedPath { get; } Property Value ExtendedNamedPath ResourceNamedPath Gets the resource named path. public NamedPath ResourceNamedPath { get; } Property Value NamedPath ResourceRelDir Relative directory from AdminDirectory for resource. public string ResourceRelDir { get; set; } Property Value string Methods CloseProject() Closes the current project. public Task CloseProject() Returns Task A task representing the asynchronous operation CopyResourceIfNotExisted() Copies resources if they don't already exist in the target location. public void CopyResourceIfNotExisted() Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. public void Dispose() Dispose(bool) protected virtual void Dispose(bool disposing) Parameters disposing bool GetExtendedNamedPathByNamePath(string) Gets an extended named path by its name path. public ExtendedNamedPath GetExtendedNamedPathByNamePath(string namePath) Parameters namePath string The name path to look up. Returns ExtendedNamedPath The extended named path for the specified name path, or null if not found. GetExtendedNamedPathByPath(string) Gets an extended named path by its path. public ExtendedNamedPath GetExtendedNamedPathByPath(string path) Parameters path string The path to look up. Returns ExtendedNamedPath The extended named path with the specified path, or null if not found. GetExtendedNamedPathByUriPara(string) GetExtendedNamedPath By blazor page parameter. public ExtendedNamedPath GetExtendedNamedPathByUriPara(string uriPara) Parameters uriPara string Returns ExtendedNamedPath GetExtendedNamedPathList(params BasePathEnum[]) Gets a list of extended named paths for the specified base path types. public List GetExtendedNamedPathList(params BasePathEnum[] basePathEnums) Parameters basePathEnums BasePathEnum[] The base path types to include. Returns List A list of extended named paths. GetNamedPathByName(string) Gets a named path by its name. public NamedPath GetNamedPathByName(string name) Parameters name string The name of the path to retrieve Returns NamedPath The named path with the specified name, or null if not found GetNamedPathByPath(string) Gets a named path by its path. public NamedPath GetNamedPathByPath(string path) Parameters path string The path to look up. Returns NamedPath The named path with the specified path, or null if not found. GetNamedPathList(params BasePathEnum[]) Gets a list of named paths for the specified base path types. public List GetNamedPathList(params BasePathEnum[] basePathEnums) Parameters basePathEnums BasePathEnum[] The base path types to include. Returns List A list of named paths. LoadProjectByRelativePath(string) Loads a project from the specified relative file path. public void LoadProjectByRelativePath(string relativeFilePathFromAdminRoot) Parameters relativeFilePathFromAdminRoot string The relative file path from the admin directory root NewProjectByRelFile(string) Creates a new project from a relative file path. public void NewProjectByRelFile(string relFilePath) Parameters relFilePath string The relative file path from the admin directory ReloadProject() Reloads the current project. public void ReloadProject() SaveAsProject(string) Saves the current project to a specified relative file path. public void SaveAsProject(string relativeFilePath) Parameters relativeFilePath string The relative file path from the admin directory root SaveProject() Save project in the current path. public void SaveProject() ShowMessageBoard(string, string, BootstrapTheme) Shows a message board with specified title, message and theme. public void ShowMessageBoard(string title, string message, BootstrapTheme bootstrapThemeColor) Parameters title string The title of the message board message string The message to display bootstrapThemeColor BootstrapTheme The bootstrap theme color for the message board Events OnShownMessageBoard Event raised when a message board is shown. public event ShowMessageBoardDelegate OnShownMessageBoard Event Type ShowMessageBoardDelegate"
+ "summary": "Class HiNcHost Namespace Hi.HiNcKits Assembly HiNc.dll Rich HiNC Service. Host class for HiNC functionality that provides project management, path resolution, and MongoDB integration. public class HiNcHost : IDisposable Inheritance object HiNcHost Implements IDisposable Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Extension Methods DuplicateUtil.TryDuplicate(TSelf, params object[]) InvokeUtil.SelfInvoke(TSrc, Action) InvokeUtil.SelfInvoke(TSrc, Func) ColorUtil.GetGloomyColor(object, double, double) NameUtil.GetSelectionName(object) StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool) LockUtil.Lock(object) Constructors HiNcHost(ProxyProjectService) Initializes a new instance of the HiNcHost class with a proxy project service. public HiNcHost(ProxyProjectService proxyProjectService) Parameters proxyProjectService ProxyProjectService The proxy project service to use. HiNcHost(string, int, string) Initializes a new instance of the HiNcHost class. public HiNcHost(string adminDirectory, int mongodbPort, string displayEngineFontFile) Parameters adminDirectory string The admin directory path. mongodbPort int The MongoDB port number (kept for backward compatibility). displayEngineFontFile string The default value will be alternative if the value is null. Fields HiNcUserDbMetaName Gets the name of the HiNC user database metadata. public const string HiNcUserDbMetaName = \"UserDbMeta\" Field Value string HiNcUserDbName Gets the name of the HiNC user database. public const string HiNcUserDbName = \"HiNcUserDb\" Field Value string Properties AdminDirectory Admin absolute directory. public string AdminDirectory { get; set; } Property Value string AdminExtendedNamedPath Gets the admin extended named path. public ExtendedNamedPath AdminExtendedNamedPath { get; } Property Value ExtendedNamedPath AdminNamedPath Gets the admin named path. public NamedPath AdminNamedPath { get; } Property Value NamedPath CacheDbId Gets the cache database ID. public static string CacheDbId { get; set; } Property Value string IdentityStorage Gets the SQLite identity storage instance (for user authentication). public SqliteIdentityStorage IdentityStorage { get; } Property Value SqliteIdentityStorage LocalProjectService Gets the local project service from the proxy project service. public LocalProjectService LocalProjectService { get; } Property Value LocalProjectService MachiningProject Gets the machining project from the local project service. public MachiningProject MachiningProject { get; } Property Value MachiningProject ProjectDirectory Project Absolute Directory. public string ProjectDirectory { get; } Property Value string ProjectExtendedNamedPath Gets the project extended named path. public ExtendedNamedPath ProjectExtendedNamedPath { get; } Property Value ExtendedNamedPath ProjectNamedPath Gets the project named path. public NamedPath ProjectNamedPath { get; } Property Value NamedPath ProjectRelativeDirectory Gets the relative project directory path. public string ProjectRelativeDirectory { get; } Property Value string RelativeProjectPath Gets the relative project path from the proxy project service. public string RelativeProjectPath { get; } Property Value string ResourceDir Resource absolute directory. public string ResourceDir { get; } Property Value string ResourceExtendedNamedPath Gets the resource extended named path. public ExtendedNamedPath ResourceExtendedNamedPath { get; } Property Value ExtendedNamedPath ResourceNamedPath Gets the resource named path. public NamedPath ResourceNamedPath { get; } Property Value NamedPath ResourceRelDir Relative directory from AdminDirectory for resource. public string ResourceRelDir { get; set; } Property Value string StepStorage Gets the SQLite step storage instance (for milling step data). public SqliteStepStorage StepStorage { get; } Property Value SqliteStepStorage Methods CloseProject() Closes the current project. public Task CloseProject() Returns Task A task representing the asynchronous operation CopyResourceIfNotExisted() Copies resources if they don't already exist in the target location. public void CopyResourceIfNotExisted() Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. public void Dispose() Dispose(bool) protected virtual void Dispose(bool disposing) Parameters disposing bool GetExtendedNamedPathByNamePath(string) Gets an extended named path by its name path. public ExtendedNamedPath GetExtendedNamedPathByNamePath(string namePath) Parameters namePath string The name path to look up. Returns ExtendedNamedPath The extended named path for the specified name path, or null if not found. GetExtendedNamedPathByPath(string) Gets an extended named path by its path. public ExtendedNamedPath GetExtendedNamedPathByPath(string path) Parameters path string The path to look up. Returns ExtendedNamedPath The extended named path with the specified path, or null if not found. GetExtendedNamedPathByUriPara(string) GetExtendedNamedPath By blazor page parameter. public ExtendedNamedPath GetExtendedNamedPathByUriPara(string uriPara) Parameters uriPara string Returns ExtendedNamedPath GetExtendedNamedPathList(params BasePathEnum[]) Gets a list of extended named paths for the specified base path types. public List GetExtendedNamedPathList(params BasePathEnum[] basePathEnums) Parameters basePathEnums BasePathEnum[] The base path types to include. Returns List A list of extended named paths. GetNamedPathByName(string) Gets a named path by its name. public NamedPath GetNamedPathByName(string name) Parameters name string The name of the path to retrieve Returns NamedPath The named path with the specified name, or null if not found GetNamedPathByPath(string) Gets a named path by its path. public NamedPath GetNamedPathByPath(string path) Parameters path string The path to look up. Returns NamedPath The named path with the specified path, or null if not found. GetNamedPathList(params BasePathEnum[]) Gets a list of named paths for the specified base path types. public List GetNamedPathList(params BasePathEnum[] basePathEnums) Parameters basePathEnums BasePathEnum[] The base path types to include. Returns List A list of named paths. LoadProjectByRelativePath(string) Loads a project from the specified relative file path. public void LoadProjectByRelativePath(string relativeFilePathFromAdminRoot) Parameters relativeFilePathFromAdminRoot string The relative file path from the admin directory root NewProjectByRelFile(string) Creates a new project from a relative file path. public void NewProjectByRelFile(string relFilePath) Parameters relFilePath string The relative file path from the admin directory ReloadProject() Reloads the current project. public void ReloadProject() SaveAsProject(string) Saves the current project to a specified relative file path. public void SaveAsProject(string relativeFilePath) Parameters relativeFilePath string The relative file path from the admin directory root SaveProject() Save project in the current path. public void SaveProject() ShowMessageBoard(string, string, BootstrapTheme) Shows a message board with specified title, message and theme. public void ShowMessageBoard(string title, string message, BootstrapTheme bootstrapThemeColor) Parameters title string The title of the message board message string The message to display bootstrapThemeColor BootstrapTheme The bootstrap theme color for the message board Events OnShownMessageBoard Event raised when a message board is shown. public event ShowMessageBoardDelegate OnShownMessageBoard Event Type ShowMessageBoardDelegate"
},
"api/Hi.HiNcKits.LocalApp.html": {
"href": "api/Hi.HiNcKits.LocalApp.html",
"title": "Class LocalApp | HiAPI-C# 2025",
- "summary": "Class LocalApp Namespace Hi.HiNcKits Assembly HiNc.dll Local application initialization and cleanup utilities. public static class LocalApp Inheritance object LocalApp Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Fields DefaultLocalAppConfigPath Path to the configuration file. public const string DefaultLocalAppConfigPath = \"hinc-host-config.xml\" Field Value string Properties LocalAppConfig Gets or sets the host configuration. public static LocalAppConfig LocalAppConfig { get; set; } Property Value LocalAppConfig Methods AppBegin(LocalAppConfig) Initializes the application with the specified configuration. public static void AppBegin(LocalAppConfig localAppConfig) Parameters localAppConfig LocalAppConfig The local application configuration. AppBegin(int, string) Initializes the application with the specified database port and cache path. public static void AppBegin(int dbPort, string cacheDbPath) Parameters dbPort int The MongoDB port number. cacheDbPath string The path to the cache database. AppBegin(string) Initializes the application with configuration from a file. public static void AppBegin(string hostConfigPath = null) Parameters hostConfigPath string Path to the host configuration file. Uses default path if null. AppEnd() Cleans up the application by stopping services and logging out licenses. public static void AppEnd()"
+ "summary": "Class LocalApp Namespace Hi.HiNcKits Assembly HiNc.dll Local application initialization and cleanup utilities. public static class LocalApp Inheritance object LocalApp Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Fields DefaultLocalAppConfigPath Path to the configuration file. public const string DefaultLocalAppConfigPath = \"hinc-host-config.xml\" Field Value string Properties LocalAppConfig Gets or sets the host configuration. public static LocalAppConfig LocalAppConfig { get; set; } Property Value LocalAppConfig Methods AppBegin(LocalAppConfig) Initializes the application with the specified configuration. public static void AppBegin(LocalAppConfig localAppConfig) Parameters localAppConfig LocalAppConfig The local application configuration. AppBegin(string) Initializes the application with the specified cache database path. public static void AppBegin(string cacheDbPath = null) Parameters cacheDbPath string The path to the SQLite cache database. If null, uses default path. AppBeginWithConfigFile(string) Initializes the application with configuration from a file. public static void AppBeginWithConfigFile(string hostConfigPath = null) Parameters hostConfigPath string Path to the host configuration file. Uses default path if null. AppEnd() Cleans up the application by stopping services and logging out licenses. public static void AppEnd()"
},
"api/Hi.HiNcKits.LocalAppConfig.html": {
"href": "api/Hi.HiNcKits.LocalAppConfig.html",
"title": "Class LocalAppConfig | HiAPI-C# 2025",
- "summary": "Class LocalAppConfig Namespace Hi.HiNcKits Assembly HiNc.dll Configuration for host-related settings. public class LocalAppConfig Inheritance object LocalAppConfig Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Extension Methods DuplicateUtil.TryDuplicate(TSelf, params object[]) InvokeUtil.SelfInvoke(TSrc, Action) InvokeUtil.SelfInvoke(TSrc, Func) ColorUtil.GetGloomyColor(object, double, double) NameUtil.GetSelectionName(object) StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool) LockUtil.Lock(object) Constructors LocalAppConfig() Initializes a new instance. public LocalAppConfig() LocalAppConfig(XElement, string) Initializes a new instance of the LocalAppConfig class from XML data. public LocalAppConfig(XElement src, string baseDirectory) Parameters src XElement XML element containing configuration data baseDirectory string Base directory for resolving relative paths Properties CacheDbPath Gets or sets the cache database path. public string CacheDbPath { get; set; } Property Value string MongoPort Gets or sets the MongoDB port number. public int MongoPort { get; set; } Property Value int XName Name for XML IO. public static string XName { get; } Property Value string Methods MakeXmlSource(string, string) public XElement MakeXmlSource(string baseDirectory, string relFile) Parameters baseDirectory string relFile string Returns XElement"
+ "summary": "Class LocalAppConfig Namespace Hi.HiNcKits Assembly HiNc.dll Configuration for host-related settings. public class LocalAppConfig Inheritance object LocalAppConfig Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Extension Methods DuplicateUtil.TryDuplicate(TSelf, params object[]) InvokeUtil.SelfInvoke(TSrc, Action) InvokeUtil.SelfInvoke(TSrc, Func) ColorUtil.GetGloomyColor(object, double, double) NameUtil.GetSelectionName(object) StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool) LockUtil.Lock(object) Constructors LocalAppConfig() Initializes a new instance. public LocalAppConfig() LocalAppConfig(XElement, string) Initializes a new instance of the LocalAppConfig class from XML data. public LocalAppConfig(XElement src, string baseDirectory) Parameters src XElement XML element containing configuration data baseDirectory string Base directory for resolving relative paths Properties CacheDbPath Gets or sets the cache database path (SQLite database). public string CacheDbPath { get; set; } Property Value string XName Name for XML IO. public static string XName { get; } Property Value string Methods MakeXmlSource(string, string) public XElement MakeXmlSource(string baseDirectory, string relFile) Parameters baseDirectory string relFile string Returns XElement"
},
"api/Hi.HiNcKits.ProxyConfig.html": {
"href": "api/Hi.HiNcKits.ProxyConfig.html",
@@ -1849,11 +1849,6 @@
"title": "Class MatRelationUtil | HiAPI-C# 2025",
"summary": "Class MatRelationUtil Namespace Hi.Machining Assembly HiMech.dll Utility methods for determining relationships between matrices. public static class MatRelationUtil Inheritance object MatRelationUtil Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Methods GetMatRelation(SeqPair) Gets the relationship between two matrices in a sequence pair. public static MatRelation GetMatRelation(SeqPair seq) Parameters seq SeqPair The sequence pair containing two matrices. Returns MatRelation The relationship between the matrices. GetMatRelation(Mat4d, Mat4d) Gets the relationship between two matrices. public static MatRelation GetMatRelation(Mat4d m0, Mat4d m1) Parameters m0 Mat4d The first matrix. m1 Mat4d The second matrix. Returns MatRelation The relationship between the matrices."
},
- "api/Hi.Machining.MotionUtil.html": {
- "href": "api/Hi.Machining.MotionUtil.html",
- "title": "Class MotionUtil | HiAPI-C# 2025",
- "summary": "Class MotionUtil Namespace Hi.Machining Assembly HiMech.dll Cutter location utility. public static class MotionUtil Inheritance object MotionUtil Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Methods GetLinearRatio(Vec3d, Vec3d, Vec3d) Get linear ratio, which is cos(theta) square. Theta is the clamping angle between (v1-v0) and (v2-v1). public static double GetLinearRatio(Vec3d v0, Vec3d v1, Vec3d v2) Parameters v0 Vec3d v1 Vec3d v2 Vec3d Returns double InterpolateClMat(Mat4d, DVec3d) Interpolates the cutter location mat by cutter location and orientation. public static IEnumerable InterpolateClMat(Mat4d clMat0, DVec3d targetCl) Parameters clMat0 Mat4d current cutter location mat, at begining position targetCl DVec3d The target cl, at end position Returns IEnumerable InterpolateClRotMatByClAbc(Mat4d, Vec3d) Interpolates the cutter location mat by cutter orientation. public static IEnumerable InterpolateClRotMatByClAbc(Mat4d clMat0, Vec3d targetClAbc) Parameters clMat0 Mat4d current cutter location mat, at begining position targetClAbc Vec3d The target cl.n, at end position Returns IEnumerable Interpolation(Mat4d, Mat4d, double) Interpolate by rotation and translation. public static Mat4d Interpolation(Mat4d m0, Mat4d m1, double alpha) Parameters m0 Mat4d m0 m1 Mat4d m1 alpha double ratio between m0 and m1. Returns Mat4d interpolated matrix IsMcLinear(DVec3d, DVec3d, DVec3d, double) Determines if three machine coordinate points form a linear path. public static bool IsMcLinear(DVec3d mc0, DVec3d mc1, DVec3d mc2, double linearGap = 0.9999999) Parameters mc0 DVec3d The first machine coordinate point. mc1 DVec3d The second machine coordinate point. mc2 DVec3d The third machine coordinate point. linearGap double The threshold for linearity determination. Default is (1 - 1e-7). Returns bool True if the points form a linear path; otherwise, false."
- },
"api/Hi.Machining.Sweptable.html": {
"href": "api/Hi.Machining.Sweptable.html",
"title": "Class Sweptable | HiAPI-C# 2025",
@@ -1872,7 +1867,7 @@
"api/Hi.Machining.html": {
"href": "api/Hi.Machining.html",
"title": "Namespace Hi.Machining | HiAPI-C# 2025",
- "summary": "Namespace Hi.Machining Classes FreeformRemover Represents a freeform cutting tool that can be used in machining operations. This cutter type supports complex geometries for both the noble (upper) part and the shaper (cutting) part. MachiningToolHouse Tool House. MachiningVolumeRemovalProc Handles the machining volume removal process and related operations. MachiningVolumeRemovalProc.StepMotionSnapshot Represents a snapshot of the machining motion state. MatInterpolationKit Provides functionality for interpolating between two transformation matrices. MatRelationUtil Utility methods for determining relationships between matrices. MotionUtil Cutter location utility. Sweptable Sweptable geometry. SweptableUtil Util for Sweptable. ToolNotFoundException Exception thrown when a tool with the specified ID is not found. Interfaces ICutter Interface of cutter. ICutterAnchorable IGetAnchor of cutter. IGetSweptable Interface of Get Sweptable. IMachiningTool Interface for machining tools that combine a holder and a cutter. IVolumeRemover Only inherit from IGetInitStickConvex and IGetSweptable. Enums MatRelation Defines the relationship between two matrices."
+ "summary": "Namespace Hi.Machining Classes FreeformRemover Represents a freeform cutting tool that can be used in machining operations. This cutter type supports complex geometries for both the noble (upper) part and the shaper (cutting) part. MachiningToolHouse Tool House. MachiningVolumeRemovalProc Handles the machining volume removal process and related operations. MachiningVolumeRemovalProc.StepMotionSnapshot Represents a snapshot of the machining motion state. MatInterpolationKit Provides functionality for interpolating between two transformation matrices. MatRelationUtil Utility methods for determining relationships between matrices. Sweptable Sweptable geometry. SweptableUtil Util for Sweptable. ToolNotFoundException Exception thrown when a tool with the specified ID is not found. Interfaces ICutter Interface of cutter. ICutterAnchorable IGetAnchor of cutter. IGetSweptable Interface of Get Sweptable. IMachiningTool Interface for machining tools that combine a holder and a cutter. IVolumeRemover Only inherit from IGetInitStickConvex and IGetSweptable. Enums MatRelation Defines the relationship between two matrices."
},
"api/Hi.MachiningProcs.ConfigStepFunc.html": {
"href": "api/Hi.MachiningProcs.ConfigStepFunc.html",
@@ -1912,7 +1907,7 @@
"api/Hi.MachiningProcs.MachiningActRunner.html": {
"href": "api/Hi.MachiningProcs.MachiningActRunner.html",
"title": "Class MachiningActRunner | HiAPI-C# 2025",
- "summary": "Class MachiningActRunner Namespace Hi.MachiningProcs Assembly HiMech.dll Represents a runner for machining actions that manages milling steps, tool paths, and collision detection. public class MachiningActRunner : IDisposable Inheritance object MachiningActRunner Implements IDisposable Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Extension Methods DuplicateUtil.TryDuplicate(TSelf, params object[]) InvokeUtil.SelfInvoke(TSrc, Action) InvokeUtil.SelfInvoke(TSrc, Func) ColorUtil.GetGloomyColor(object, double, double) NameUtil.GetSelectionName(object) StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool) LockUtil.Lock(object) Constructors MachiningActRunner(SessionMessageHost, MongoClient, Func, Func, IMongoCollection, IMongoCollection, Action, ICsScriptApi, MachiningActRunnerConfig) Initializes a new instance. public MachiningActRunner(SessionMessageHost messageHost, MongoClient mongoClient, Func machiningToolHouseGetter, Func machiningEquipmentGetter, IMongoCollection millingStepLuggageCollection, IMongoCollection substractionSplicDbCollection, Action resetMillingStepLuggageDbAction, ICsScriptApi shellApi, MachiningActRunnerConfig config = null) Parameters messageHost SessionMessageHost The milling message host. mongoClient MongoClient The MongoDB client. machiningToolHouseGetter Func The getter function for the machining tool house. machiningEquipmentGetter Func The getter function for the machining equipment. millingStepLuggageCollection IMongoCollection The MongoDB collection for milling step luggage. substractionSplicDbCollection IMongoCollection The MongoDB collection for subtraction slices. resetMillingStepLuggageDbAction Action Action to reset the milling step luggage database. shellApi ICsScriptApi The C# script API for the milling session. config MachiningActRunnerConfig Optional configuration for the milling act runner. Properties ClStrip Gets the cutter location strip. public ClStrip ClStrip { get; } Property Value ClStrip Config Gets or sets the runner configuration. public MachiningActRunnerConfig Config { get; set; } Property Value MachiningActRunnerConfig EnableMotionDependentMachiningResolution EnableMotionDependentMachiningResolution. It works on feed per cycle and feed per tooth motion resolution. MachiningResolution_mm changed by the LinearResolution_mm. public bool EnableMotionDependentMachiningResolution { get; set; } Property Value bool EnableSweeping Gets whether sweeping is enabled based on the motion resolution type. public bool EnableSweeping { get; } Property Value bool GrpcPostStepAction Gets or sets the action to be performed after each step for GRPC service. This is for internal use only. public static Action GrpcPostStepAction { get; set; } Property Value Action MachiningMotionResolution Gets or sets the machining motion resolution. public IMachiningMotionResolution MachiningMotionResolution { get; set; } Property Value IMachiningMotionResolution MachiningResolution_mm Gets or sets the preferred cube width for steps. public double MachiningResolution_mm { get; set; } Property Value double MachiningToolHouse Gets or sets the machining tool house. public MachiningToolHouse MachiningToolHouse { get; } Property Value MachiningToolHouse MachiningVolumeRemovalProc Gets the machining volume removal processor. public MachiningVolumeRemovalProc MachiningVolumeRemovalProc { get; } Property Value MachiningVolumeRemovalProc SessionMessageHost Gets or sets the milling message host. public SessionMessageHost SessionMessageHost { get; set; } Property Value SessionMessageHost StateActRunner Gets the state act runner. This property is provided as a member value getter and should not be modified. public StateActRunner StateActRunner { get; } Property Value StateActRunner XyzabcChain Gets the XYZABC kinematic chain if the current machining chain supports it; otherwise null. public IXyzabcChain XyzabcChain { get; } Property Value IXyzabcChain Methods AdjustAptCutterStlResolutionByNcResolutionAndWorkpieceResolution() Adjusts the APT cutter STL resolution based on NC resolution and workpiece resolution. public void AdjustAptCutterStlResolutionByNcResolutionAndWorkpieceResolution() Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. public void Dispose() Dispose(bool) protected virtual void Dispose(bool disposing) Parameters disposing bool ExpandToActMcStep(IAct) Expands an act into machine control steps. public IEnumerable ExpandToActMcStep(IAct act) Parameters act IAct The act to expand. Returns IEnumerable A sequence of machine control steps. GetMillingActRunner() Gets the current milling act runner instance. public MachiningActRunner GetMillingActRunner() Returns MachiningActRunner The current milling act runner instance. ProcAct(IAct, MachiningSession, IMachiningStepHost, IIndexedFileLine, CancellationToken) Processes an act with the given parameters. public IEnumerable