-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Is there a way to efficiently create a border around holes? My current approach seems quite performance heavy as it lags for a more complex model. I tried all day to find a solution to get the path of the hole and use Mesh.stroke, but I couldn't figure it out myself.
My current approach:
let border = hull // hull = OriginalMesh.scaled(by: 1.05).subtracting(OriginalMesh.scaled(by: 0.95)
.intersection(holeSphere) // holeSphere = sphere.subtracting(sphere.scaled(by: 0.8))
.subtracting(secondBorderMesh) // Subtract overlapping border
.withMaterial(Euclid.MaterialWrapper(material))And since the model is quite low-poly to prevent lags, the resulting cut out border also has quite some edges in it as this comes from the "hull" of the model. Or is there any way to make a Mesh smoother afterwards? Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
