sketchucation logo sketchucation
    • Login
    1. Home
    2. SrutiDavis
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: 3D model of hill-like structures using SketchUp C SDK

      @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 model Sketchup::DrawingElement subclasses.)

      Then to port the mesh to the model, you use Entities#add_faces_from_mesh() or Entities#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?

      posted in Developers' Forum
      S
      SrutiDavis
    • RE: 3D model of hill-like structures using SketchUp C SDK

      @tt_su said:

      The Ruby API can only be used from within SketchUp, correct.

      As for the C SDK, where are you stuck? What prevents you from creating terrain geometry? The C API is generic, there is no limitations imposed to what it creates - so creating terrains is be possible.

      Hi tt_su,

      Thanks for your reply. I'm new to SketchUp and so far I have only been able to create regular shapes such as a cube or a 2D face using the SDK. How does one go about creating terrain geometry such as a sand pile? Please give some suggestions.

      posted in Developers' Forum
      S
      SrutiDavis
    • 3D model of hill-like structures using SketchUp C SDK

      Hi everyone,

      I'm trying to draw sand dunes or hill-like structures using the new SketchUp C SDK on Visual Studio. I was wondering if someone has done this before or if at all this is possible. Any suggestions?

      Also, I went through the header files that came along with the SDK and I feel it's not possible to do terrain modification using the SDK. Do you guys agree with that?

      Lastly, is it true that the Ruby API cannot be used from an application other than SketchUp? If that's not true, then can I use Ruby API for terrain modification or creation of 3D models to produce sand dune-like structures?

      posted in Developers' Forum
      S
      SrutiDavis
    • 1 / 1