sketchucation logo sketchucation
    • Login
    1. Home
    2. TIG
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Check out Febhouse | New extensions for Shadow Analysis in SketchUp Download
    TIGT Online
    • Profile
    • Following 0
    • Followers 13
    • Topics 266
    • Posts 19,853
    • Groups 6

    Posts

    Recent Best Controversial
    • RE: Pro or free version

      Sketchup.version and Sketchup.version_number
      Returns the current version number.
      The Current Version of Google SketchUp Pro is:
      6.0.515 for Windows XP, 2000 and Vista
      6.0.514 for Mac OS X 10.4 or later
      BUT it's also that for the Free version ?

      However, since the Free version lacks some features in the Pro one then you can look for their absence ?

      For example:
      is_pro=Sketchup.find_support_file("Skp2Acad.dll","Exporters")
      is_pro is true for Pro and false (nil) for Free...

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Mirror.rb blues

      Thanks Burkhard... I had had a bad day... It's at the very least polite to acknowledge the work of others in the headers of the script's text when you are using their code or ideas...

      It would have perhaps been easier to leave my original script alone and then link in you new toolbar/extension parts separately to that ?

      posted in Plugins
      TIGT
      TIG
    • RE: Mirror.rb blues

      @unknownuser said:

      ctrl+M? wouldn't that = copy?

      No.
      Pressing M and then Ctrl would Move+Copy IF you have M set to Move, but pressing ctrl + M together doesn't (at least not in the Pro version). I only used that key combination as an example !!! You can use any non-reserved key combo: shift+M, alt+M, ctrl+shift+alt+`, shift+spacebar etc etc... the list is only as restricted as your imagination...

      posted in Plugins
      TIGT
      TIG
    • RE: Mirror.rb blues

      @burkhard said:

      try this one. 😉 simple but works

      And I thought Frank Wiesener, and then I did all of the hard work in the last three years developing "Mirror.rb" for you all to use freely.........
      http://suwiki.org/suwiki/index.php?title=Mirror_%28plugin%29
      [but link to old forum is now defunct.]
      http://www.crai.archi.fr/RubyLibraryDepot/Ruby/EM/Mirror_31.rb

      I know it doesn't have a (c) para or an 'acknowledge who done this' para at the start, BUT let's be nice - it's certainly got little that's wholly "Burkhard's"...
      I fully acknowledge Frank's earlier input in my updates, at least you could acknowledge others work that's been included in yours - which quite frankly lifts whole lumps of code direct - you even have my ###v3.1 rem tags in yours...

      Let's stay friends about this... but...

      posted in Plugins
      TIGT
      TIG
    • RE: Mirror.rb blues

      @unknownuser said:

      Is there a hope for this script to have a toolbar button sometime?
      I am using it more and more and find myself hunting for the button too often.

      Thanks.

      So much to do and so little time...

      I have a shortcut key that mirrors selections... even quicker than a button ? (M=move but say ctrl+M=Mirror ?)

      posted in Plugins
      TIGT
      TIG
    • RE: Align face to endpoint script ?

      @dtrarch said:

      How about a script that will align a face perpendicular to the end point of a line segment that may be off axis in 3d?

      This would be a big help when using follow-me for this condition.

      Dave

      My ExtrudeAlongPath, TubeAlongPath and PipeAlongPath scripts all align a face perpendicularly to the start of the selected path... So it shouldn't be difficult (for someone) to pinch the appropriate bits and make your tool... Also Mirror.rb also has methods for copying faces etc and moving them about selected lines/planes etc so all in the bits exist already...

      posted in Developers' Forum
      TIGT
      TIG
    • RE: VolumeCalculator Script - Modification Requests Attn: TIG

      Added to the list...

      [EDIT: Done - for v1.7 see: http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1531]

      posted in Plugins
      TIGT
      TIG
    • RE: Section Edge Display

      New improved version of SectionCutFace.rb is in the depository here...
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1517

      posted in Newbie Forum
      TIGT
      TIG
    • RE: Width, Depth and Length of Component Instance

      Even if it's not rectangular you can still find horizontal and vertical faces of an enclosing rectangle for its main faces.

      horizontal>>> face.normal.z==-1 >>>down ...==1 >>>up
      vertical>>> face.normal.z==0

      you can find the bottom down face (faceh), find its edges, then find an edge that matches in the se of vertical faces' edge (if you might have say several vertical faces then find the one with the longer edges if that's the one you need etc...)

      you now have a long bottom face (faceh) and an adjoining vertical face (facev) that's sharing a (long) edge.

      faceh.bounds.max.x-faceh.bounds.min.x and similarly for .y give the plan size (x & y) and facev.bounds.max.z-facev.bounds.min.z give the overall height (z) ?

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Width, Depth and Length of Component Instance

      If it's a solid faced rectangule then get the bounds of two (or three) of the 3D opposed faces... then you can work out the xyz dims of the object, without resort to it's over all bounds...

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Ruby Tutorial: How to create and add a component from Ruby

      Try using groups as an alternative...
      ...
      entities=model.active_entities
      group=entities.add_group
      gents=group.entities
      ...
      gents.add_line(pt1,pt2)
      gents.add_face(pt1,pt2,pt3...)

      etc, all made inside the group NOT model

      then transform group etc

      group1=group.copy
      group1.make_unique

      transform group1 etc

      ...

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Ruby Tutorial: How to create and add a component from Ruby

      But the Joist and Rafter tools make a component that is repeatedly copied AND if you subsequently edit one of them then they all change ! If you want parts that are unconnected then use Groups - but make each unique - as I said within a script they can be viewed as clones of the same thing and they'll edit together, but doing an edit in the "real world " has each of them treated as a single entity...

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Ruby Tutorial: How to create and add a component from Ruby

      If you make a component and place it several times then anything you do to one instance affects all of the others - unless you use 'make_unique' on it first. Using groups and copying them avoids this, BUT a recently noted but undocumented quirk in the SUp Ruby coding means you must use 'make_unique' on a group as you copy it... otherwise that copy is treated as an 'instance' (just as if it were a component anyway !!!) and then both might change as you alter one...

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Ruby Tutorial: How to create and add a component from Ruby

      @tomot said:

      How do I code a radial array of cubes about a central point?
      tia

      Look into my "Grow.rb" script to see how to do all types of matrix arraying etc - Move, Rotate and Scale of copies...

      posted in Developers' Forum
      TIGT
      TIG
    • RE: ½ PIPE ALONG PATH

      I smile inside.

      posted in Developers' Forum
      TIGT
      TIG
    • RE: ½ PIPE ALONG PATH

      The twisting is a part of followme. To keep it flat needs a new followme writing, which would be too much for mortal man - when he's not getting paid !

      posted in Developers' Forum
      TIGT
      TIG
    • RE: ½ PIPE ALONG PATH

      See the adjacent thread about make 'logs'. Didier already has a Balustrade tool...

      You could make a ExtrudeSelectedFaceAlongPath.rb... A sort of combination of my set of ...AlongPath... tools and RickW's CopyAlongPath... script

      Then you could draw any face shape you like - half pipe, cornice etc without the need to orient it at 90 degrees to the start of the path. You'd select the face and the path and it'd do it for you ? Alternatively you could use external face components - like Didier's Balustrade... script and extrude those along the path - ExtrudeSelectedComponentsFaceAlongPath.rb...

      This is all possible... but is it worth doing when you can already draw and do this with a little effort and pushpull/followme ? Perhaps an alternative idea would be a script that orients a selected face at 90 degrees to the start of a selected path for the later pushpull or followme... that way you use the inbuilt base tools for the main work, but we'd have a neat tool to start you off - OrientFaceToPath.rb ?

      posted in Developers' Forum
      TIGT
      TIG
    • RE: [Plugin] Script for making of logs

      If it's too difficult to code in Ruby (though drawing two coplanar arcs that will face doesn't seem that impossible ?), then why not change tack and follow Didier's example in his 'Balustrade.rb' script (or even Todd's 3Dtext tool) ?

      This method allows you to draw any section you like... In your case you'd draw up a a set of simple outlines with the curved top and the bottom slot etc, with a face centred at 0,0,0... and then save them as say log300,skp, log400.skp etc. These are the 'component' "log" faces your script will load into the model... as you might choose from a dialog's list (which itself is made by looking into your ../Plugins/../Logs/ folder and listing its current contents - that way you can add to/subtract from the available log section component faces as you wish). Your script would then place the desired face component and explode it, then take its face and pushpull it by the amount you specified in the other entry in the dialog...

      posted in Plugins
      TIGT
      TIG
    • RE: Old West Board sidewalks..

      Can't you use the joist tool anyway ? First do a bit of preparation - decide the board width, and thickness(=depth) and spacing(=centers) = board + gap, e.g. let's say your plank width is 6" and say its depth is 2", then with a gap=0.5" > centers=6"+0.5"=6.5". Enter these into the joist tool as the three parameters in their order.

      You get your board-walk planking...

      posted in Plugins
      TIGT
      TIG
    • Section Cut Face

      Updated SectionCutFace.rb ruby script is here
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1517

      posted in Plugins
      TIGT
      TIG
    • 1
    • 2
    • 987
    • 988
    • 989
    • 990
    • 991
    • 992
    • 993
    • 989 / 993