sketchucation logo sketchucation
    • Login
    1. Home
    2. bagatelo
    3. Posts
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 43
    • Posts 284
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: [Plugin] Material Renamer

      @cadfather said:

      
      > def matrename
      > 
      > Sketchup.active_model.start_operation('Rename Materials',true); Sketchup.active_model.materials.each_with_index { |m,i| m.name = "- #{'%03d' % i}"; p m.name };Sketchup.active_model.commit_operation
      > end
      > 
      > if( not file_loaded? "TT_materials_renamer.rb" )
      > UI.menu("View").add_item("Materials Rename") { matrename.new }
      > file_loaded("TT_materials_renamer.rb")
      > end
      

      Great! Thanks!

      One thing that would be really interesting would be that this script index materials application in areas with higher per square meter first. Thus, a material that was on all the walls would be in first place. A material that was in small areas (a decorative object for example) would be the end of the numbering.

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Material Renamer

      @bagatelo said:

      @tig said:

      @unknownuser said:

      ...it would be possible to get the base name for the materials from file skp name automatically?

      Yes, where the earlier code says
      m.name = "mat#{'%03d' % i}"
      change it to read
      m.name = "#{Sketchup.active_model.title}#{'%03d' % i}"

      GREAT!!! Thanks...

      Sketchup.active_model.start_operation('Rename Materials',true); Sketchup.active_model.materials.each_with_index { |m,i| m.name = "#{Sketchup.active_model.title}#{'%03d' % i}"; p m.name };Sketchup.active_model.commit_operation

      I want to add a shurtcut for this function. Can you make a plugin for me, please? 😳

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] TIG-Split_to_plane v1.1 20130107

      I see fantastic tool for this in the future. Line to cut solids.

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Material Renamer

      @tig said:

      @unknownuser said:

      ...it would be possible to get the base name for the materials from file skp name automatically?

      Yes, where the earlier code says
      m.name = "mat#{'%03d' % i}"
      change it to read
      m.name = "#{Sketchup.active_model.title}#{'%03d' % i}"

      GREAT!!! Thanks...

      Sketchup.active_model.start_operation('Rename Materials',true); Sketchup.active_model.materials.each_with_index { |m,i| m.name = "#{Sketchup.active_model.title}#{'%03d' % i}"; p m.name };Sketchup.active_model.commit_operation

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Material Renamer

      @tig said:

      @bagatelo said:

      @thomthom said:

      Undo-able in one step:

      Sketchup.active_model.start_operation('Rename Materials',true); Sketchup.active_model.materials.each_with_index { |m,i| m.name = "mat#{'%03d' % i}"; p m.name };Sketchup.active_model.commit_operation

      Could you make a window that allowed us to enter the base name and the number of digits materials renamed?
      Just edit mat#{'%03d' % i} >>> "mat001" to be say my_mat#{'%06d' % i} >>> "my_mat000001"

      I had seen it, just wanted to not have to edit these items. But that's okay.
      It would be possible to get the base name for the materials from file skp name automatically?

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Material Renamer

      @thomthom said:

      Undo-able in one step:

      Sketchup.active_model.start_operation('Rename Materials',true); Sketchup.active_model.materials.each_with_index { |m,i| m.name = "mat#{'%03d' % i}"; p m.name };Sketchup.active_model.commit_operation

      Could you make a window that allowed us to enter the base name and the number of digits materials renamed?

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Layer Tools (1.1.0)

      Is there something like "Put selected objects on a new layer and hide this Layer".

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Layer Manager New Release

      Is there something like "Put selected objects on a new layer and hide this Layer" ?

      posted in Plugins
      bagateloB
      bagatelo
    • Layers from Material list

      I searched but I found nothing that befitted these requirements.
      Is there a plugin that creates layers from material lists and place the objects within those layers?

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Explode Group to Layers

      I'm looking for a plugin that creates a new layer for each object in the scene or in the selection, either component or group, without considering subgroups. Has anyone done something like this?

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin][$] RoundCorner - v3.4a - 31 Mar 24

      It would be interesting if the Sketchup had a control panel to install / disable / uninstall plugins. Not for just a few plugins, but for all plugins. But this is not Us, but for
      Trimble.

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Material Renamer

      It would be possible that the name of the material received something from RGB code and the level of opacity?

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Q JS ALIGN TOOLBAR

      I've been watching the tools to align objects in Photoshop, and I thought it would be really cool to have some additional tools to align in Sketchup. I use this plugin "Q JS TOOLBAR ALIGN" too much and I not use the toolbar, because I assign keyboard shortcuts for each function. I think the coolest would be to distribute equally spaced objects in a given axis by objects that would be in extreme.


      align.jpg

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Snapshot – (1.0.1) — updated 09.10.2012

      There should be an option to enter the date and time automatically in the file name.
      Thanks for this great tool.

      posted in Plugins
      bagateloB
      bagatelo
    • Bim.bom

      I'm just discover this amazing plugin.
      Sorry, but this is in Portuguese. But Maybe someone replies this in English...

      http://www.bimbon.com.br/aprenda

      posted in Plugins
      bagateloB
      bagatelo
    • RE: Ferrari Sketch

      @designforgood said:

      Got this plugin a while ago. Never had the project work to show off it's muscle but it's good to see just what it can do. Need to make some projects....

      Where I can download this plugin? It's for free?

      I have found it:
      http://rhin.crai.archi.fr/rld/plugin_details.php?id=768

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Material Renamer

      @thomthom said:

      CleanUp can merge material with identical properties.

      But it works only in applied geometry or can works in the material editor also?

      posted in Plugins
      bagateloB
      bagatelo
    • RE: [Plugin] Material Renamer

      I have a large collection of materials. Many of these are repeated,
      and the names are all messed up.
      I wish I could organize my these materials, permanently.
      It would be possible to create a function that creates a number X of planes or squares,
      according to the amount of material in the scene, and apply each material
      in each box? Or just put a material in each plan? Create plans
      is very simple.
      After we can use the plugin "Material consolidator" to eliminate repeated.

      posted in Plugins
      bagateloB
      bagatelo
    • RE: Show / hide layers in render sequence?

      @andybot said:

      The way vray works currently is that it takes the layer visibility and geometry from your first scene (including face-me objects) and renders everything from that geometry. Any change in layer/ visibility will not occur in subsequent scenes.

      Very sad this...

      posted in V-Ray
      bagateloB
      bagatelo
    • Show / hide layers in render sequence?

      Does anyone know if it is faulty or if it is necessary to enable a feature to render several scenes in sequence, so the Vray do hide / show Layers or objects as setting the scene?

      In the attached example,you need to adjust where to save files in "Options" in the toolbar of Vray. Go to "Output", "Save files" and choose an appropriate location.


      test.skp

      posted in V-Ray render plugins extensions
      bagateloB
      bagatelo
    • 1 / 1