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

    Identical Objects/Excessive Polygons

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    5 Posts 3 Posters 194 Views 3 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.
    • R Offline
      rockofclay
      last edited by

      Hi there,

      I'm new to skecthup and I'm trying to import and simplify a VRML file generated by G4Beamline (It's a particle accelerator physics tool.) I have converted the file to a 3ds and when I import into sketchup, I noticed that the file is quite large because many of the same objects (magnets) are repeated as separate instances.

      I was wondering if there was an easy way to identify all of the objects that are identical and make them the same instance.

      Also, is there a script which can crop redundant polygons?

      Cheers!

      1 Reply Last reply Reply Quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        Hi Rockley (and welcome)!

        Do these "instances" come through as groups? If groups, are they instances of the same group definition? (I.e. if you select one and open the entity info window, does it say "Group, 19 (or any number) in model" for instance?)

        Gai...

        1 Reply Last reply Reply Quote 0
        • M Offline
          mac1
          last edited by

          rockely
          Additional thought:
          Use the widow outliner. If you select group 19 per Gaieus' example above it will high lite in your model, if it is the item you want the outliner gives you the capability to select all of them. There are plugins which will change those to individual components. Once that is done the component browser has the capability to replace a number of selected components with the one you have selected in the browser. So selected all the components with the outliner and replace them with the one you want in the browser and will accomplish what I think you want. Purge your component browser of unused ones then. You will still have a number of instances but based on one definition
          Note; I think it helps to roll up the outliner for some of the large ops so the program is not printing all the info to screen. In addition the orientation of a replacement is in relation too the two component axis. You may want to read up on that

          1 Reply Last reply Reply Quote 0
          • GaieusG Offline
            Gaieus
            last edited by

            Yes, that's what also had in mind so to suggest the best workflow, we'd need some more info.

            Gai...

            1 Reply Last reply Reply Quote 0
            • R Offline
              rockofclay
              last edited by

              The objects aren't in groups unfortunately.

              I've decided to write a matlab script to identify the objects automatically in the VRML. I'll still need to simplify it though, as unfortunately this file is formatted to include every point (no curves/cylinders, just lots of fine grained vertexes).

              Thanks anyway!

              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