⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Assigning Event Handlers in JS-written UI

    11
    0 Votes
    11 Posts
    495 Views
    M
    Martin, I write all my code for Windows & IE I noticed some of your code had attributes that were not quoted. W3C says... Sometimes I assemble/modify the html as a string, then use set_html. All of my html is loaded as a string I've got 3 or 4 'dynamic' web dialogs in an extension at http://www.ChampionEnt.net/tech/ur/ if any of it might interest you, let me know and I can post or send the code. Due to the 'modal window' issue, some of the code only works on a PC (settings window) Haven't really tested it lately on an Apple... Wrote some C# code to change an html file into a Ruby friendly string HTH, Greg
  • Surface/Face Question

    7
    0 Votes
    7 Posts
    395 Views
    thomthomT
    A polygon mesh is all just triangles? hmm... That would be interesting for the Normal Probe I just made...
  • Searching for Plugin.

    4
    0 Votes
    4 Posts
    379 Views
    J
    My mistake it was 'Combine Textures' function I was thinking of. Haven't upgraded to 7 yet. Nice tip about the unfold plugin prior to use though.
  • GhostComp

    14
    0 Votes
    14 Posts
    6k Views
    fredo6F
    The first version of the GostCompplugin is now released at http://forums.sketchucation.com/viewtopic.php?f=180&t=21469
  • Not Caching Code

    6
    0 Votes
    6 Posts
    267 Views
    thomthomT
    That's a like a very hacky wacky workaround. And the site talks about IE5 and Navigator... a wee bit old resource.
  • Massmaterialimporter

    5
    0 Votes
    5 Posts
    630 Views
    D
    http://www.crai.archi.fr/RubyLibraryDepot/Ruby/EM/materials.rb Yes, it imports pictures as materials in SketchUP but i cannot get it to work. I open it from the menu, choose a folder with jpg but nothing gets imported into materials window. There must be a problem with folder names - I changed the name of the folder with the pictures and gave it an english name - it was cyrillic and it worked then!
  • Calculate the angle of an ellipse in an ortho view

    8
    0 Votes
    8 Posts
    601 Views
    JClementsJ
    Thanks, Ken. OFF TOPIC: You might be interested in looking this over. See movie of April 24th here: http://www.lakeinterceptor.com/pivot/archive.php?c=RSS&o=21&w=rss Overview Video of project: http://www.lakeinterceptor.com/schedule_details.php#OutofLake Attached are some exports from SU of some very crude concept designs. [image: Na3k_HDPEUnderwaterSuspensionConcept-LakeOswegoOR.jpg] [image: 5v3p_Manhole1buoyantconcept.jpg] Also attached are images that "Solo" did for us. They are of an older design of the stainless steel underwater buoyant manhole and tethers. Initial design concepts were all done in SketchUp. [image: tqgd_sinescene.jpg] [image: CPr5_sineunderwater.jpg]
  • Ruby performance wierdness.

    6
    0 Votes
    6 Posts
    322 Views
    C
    No I wasn't. I had forgotten about that. It helps a quite a bit 68 sec without, 11 sec with, and 6 sec if no start/commit used. But still first run 11 sec and second run it only takes 2 sec.
  • Web Exporter Resolution/zoom

    3
    0 Votes
    3 Posts
    496 Views
    E
    i like the way it generates the 360 degree pictures automatically. is there another way to do that automated?
  • Link to TIG's Lattice-izer?

    5
    0 Votes
    5 Posts
    1k Views
    D
    ok, sorry
  • Issues with toolbars on osx, FIX

    2
    0 Votes
    2 Posts
    241 Views
    J
    Thanks, Santiago. I'll use this from now on.
  • 3p circle and cilinder

    5
    0 Votes
    5 Posts
    413 Views
    D
    thanks tig. i can draw three-point circle. I meant the possibility of using as a basis for new plugins a http://vrshed.com/sketchlife/ Create a 3Point circle of equal to RotatedRectangle.rb. as shown in the video This is possible? Thanks for your answer and tutorial
  • Join push pull zip loaded but no icons on screen

    3
    0 Votes
    3 Posts
    502 Views
    M
    thanks a lot for your reply. As a matter of fact, I suceeded to solve the problem this morning. Vista had placed one .rb files into material, don't ask me why!!! I took it away and placed it at its right place into plugins, and since everything is working fine!! Many thanks Michel
  • [Code] ComponentInstance-add_entities v1.9

    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...
  • Pausing for Sketchup to update

    11
    0 Votes
    11 Posts
    1k Views
    K
    @designforlife said: Can anyone explain the correct use of view.invalidate and/or start_timer? You may try to substitute "while...end" or "for...end" etc control structures by timer. The funny thing is that maybe it is not necessary to put 'Sketchup.active_model.active_view.invalidate' line inside the timer. ` wait_time=(<suspend period>) times=(how many times you want to repeat <some code>) timer_id=UI.start_timer(wait_time,true) { <some code> # put some geometry to active_model times -=1 # decrement times to be able to stop timer Sketchup.active_model.active_view.invalidate do not forget to stop timer timer_id=UI.stop_timer timer_id if times==0 }` I noticed, that visual results of <some code> processing appears even without view.invalidate. Note, that <some code> appears to work a kind of 'transparent' way (you may zoom, pan, rotate view and even launch other commands during the timer processing).Such behaviour indicates, that during <suspend period> all possible events (mouse events, key stroke events and so on) rise and you can handle them. Hope that helps.
  • Ruby Console

    7
    0 Votes
    7 Posts
    504 Views
    K
    Thank you!!!! KJ
  • Transformation help req'd!

    3
    0 Votes
    3 Posts
    244 Views
    T
    Thanks for shining a light on this for me Chris, I need to get new batteries
  • ASP web interface

    5
    0 Votes
    5 Posts
    341 Views
    C
    Well, I haven't had many replies, although I do have another question. When you use ASP in the web dialog, as far as I can tell, the ASP post-back doesn't work. I've gotten it to work in the development server. Do I need to use javascript post-back, or am I just missing something?
  • Question (request :-)

    8
    0 Votes
    8 Posts
    427 Views
    T
    @tig said: ...till they bite us in the butt... So you do understand the timing of my question :`)
  • REQ - Drape Points?

    4
    0 Votes
    4 Posts
    407 Views
    TIGT
    See this... http://forums.sketchucation.com/viewtopic.php?p=179421#p179421 I think it does what you want...

Advertisement