ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • Profile Builder (question)

    18
    0 Votes
    18 Posts
    2k Views
    thomthomT
    Let me know ifyou need beta testers.
  • Unfold.rb script: useful for UV-mapping?

    61
    0 Votes
    61 Posts
    15k Views
    J
    As a temporary work-around, added a prompt: [image: OI60_068.png] This will allow you to leave the unfold tool and resume when re-activated - but moving the geometry (including using Undo) will invalidate the history and the re-fold will fail. Download from http://bitbucket.org/jimfoltz/sketchup-unfold-tool/get/tip.zip
  • Need two plugins which I CANT REMEMBER the name :(

    6
    0 Votes
    6 Posts
    216 Views
    A
    thank you all... I wish someone would compile a thread with all (or most) plugins ever created, with small animations of what they do, just like the Must Have Rubys Visual Index, but BIGGER
  • When Ruby Can't Execute_Script

    7
    0 Votes
    7 Posts
    1k Views
    M
    @thomthom said: @martinrinehart said: The w3c insists that you put the <script>...</script> above the </body>. Please join in my subversive campaign against the w3c: http://www.MartinRinehart.com/articles/xhtml-strict-not.html No no no. You should read up some more about separating content from layout in regards to web development. There are very good reasons why all best-practices articles discourages tag-soup. You did not address the content of my article. Is your web the exclusive property of web professionals? Are we drifting way off topic?
  • ADO Revisited

    3
    0 Votes
    3 Posts
    799 Views
    D
    Hi Gaieus Sort of an odd ball deal but IMO more script focused but move as you see fit. The 3d PDF that I used built a much larger file than Al Hart's offering for SU but had better images in all render modes. The PDF tools are just killer. Cheers dtr
  • &lt;LocalJumpError: return from proc-closure&gt; in WebDialog

    5
    0 Votes
    5 Posts
    1k Views
    J
    Maybe, but I don't understand it myself. Rather than returning from the proc, the proc itself evaluates, and that is what is returned.
  • Invalid Web Dialog

    10
    0 Votes
    10 Posts
    2k Views
    J
    Or just recreate the dialog every time... def create_dialog @dlg = UI;;WebDialog.new( ... ) @dlg.show { } end
  • Scope of class.initialize

    7
    0 Votes
    7 Posts
    877 Views
    J
    @cjthompson said: The reason I was asking was in regards to this post: http://forums.sketchucation.com/viewtopic.php?f=180&t=22567 Is it possible that the bounding box's initialize was interfering with the web dialog's? I don't think so because I have seen invalid dialogs aldo, and I'm fairly certain I have not redefined initialize at the top-level. I see invalid dialogs through variables that reference a dialog that has been closed. I've added some example code here.
  • 7.1 API Release Notes

    10
    0 Votes
    10 Posts
    1k Views
    T
    @jim said: Hey! thanks remus. I have made this sticky - for a few weeks, at least. Nothing major - but being able to screen-shot a WebDialog from Ruby is interesting. I misinterpreted the word Screen shot, I'm hoping for pictures to be added to the code examples for the entire ruby api, where ever possible. It would help get more potential ruby scriptwriters on board.
  • Synchronously or asynchronously

    6
    0 Votes
    6 Posts
    516 Views
    thomthomT
    I had a look at it. But I get an Access Denied message when I try to call back to Ruby. Turns out IE's XMLHttpRequest only works with files on the net - not local files and other stuff. http://www.webdeveloper.com/forum/showpost.php?s=d7e6a32ad41106e35a2d51afbce8f374&p=749574&postcount=10
  • Note to Google: Better Browser == Better WebDialogs

    22
    0 Votes
    22 Posts
    920 Views
    thomthomT
    I think the most important criteria: which ones will let the .execute_script be synchronous?
  • Hide/show a WebDialog

    7
    0 Votes
    7 Posts
    349 Views
    thomthomT
    On OSX - the window is actually just hidden. The embedded WebBrowser object is created as you add the HTML to the WebDialog object - as oppose on PX, where it's rebuilt on evvery .show....
  • Plugin Search

    3
    0 Votes
    3 Posts
    259 Views
    Dave RD
    Thanks Jeff, that's it and that was very quick.
  • Finding the cursor position?

    10
    0 Votes
    10 Posts
    3k Views
    thomthomT
    Not at once, but stack them up. I think. I've not used the feature. Maybe the tools have to implement the suspend and resume methods...
  • IDEA - Omni Push Pull Tool

    12
    0 Votes
    12 Posts
    765 Views
    halroachH
    @kwistenbiebel said: Wuaaah...wouldn't that create a temporal anomaly in the subspace field ? It depends on how much dilithium crystals we put into it...
  • Hide Toolbars On Load

    16
    0 Votes
    16 Posts
    2k Views
    Dan RathbunD
    @simonstaton said: ...now is there one of these [methods] that I can make that will hide the getting started toolbar on load? ...[snip]... ANSWER: Yes there is ! The following code hides the "GettingStarted" toolbar at any time, whether it's docked or floating. status = UI.set_toolbar_visible("GettingStarted", false)
  • Looking for a plugin to automate material colors

    5
    0 Votes
    5 Posts
    219 Views
    G
    @chris fullmer said: The button is called color all the same or something like that. Here's a screen grab that shows it. Hope it helps, let me know if it does not do quite what you were hoping for. [attachment=0:3e6t77oc]<!-- ia0 -->all_same.png<!-- ia0 -->[/attachment:3e6t77oc] Chris Ahh, ok, now I see what you're talking about! I followed your instructions and the model did indeed turn all white, but it's lacking its textures, unfortunately. Let me show you an example of what I'm looking to do: I model with color data and presentation purposes: [image: sketchup%20texture%20with%20color.jpg] For certain rendering effects and photoshop post-processing, it's VERY handy to keep the textures, but have them have no saturation and full brightness: [image: sketchup%20texture%20no%20color.jpg] There may be no easy way to do this other than old-fashioned elbow grease. It just gets very redundant, very quick to manually adjust each material
  • DHTML dialog boxes

    5
    0 Votes
    5 Posts
    250 Views
    thomthomT
    @gruff said: Okay... So are there any books that can walk me through creating a simple hello world web dialog for SketchUp ruby. I don't think you'll find any which directly relates to Sketchup. But any book that talks about web applications will work.
  • Built-in JSON in Internet Explorer 8 IE8

    8
    0 Votes
    8 Posts
    1k Views
    thomthomT
    Doing some more testing. I added this meta tag to a Strict document: <meta http-equiv="X-UA-Compatible" content="IE=8"/> The user-agent string still reported IE7, but the new CSS feature outline worked. If I remove the meta tag the outline property doesn't render. And just to make sure, I used document.documentMode to get the render mode, with the meta tag it reports IE8, without IE7. So this is another nail in the coffin for the user-agent string <- mostly pointless and highly unreliable. I attached the test code I used. Extract it to your plugins menu and type this into the Console to open up a webdialog: dlg = UI;;WebDialog.new("Test") dlg.set_url Sketchup.find_support_file "test.html", "Plugins/" dlg.show It will first report IE7 mode. But remove the comments around the META tag and see how the blue outline now renders and the JS reports IE8 mode. You can also see the different behaviour from regular IE windows. test.zip
  • Attention script writers - GSU selection nodes....

    4
    0 Votes
    4 Posts
    678 Views
    thomthomT
    Some might not be able to - as they use custom inference.

Advertisement