Skip to content

[Request] Bulk method to soften edges (as in the Soften Edges tray panel) #1093

@Fredosixx

Description

@Fredosixx

In the UI of Sketchup, there is a tray panel allowing to smooth edges based on the angle of the normals of their bounding faces and to soften coplanar edges. It is usually extremely fast.

In the Ruby API, there is no equivalent method. You can to go through all edges individually, compute the angle between normals and then call the edge#smooth=true/false and edge#soft=true/false methods. This takes much longer.

The request would be to provide such a method. It could have the angle as parameter (or use the angle set in the Tray panel by default).

The use case is that when we generate a mesh or a object, it is useful to present the result to the user with a clean geometry.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions