πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
  • Plugin Folder Permision Issue

    6
    0 Votes
    6 Posts
    1k Views
    renderizaR
    Thank you TIG I used your first suggestion and it works great.
  • Count / selection count

    3
    0 Votes
    3 Posts
    1k Views
    TIGT
    If you want to extract the count of specific objects within a larger selection you need to filter the results. A one-liner typed or copy+paste into the Ruby Console +<enter> can so this. This example counts all instances of a component named 'parking' within a broader selection: c=0;Sketchup.active_model.selection.grep(Sketchup;;ComponentInstance).each{|i|c+=1 if i.definition.name=='parking'};p c; If you have several to count en mass like 'Parking', 'parking#1', 'parking#2' etc use a regex test like i.definition.name=~/^[Pp]arking/ to match more than one name... If you want to count ALL instances of a given component [with selection] use puts(Sketchup.active_model.definitions['parking'].instances.length) There are many possibilities ...
  • [REQ] Open nested component

    6
    0 Votes
    6 Posts
    279 Views
    pbacotP
    Say 7 nests for some. It is so many because I would have a door that has door parts, for example then I put it in a house that has house parts in a project that has multiple buildings. I notice that it takes a pause after each double click too or nothing happens. Not exactly killing me... Just thought someone had a one-click trick. Actually what I like to do sometimes is edit separate buildings in a separate file and reload the component to the site from there. Keeps it more manageable.
  • Make unique texture for every face selected

    3
    0 Votes
    3 Posts
    344 Views
    N
    @aerilius said: You can make each single face unique using this plugin: http://www.sketchucation.com/forums/viewtopic.php?f=323&t=41441&p=466990 Thanks Aerilius.
  • Creating Bump Map / Height Maps

    4
    0 Votes
    4 Posts
    851 Views
    s_k_e_t_c_h_yS
    Thanks for the responses. The Bitmap to mesh is exactly what I was looking for =). The other is for exporting, but still looks pretty useful. Thank you.
  • Push/Pull without internal faces

    3
    0 Votes
    3 Posts
    450 Views
    pilouP
    There is also a PushPull multiple inside the toolbarr Projection by Didier Bur! And there is Remove internal faces by Wikii
  • Multiple segment editor plugin

    17
    0 Votes
    17 Posts
    838 Views
    onzkiO
    @tig said: http://sketchucation.com/resources/pluginstore?pln=ArcCurve_set_segments I tried it.. wow, this is amazing. I can set it endlessly, from high to low and vice versa Thanks a lot!
  • Geodesic Dome Plugin

    31
    0 Votes
    31 Posts
    2k Views
    s_k_e_t_c_h_yS
    All, I need your help to check which of the two interfaces has the best compatibility before I release the next version. Enclosed you will find two versions (they can co-exist together). Both have implementations of an accordion interface. The "black" version, is a customized accordion and this is really all this interface is focused on. It has an animated opening of sections with a bounce as the section expands. This is the prettier of the two, but is a one trick pony. [image: L5Ls_blackinterface.png] Interface based on Prototype and Scriptalicious The "white" version, is build on a whole platform of cool gadgets I could use for other interface niceties. Their accordion does an instantaneous open so it isn't as sexy as my black variant. Interface based on Bootstrap [image: 4WCC_whiteinterface.png] There will be slight differences in font size / color etc., but ignore these. The same with the color difference, its just to tell them apart (but I like the black coloring =P) I'm purely interested in whether the accordion works (sections slide open as you click on them) and whether it will generate ok (default settings are fine). If they are both broken, I'll be stopping at the liquor store instead of StarBucks this afternoon. If you have any issues, please tell me your Operating System and SketchUp version. Hopefully I'll get the next version released shortly. Sincerely, Sketchy.
  • Seeking out same Geometry

    2
    0 Votes
    2 Posts
    176 Views
    Rich O BrienR
    Try finding Replace Similar by Thomthom
  • SU 2013 Solar North

    9
    0 Votes
    9 Posts
    709 Views
    Z
    Bully XD
  • Plugin select only one instance + count instances

    5
    0 Votes
    5 Posts
    493 Views
    TIGT
    @sb1305 said: Hi TIG, so I have some more questions about the code. "select only one instance of the components in selection" The code runs for all the components in the model, right? How can I run it for only the ones I select? it would be good to have a code that only selects one instance of each component of my selection. "text-tag: number of instances" And the text tag which says how many instances there are, can I also use that separated from the copying, so that I can put a text-tag only on components that I select somewhere in my library or in the model? "order of components" And another thing, what is the order the components come in? I don't find that in the code, do I? Sorry for all the questions, I would really like to understand the code and work on it, but I have just started doing this. Thank you so much, Simon Replace: ds=[] # component definitions model.definitions.each{|d| next if d.image? || d.group? next unless d.instances[0] ds << d } with something to process the selection instead - a bit more convoluted! ss=model.selection.grep(Sketchup;;ComponentInstance) ds=[] ss.each{|e| ds << e.definition } ds.uniq! Now you have a 'list' of just the definitions relating to selected component-instances [.uniq! ensures there are no repeats]... Process that 'ds' 'array' as before... To make a text_adder() create another method [def]... In it do something like pt=model.bounds.max pt.z=0 pt.offset!([120,0,0]) (model.selection.grep(Sketchup;;ComponentInstance).uniq).each{|e| d=e.definition n=d.name c=d.instances.length t=Geom;;Transformation.new(pt) i=ents.add_instance(d, t) pt.x=i.bounds.max.x+120 # point for next instance ents.add_text("#{n}\nInstances=#{c}", i.bounds.max, [6,6,12]) } If you want to not count the one you have in your 'Library' then change c=d.instances.length to c=d.instances.length-1 etc... remember to wrap it in a namespace/module as the ' composer' example, and use model_start_op...commit so it's one-step undo-able... The order of the components in the earlier post comes from the order in the definitions list, which is 'chronological', so if you made 'zebra' before 'aardvark' that's the order in which they are found. The order in a selection is not easily possible to determine, you can try picking in the desired order [holding Ctrl to add to the selection...]... If you want to get the results in sorted 'name' order, then you need to add in an extra step or two...The code outlined earlier... ss=model.selection.grep(Sketchup;;ComponentInstance) ds=[] ss.each{|e| ds << e.definition } ds.uniq! needs to become something like ... ss=model.selection.grep(Sketchup;;ComponentInstance) ns=[] ss.each{|e| ns << e.definition.name } ns.uniq.sort! ### sorted names... ds=[] ns.each{|n| ds << model.definitions[n] } ### NOW process 'ds' which is a list of definitions sorted by name... You can make a similar change to the 'whole of the definitions' version too. Ruby's 'sort' is 'case sensitive' - you can make it case 'insensitive' using a method [wrapped] like this def self.sort_by(a) return unless a.is_a?(Array) return a.sort_by{|w|[w.downcase, w]} end You then replace the line ns.uniq.sort! with this: ns.uniq! ns=self.sort_by(ns)
  • [Plugin] Key Scene v1.0.3

    22
    0 Votes
    22 Posts
    17k Views
    renderizaR
    [pre:2y7rh979]Author:: Renderiza Plugin Name:: Key Scene Version:: 1.0.3 Date:: 8/29/2013 Cost:: Free[/pre:2y7rh979] New KeyScene v1.0.3 is released! [image: key_dialog.jpg] %(#909090)[Changes: Added a field at the top that says "Editing configuration for scene <scene name>" so that it was more clear which scene was being modified. Fixed bug that will appear If you launch without any scenes in the model, that would get this error in the console: Error: #<NoMethodError: undefined method description' for nil:NilClass> C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/RND_KeyScene/RND_KeyScene_loader.rb:103:in push_frame' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/RND_KeyScene/RND_KeyScene_loader.rb:51:in `initialize']
  • A plugin to move the sun in a more practical way?

    3
    0 Votes
    3 Posts
    329 Views
    pietervP
    Thanks Rv1974! I didn't think of the toggle north tool. How would you use TIG's 45 degree shadow plugin for this purpose?
  • Anyone familiar with Rescape?

    3
    0 Votes
    3 Posts
    213 Views
    takesh hT
    @glro said: i don't see any download link on the web page this seems to me more a PROJECT of plugin, than a real one Here you go; http://code.google.com/p/rescape/downloads/list That's a lot of coding...
  • [Plugin] ImageAnimator 20130827

    18
    0 Votes
    18 Posts
    14k Views
    TIGT
    Here's an update: http://sketchucation.com/forums/viewtopic.php?p=293677#p293677 The SKMtools Temp folder that is needed to process Image files etc, is now made in the User's Temp folder [OS specific] rather that the ../Plugins/SKMtools folder, avoiding potential permission issues...
  • Anyone know of a Plugin: open/ close a skp file and save jpg

    7
    0 Votes
    7 Posts
    293 Views
    Rich O BrienR
    Wouldn't Mystic Thumbs or MooTools 3D Browser do this easier?
  • [Plugin] Land F/X

    2
    0 Votes
    2 Posts
    2k Views
    guanjinG
    Thanks for the great tool, showing how it is not complete?
  • BOOM! PluginStore now lists YOUR updates!!!

    18
    0 Votes
    18 Posts
    646 Views
    KrisidiousK
    http://www.youtube.com/watch?v=4qDdLYkyEi4
  • SketchStruct is a free structural analysis plugin

    2
    0 Votes
    2 Posts
    871 Views
    majidM
    Thank you dear friend for this great news
  • Plugins held outside of SCF and their reliability/safety

    4
    0 Votes
    4 Posts
    345 Views
    tt_suT
    Eneroth's plugins are great.

Advertisement