ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • Array of all toolbar names

    3
    0 Votes
    3 Posts
    611 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
    749 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
    647 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
    358 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
    281 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
    686 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
    723 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
    498 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
    200 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
    1k 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
    403 Views
    T
    ditto. it's really cool.
  • Idea for an active selector

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

    4
    0 Votes
    4 Posts
    858 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.
  • New Ruby Idea

    5
    0 Votes
    5 Posts
    396 Views
    M
    Great. In parallel, for precise usage (that was my original intention), I think it is better to orbit around a selected point then the center of the bounding box (of a component), but it is not difficult to add. Regards Marcio
  • Move objects via arrowkeys

    6
    0 Votes
    6 Posts
    476 Views
    J
    @Pixero Thanks - just what I needed. And thanks to others for their contribution Thanks

Advertisement