SS.Manufacturing 1.2.0
Validated tolerance/capability, machining resources and constraints, deadline-qualified route scheduling, explicit cost components, part-drawing tolerance assessment, process-plan feasibility, yield and transparent costing
Language compatibility: >=1.0.0 <2.0.0
Runtime compatibility: >=1.0.0 <2.0.0
No package dependencies declared.
Public API
Manufacturing.blankMass
export function blankMass(double volume, double density)->doubleParameters: volume: double, density: double
Manufacturing.cuttingTime
export function cuttingTime(double travel, double feedRateValue)->doubleParameters: travel: double, feedRateValue: double
Manufacturing.cuttingTool
export function cuttingTool(string name, double diameter, int teeth, double maximumCuttingSpeed, double maximumFeedPerTooth, double lifeSeconds, double replacementCost, string provenance)->CuttingToolParameters: name: string, diameter: double, teeth: int, maximumCuttingSpeed: double, maximumFeedPerTooth: double, lifeSeconds: double, replacementCost: double, provenance: string
export record CuttingTool(public string name, public double diameter, public int teeth, public double maximumCuttingSpeed, public double maximumFeedPerTooth, public double lifeSeconds, public double replacementCost, public string provenance)Parameters: name: string, diameter: double, teeth: int, maximumCuttingSpeed: double, maximumFeedPerTooth: double, lifeSeconds: double, replacementCost: double, provenance: string
Manufacturing.cycleCapacity
export function cycleCapacity(double availableTime, double cycleTime, double availability)->doubleParameters: availableTime: double, cycleTime: double, availability: double
Manufacturing.feedRate
export function feedRate(double spindleRevolutions, double feedPerTooth, int teeth)->doubleParameters: spindleRevolutions: double, feedPerTooth: double, teeth: int
Manufacturing.machine
export function machine(string name, double maximumSpindleSpeed, double maximumFeedRate, double availability, double hourlyRate, string provenance)->ManufacturingMachineParameters: name: string, maximumSpindleSpeed: double, maximumFeedRate: double, availability: double, hourlyRate: double, provenance: string
export function machiningCostBreakdown(RoutedPlan route, double setupCost, double energyKilowattHours, double energyCostPerKilowattHour, string currency)->MachiningCostBreakdownParameters: route: RoutedPlan, setupCost: double, energyKilowattHours: double, energyCostPerKilowattHour: double, currency: string
export record MachiningCostBreakdown(public double materialCost, public double toolCost, public double machineCost, public double inspectionCost, public double setupCost, public double energyCost, public double totalCost, public string currency, public bool reconciled)Parameters: materialCost: double, toolCost: double, machineCost: double, inspectionCost: double, setupCost: double, energyCost: double, totalCost: double, currency: string, reconciled: bool
export record MachiningPlan(public double spindleSpeed, public double feedRate, public double cuttingTime, public double removalRate)Parameters: spindleSpeed: double, feedRate: double, cuttingTime: double, removalRate: double
export record ManufacturingMachine(public string name, public double maximumSpindleSpeed, public double maximumFeedRate, public double availability, public double hourlyRate, public string provenance)Parameters: name: string, maximumSpindleSpeed: double, maximumFeedRate: double, availability: double, hourlyRate: double, provenance: string
Manufacturing.materialYield
export function materialYield(double finishedMass, double inputMass)->doubleParameters: finishedMass: double, inputMass: double
Manufacturing.millingPlan
export function millingPlan(double cuttingSpeed, double diameter, double feedPerTooth, int teeth, double travel, double axialDepth, double radialWidth)->MachiningPlanParameters: cuttingSpeed: double, diameter: double, feedPerTooth: double, teeth: int, travel: double, axialDepth: double, radialWidth: double
Manufacturing.operation
export function operation(string name, int machineIndex, int toolIndex, double cuttingSpeed, double feedPerTooth, double travel, double axialDepth, double radialWidth, double setupSeconds, int quantity, double scrapFraction)->ProcessOperationParameters: name: string, machineIndex: int, toolIndex: int, cuttingSpeed: double, feedPerTooth: double, travel: double, axialDepth: double, radialWidth: double, setupSeconds: double, quantity: int, scrapFraction: double
export record OperationPlan(public string name, public double spindleSpeed, public double feedRate, public double cuttingSecondsPerPart, public double scheduledStart, public double scheduledEnd, public double machineCost, public double toolCost, public int inputQuantity, public double goodQuantity, public bool feasible)Parameters: name: string, spindleSpeed: double, feedRate: double, cuttingSecondsPerPart: double, scheduledStart: double, scheduledEnd: double, machineCost: double, toolCost: double, inputQuantity: int, goodQuantity: double, feasible: bool
export record PartToleranceAssessment(public ToleranceStack stack, public double worstCaseLower, public double worstCaseUpper, public double rssLower, public double rssUpper, public double lowerSpecification, public double upperSpecification, public double worstCaseMargin, public bool worstCaseConforming, public bool rssConforming)Parameters: stack: ToleranceStack, worstCaseLower: double, worstCaseUpper: double, rssLower: double, rssUpper: double, lowerSpecification: double, upperSpecification: double, worstCaseMargin: double, worstCaseConforming: bool, rssConforming: bool
Manufacturing.partToleranceStack
export function partToleranceStack(double[] nominals, double[] tolerances, double lowerSpecification, double upperSpecification)->PartToleranceAssessmentParameters: nominals: double[], tolerances: double[], lowerSpecification: double, upperSpecification: double
Manufacturing.planRoute
export function planRoute(ManufacturingMachine[] machines, CuttingTool[] tools, ProcessOperation[] operations, double materialCostPerInputPart, double inspectionCostPerGoodPart)->RoutedPlanParameters: machines: ManufacturingMachine[], tools: CuttingTool[], operations: ProcessOperation[], materialCostPerInputPart: double, inspectionCostPerGoodPart: double
Manufacturing.processCapability
export function processCapability(double mean, double standardDeviation, double lowerSpecification, double upperSpecification, double requiredCpk)->ProcessCapabilityParameters: mean: double, standardDeviation: double, lowerSpecification: double, upperSpecification: double, requiredCpk: double
export record ProcessCapability(public double cp, public double cpk, public double mean, public double standardDeviation, public double lowerSpecification, public double upperSpecification, public bool capable)Parameters: cp: double, cpk: double, mean: double, standardDeviation: double, lowerSpecification: double, upperSpecification: double, capable: bool
export record ProcessOperation(public string name, public int machine, public int tool, public double cuttingSpeed, public double feedPerTooth, public double travel, public double axialDepth, public double radialWidth, public double setupSeconds, public int quantity, public double scrapFraction)Parameters: name: string, machine: int, tool: int, cuttingSpeed: double, feedPerTooth: double, travel: double, axialDepth: double, radialWidth: double, setupSeconds: double, quantity: int, scrapFraction: double
export function processPlanFeasibility(ManufacturingMachine[] machines, CuttingTool[] tools, ProcessOperation[] operations, string material, string[] supportedMaterials, double requiredTolerance, double processTolerance)->ProcessPlanFeasibilityParameters: machines: ManufacturingMachine[], tools: CuttingTool[], operations: ProcessOperation[], material: string, supportedMaterials: string[], requiredTolerance: double, processTolerance: double
export record ProcessPlanFeasibility(public bool feasible, public int operationCount, public string material, public double requiredTolerance, public double processTolerance, public string diagnostic)Parameters: feasible: bool, operationCount: int, material: string, requiredTolerance: double, processTolerance: double, diagnostic: string
export function resourceConstrainedRouteSchedule(ManufacturingMachine[] machines, CuttingTool[] tools, ProcessOperation[] operations, double materialCostPerInputPart, double inspectionCostPerGoodPart, double deadlineSeconds)->RouteScheduleParameters: machines: ManufacturingMachine[], tools: CuttingTool[], operations: ProcessOperation[], materialCostPerInputPart: double, inspectionCostPerGoodPart: double, deadlineSeconds: double
Manufacturing.RoutedPlan
export record RoutedPlan(public OperationPlan[] operations, public double makespanSeconds, public double machineCost, public double toolCost, public double materialCost, public double inspectionCost, public double totalCost, public double goodQuantity, public bool feasible, public string diagnostic)Parameters: operations: OperationPlan[], makespanSeconds: double, machineCost: double, toolCost: double, materialCost: double, inspectionCost: double, totalCost: double, goodQuantity: double, feasible: bool, diagnostic: string
export record RouteSchedule(public RoutedPlan plan, public double deadlineSeconds, public double slackSeconds, public bool feasible, public string diagnostic)Parameters: plan: RoutedPlan, deadlineSeconds: double, slackSeconds: double, feasible: bool, diagnostic: string
Manufacturing.rssTolerance
export function rssTolerance(double[] tolerances)->doubleParameters: tolerances: double[]
Manufacturing.spindleSpeed
export function spindleSpeed(double cuttingSpeed, double diameter)->doubleParameters: cuttingSpeed: double, diameter: double
Manufacturing.stack
export function stack(double[] nominals, double[] tolerances)->ToleranceStackParameters: nominals: double[], tolerances: double[]
export record ToleranceStack(public double nominal, public double worstCase, public double rootSumSquare)Parameters: nominal: double, worstCase: double, rootSumSquare: double
Manufacturing.worstCaseTolerance
export function worstCaseTolerance(double[] tolerances)->doubleParameters: tolerances: double[]
Documentation version
Language 1.0.0, compiler 1.0.0, runtime 1.0.0. This reference is generated from the official SS documentation so package and language details stay consistent with the release.