sketchucation logo sketchucation
    • Login
    1. Home
    2. TIG
    3. Topics
    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!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
    Offline
    • Profile
    • Following 0
    • Followers 12
    • Topics 264
    • Posts 19,728
    • Groups 6

    Topics

    • TIGT

      [Code] file_found?(path) and to_ascii+to_unicode.rb

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      42
      0 Votes
      42 Posts
      6k Views
      Dan RathbunD
      Do not ignore Dan Berger's windows-pr package. It goes along with his win32-api package. Has the Windows "unicode.rb" In windows-apt-0.4.0 there's a complementary file "wide_string.rb"
    • TIGT

      [Plugin] Add Point at Line Face Intersection

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      6
      0 Votes
      6 Posts
      12k Views
      utilerU
      Thanks for the reply, TIG. I did try your script over night and yes, it is quite different!!!! Thanks; i think it will be a handy addition..... I love this place.
    • TIGT

      [Code] material.name= v1.2

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      8
      0 Votes
      8 Posts
      2k Views
      TIGT
      Here's v1.3 - with error on attrdicts==nil fixed... http://forums.sketchucation.com/viewtopic.php?p=167219#p167219
    • TIGT

      [Code] layer.delete()

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      20
      0 Votes
      20 Posts
      5k Views
      P
      Great thx Tig for the extra explanation Now if only this was possible for materials to (without having to duplicate the entities first) BTW Tig, do you know if is possible to refresh the Layer window?
    • TIGT

      [Code] material.delete

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      17
      0 Votes
      17 Posts
      3k Views
      TIGT
      Use v1.2: fixed an array bug. http://forums.sketchucation.com/viewtopic.php?p=166978#p166978
    • TIGT

      [Plugin] extrudeEdgesByEdges.rb

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      190
      0 Votes
      190 Posts
      214k Views
      TIGT
      You've probably posted in the old thread that relates to just this tool. The various 'EEby' tools were merged long ago into the "Extrusion Tools"... It works in all current versions of SketchUp - including v2020, although its guidance notes currently stop at v2019. Since v2017 it has become more prone to Bugsplats during very complex modeling operations, so "always-save-before-using"... Get the RBZ from here and install it... https://sketchucation.com/pluginstore?pln=ExtrudeTools As DaveR says you should then see the 'signed' entry in the Extension Manager as 'ExtrudeTools' [TIG], and the toolbar can be activated, there are also menu entries...
    • TIGT

      [Plugin] #SelectionHideShow.rb v1.1

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      22
      0 Votes
      22 Posts
      37k Views
      TIGT
      View > Hidden Geometry ON will show all hidden objects. If it's on a Layer that is OFF you won't see it though... The Outliner will also show all instances that are on ON Layers... You can select them in the Outliner and they select in the model.
    • TIGT

      [Plugin] TrueTangents v3.0

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      95
      0 Votes
      95 Posts
      108k Views
      Dave RD
      @Gili It works perfectly in SketchUp 2025 and 2026. I've been using it a great deal. I used it repeatedly the other day to set up the linkages on this paddle wheel. [image: 1762525212449-54898381982_f970ddd225_k-resized.jpg]
    • TIGT

      [Plugin]ArcCurve-set_segments.rb & changearcsegments 130830

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      32
      0 Votes
      32 Posts
      66k Views
      M
      First of all: I am NOT a programmer, so there is ZERO error handling on this quick-and dirty script. I had tried TIG's solution, but did not work on my DWG because some of the arcs would "clip" others as they were rebuilt by the script. So I wrote this small routine to: loop through imported AutoCAD entities. select curves and group them (individually) create a more refined clone of the curve (the number of segments is controlled by two parameters. See script) Delete the original curve. Anyone is welcome to turn this snippet into something better and more reusable. Best, Marcos. theModel = Sketchup.active_model #selEntities = theModel.selection theModel.selection.clear allEntities = theModel.entities Collect user values: prompts = ["Minimum number of segments:", "Minimum Segment Length:"] defaults = [36, 10] input = UI.inputbox(prompts, defaults, "Enter Desired Settings") #set minimum length for each arc segment (in model units) userSegs = input[0] minLen = input[1] #UI.messagebox(userSegs.to_s) #UI.messagebox(minLen.to_s) allEntities.each do |i| if (i.typename == "Edge") aCurve = i.curve if (aCurve) Sel = theModel.selection unless defined?(Sel) Sel.add (aCurve.edges) newGroup = allEntities.add_group (theModel.selection) Sel.clear else #not a Curve end end end theModel = Sketchup.active_model theModel.selection.clear allEntities = theModel.entities Loop through all entities allEntities.each do |i| #open Groups, search for Curves if (i.typename == "Group") #Loop through array of Entities inside each Group subset = i.entities subset.each do |s| curve = s.curve if it is a curve, collect a few properties if (curve) get coord. transformation, since entities are in a group #use "transform" below to translate to global coordinates tr=i.transformation cCenter = curve.center.transform! (tr) cSangle = curve.start_angle cEangle = curve.end_angle cRadius = curve.radius cNormal = curve.normal.transform! (tr) cXaxis = curve.xaxis.transform! (tr) cYaxis = curve.yaxis.transform! (tr) cLength = curve.length #UI.messagebox(" Curve Length is " + cLength.to_s) #divides arcs in minLen(model unit) increments divSegs = (cLength / minLen).to_i #UI.messagebox("Divided Result is " + divSegs.to_s) #for very small arcs, sets a minimum number of segments if (divSegs <= userSegs) numSegs = userSegs UI.messagebox("Using: " + numSegs.to_s) else #subdivides larger arcs using target length numSegs = divSegs.to_i UI.messagebox("using Divided total" + numSegs.to_s) end myarc = allEntities.add_arc cCenter,cXaxis,cNormal,cRadius,cSangle,cEangle,numSegs #Erases original i.erase! end # if curve end # entities inside group loop end # if it is a group end #loop through all entities
    • TIGT

      [Tutorial] SpirallingStairs

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Tutorials sketchup
      7
      0 Votes
      7 Posts
      4k Views
      J
      Very nice, Thanks for taking the time to make this!
    • TIGT

      [Plugin] Dimension and Leader Text - Toggle Visibility

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      14
      0 Votes
      14 Posts
      11k Views
      JClementsJ
      Works ok. Thanks again.
    • TIGT

      [Plugin] Construction Guide Context Tools - Update

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      3
      0 Votes
      3 Posts
      6k Views
      J
      Thxs a lot Tig
    • TIGT

      [Plugin] ComponentReporter++ v1.2

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      71
      0 Votes
      71 Posts
      65k Views
      M
      Hi TIG Thanks for your help. It just shows how little I understand abaut the task. May I ask for your permission to post this code somewhere else on the internet? Besides if it isn't too hard I could pay for solving this problem. Please contact me if you interested. Thanks again for your help.
    • TIGT

      [Plugin] Archiver.rb - update

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      42
      0 Votes
      42 Posts
      26k Views
      TutorialsUpT
      Thanks for the Plugin Can you please add an option thats create an Archive file automatically after a specified period of time? Eg: Auto-Archive After every 15 minutes or auto-archive on each Auto-save (time set in preference> general) I would love this feature because most of the time I forget to Archive. And can't go back enough. Thanks again.
    • TIGT

      [Code] ComponentInstance-add_entities v1.9

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      33
      0 Votes
      33 Posts
      24k Views
      TIGT
      Here's v1.9 http://forums.sketchucation.com/viewtopic.php?p=145009#p145009 Copies over Instance Attributes if copy making set...
    • TIGT

      [code] ComponentDefinition-delete

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      9
      0 Votes
      9 Posts
      2k Views
      TIGT
      AlexM has found the basis of doing this without a new method at all... model.start_operation("Delete Definition") definition.entities.erase_entities(definition.entities.to_a) model.commit_operation I'm removing my 'code' and rewriting ComponentInstance-add_entites.rb to suit...
    • TIGT

      [Plugin] AddFaces

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      18
      0 Votes
      18 Posts
      30k Views
      A
      Thank you so much. This plugin is wonderful. Will there be any updates for it later on?
    • TIGT

      [Plugin] ConsDeleteContext

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      8
      0 Votes
      8 Posts
      11k Views
      TIGT
      I've corrected the RB file previously found in the first post - https://sketchucation.com/forums/viewtopic.php?p=100581#p100581 I've republished its RBZ in the PluginStore as v2.1 https://sketchucation.com/pluginstore?pln=ConsDeleteContext
    • TIGT

      [Plugin] Elev45Shadows.rb

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      43
      0 Votes
      43 Posts
      28k Views
      A
      Hi, Just discovered your 8 year old plugin. Its exactly what I was hoping to find. I am a 2018 Pro user and a retired architect that still does small projects for clients and fun designs for myself. Your plugin works as expected although it took me a while to find where among the tools it is located. Save for one problem. It doesn't always save even though I update the scene after selecting the left or right option. I create four orthogonal elevations and happily am able to cast a 45 degree shadow on all four sides, update the scene but when I come back, some of the scenes have lost the setting while others are fine. Am I missing something? Thanks in advance, Allen Weitzman
    • TIGT

      [Plugin] GlobalMaterialChange v1.4 20110525

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      32
      0 Votes
      32 Posts
      36k Views
      JClementsJ
      Thank ,you TiG that worked! Any chance of incorporating the code into GlobalMaterialChange2.rbz ? And/or a separate Plugin for displaying an option (such as "GroupCopy UnInstanting") in the Context Menu that would appear if objects are selected? It come in handy for other issues that might happen with copied groups. P.S. Your previous post regarding editing a group, gave me an idea of how to make it easier to manually open multiple occurrences of groups containing materials. I gave all groups containing materials an Instant Name that included the text "....(with material)". Then, by opening the Outliner, and searching for "(with material)" and double-clicking on each find to open and close the group. It was a fairy quick process compared to opening each group in the modeling window. If a group's instant is properly named then all is good, BUT it takes discipline when creating groups in the first place.
    • 1 / 1