🏢 PlaceMaker | 25% off for February including new Google Earth data imports! Learn more
  • [question] texture coordinates and projected textures

    6
    0 Votes
    6 Posts
    420 Views
    D
    Excellent, thanks for the info!
  • Global Object Stupidity, Ruby Question

    12
    0 Votes
    12 Posts
    582 Views
    N
    I think this can help to understand modules. Since a few hours ago, I did not had any idea about what modules are. This gave me a clue. I hope others will find it enlighting too. http://www.rubyfleebie.com/an-introduction-to-modules-part-1/
  • Tool Bars Question

    29
    0 Votes
    29 Posts
    2k Views
    EarthMoverE
    I'm with you guys. It's gotten to the point that after the last time I restarted sketchup to find all my toolbars had turned themselves on and cascaded down the screen to the point that no drawing space was even visible, I decided enough was enough and just undocked all my toolbars. I'm losing significant real estate, but it's worth avoiding the frustration. It would be interesting to see if someone could implement a toolbar manager, as I requested here http://forums.sketchucation.com/viewtopic.php?f=180&t=22274 for this type of workflow, as it may solve some headaches for thousands of users.
  • New Profile builder with power tools

    4
    0 Votes
    4 Posts
    994 Views
    Bob JamesB
    No way could I figure out how to download this: I clicked on just about everything.
  • Inputbox dropdown is not scrollable

    3
    0 Votes
    3 Posts
    237 Views
    P
    @tig said: Alternatively use a webdialog - but that's another story... Owkee, thx. That's the path i'll take
  • Didier's MultiWall ruby w/ SU 7+

    4
    0 Votes
    4 Posts
    401 Views
    TIGT
    @prismcnd said: could you show exactly where to insert it into the code for all of us who are not familiar with ruby code I apologise ! I just realised that Didier's script is 'encrypted' - so you can't alter it unless you decrypt it first - I know how to do this [ ] but you shouldn't... Can I suggest you PM Didier and ask him for the fix... I can't really change and reissue someone else's script...
  • I lost my my joint push pull toolset with 7.1

    2
    0 Votes
    2 Posts
    287 Views
    fredo6F
    Do you still have the menu? Things to do are: check the Toolbar visibility Check you have the subfolder JPP_Dir in your Sketchup Plugins folder (it precisely contains the icons) Fredo
  • Can Ruby use multicore?

    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
  • Model.save does not save

    13
    0 Votes
    13 Posts
    2k Views
    Al HartA
    After wrestling with this problem for an hour or two for a routine I am writing to load a .SKP file, change it and resave it, I came up with this solution: Replace \ with / in the file name (save does not seem to like ) Save the current model with a temporary name (in the same folder as the desired final name) Close the current model (You have to close the model so you can modify the .skp file already on disk) Remove the current .skp file (if it exists) Move the temporary file to the desired file (rename()) # routine to save a .SKP file with the same name as the current model # need to save file with a temporary name, close model, then move the temporary name to the real name def resave_file(sfile) # save() does not seem to like back slashes # replace them withforward slashes sfile.gsub!(Regexp.new("\\\\"), '/') printf("sfile; %s\n", sfile) # save to a temporary location first # this assumes the file name ends with .skp (or .SKP) sfile2 = sfile[0, sfile.length - 3] + 'TMP' printf("sfile2; %s\n", sfile2) bret = Sketchup.active_model.save(sfile2) printf("Save file; bret; %s\n", bret) return(bret) if !bret # now move sfile2 to sfile # remove existing file # need to close existing model first Sketchup.file_new if File.exists?(sfile) begin File.unlink(sfile) rescue warn "could not delete file; " + sfile return(false) end end#if bret2 = File.rename(sfile2, sfile) printf("Returning bret2; %s2\n", bret2) return(bret2) end#def If you need to file to still be open after the save, you could open it again. Let me know if it works for you
  • Does this bugsplat for you>

    3
    0 Votes
    3 Posts
    182 Views
    J
    Thanks Martin, but it is the same as using Follow Me on a couple 6-sided "circles" to make a sphere.
  • Ruby help, please.

    2
    0 Votes
    2 Posts
    123 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 }
  • SU 7,1 issue with Scale&Rotate Multiple ruby

    4
    0 Votes
    4 Posts
    259 Views
    scottliningerS
    Hey everyone, If you see bugs with 7.1 and Ruby, please share a detailed post with the following information: Your OS (Mac, XP, Vista, etc.) Exact steps to reproduce A keyword or email that you typed into the bug splat screen Does it happen if you uninstall all other scripts? Thanks,
  • Load Errors - gettingstarted.rb

    6
    0 Votes
    6 Posts
    328 Views
    J
    Heh, I checked my Tools folder, but it never occurred to me that someone would not look in the Tools folder too.
  • What color names are accepted ?

    2
    0 Votes
    2 Posts
    137 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...
  • Possible to split the viewport??

    3
    0 Votes
    3 Posts
    274 Views
    A
    I do agree to! As a workaround, I showed how to make som scenes with different views and also one with top view with paralle projection.
  • Any word from SU about toolbar issues?

    6
    0 Votes
    6 Posts
    368 Views
    GaieusG
    Well, at least the Back button is here. The toolbar issue is serious - although I have undocked all my toolbars aside my SU window and have been a happy person for quite a while now.
  • Suggestion for new plugin

    12
    0 Votes
    12 Posts
    558 Views
    chrisglasierC
    Dear Edson I hope you don't mind my using your suggestion to illustrate my view that plugins should be considered in two categories: [image: giD0_Dressandassemble.png] So in the case of your louvres it would seem close to reality to use dressing plugins to create an individual component but unworldly to create separate components with different rotations. The component is the same, only its assembly differs. So here I would recommend using a webdialog machine to assemble each louvre and determine its rotation. JavaScript has a ready-made random number generator (Math.random()), but the rotation might better be determined by sun position, or wind direction/air flow for cooling plant and so on. Louvres could also be grouped in sets whilst still retaining their individuality (no exploding of groups required) and all could be animated including delivery, hoisting, unpacking, installation, testing and use. Now all of this is unlikely to be of anything but passing interest to the Sketchup modeler but as the webdialog machine records are in comma separated plain text, other machines designed for different purposes can add their output over the Net and help compile comprehensive data. All (authorised) can see the results. This seems well and good but the main stumbling block is the difficulty in establishing a single standard for the interaction of webdialogs with PCs and Macs. I am not suggesting this should be attempted in this topic, but if what I suggest helps to build a consensus for a dedicated webdialog forum, then I think this would greatly help the development of this important aspect of Sketchup use. My apologises for "bending" your topic, Chris [flash=600,480:1p50byyh]http://vimeo.com/moogaloop.swf?clip_id=6673808&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1[/flash:1p50byyh] Just testing if Vimeo now unblocked
  • Warn user before blowing away current model

    2
    0 Votes
    2 Posts
    211 Views
    Al HartA
    Oops! Model.modified? might have been a good idea. I'll try this: # check before removing current file Sketchup.file_new model = Sketchup.active_model if (model.modified?) do_error("Model not cleared - cancel") return end#if
  • Dont understand rotation

    13
    0 Votes
    13 Posts
    504 Views
    thomthomT
    60.degrees http://code.google.com/intl/nb/apis/sketchup/docs/ourdoc/numeric.html
  • UV plugin idea... maybe someone will make it.

    4
    0 Votes
    4 Posts
    337 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.

Advertisement