sketchucation logo sketchucation
    • Login
    1. Home
    2. Al Hart
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ๐Ÿซ› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 348
    • Posts 1,614
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: RpTreeMaker

      @unknownuser said:

      [attachment=0:1yzg0ah8]<!-- ia0 -->test.png<!-- ia0 -->[/attachment:1yzg0ah8]Thanks,

      I download the program and picked a tree from the library and this is a very quick test with SU and thearender[attachment=0:1yzg0ah8]<!-- ia0 -->test.png<!-- ia0 -->[/attachment:1yzg0ah8]

      Thanks. Turn on shadows in SketchUp to see if the shadows work properly. We have worked hard to try to create a shadow mask for each tree so it can cast shadows.

      The default setting should produce a pretty good shadow mask.

      http://wiki.renderplus.com/images/6/60/Tree_Editor.jpg

      posted in Extensions & Applications Discussions
      Al HartA
      Al Hart
    • RE: Employment postings

      I just noticed this link from a link on the SketchUp Sage Site:

      SketchUp Job Board

      But I don't think it has any jobs posted. (I searched for jobs mentioning SketchUp and didn't find any)

      I suppose I could post it on the ShareYourSketch site as well. But the point of this thread was to see what sites SketchUp people actually use for looking for employment. Not just random places where I could post a job offering.

      I see there is a Google Groups SketchUp Jobs site as well.

      posted in Corner Bar
      Al HartA
      Al Hart
    • RE: RpTreeMaker

      @gaieus said:

      Thanks Al! This is one of the coolest freebies shared here. ๐Ÿ‘

      One question; do I need to uninstall anything of the previous version or can I just install this new one over the previous one?

      You can just install the new one. (If you uninstall the old one first, you will have less unused junk on your computer when you are done.)

      posted in Extensions & Applications Discussions
      Al HartA
      Al Hart
    • RE: Plugin DLL

      We could put documentation on how to use it in Google Docs - either starting a new one - on on the SuWiki now located in the SketchUp Sage Site

      What SketchUp told me was:

      @unknownuser said:

      I believe Sang has (or will have) simple extensions in our SDK soon, but in the meantime it's perfectly okay to distribute this. The more people who know the techniques, the better.

      Here is what I have been sending people:

      @unknownuser said:

      You can download a copy from:

      404 Not Found

      favicon

      (www.renderplus.com)

      This is basically a Ruby Extension - and SketchUp has created a sample.

      This lets you can C-code functions directly from SketchUp ruby, call SketchUp ruby functions directly from C-code, and also access SketchUp classes directly from C-code.

      What would be good would be a case study where a new user tries to use it, and points out what it is difficult, gets help, etc.

      posted in Developers' Forum
      Al HartA
      Al Hart
    • RE: Plugin DLL

      @alienizer said:

      That's exactly what I'm after Al. I sent you an email. I appreciate all your help. ๐Ÿ˜

      I found my previous emails and found a link to it, and sent it off to you.

      Good Luck! (There is nothing easy about figuring this out and getting it to work.)

      If you have some questions, post them here.

      posted in Developers' Forum
      Al HartA
      Al Hart
    • RE: Plugin DLL

      You need some sample code called Simple Extension.

      SketchUp doesn't seem to make it available, but they will let me send you a copy. See this thread: http://forums.sketchucation.com/viewtopic.php?f=80&t=13548

      Send an email to al.hart@renderplus.com and I will try to send you a copy (if I can find one)

      The "secret" is that you create a dll called, for example, ABC.DLL, then do require('ABC.dll'), (with the proper path, etc.), SkethchUp will load it and make a call to Init_ABC() (the name of your DLL) and you take it from there.

      The sample DLL is linked with Ruby DLLs and cann access and modify SketchUp classes and more.

      posted in Developers' Forum
      Al HartA
      Al Hart
    • RE: RpTreeMaker

      Give it a try.

      Let me know if there are any problems.

      If anyone makes a nice tree, post it here! ๐Ÿ˜‰

      Here's one: ๐Ÿ˜†

      tree3.jpg

      posted in Extensions & Applications Discussions
      Al HartA
      Al Hart
    • RE: RpTreemaker-flowers

      We put out a new version of RpTreeMaker with Flowers.
      See: http://forums.sketchucation.com/viewtopic.php?f=80&t=36762

      posted in Extensions & Applications Discussions
      Al HartA
      Al Hart
    • RpTreeMaker

      We put out a new version of RpTreeMaker.

      This one has a lot of new sliders for adjusting tree parameters, and has flower images as well as bark and leaves.

      Check it out at: RpTreeMaker

      RpTreeMaker Free is a free integrated plug-in for Google SketchUp that creates realistic trees for SketchUp.

      What RpTreeMaker Free means to you...

      * A new way to add depth and realism to your SketchUp model.
      * Quickly and easily add a large variety of trees to your SketchUp model.
      * Create custom trees to match any setting.
      * Itโ€™s Free! 
      

      New for Version 2.0

      * New Version contains a library of premade trees. See: Load from Library 
      * Toolbar for easy access to functions
      * Flowers and additional Tree types
      * Library of trees 
      

      http://wiki.renderplus.com/images/4/4c/Tree-editor-foliage.jpg

      RpTreeMaker - Tree Editor.jpg

      posted in Extensions & Applications Discussions extensions
      Al HartA
      Al Hart
    • RE: [Plugin] Convert DWG Layer Names to Materials

      Thanks Didier - it is good to have the original working again - with its additional options to convert materials to layer names as well.

      posted in Plugins
      Al HartA
      Al Hart
    • [Plugin] Convert DWG Layer Names to Materials

      I have a client who was having a hard time making windows in a Revit model imported into SketchUp transparent.

      There was an older script layers_materials.rb, by Didier, which would have helped a lot, but I couldn't get it to work properly in SU 8

      I took a look at getting the old script ruby working, and created a new version

      *It would not run for me because of loading and run time errors in SU 8.
      *I added some options to not change materials which are already assigned.
      *I added some logic to only process each component definition once.

      I have attached the result.

      convert_materials_to_layer_names.rb

      Put this in the plugins folder and give it a try.

      After loading SketchUp, and importing a DWG file, select Convert Layer Names to Materials from the Plugins menu.

      http://api.ning.com/files/rwHAupJLUy8K723X2HrE4QpKwum6s*6O1ioYaZib2M0Y1CHHsHxuXRtdrVOiLnO0T8tbqebQX91pNNDghdcm8UTnxv549BBp/ConvertLayerNamestoMaterials.jpg?width=721

      Create new materials for all layers (except Layer0) - If this is Yes, then new materials will be created to match all layers, except Layer 0. If it is No, then no new layers will be created, and only existing layers will be used. Only material names which match the layer names will be used.

      Do not change existing, non default, material names - If this is cYes, then only faces with no material set will be set to the material with the same name as the entity's layer,. If it is No, then exiting materials will be overridden with the layer materials.

      A report will be provided of new materials created and how many faces had their materials changed.

      Let me know what goes wrong. (The first person to try a new plugin will undoubtedly find a problem or two)

      [Edit - changed name of original script]

      posted in Plugins
      Al HartA
      Al Hart
    • RE: Convert Color by Layer Colors...

      I took a look at getting Didiers's Layer Names to Materials ruby working.

      I posted a new version in this thread:

      http://forums.sketchucation.com/viewtopic.php?f=323&t=36715

      Convert Layer Names to Materials.jpg


      convert_materials_to_layer_names.rb

      posted in SketchUp Discussions
      Al HartA
      Al Hart
    • RE: Layer0 questions

      Which layer does model.add("Layer0") return in a foreign language version?
      (A new layer or the nil layer?)

      I presume the foreign language versions cannot create new layers called Layer0, because that would get confusing if I tried to use the model in English.

      Can someone tell me what Layer0 is called in some other language where it is different, so I can see what happens if I try to create a new layer with that name.

      posted in Developers' Forum
      Al HartA
      Al Hart
    • RE: Layer0 questions

      Wonderful answer TIG.

      I was about to use this set of code to skip the default layer:

      
      			model.layers.each do |layer|
      				# do not process Layer0
      				next if layer.name == "Layer0"
      				...
      
      

      However I had better find a different way to skip the first layer,

      However in searching for Layer0 in my Ruby code I see a number of other items which sound like they may not work.

      
      				# remember layer name unless it is a pass through
      				if (entity.layer.name != "Layer0")
      					eparms2.parent_layer = entity.layer.name
      				end#if
      
      or
      
      				model.active_layer = model.layers["Layer0"]
      
      

      The second one can easily be replaced with:

      model.active_layer = nil
      

      But the first one seems more troublesome.

      This seems a bit cumbersome:

      
      tlay = model.active_layer
      model.active_layer = nil
      deflayname = active_layer.name
      model.active_layer = tlay
      if (entity.layer.name != "Layer0")
      	eparms2.parent_layer = entity.layer.name
      end#if
      
      

      Do you have a suggestion for seeing if an entity is in the 'nil' layer.

      posted in Developers' Forum
      Al HartA
      Al Hart
    • RE: Employment postings

      When I click on that link I get this message:

      @unknownuser said:

      You are not authorised to read this forum.

      posted in Corner Bar
      Al HartA
      Al Hart
    • Layer0 questions
      1. Is Layer0 always the first layer,

      e.g. Sketchup.active_model.layers[0].name

      1. Is the name of the default layer always "Layer0" - even in foreign versions?

      I guess this could and would change with templates.

      1. Does anyone use a template where Layer0 has a different name?

      2. It looks like you cannot change the name of Layer 0

      Sketchup.active_model.layers[0].name = "Test"

      does not change the name.
      (It does for Layer1)

      posted in Developers' Forum
      Al HartA
      Al Hart
    • RE: Employment postings

      That looks like the "official place" to get the SketchUcation owners to do work for you.

      posted in Corner Bar
      Al HartA
      Al Hart
    • RE: Convert Color by Layer Colors...

      I found the ruby - layers_materials.rb - although it doesn't seem to work in SU 8.

      posted in SketchUp Discussions
      Al HartA
      Al Hart
    • RE: Convert Color by Layer Colors...

      Is there a ruby anywhere to assign a SketchUp material to faces to match the name of the layer - but without trying to get the color from the color by layer. If so, then it would be relatively simple to set SketchUp materials for one or two layers.

      I thought I had tried a ruby which did that sometime ago, but I can;'t seem to find it again.

      (I found this thread while looking for just that plugin. Unfortunately it is hard to search for "Convert layer to material)

      posted in SketchUp Discussions
      Al HartA
      Al Hart
    • RE: Employment postings

      I guess what I meant was "When you are looking for employment involving SketchUp, what places do you look at"

      I seem to remember that SUC used to have an employment forum, but dropped it. But I could be wrong.

      I am not just looking for a good place to find SUC members, but a good place to find all SketchUp users who may be interested.

      When I am ready - I will post it here, if that is allowed - but I would like to find other places too.

      posted in Corner Bar
      Al HartA
      Al Hart
    • 1
    • 2
    • 14
    • 15
    • 16
    • 17
    • 18
    • 80
    • 81
    • 16 / 81