Skip to content

Instantly share code, notes, and snippets.

@dylan-sessler
Created March 4, 2022 16:37
Show Gist options
  • Save dylan-sessler/e7fe419f3f9262c5e756d3a681a5d967 to your computer and use it in GitHub Desktop.
Save dylan-sessler/e7fe419f3f9262c5e756d3a681a5d967 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) =>
getRoughingTime(accumulator, cncRoughingTool, materialProductionGroupParams.cncFeedRate, perPartVolumeRemoved)
, 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment