• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Newbie doubt. Urgent

Scheduled Pinned Locked Moved Newbie Forum
sketchup
5 Posts 3 Posters 197 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.
  • A Offline
    anirudh
    last edited by 9 Nov 2010, 05:50

    Hi,

    I am trying to do a project with sketchup in which i need to automate some things.

    • How do i add a shortcut for doing something customised? E.g. Ctrl+Shift+2 draws a circle of 20inches radius. Another Shortcut Ctrl+Shift+P should Pull it to make a cylinder.

    Its something like recording macros within Sketchup, could someone kindly tell me a way to do it? ๐Ÿ˜„

    thanks

    http://www.touchaddict.blogspot.com

    1 Reply Last reply Reply Quote 0
    • C Offline
      Chris Fullmer
      last edited by 9 Nov 2010, 06:03

      SketchUp does not support macros. But it does have a ruby language programming interface. You could write a small script that would draw a circle with a 20mm radius and assign the script a shortcut key. That is about the closest you can get to having macro's in sketchup.

      Martin Reinhart had started trying to make a simplified interface to ruby, to make it easier to do small tasks (and large) tasks like this. I'm not sure that his project is entirely up and running though. So you would probably be best off just learning some basic ruby if you really need this done.

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • A Offline
        anirudh
        last edited by 9 Nov 2010, 06:10

        thanks for the reply!
        could you please point me to a script like that which draws something using a Keyboard shortcut?

        http://www.touchaddict.blogspot.com

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dave R
          last edited by 9 Nov 2010, 14:18

          Why do you need a keyboard shortcut to draw a circle or pull it to make a cylinder. With the native tools it doesn't get much simpler than it is.

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

          1 Reply Last reply Reply Quote 0
          • A Offline
            anirudh
            last edited by 9 Nov 2010, 14:44

            dave its a part of my research. i am trying to understand other gesture that could help sketchup in future. thats why. ๐Ÿ˜„ center could be 0,0 or arbitrary

            http://www.touchaddict.blogspot.com

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

            Advertisement