How to embed points in BSpline Surface
I have a 3D geometry that I am trying to embed points and lines into.
The geometry is from an import of a .iges file and consists of trimmed curves and bspline surfaces. Although the imported file in gmsh uses curved surfaces and patches, the actual geometry has straight edges and planar surfaces.
I am trying to embed lines and points created with occ.addLine and occ.addPoint using occ.fragment(), but the points are not being embedded in the bspline surfaces, only in the internal volume of the model. As the points are not embedded in the surface, I am not able to create a 3D mesh (I can create a 2d mesh), as the 1d mesh of the embedded lines intersects the facets of the 2d mesh:
I am using the julia interface, and this is how I attempted to fragment the model:
point_ents = gmsh.model.getBoundary(wire_ents, true, false, false)
embed_ents = vcat(wire_ents, point_ents)
gmsh.model.occ.fragment(gmsh.model.getEntities(), embed_ents)
gmsh.model.occ.synchronize()
Is there a special way to embed points in bspline surfaces? Do I need to do the fragment operation with trimmed curves instead of lines? Instead, is there a way to import the file and have the created geometry be planar surfaces and straight lines only?
Thanks, Lucas