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

    Topics

    • D

      Get Name of Image

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      63 Views
      A
      Have you tried https://developers.google.com/sketchup/docs/ourdoc/image#path ?
    • D

      Access Opacity

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      157 Views
      D
      Thanks - works perfectly.
    • D

      Group from Selected Entities

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      342 Views
      thomthomT
      cheers
    • D

      PolygonMesh behavior

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      34
      0 Votes
      34 Posts
      2k Views
      thomthomT
      @adamb said: @thomthom said: I did that for Vertex Tools, I take the average normal of the faces connected to the vertex. You're missing a step with your averaging there. You need to weight by the contribution each face connected to the vertex makes - ie weight by the interior angle otherwise a cube constructed of triangles will end up with vertex normals not all pointing out exactly at 45 degrees. How does one do that?
    • D

      Get Default Material

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      242 Views
      TIGT
      The default material is 'nil'. So face.material=nil makes face have no material and face.back_material=nil makes face have no back material You can get the color used for the two types of default face material from model.rendering_options["FaceFrontColor"] and model.rendering_options["FaceBackColor"] which both return a Color object, you can then get its RGB values in the normal way etc... You can also set these vales to a new color with []=
    • 1 / 1