sketchucation logo sketchucation
    • Login
    1. Home
    2. ArunYoganandan
    3. Topics
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 38
    • Groups 1

    Topics

    • A

      Push_tool

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      263 Views
      A
      Thanks guys. Yes, I was doing a pickhelper or ray intersection and figuring out the object being clicked on and added it to the global selection. That worked fine, but only allowed selecting one entity at a time. I wanted to switch to select tool so I can use the group selection features that are available in it. Like thomthom suggested, I managed to get that working by backing up the current tool before doing Sketchup.send_action("selectSelectionTool:") and then restoring the older tool on release. This probably won't retain the tool state since I'm actually exiting the tool and re-entering, but it seems to work for my purpose. Thanks again!
    • A

      Thumbnail images as textures

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      226 Views
      A
      Thanks TIG.
    • A

      Excluding from undo stack

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      8
      0 Votes
      8 Posts
      306 Views
      Chris FullmerC
      If this system is entirely under your control, it would be easy to include all the geometry in the template model. Then when the user opens a new model, all those components are there without any possibility of being undone.
    • A

      Losing focus on window

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      526 Views
      thomthomT
      Some times the toolwindows get the focus. Say if you undo a change where you edited a material in the Material Editor - SU will send the focus back to that window. Annoying.
    • A

      Custom selection tool

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      231 Views
      A
      @sdmitch said: Using the BoundingBox certainly works as long as the selection box is not rotated which will cause BoundingBox to be much larger than the selection box. I see no reason why the selection process should be any slower on a curved surface. It should only matter how many total entities there are in the model. Yea. That is the same thing I'm confused about as well. Unless SU has a way of selecting the cylindrical surface as one unit or a collection rather than add each face of the curved surface one after the other(which is what my code does). Also, all my conditionals could be slowing things down as well. The selection box is axis aligned, so the they bounding box and the selection box should pretty much be the same size.
    • A

      Texture overlay on selection

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      18
      0 Votes
      18 Posts
      308 Views
      A
      @dan rathbun said: What platform is this for? PC or Mac ? This is for the PC.
    • A

      Color interpolation across a face

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      14
      0 Votes
      14 Posts
      1k Views
      A
      Thanks everyone for the replies. @Dan using the draw in a tool's view method looks like a plausible option. Let me dig into it and get back. Thanks again.
    • A

      Getting the status bar text

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      134 Views
      A
      Hmm... Thanks Tom! @thomthom said: No API. You might be able to use Win32 under Windows - but I have no idea for OSX.
    • A

      Creating components from existing objects

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      12
      0 Votes
      12 Posts
      292 Views
      A
      @sdmitch said: There is always a way but at what cost. The code would no doubt expand from 3 lines to 3000. I'm on a framerate sensitive medium, so anything I can do to improve frame rate would be useful. It would be great if you have any tips on how to set the LOD for the miniature.
    • A

      Vertical anchoring of 3D text

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      2k Views
      A
      @tig said: The text-string affects the result. "V\nE\nR\nT\nI\nC\nA\nL" V E R T I C A L That did it! thank you so much!
    • A

      Modifying or extending SU native tools

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      1k Views
      Dan RathbunD
      Most of the native tool ids are defined as global constants, that begin with "CMD_" List them, at the Ruby Console: Object.constants.grep(/CMD/).sort The tool state integers vary from tool to tool, and some tools do not use them at all.
    • 1 / 1