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

      Help and contribution needed. Thank you.

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      160 Views
      M
      Do you have the dialog sketched? Is there a fixed dialog or does it vary depending on the model? An HTML form would go a long way here.
    • N

      Which render engine can render 360degree panorama?

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      10
      0 Votes
      10 Posts
      232 Views
      O
      Cheetah 3D can do this as well, sorry, MAC only, though. Cheers, Chuck
    • N

      Chrome browser sucks (at least for me)

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      8
      0 Votes
      8 Posts
      181 Views
      K
      Chrome suffers from the typical Google disease. Nice idea, but not very well executed. But as it is fairly new, the benefit of the doubt I'd say. For the moment, nothing beats the browsing experience you get from Firefox. Very fast, no hassle at all and without any adds or other crap, by using plugins.
    • N

      What is this?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      152 Views
      R
      Looks like an example of using a DLL to get sketchup to talk to another program. Perhaps something similar is included with the SDK? othrwise it'll just be something somebody else has put together to try it out/demonstrate it.
    • N

      Can I "store" a material as object in a variable?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      16
      0 Votes
      16 Posts
      414 Views
      N
      Yes, I just noticed that is no use to have bitmap data as binary in ruby. Because when asigning texture image to a created material m = materials.add "mat1" m.texture = "C;/texure.jpg" We don't really add that texture, but pass the path to SketchUp and there, inside that evil thing some magic happens and it grabs the texture with the claws. So, yes... we need the bitmap as file on disk before any attempt to do anything.
    • N

      Some interesting serverless database. What do you think?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      1k Views
      J
      I think CouchDB is an interesting project, too.
    • N

      SQLite3-ruby gem

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

      [Preview] Skabinet (make cabinets with Sketchup)

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      48
      0 Votes
      48 Posts
      26k Views
      D
      @newone said: Uff, "soon" didn't meant after 2-3 weeks. Sorry for that. I'm still working on it. Unfortunately I have little time to work on it. But it will! Live your life in that time. Since now I re-made id from scratch for three times. And the hard part is that I'm learning programming in this time, because I don't have any experience. So, sorry again. This thread was intended to collect some ideas that will help to guide this plugin in right direction. Hi NewOne, It has been a while since 2009. How are things going with Skabinet?
    • N

      Bedroom

      Watching Ignoring Scheduled Pinned Locked Moved Gallery
      24
      0 Votes
      24 Posts
      962 Views
      N
      Well, this is why I started this: because furniture software is VERY restrictive, NOT updated, rigid, ugly (shall I continue? )... and sketchup offers more possibilities, all we must to is to take advantage on them. For now I'm stuck because I try to understand better how to use "protected" and "private" methods. Since I wasn't forced to use them since now, it's a entirely new concept for me - I understand the principle... but I am not sure that I understand how to do what I want. Anyway... I don't have any experience in programming. This is why I started learning in first place.
    • N

      What DSLR cammera do you recommend ?

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      20
      0 Votes
      20 Posts
      408 Views
      J
      http://www.dpreview.com/ is probably the best review site for the pro/prosumer digital camera market- they go into great detail (10+ pages) on cameras that have been around for a while and still give excellent reviews on new released cameras. http://www.cameralabs.com/ is also very good, very detailed consistent reviews aimed more at the advanced amateur market. After months of research I've actually decided away from buying a DSLR as my next camera, think I'll go for a top-end compact instead: either the Ricoh GR Digital III, Canon PowerShot G11 (drool) or maybe the Panasonic Lumix DMC-LX3. The reality is I use my camera mostly for photographing materials for using as render textures so I need to be able to have it with me most of the time and for architectural photography used with a tripod so I don't need the ultra-low-noise large or full-format sensors which DSLRs offer. At "normal" light levels any of the above cameras will produce results as good as the lower end prosumer DSLRs so they only trade-off is not being able to upgrade lenses in the future. The brand new Canon PowerShot G11 is said to have much improved light-sensitivity; equivalent to 2 stops, which is very impressive. These compacts (which many journalism photographers carry as a backup) are generally more robust too. They're definitely a serious alternative to lower-end DSLRs.
    • N

      If this would be from a SF movie...

      Watching Ignoring Scheduled Pinned Locked Moved Gallery
      19
      0 Votes
      19 Posts
      550 Views
      L
      "sketcuppers guide to the galaxy"? lol
    • N

      How to add entities inside a group?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      187 Views
      thomthomT
      Go ahead!
    • N

      Problem with Group name in SU 7.1

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      330 Views
      thomthomT
      definition.name is not the same as instance.name or group.name As you see when you select a ComponentInstance, in the Entity Info you see Name: and Definition Name: Same goes for the group, when you edit the Name: in the Entity Info you edit the ComponentInstance.name or Group.name - not the definition's name.
    • N

      Most efficient way [Ruby sollutions]

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      127 Views
      thomthomT
      Check this thread for performance info: http://forums.sketchucation.com/viewtopic.php?f=180&t=19576#p162235 I extended the test with more iterations: http://forums.sketchucation.com/viewtopic.php?f=180&t=19576&st=0&sk=t&sd=a&start=15#p166698 Basically: Avoid .typename as string comparison is slow. .is_a? and .kind_of? is aliases of the same method, they are both fast. In theory comparing .class should be quicker as the ruby source perform less calculations, but even with a large number of iterations there isn't much deviation from .is_a? / .kind_of? .
    • N

      How can I determine entity level?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      15
      0 Votes
      15 Posts
      371 Views
      N
      Thanks thomthom, sorry... I was tired whed I read your post and I didn't understood exactly what you mean. But, Jim opened my eyes. Finally this is how I did it: model = Sketchup.active_model all_defs = model.definitions in_model = 0 out_model = 0 t1 = Time.new all_defs.each do |defn| count = defn.count_instances if count == 0 out_model += 1 else in_model += 1 end end t2 = Time.new dt = t2 - t1 puts 'time for completion; ' + dt.to_s puts 'all definitions; ' + all_defs.length.to_s puts 'in model; ' + in_model.to_s puts 'out_model; ' + out_model.to_s I was surprised that with 1600 component definitions , time for completion was 0.0
    • N

      WebDialogs - tabs sample !

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      299 Views
      J
      Great example. It's usable as it is, or can be built on if needed. Thanks.
    • N

      WebDialog - how to make tabs?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      910 Views
      D
      I found a page. That has some very interesting things in html. http://www.dhtmlgoodies.com/index.html?page=dhtml-suite greetings
    • N

      Make PDF-s with RUBY

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      311 Views
      Chris FullmerC
      I think it looks very interesting. I don't currently have a need to make pdf's, but now that I know it might be possible, I might try to find reasons Chris
    • N

      How to add components to another component? [ruby]

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      467 Views
      TIGT
      If you want to 'select' something ... ### Let's assume you have an array [list] of the items to add to the component, called 'list'... ### If you have selection made that has 'raw' faces in it then add those faces' edges too to the list, if those edges then have other faces those faces and edges too - '.all_connected. ??? ### This is what causes bugsplats - when parts of 'connected things' are put into different entities sets... model=Sketchup.active_model selection=model.selection selection.clear selection.add(list) ### OR list.each{|e|selection.add(e)} ### then the code... g=model.active_entities.add_group(selection.to_a) inst=g.to_component inst.name="MyInstancesName" defn=inst.definition defn.name="MyComponentsName" ### check it hasn't incremented; using dname=defn.name; compare dname to "MyComponentsName", e.g. it might now be "MyComponentsName#1" ### etc...
    • N

      Instance @variable vs class @@variable

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      19
      0 Votes
      19 Posts
      2k Views
      Dan RathbunD
      @martinrinehart said: @unknownuser said: Within the class statement, you can declare methods with their name, without any prefixing. I find Ruby's insistence on self.xxx to define module-level functions is quite a nuisance. On the other hand, if you create a singleton instance of your class, then to manipulate anything you have to instance.xxx() whereas in the module you can call your functions without a prefix. You don't need to prefix methodnames in modules. Use a class << self block wrapper around all the methods inside the module. See my post: [info] Using Ruby Modules
    • 1
    • 2
    • 3
    • 1 / 3