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.ba...@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@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





_______________________________________________
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh

Reply via email to