sketchucation logo sketchucation
    • Login
    ⚠️ Attention | Having issues with Sketchucation Tools 5? Report Here

    [Inquiry] Scale up or down using Ruby Console

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    extensions
    3 Posts 2 Posters 2.3k 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.
    • onzkiO Offline
      onzki
      last edited by

      Hi everyone! I need help on scaling my newly exported objects (from Rhino*). The conventional method is to select all, then scale (i type in the number). But this can get problematic when model is huge- so can you direct me please how to input these in ruby console:

      1. Select all
      2. scale X .001

      Thanks a lot!

      *reason is the bug in Sketchup part when opening Rhino exported models (Rhino to Sketchup)- Sketchup will always read it like x1000. So I need to rescale down to .001 to bring it back to proper mm scale.


      [/hr]Dell Alienware Area-51. SKU 2021 Pro. AutoCAD 2023. Landscape design firm

      1 Reply Last reply Reply Quote 0
      • PixeroP Offline
        Pixero
        last edited by

        Have you tried changing the scale of imported objects. from mm to m for example.
        From experience I know that scaling imported geometry can lead to strange things later on so its best to get the import right from the beginning.
        IF you import something at the wrong scale it can be good to use a script that scales the definition. (Can't remember the name of it but you'll probably find it by searching for scale definition.)
        That resets the scale of the scaled-down object to 1.

        1 Reply Last reply Reply Quote 0
        • onzkiO Offline
          onzki
          last edited by

          @pixero said:

          Have you tried changing the scale of imported objects. from mm to m for example.
          From experience I know that scaling imported geometry can lead to strange things later on so its best to get the import right from the beginning.
          IF you import something at the wrong scale it can be good to use a script that scales the definition. (Can't remember the name of it but you'll probably find it by searching for scale definition.)
          That resets the scale of the scaled-down object to 1.

          Thanks! I will look for and try those plugin you mentioned. Cheers!


          [/hr]Dell Alienware Area-51. SKU 2021 Pro. AutoCAD 2023. Landscape design firm

          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