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

    jackball

    @jackball

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    jackball Unfollow Follow
    registered-users

    Latest posts made by jackball

    • RE: Select all faces in a surface with more than 3 edges?

      @tig said:

      Copy/paste [+<enter>] this code into the Ruby Console

      m=Sketchup.active_model;s=m.selection;s.clear;m.active_entities.each{|e|s.add(e)if e.class==Sketchup;;Face and e.edges[3]}
      

      Then use a tool like 'TriangulateFaces' on that selection... e.g. http://forums.sketchucation.com/viewtopic.php?p=175613#p175613

      🤓

      Thank you so much! This worked like a charm. There were 234 faces that needed triangulation- that would have taken an eternity.

      I guess I should learn ruby in my spare time!

      jackball

      posted in Plugins
      J
      jackball
    • Select all faces in a surface with more than 3 edges?

      Hi,

      I have a surface made up of tens of thousands of hidden faces. It represents topography of an existing patch of the Earth. I draped hundreds of edges over it that represent the edges of road surfaces. Some of the drape "took", meaning on some portions of the surface the draped edges separated the surface into smaller selectable surfaces. In other areas the draped edges are on the surface, but did not a create smaller separate selectable surfaces. (tongue-twister!)

      The problem appears to be that some of the draped edges create new faces on the surface with more than three edges (non-triangular polygons). That prevents the surface from being "subdivided" into smaller separate selectable surfaces.

      I need all of the drape to work, dividing the surface into smaller surfaces. This is so I can apply materials (asphalt for road surface, grass, et cetera). Yes I can find the faces manually, but for thousands of faces this would be an inefficient use of time.

      So, is there a selection plugin (or series of plugins) that will select or identify all of the faces within my surface that have more than three edges? Once I find them, then I can triangulate them in short order.

      I did some forum searching, but couldn't find anything on this subject. I apologize if this is a repeat question. File is attached.

      Thank you,

      Jackball


      Component_1.skp

      posted in Plugins
      J
      jackball