Skip to content

Add function for searching overhangs#1611

Merged
oitel merged 7 commits intomasterfrom
feature/mesh_overhangs
Sep 18, 2023
Merged

Add function for searching overhangs#1611
oitel merged 7 commits intomasterfrom
feature/mesh_overhangs

Conversation

@oitel
Copy link
Contributor

@oitel oitel commented Sep 14, 2023

No description provided.

@oitel oitel requested review from Fedr and Grantim September 14, 2023 08:09

std::vector<FaceBitSet> findOverhangs( const Mesh& mesh, const FindOverhangsSettings& settings )
{
assert( std::abs( settings.axis.lengthSq() - 1.f ) < 1e-6f );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add MR_TIMER please

/// parameters for MR::findOverhangs
struct FindOverhangsSettings
{
/// base axis
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

up direction?

} );

// simplify the regions...
expand( mesh.topology, faces, 1 );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may be add a parameter for expand/shrink value?
or probably better even dilate/erode

@oitel oitel marked this pull request as ready for review September 18, 2023 13:08
@oitel oitel merged commit 8dcdfb5 into master Sep 18, 2023
@oitel oitel deleted the feature/mesh_overhangs branch September 18, 2023 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants