NURB Surfaces Discretization

justinsavage35

Looking around for some CAD
Hi all,

Is there a way to improve the NURB surface discretisation? Would it be possible to discretize the surface similarly to the surface visualization?

Kind regards,

Justin
 

Attachments

  • nurb_discretisation.PNG
    nurb_discretisation.PNG
    157.5 KB · Views: 2
  • nurb_discretisation_visualisation.PNG
    nurb_discretisation_visualisation.PNG
    116.4 KB · Views: 2
  • nurb_surface.brep
    22.6 KB · Views: 1

Quaoar

Administrator
Staff member
Hi @justinsavage35 and welcome to the forum. The mesh fineness can be tuned with Ctrl+T key combination, which brings you to the dialog where you specify a linear and angular deflection:

1712686236837.png
 

justinsavage35

Looking around for some CAD
Hi @Quaoar, thank you for the prompt response.

Thank you for showing me how to adjust the mesh fineness.

How is the surface visualisation created?
 

Attachments

  • nurb_discretisation_visualisation.PNG
    nurb_discretisation_visualisation.PNG
    116.4 KB · Views: 1

Quaoar

Administrator
Staff member
This is done in a pretty stupid way of iterating the UV rectangle of the surface with a prescribed step. Evaluating the surface `s(u,v)` for the given 2D coordinates in the parametric range brings you to the 3D mesh in the modeling space where the surface is embedded.

Please note that this approach makes sense for untrimmed surfaces only as it ignores trimming contours. That is why it is used in the "Host" viewer of Analysis Situs only, where we visualize geometries unbounded.
 
Top