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

    Convert disoriented group copies into component instances

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    3 Posts 2 Posters 156 Views 2 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.
    • brookefoxB Offline
      brookefox
      last edited by brookefox

      The faces are identical except for their locations. I want them to be the same component (that is, copies of the same component), but so far have not succeeded. Is there an easy way. When I group each face with its edges they are all different groups, not copies of the same. I know I can place a component onto each face and then edit that to be what I want but I'd like something quicker if possible.


      faces into components-1.JPG

      ~ Brooke

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

        Maybe all this can help you 😉

        Loose2group By Chris Fullmer
        Transform any element in group

        All codes by TIG to write in the Ruby Consol
        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?action=dlattach;topic=1622.0;attach=15209;image

        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?action=dlattach;topic=1622.0;attach=15210;image

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

        Faces in groups

        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?action=dlattach;topic=1622.0;attach=15223;image

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

        1 Reply Last reply Reply Quote 0
        • brookefoxB Offline
          brookefox
          last edited by

          Merci, Pilou. I don't think I need Chris' PI for this as I have no problem selecting the faces that I want. I'm not sure how the TIG code bits help, either. I want each face or each face group to be made into an instance of the same component.

          Your mark-up tool is very nice, though. Is it available in English?

          ~ Brooke

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

          Advertisement