🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
  • SCF TWEAKTOOLS 1.0

    29
    0 Votes
    29 Posts
    4k Views
    Chris FullmerC
    No more subforums, please. I think its best off to let them work it out on their own like they are doing now behind the scenes. The details of it all don't need to be public. Chris
  • Watermarks with Ruby?

    17
    0 Votes
    17 Posts
    969 Views
    C
    @unknownuser said: If you go to Help -> Ruby Help inside SketchUp, that should take you to the V7 ruby doc. You could perhaps figure out how to code up a google search to scan the online help doc for "watermark". I'm sure there's a way to do it. Believe me I have summoned arcane google magicks to find information about managing watermarks in sketchup ruby. But I have failed in my quest. Plus, as Chris Fulmer pointed out, there is no "Help->Ruby Help" menu in my sketchup (version 7.0.8657) Perhaps I could hijack this otherwise stale thread to ask for more general advice about what I would like to do: I am interested in getting access to the images used as backgrounds in the scene tabs that are created when using the "match photo" feature. Are these images even watermarks? I foolishly imagine that I will be able to create additional photo matching features if I can gain access to these images. One thing I would like to do is use Overlay watermarks in addition to Background watermarks for photo matching. Including automatically varying transparency/visibility during the photo matching work flow. Are there already existing "match photo on steroids" tools available?
  • Array of all toolbar names

    3
    0 Votes
    3 Posts
    639 Views
    A
    You could overwrite the add_toolbar and toolbar_names methods of Sketchup. But you have to make sure that your plugin is the first loaded. azuby
  • Showing new geometry as its made?

    11
    0 Votes
    11 Posts
    799 Views
    Chris FullmerC
    Todd, thanks for the details! Very enlightening. And to put your mind at ease, I have been using modules to encapsulate my scripts. So there should be no namespace conflicts. I was unaware that any method defined as "initialize" will be called automatically. That is cool, and very good to know. And that exaplins how the methods were being called. All in all very informative and thanks for taking the time to respond to each question - there werew quite a few! Chris
  • Using DCL file to show dialog in SU

    4
    0 Votes
    4 Posts
    680 Views
    M
    That's not free...
  • Last tool recall?

    6
    0 Votes
    6 Posts
    1k Views
    M
    Please take a look here!
  • Profile Builder plugin- Problem- Help?

    26
    0 Votes
    26 Posts
    2k Views
    thomthomT
    In regards to the preview in PB, what about using Flash to draw it? That's supported on all platforms. And if you make the whole dialog in flash, then you don't have to worry about how different browers render it.
  • Web Exporter advanced controls

    5
    0 Votes
    5 Posts
    390 Views
    F
    Alright... as I said it's dirty code made at 1:00 AM with the one and only (failed) intent to make it work... so I could show the model with my iPod Touch... http://ales.foxleader.net/-REPO-/3D1/AlesFoxJet5XLS_index.html Note that "Gauche" is the french for "Left" while "Droite" means "Right" Also, all the code is in that page between the head tags, and my modified code is at the end of the head. I added this in the body: <a href="javascript&#058;cs(10)">Gauche</a> <a href="javascript&#058;cs(20)">Droite </a> and this before the end of the <script> tags in the head, modified from the handleRotate(e) function: function cs(e) { // STEP is how many pixels equals an image swap var STEP = 10; var width = sketchUpObj.offsetWidth; var delta = e addToPos = Math.floor(delta/STEP); //handle wrap around var wrap = (currentPos + addToPos) % imageCount; var newPos = (wrap < 0) ? imageCount + wrap ; Math.abs(wrap); //hide everyone except the image we are over for (var i = 0; i < imageCount; i++) { hide(sketchUpImageArray[i]); } show(sketchUpImageArray[newPos]); // return false; } I repeat, that's dirty code. Really dirty. Lol. I also know that it's JS, so not really Ruby but I guessed it was still the best section to post this. Thanks for your help!
  • Autodynamic component! Is it possible?

    4
    0 Votes
    4 Posts
    307 Views
    Chris FullmerC
    So if you wanted that shelve automatically made, you would need to specfiy what dimensions stay frozen and which ones shift. Like the length of the flat boards would grow with the scaling. But their thickness should stay the same if scled to be taller. You need to set all that for every board. Then set their x, y, and ,z relationships. It is pretty complex to create an "auto" function. The DC's are pretty stratightforward once you get the hang of taking into account all the variables that need to be thought of - AND after you get passed the initial frustration of lack of documentation (or scattered docs). Chris
  • Redirect puts to file?

    9
    0 Votes
    9 Posts
    756 Views
    thomthomT
    Interesting. It gives a bunch of error messages from scripts that initializes. But it didn't seem to pipe any errors when I typed in 5 / 0 in the console. When I used one of my plugins that uses the puts method, it didn't update the file automatically, but only when I closed down SU. Not 100% sure how this works. But it sure is useful to catch startup errors. LibFredo got some for instance.
  • How to pause a ruby script for 1 second

    25
    0 Votes
    25 Posts
    5k Views
    Chris FullmerC
    Ahh, I see. I think its ok in this instance to stop up ruby entirely. I was having very little luck getting it to work any other way. I just kept sending SU into a deeep coma. Maybe I'll try to post my broken code using the timer and try to get that working instead then. Thanks Tavi, Chris
  • Request - Fixed square metre

    12
    0 Votes
    12 Posts
    797 Views
    chrisglasierC
    @chrisglasier said: I wonder why the entity info result is in square millimetres not square metres to two places of decimals as is common in sensible metricificated places. Chris [image: qh6T_SquareFootCalcs4.jpg] See toggle units. Thanks Matt! Chris
  • 'ROUND EDGE' plugin, problem using it

    2
    0 Votes
    2 Posts
    526 Views
    3
    DONE
  • [ruby doc] UI.messagebox - can't set title

    6
    0 Votes
    6 Posts
    1k Views
    C
    The messageboxname argument works with MB_MULTILINE messagebox type, but not with the presumably more frequent MB_OK type, which is the default. Bug. Annoying.
  • Where can find descriptive for ruby 's event driven ?

    3
    0 Votes
    3 Posts
    234 Views
    H
    Thanks you very much Jim , their place was simple to access ,but I can't see them
  • 2D export to SVG

    31
    0 Votes
    31 Posts
    7k Views
    D
    Dear all, you for sure would not believe, what I tried in the meantime, to get clean SVG out of SU7 FREE. Call me beeing stupid. All attempts, getting clean SVG out of FREE, including using an EMF (Enhanced Meta File) printer drivers, failed in some or the other way. My last resort was to ask Google for a PDF export even in the FREE version. Just sent, if they answer, I'll report. Best regards, deerwood
  • Trouble with running cloud v6

    18
    0 Votes
    18 Posts
    2k Views
    Didier BurD
    @unknownuser said: Is there a way that the guide points created can retain the coordinate data in the entity info? Nope. An attribute could be added but will be invisible in the info box, so useless.
  • Has anyone tried the DrivingDimensions 0.4 ruby

    3
    0 Votes
    3 Posts
    426 Views
    T
    ditto. it's really cool.
  • Idea for an active selector

    6
    0 Votes
    6 Posts
    358 Views
    J
    "Suspend Groups" would be another good tool that could be mimic from Archicad
  • Georeferencing

    4
    0 Votes
    4 Posts
    874 Views
    J
    Hi John, That seems reasonable to me. It does look like the Lat/Lon are taken from the Shadow_Info, but I have no idea what the other attributes in GeoReference mean. I think you'll just have to experiment until you figure it out.

Advertisement