@dan rathbun said:
You would first create a virtual mesh (a
Geom::PolygonMesh
object. All classes in the GEom module are virtual memory objects, not actual modelSketchup::DrawingElement
subclasses.)Then to port the mesh to the model, you use
Entities#add_faces_from_mesh()
orEntities#fill_from_mesh()
.
Hi Dan,
Thanks for your reply. The methods and objects you proposed are from the Ruby API. I want to be able to do the same using C API since I am working from another application and not using the SketchUp interface.
So how can I create terrain geometry using the C API?