Skip to main content

BimSnapProviderConfig

Hierarchy

  • SnapDistanceConfig
    • BimSnapProviderConfig

Index

Properties

optionalfeatureEdgeFallback

featureEdgeFallback?: false | FeatureEdgeOptions

When a mesh has no precomputed feature edges, derive them from its vertex data (crease angle + boundary edges) instead of silently never snapping. Defaults to DEFAULT_FEATURE_EDGE_OPTIONS from @twinfinity/geometry — the rule product-geometry's edge finders use. Pass false to opt out, e.g. for very large models where the one-off derivation per shape is too costly on the main thread.

optionalsnapDistance

snapDistance?: number

optionalsnapDistanceMax

snapDistanceMax?: number

optionalsnapDistanceMin

snapDistanceMin?: number

optionalsnapScreenRadiusPx

snapScreenRadiusPx?: number