Class StepPresentCatalog
- Namespace
- Hi.MachiningSteps
- Assembly
- HiMech.dll
Internal Use Only.
Expands the PresentAttribute-annotated properties of
MachiningStep into the stable presentation-key dictionary
(vector properties fan out to .X/.Y/.Z, the cutter
location to .X/.Y/.Z/.I/.J/.K).
public static class StepPresentCatalog
- Inheritance
-
StepPresentCatalog
- Inherited Members
Fields
MachineCoordinateKeyPrefix
Internal Use Only.
The prefix of the machine-coordinate keys (MC.X, MC.B, …) the step-property
registry adds for the axes of the current chain.
public const string MachineCoordinateKeyPrefix = "MC."
Field Value
Properties
CategoricalKeys
Internal Use Only. The stable presentation keys whose IsCategorical is set: the value is an identity, colored one color per value.
public static IReadOnlyCollection<string> CategoricalKeys { get; }
Property Value
NativeKeys
Internal Use Only. The keys of BuildNativeAccessDictionary(): the built-in presentation properties of MachiningStep, vector fan-outs included.
public static IReadOnlySet<string> NativeKeys { get; }
Property Value
Methods
BuildNativeAccessDictionary()
Internal Use Only. Builds the key-to-access dictionary for the native (machine-independent) MachiningStep presentation properties.
public static Dictionary<string, PropertyAccess<MachiningStep>> BuildNativeAccessDictionary()
Returns
- Dictionary<string, PropertyAccess<MachiningStep>>
The dictionary mapping stable presentation keys to their property access.
IsBuiltInKey(string)
Internal Use Only.
Whether key names a built-in step property: one of
NativeKeys, or any key under MachineCoordinateKeyPrefix (the
prefix is reserved whatever axes the current chain has). A built-in's getter reads the
step's own value, never one written onto the step under its key, so the registry would
never read a step variable or a mapped column of that name.
public static bool IsBuiltInKey(string key)
Parameters
keystringThe key to test; null is not built-in.