[Gmsh] constructing trimmed NURBS surfaces

Christophe Geuzaine cgeuzaine at uliege.be
Thu Nov 26 12:51:23 CET 2020


Hi Stephen,

We currently only create trimmed patches indirectly, e.g. through boolean operations.

It would indeed be nice to expose an interface for building trimmed surfaces directly. I guess the most natural way would be to specify wires of curves defined in the parametric space of the surface? We would need to think a bit about how to design the api, since in Gmsh we only expose the creation of 3D curves.

Christophe


> On 26 Nov 2020, at 07:07, Banks, Stephen (Energy, Clayton North) <Stephen.Banks at csiro.au> wrote:
> 
> Hello,
>  
> How do I construct trimmed NURBS surfaces?
>  
> In section F.4 of the documentation, point (1) states Gmsh supports trimmed NURBS surface with the OpenCASCADE kernel. However, I am not able to work out how construct them. I see the addBSplineSurface function, which I have successfully used to construct a NURBS surface, but I don’t see how to trim the resulting surface using curves.
>  
> For background, I am developing an interface between Rhino3D and Gmsh using the OpenNURBS library and the Gmsh API. This involves translating the geometry from one representation to the other. This question is prompted by me trying translate OpenNURBS Brep (boundary representation) geometrical objects to Gmsh, which is a surface or polysurface with trim curve information.
>  
> Many thanks,
> Stephen
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://people.montefiore.ulg.ac.be/geuzaine







More information about the gmsh mailing list