sketchucation logo sketchucation
    • Login
    1. Home
    2. NewOne
    3. Topics
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    N
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 59
    • Posts 317
    • Groups 1

    Topics

    • N

      How to avoid multiple instances of WebDialog?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      181 Views
      chrisglasierC
      @thomthom said: > module MyDialog > > # Use a module variable to store one reference to your dialog > @dialog = UI;;WebDialog.new("Show Google.com", true, > "ShowGoogleDotCom", 739, 641, 150, 150, true); > @dialog.set_url "http://www.google.com" > > def self.show_dialog > # Now you can use that variable to check if it's already visible or not > if @dialog.visible? > @dialog.show > else > @dialog.bring_to_front > end > end > > end > Very good. I know not for me but thanks Chris
    • N

      Component instance name. req help

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      190 Views
      J
      I will add that the Definition name is different than the Instance name, but should work the same. ins = entities.add_instance(cdef, transf) name = ins.definition.name name.gsub!(/#/, '/') ins.definition.name = name
    • N

      WebDialog help - hide scrollbars

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      31
      0 Votes
      31 Posts
      6k Views
      Dan RathbunD
      @newone said: If so, why does it renders buttons so old-way? Sometimes Standards Compliant mode on MSIE turns MS Common Controls back to the old 'unthemed' set (they look like old Win 3.x ugly controls.) See my post in the other WebDialog thread for a META tag that goes in the HEAD section. Sometimes it can turn the 'XP themed' ver 6 controls back on. I don't know if they work in Strict mode, but the tag should work for Tranistional mode. http://forums.sketchucation.com/viewtopic.php?f=180&t=22698#p196706
    • N

      How to save settings? Req. help, rubyscript.

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      257 Views
      TIGT
      @newone said: "...of a .INI file or registry (within the Software > @Last Software > SketchUp section)." This is what I read in documentation. I don't understand really where that .INI file has to be. Or can I set a path? You don't need to worry about 'where it is'... just write the details as set out in the guide and it's saved/read from the right place in the PC's Registry (or a Mac's ini)...
    • N

      Color by Layer trick

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      5
      0 Votes
      5 Posts
      393 Views
      N
      @chris fullmer said: Your color is not a color at all though, its a material. Right? That's new to me if it is. I'll need to investigate. Chris Yes Chris... this is actually the trick! The color can be a material! And just in this second i have some ideas about how this feature can be exploited.
    • N

      Ruby Numeric. Help - Sorry for bothering. RESOLVED

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      163 Views
      No one has replied
    • N

      WebDialog question

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      166 Views
      M
      You might want to think about using JSON. It's a bit more general, can be really light weight and if you know JavaScript you already know JSON. Example: JSON array: comma-separated list of items enclosed in square brackets. Sample: ['string one', 'string two'] It's a wee bit of extra work, but if you ever want to share data elsewhere ...
    • N

      Ruby help, please.

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      125 Views
      TIGT
      This will cope with files in a folder or its sub-folders... It avoids the ./.. files... path='C;\MyDir' Dir.foreach(path){|f| if f=='.' or f=='..' ### skip ./.. elsif File.directory?(path+"/"+f) Dir.foreach(path+"/"+f){|ff| if ff=='.' or ff=='..' ### skip ./.. else ###==file inside the sub-folder... ### maybe do stuff to File(path+"/"+f+"/"+ff) ### e.g. "if ff=~/\.txt$/ do this"... pseudo-coded !!! end#if } ### maybe do stuff to Dir(path+"/"+f) else ###==file inside the folder ### maybe do stuff to File(path+"/"+f) end#if }
    • N

      Can Ruby use multicore?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      8
      0 Votes
      8 Posts
      1k Views
      tbdT
      extension = code in another language brought in Ruby world. for example, my dezip is an extension that brings unzip capabilities to SU Ruby the egg and chicken problem - SU is an extension to Ruby
    • N

      What color names are accepted ?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      139 Views
      TIGT
      Any of the listed colors http://code.google.com/intl/ro/apis/sketchup/docs/ourdoc/color.html usually typed in lowercase e.g. "red", but you could try the other formats too...
    • N

      UV plugin idea... maybe someone will make it.

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      342 Views
      GaieusG
      I'd also support any serious attempt to improve UV mapping in SU. Thom, you know I love your UV Toolkit (that's also why I made that tutorial with it) but certainly some "more freedom" with UV mapping would really come handy. NewOne's idea is great - not that I could tell how easy it would be to implement it. Maybe indeed you need to break that big face into pieces first, make every texture bit unique, bend the shape as wanted (or whatever) and finally somehow combine them as UV mapped? Certainly (with a surface bending in all 3 dimensions like above) it would also need to involve some texture projection and such so I can imagine it is not that easy.
    • N

      [Request] 'Mass Reset Scale'

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      7
      0 Votes
      7 Posts
      772 Views
      D
      It's gonna be mess - open, scale up, save in different place, then open in SketchUP! But what if you don't have, say 3DS Max?
    • N

      [REQ.] Quick! corner sink

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Components, Materials & Styles sketchup
      3
      0 Votes
      3 Posts
      751 Views
      N
      @dedmin said: http://www.us.kohler.com/tech/cadsymbol/cadsymbol.jsp Thanks!! this will be very helpfull in the future. Lots of (free) models! but... I could not find what I need.
    • N

      Some high quality 3D models... hope you will find usefull

      Watching Ignoring Scheduled Pinned Locked Moved Gallery
      19
      0 Votes
      19 Posts
      3k Views
      N
      @andeciuala said: thanks solo... one mor question, where did you maped those textures and maps, sketcup or maxuel? Sketchup! Well, on some I worked a little, but in the end I did it...
    • N

      Add construction point (help find script)

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      943 Views
      N
      @tig said: or Matt666's PointTool.rb - here http://forums.sketchucation.com/viewtopic.php?p=95648#p95648 thank you, TIG, this is the one!
    • N

      [Req.] remove instance duplicates plugin

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      10
      0 Votes
      10 Posts
      1k Views
      TIGT
      An xyz tolerance is possible for bbmax and bbmin... unfortunately I don't have time right now... Can someone else do this part ???
    • N

      Dimension display question

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      5
      0 Votes
      5 Posts
      325 Views
      thomthomT
      Just realised you can right-click and choose Edit Text from there.
    • N

      SketchUp acts strange on laptop [hepl requested]

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      9
      0 Votes
      9 Posts
      949 Views
      N
      PROBLEM SOLVED ! I have downloaded this tool http://www.driverheaven.net/modtool.php and modded the drivers from here http://www.driverheavendownloads.net/ati.htm. And now I can work in SketchUp on my laptop!
    • N

      Display binary data as image in WebDialog?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      195 Views
      thomthomT
      @newone said: And if I delete the material, the image will remain and will feed the webdialog with wrong informations (the picture will show, but the related material will not exist). Why not delete the image when the material is deleted? And purge your temp folder when you create new model. hmm... flash maybe?
    • N

      Help to share data between SU Ruby and JS

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      200 Views
      N
      @unknownuser said: I've modified your code to work. I've tested it in Safari. Should work in Windows just fine. Todd (EDIT - you can remove the <form> tags.) Wow! thanks I tried something like that (but not really alike) before posting the problem here... and of course it did not worked. Thanks again. I will take a closer look to see where I did wrong...I know that I must love JS, but I still hate it
    • 1 / 1