sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [REQ] replace all similar groups with component

    Scheduled Pinned Locked Moved Plugins
    23 Posts 7 Posters 472 Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Rich O BrienR Online
      Rich O Brien Moderator
      last edited by

      More leaves on one quad. Less quads.

      Download the free D'oh Book for SketchUp πŸ“–

      1 Reply Last reply Reply Quote 0
      • pilouP Offline
        pilou
        last edited by

        And don't forget that the Sdmitch Plugin allow you to take several different components as "Source" for a better tree leaves simulation! πŸ€“

        Frenchy Pilou
        Is beautiful that please without concept!
        My Little site :)

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          TIG has also some snipsets for this sort of things πŸ˜‰
          (all codes must be on one line in the ruby console!!!

          Transform objects of a selection in components!

          m=Sketchup.active_model;
          m.start_operation("Faces>Compos");
          n=m.active_entities;m.selection.to_a.each{|e|(g=n.add_group(e.all_connected);
          g.to_component.definition.name="FaceSet#1")if e.valid? and e.parent==n.parent and e.class==Sketchup;;Face};
          m.commit_operation 
          

          http://forum.zbrush.fr/index.php?PHPSESSID=4e825ae188c60774366f18ac0035054f&action=dlattach;topic=1622.0;attach=15209;image

          Tranform any faces in components

          
          m=Sketchup.active_model;
          n=m.active_entities;
          m.selection.to_a.each{|e|(g=n.add_group(e);
          g.to_component.definition.name="Face#1")if e.class==Sketchup;;Face} 
          

          http://forum.zbrush.fr/index.php?PHPSESSID=4e825ae188c60774366f18ac0035054f&action=dlattach;topic=1622.0;attach=15210;image

          all faces of a selection are transformed in groups
          (except groups or components yet existing)

          m=Sketchup.active_model;n=m.active_entities;m.selection.to_a.each{|e|n.add_group(e)if e.class==Sketchup;;Face}; 
          

          http://forum.zbrush.fr/index.php?PHPSESSID=4e825ae188c60774366f18ac0035054f&action=dlattach;topic=1622.0;attach=15211;image

          Ps For be complete
          Groups to Components by Thomthom

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • 1
          • 2
          • 2 / 2
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement