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 Offline
    • Profile
    • Following 0
    • Followers 13
    • Topics 266
    • Posts 19,853
    • Groups 6

    Posts

    Recent Best Controversial
    • Roof.rb v1

      Version 1 of my new script Roof.rb... (zipped)

      Click here: http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1516

      Please try and feedback...

      posted in Plugins
      TIGT
      TIG
    • RE: AutoCAD 06/SU6 compatibility issue?

      SketchUp currently imports dwg AutoCAD files in r2004 or earlier. If you have a newer version of AutoCAD SaveAs an earlier version - like r2004. If you have received a dwg from someone else you can download AutoDesk's free conversion tool 'DWG True View'... this lets you convert any release dwg into any other release dwg that you select...

      posted in SketchUp Discussions
      TIGT
      TIG
    • RE: Shut down automaticly

      @burkhard said:

      I have another question.
      Remember the calc.rb can be open from the Plugins menu.
      But if I close Sketchup the calculator does not automaticly close with.
      Is this fiasible ( viable,contrivable or whatever )?
      Burkhard

      You could make an observer for the model (v6 only). It would be made by the calc.rb script - if you open the calculator the observer is added to the model. It then watches for when the model closes... and removes itself and closes the calculator if it's open ?

      I haven't got an idea how to do it, BUT it should be do-able...

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Random Delete?

      Another shameless plug... try my MatrixProximity script. That adds two functions. There are guides on use too - See Didier's site etc. See: http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_cam_page.htm

      'Matrix' places 1D, 2D and 3D arrays of a selected component, arrayed as you choose from a dialog, you can use fixed-spacing or randomized-about-a-spacing for the pattern in XYZ and also for the XYZ rotation and XYZ scaling/handing. If you make a random matrix of trees above a ground surface at the end you can 'drop' them onto that surface if desired...

      It's cousin loaded in the same script is 'Proximity', which lets you swap components for more-complex/less-complex ones, depending how far they are away from the camera. So for example you model a stadium with a simple component seat called 'seat-' and position you camera. Run Proximity and enter the camera-distance 'ranges' in the dialog and as long as you have 'family' components called 'seat+' and 'seat~', then the near and mid-distance ones get swapped for these - so the nearer the camera the more detail is seen. Make your image and swap the "seat"s back to their simplest one for general working. This helps keep poly counts low. It can be also used for trees, people, cars etc.

      posted in SketchUp Discussions
      TIGT
      TIG
    • RE: Change default material

      @burkhard said:

      Thanks TIG,

      but there's no change in the prompt box. I'll set the value to -10
      and the box dimensions to 3oo. The prompt window shows default settings : 100 and 0.

      ... and where do I have to copy these new material files. My tries show no results.

      thanks again Burkhard

      Here's a 'tweaked' version of the script. Read the ### parts to see what I've done. I added the material part in near the end after the faces are made, AND made the 'def' within a 'Box' class and then split the dialog variables as @xxx so they are defaulted at the first go but they are then remembered as last set during that session.


      box_pos[1].rb

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Change default material

      @burkhard said:

      It is possible to change the default material of the box within this script to opacity 30% automatically?
      ...and set the value for the z-axis to -10cm

      Burkhard

      values = [100.cm, 100.cm, 100.cm, 0.cm, 0.cm, -10.cm]
      
      new_material=model.materials.add("Burkhard_Material")
      new_material.color=[128,128,128] ### a mid-grey, adjust to suit...
      new_material.alpha=0.5 ### 0.5=50%, 1=opaque
      entities.each{|e|e.material=new_material if e.typename=="Face"}
      
      posted in Developers' Forum
      TIGT
      TIG
    • RE: Purge

      @unknownuser said:

      TIG, that is great. Works like a charm. Just run it, then run purgeall and poof.

      Thanks.

      At least that works ! Now for Roof.rb glitches. Perhaps you should all go to church and retry it ?

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Purge

      This is a 'Default All Layers' (in selection) script that I've just cobbled together. Please try and report back...


      default_all_layers.rb

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Purge

      @miikka1978 said:

      Is there something similar to RemoveMaterials, which would also delete the materials from the paint bucket (in model- pull down menu)?

      My Purge All could be used (cannibalised) to purge unused materials after they are no longer used when RemoveMaterials has been run...

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Purge

      @unknownuser said:

      Thanks Todd, that is what I was searching for. I will try to find the collapse to layer 0 you mentioned.

      Tom, I was looking for a Purge Used script, not Unused πŸ˜‰
      And the PurgeAll script that TIG attached will purge all unused components, layers, materials, and styles then generate a report. I guess the only difference between the purge unused in the statisitcs and the script is the generated report, correct me guys if I am wrong.

      My Purge All script lets you choose NOT to purge some types e.g. Layers can be left alone whilst everything else is cleaned up...

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Purge

      @unknownuser said:

      I know there is a purge all unused ruby:
      http://www.crai.archi.fr/RubyLibraryDepot/Ruby/en_edi_page.htm

      I was wondering if there was a ruby for purging all layers, colors, components, etc... that are being used.

      If not, could it be written? Purge everything to default colors and 0 layer etc...

      This has been around for a while (v6 only)...


      PurgeAll.rb

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Copying Files

      @jim said:

      I'm curious why File.delete is allowed, but File.move and File.copy aren't supported?

      Seems that someone never go around to making them in the Ruby 'base-build'. However here's a script (ftools.rb) to add to your Plugins folder - it adds File.copy .move .mkdirs .compare etc...

      If you use the methods remember that others might not have ftools.rb if you distribute your script...


      ftools.rb

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Selecting Entities inside composite Entities

      For "visualisation purposes" you could try setting the view display to 'display edge by material', then get the edges' materials saved into a 2-part array, colouring them all say 'Orange' and then as you exit you'd loop back through and change them back to what they were before, and finally you set the view display as it started off ?

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Random Delete?

      Try:
      http://www.sketchucation.com/forums/scf/viewtopic.php?p=12977#p12977
      which links to a Random Delete ruby script. It deletes a percentage of a selection. Percentage is from a dialog... Use with care...

      posted in SketchUp Discussions
      TIGT
      TIG
    • [Plugin] Random Delete

      This script randomly deletes a percentage of selected entities (from a dialog)... Use with care...PayPalButton

      Please get the latest version from the PluginStore http://sketchucation.com/pluginstore?pln=RandomDelete


      RandomDelete.rb

      posted in Plugins
      TIGT
      TIG
    • RE: Settings for area tool

      Here's the Area Formatting script, beta v1.0...
      http://www.sketchucation.com/forums/scf/viewtopic.php?p=12808#p12808

      posted in SketchUp Discussions
      TIGT
      TIG
    • [Plugin] Area Formatting

      This lets you format area text tags with any desired area format... For example you are working in mm but want areas in m2...
      [flash=800,600:268zxfdc]http://www.youtube.com/v/Txue6Jo0DZA[/flash:268zxfdc]
      Before picking the tool off the Plugins|Extensions menu select what you want formatting or let it choose from 'everything' available...
      It converts mm2, cm2, m2, in2 and ft2 into mm2, cm2, m2, hectares, sq in, sq ft, sq yds and acres; all as you might select from the dialog...http://sketchucation.com/resources/pluginstore?pln=AreaFormat

      posted in Plugins
      TIGT
      TIG
    • RE: Hatch script?

      @didier bur said:

      What about SectionCutFace with a hatchy material ?

      Thanks Didier - beat me to it! All you need to do is use my script... then edit the section-cut face group and apply a 'hatched' material to the faces, instead of the color your choose initially...

      posted in Developers' Forum
      TIGT
      TIG
    • RE: Settings for area tool

      Didier has made a Find+Replace text tool script. To use it you'd simply make all of your area texts in the default [meters2] then finally run it to find "meters2" and replace it with "m2".

      See: http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_tex_page.htm

      Didier's site has LOTS of goodies...

      It's pretty easy to envisage a script that also finds text in the format NNNcentimeters2 and then takes the number divides it by 10000 and adds m2 back on... I'll draft one out and put it on the appropriate board...

      posted in SketchUp Discussions
      TIGT
      TIG
    • RE: Move a vertex

      You can move an Edge's Vertex with Move, as long as nothing is pre-selected - use inferencing and shift-locking to get the end to finish up where you want it to be...

      You can also move an Edge's Vertex by using Scale on the Edge (tip: you need to temporarily draw a scrap bit of new Edge off the side of the one in question, so that it becomes 'Scalable' [then simply delete the scrap bit afterwards and the Edge is back as one piece]; pull the end you want to where you want it be be (tip: draw a construction[guide] line first if there's nothing else to infer to to pull it to).

      You can also change a Selected Edge's length by using 'Entity Info' and typing in a new overall length for it, BUT the Edge must have at least one 'free' Vertex - i.e. one that's not connected to another Edge; also if you want to increase an Edge from its 'start' rather than its 'end' you might also need to Move the whole Edge too...

      posted in Newbie Forum
      TIGT
      TIG
    • 1
    • 2
    • 985
    • 986
    • 987
    • 988
    • 989
    • 992
    • 993
    • 987 / 993