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

    Topics

    • K

      [Plugin] Simple Scale Tool Handles v1.2 7-25-2011

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      49
      0 Votes
      49 Posts
      37k Views
      CadFatherC
      . ops, sorry few copy errors : try this code @m=Sketchup.active_model;@s=@m.selection;@d=@m.definitions;@s[0].definition.behavior.no_scale_mask = 4 ; Sketchup.send_action('selectScaleTool;') you can find this in the sketchup API: http://ruby.sketchup.com/Sketchup/Behavior.html#no_scale_mask=-instance_method i don't find it very clear, but more or less: you have 7 numbers (bits). each representing a pair of handles. when the bit is 0, the particular handle pair is visible. when the bit is 1 the handle pair is hidden. @unknownuser said: Bit0: disable scale along red (X), Bit1: disable scale along green (Y), Bit2: disable scale along blue (Z), Bit3: disable scale in red/blue plane (X+Z), Bit4: disable scale in green/blue plane (Y+Z), Bit5: disable scale in red/green plane (X+Y), Bit6: disable scale uniform (from corners) (XYZ). take 1111000 as an example. the bits from left to right are bit6, bit5, bit4, bit3, bit2, bit1, bit0. in this example, bits 6, 5, 4,and 3 are all hidden. the only visible ones are the blue, green and red: bits 2, 1 and 0. this 'combination' is given in the form of an integer. if you take the example above, the 1111000 number is the 'binary' conversion of 120. here's a place where you can do a conversion: http://acc6.its.brooklyn.cuny.edu/%7Egurwitz/core5/nav2tool.html so, you can decide your combination of ones and zeroes (your seven bits) use the converter to get the corresponding integer use the ruby code above to test the integer. hope it makes sense unfortunately you cannot activate it permanently - you can use the script from this thread (and change the handle numbers you prefer). and yes, there is a lot of 'strange' about sketchup - but we do love it anyway! .
    • K

      Intersecting 2 Groups Question

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      13
      0 Votes
      13 Posts
      302 Views
      jolranJ
      OK. thanks. I have missed the notes part.
    • K

      [Plugin] toggle_units_3icons (July 6, 2011)

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      4
      0 Votes
      4 Posts
      6k Views
      K
      Matt, Cool, I'll have a look. And of course, thanks of starting the orginal series of units plugins. -Kwok
    • K

      [Plugin] rotating components spherically (June 12, 2011)

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      1
      0 Votes
      1 Posts
      4k Views
      No one has replied
    • K

      [Plugin] Group PushPull 2DFaces (v0.4) Oct 20, 2010

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      22
      0 Votes
      22 Posts
      31k Views
      W
      It's save a lots of time. Thank you so much.
    • K

      [Plugin] Slots 4 Tabs

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      10
      0 Votes
      10 Posts
      12k Views
      O
      Hello, I'm planning to download and play with this. I was wondering will it work on curved edges and parts? Brock
    • K

      [Plugin] Delete Interior Faces

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      6
      0 Votes
      6 Posts
      12k Views
      pilouP
      Same result...but you can use the trick by Jean Lemire above!
    • K

      [Plugin] Key Rotate

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      7
      0 Votes
      7 Posts
      10k Views
      I
      (No experience with ruby) I'm trying to alter this to rotate around component base instead of center. It seems I just need to change this line: pt = e.bounds.center Can anyone help me find out what I need to write to make the component center its point of rotation? Any help would be greatly appreciated.
    • K

      [Plugin] PushPull & Group

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      8
      0 Votes
      8 Posts
      14k Views
      TIGT
      After 9 years one might expect a plugin to be unsupported and unsuitable for newer versions of SketchUp ! However, some of the ideas discussed in this thread are still useful today...
    • 1 / 1