-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Fixes to several filters as reported by users #699
BUG: Fixes to several filters as reported by users #699
Conversation
Signed-off-by: Michael Jackson <[email protected]>
…rong. Output does match D3D 6.6 though which is good. Signed-off-by: Michael Jackson <[email protected]>
Signed-off-by: Michael Jackson <[email protected]>
Signed-off-by: Michael Jackson <[email protected]>
// float inverseRate = static_cast<float>(diff) / static_cast<float>(m_ProgressCounter - m_LastProgressInt); | ||
// auto remainMillis = std::chrono::milliseconds(static_cast<int64>(inverseRate * (totalFeatures - m_ProgressCounter))); | ||
// auto secs = std::chrono::duration_cast<std::chrono::seconds>(remainMillis); | ||
// remainMillis -= std::chrono::duration_cast<std::chrono::milliseconds>(secs); | ||
// auto mins = std::chrono::duration_cast<std::chrono::minutes>(secs); | ||
// secs -= std::chrono::duration_cast<std::chrono::seconds>(mins); | ||
// auto hour = std::chrono::duration_cast<std::chrono::hours>(mins); | ||
// mins -= std::chrono::duration_cast<std::chrono::minutes>(hour); | ||
// progMessage += fmt::format(" || Est. Time Remain: {} hours {} minutes {} seconds", hour.count(), mins.count(), secs.count()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// float inverseRate = static_cast<float>(diff) / static_cast<float>(m_ProgressCounter - m_LastProgressInt); | |
// auto remainMillis = std::chrono::milliseconds(static_cast<int64>(inverseRate * (totalFeatures - m_ProgressCounter))); | |
// auto secs = std::chrono::duration_cast<std::chrono::seconds>(remainMillis); | |
// remainMillis -= std::chrono::duration_cast<std::chrono::milliseconds>(secs); | |
// auto mins = std::chrono::duration_cast<std::chrono::minutes>(secs); | |
// secs -= std::chrono::duration_cast<std::chrono::seconds>(mins); | |
// auto hour = std::chrono::duration_cast<std::chrono::hours>(mins); | |
// mins -= std::chrono::duration_cast<std::chrono::minutes>(hour); | |
// progMessage += fmt::format(" || Est. Time Remain: {} hours {} minutes {} seconds", hour.count(), mins.count(), secs.count()); |
m_InitialTime = std::chrono::steady_clock::now(); | ||
m_LastProgressInt = m_ProgressCounter; | ||
m_LastUpdateTime = std::chrono::steady_clock::now(); | ||
// m_LastProgressInt = m_ProgressCounter; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// m_LastProgressInt = m_ProgressCounter; |
// std::array<Point3D<T>, 3> coords; | ||
// triangleGeom.getFaceCoordinates(faceIds[face], coords); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// std::array<Point3D<T>, 3> coords; | |
// triangleGeom.getFaceCoordinates(faceIds[face], coords); |
Closing as these changes are going to be on another PR or 2. |
WriteSTLFile
SampleTriangleGeometryOntoRegularGrid.