sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [req] orient to axis?

    Scheduled Pinned Locked Moved Plugins
    6 Posts 4 Posters 704 Views 4 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.
    • X Offline
      xrok1
      last edited by

      is there a script that will take multiple lines that are just slightly off axis and reorient them? i don't know why but i have some files and most of the geometry is slightly off axis. i've tried to correct it manually and its just about impossible. 😢


      cap.jpg

      “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

      http://www.Twilightrender.com try it!

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Are they based of DWG files? I find that often when importing DWG many lines are slightly off. Not sure if it's because things haven't been drawn with proper snapping, or if there some rounding errors. Might be rounding error if the model has been drawn in real world coordinates.

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • E Offline
          Ecuadorian
          last edited by

          Sorry to hijack your thread, but this reminds me of another idea I have... A script that takes perfectly regular geometry (like the glass panes in a storefront) and "introduces a little anarchy" in it, so the reflections look more realistic in renderings. It would be something like "random move points along X axis", or something along these lines.

          -Miguel Lescano
          Subscribe to my house plans YouTube channel! (30K+ subs)

          1 Reply Last reply Reply Quote 0
          • X Offline
            xrok1
            last edited by

            Thomas, yes most of its its imported from solidworks.

            Ecuadorian, why don't you use displacement or bump since this is probably only useful when rendering anyway?

            “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

            http://www.Twilightrender.com try it!

            1 Reply Last reply Reply Quote 0
            • X Offline
              xrok1
              last edited by

              even a script where you could select one or more edges(with same general orietation of course) and then hit R,G,or B on your keyboard to align them in that axis would be very cool. 😉

              “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

              http://www.Twilightrender.com try it!

              1 Reply Last reply Reply Quote 0
              • C Offline
                craigbic
                last edited by

                @xrok1 said:

                even a script where you could select one or more edges(with same general orietation of course) and then hit R,G,or B on your keyboard to align them in that axis would be very cool. 😉

                I agree, this would be quite handy - especially working with imported models. 🤓

                Checkout the Sketchup Graphics Blog at http://sketchupgraphics.com

                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