Skip to content

Instantly share code, notes, and snippets.

@dylan-sessler
Created March 4, 2022 16:38
Show Gist options
  • Save dylan-sessler/d87d8d3f5603d871aa364dc453c8899d to your computer and use it in GitHub Desktop.
Save dylan-sessler/d87d8d3f5603d871aa364dc453c8899d to your computer and use it in GitHub Desktop.
we did the thing!
const perPartVolumeRemoved = perPartCostMaterial - partGroup.part.volume
const roughingTime = partGroup.part.cncRoughingTools.reduce((accumulator, cncRoughingTool) =>
cncRoughingToolsToRoughingTime(accumulator, cncRoughingTool, materialProductionGroupParams.cncFeedRate, perPartVolumeRemoved)
, 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment