sketchucation logo sketchucation
    • Login
    1. Home
    2. careca
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 10
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: [Plugin] Compo Spray 1.4.2 Updated

      Hi.

      What tweak would be needed to make this fantastic plugin work under the portable plugins extension? So far it would not show up in the Draw menu. I assume it has to do with the path reference somewhere?

      Thanks.
      martin

      posted in Plugins
      C
      careca
    • RE: [Plugin] Camera Settings Export/Import

      "...with Maintenance 2 release, ACT installs with SketchUp 8.

      posted in Plugins
      C
      careca
    • RE: [Plugin] Camera Settings Export/Import

      @unknownuser said:

      Re: [Plugin] Camera Settings Export/Import

      Postby rv1974 on Wed Aug 29, 2012 11:36 am
      Could you add support for hidden geometry, visible layers, style and shadows please?

      thanks for your comment - but to be honest, this was not the intention of this plugin, I only wanted to transfer camera settings between files. going into "hidden geometry, visible layers, style and shadows" will require to write a script for transferring complete scenes/pages, a completely different approach...

      martin

      posted in Plugins
      C
      careca
    • RE: [Plugin] Camera Settings Export/Import

      hi Aerilius, thomthom, all.

      thanks for the feedback, i have updated the script accordingly and replaced it in my original post.

      regards,
      martin

      p.s. advanced camera tools would be great - maybe you can convince our sysadmins to install it for us πŸ˜‰

      posted in Plugins
      C
      careca
    • [Plugin] Camera Settings Export/Import

      Hello.

      I'm sharing a little script with everybody that does export & import camera settings, making transfers between files possible.
      As I was not able to find any script that can do this (though "Camera Statistics" provides the raw numbers, it requires quite a bit of copy&paste efforts), I went ahead and wrote it myself.

      So it's basically tackling an issue we have quite frequently in the office, when we have several versions of SU model files, dating back to different dates and occasions. And then sometime the client asks for a before/after comparison, for what we have to retain older files and retrofit them with newer camera positions (or do the same thing vice-verse).

      The scripting might be ruby-beginner-style, but is seems to be working on our SU 8 Win7 systems.

      It provides basic export options (choose between exporting "all scenes", "current scene" "selected scene") and import options (update camera of scenes with identical scene name)

      If somebody find this helpful, feel free to download and use it and let me know if you like it.
      Also feel free to enhance the script further.

      Best regards.
      Martin

      p.s. updated version uploaded 2012-08-29


      Camera Export / Import Version 1.1

      posted in Plugins
      C
      careca
    • RE: [Plugin] Shade Analysis Tool

      Hi all.
      Thanks for the feedback.

      @unknownuser said:

      No tutorial?

      Hmm, let's see.

      1. Set up your preferable view perspective and shadow settings
      2. Hit the "Start Shade Analysis Tool" Option under the "Plugins" Menu.
      3. Export the scenes (i.e. using the "Export scenes to JPG" ruby) and do whatever you intend to use the analysis for.

      -> will include this inside the script when I post the next update.

      @unknownuser said:

      It works on OK on Mac OSX & SU7. Can you set it up so that by default it uses sunrise to sunset for the initial run, then allow the user to set specific times for subsequent runs. (...) Also set the default specified time run to run from 6am to 6pm as an initial setting, this makes more sense in more parts of the globe.
      Tasman

      -> Might fine-tune the time-settings once I have some free time to spend.

      @unknownuser said:

      Another useful addition would be to have an option to print out the time as part of each new scene.

      -> Other than the Scene Name? This would require to add a text object for each scene, right? Or even different layers for each scene?

      Martin

      posted in Plugins
      C
      careca
    • [Plugin] Shade Analysis Tool

      Hello from Tokyo.

      I finished my first ever ruby script.
      'Needed something to help me with my Shade Analysis (original post: http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=18099)

      Attached the first final beta-version. It seems to work fine.
      Since my earlier scripts, it is now possible to modify the location (lat/lon), adjust the TimeZone Offset and choose a time range for which the analysis should be created.

      What the script does: it creates a series of scenes with different date/time settings. These scenes can be exported to jpgs for further analysis.

      I am looking forward to feedback and comments. Tell me if it is working for you, I tried it with XP&SU6 only so far.

      Best wishes.
      Martin


      v0.3

      posted in Plugins
      C
      careca
    • RE: Problems with ShadowTime/Time conversion

      Hi Ray.
      Thanks for your comment.

      When i started to write this script, it was just meant to make my current task easier.
      After some time i noticed this might be useful for other people as well.
      I will try to generalize it as much as possible once I find the time.

      @facer said:

      A few suggestions:

      1. Could you give Southern Hemisphere users the option of reversing
        your Winter, Summer etc. labels for the months.

      2. An option to print out only the months and dates would assist in
        cross referencing the scenes to town planning regulations.
        For example "Sept 21 - 1500(3pm)" etc.

      -> that sounds reasonable.

      @facer said:

      1. Could there be a selection for only the times required by the
        authorities. Such as 0900 am, 1200 noon, and 1500 (3pm)

      -> hmm, either you select certain hours in advance or delete unnecessary scenes afterward.

      Please keep in mind the script is so far only working for Japan, as the offset is preset within the script. This needs to be changed. I also started writing an if-clause that dynamically only creates scenes for between sunrise and sunset hours.

      Best wishes.
      Martin

      posted in Developers' Forum
      C
      careca
    • RE: Problems with ShadowTime/Time conversion

      Hi TIG.
      Thanks for taking the time to look after my little script.

      Looks like you accidentally for forgot to implement the time zone offset..

      I enhanced the script further by:

      1. including a question in the initial dialog box whether summertime should be included (we do not have summertime in japan...)
      # inpubox
      questions = ["Enter Name", "Summertime"]
      defaults = ["Shadow-Analysis", "no"]
      list = ["", "no|yes"]
      my_view_name_values = UI.inputbox questions, defaults, list, "Please adjust."
      	
      my_view_name = my_view_name_values[0]
      summertime = my_view_name_values[1]
      
      1. manually reset the TZOffset to +9, after the import from GE, it was set to +12...
      si['TZOffset'] = 9
      
      1. include the Time offset & summertime offset
      #include the Time offset
      new_t = t + (my_offset*60*60) ### TIG the time is the time ???
      
      # summertime		
      new_t = t + (60*60) + (my_offset*60*60) if seasons[sss] == "Summer 6/21"  && summetime == "yes"
      

      The only remaining question is why the timezone setting was wrong after importing the location from GE....

      revised script attached.


      shade_analysis_tool.rb

      posted in Developers' Forum
      C
      careca
    • Problems with ShadowTime/Time conversion

      Hi everybody.

      I just wrote my first (!) few lines in Ruby in order to make Sketchup help me with my Shade Analysis. This script basically creates a series of scenes with different time/date settings.

      It's almost working the way I want to, the only thing I cannot figure out is the ShadowTime-issue and the conversion of the different time formats.

      (My model location is in Japan).

      If anybody is able to have a look at lines 50-54 in the attached file.
      Help would be very much appreciated. πŸ‘

      Best wishes from Tokyo.
      Martin


      shade_analysis_tool.rb

      posted in Developers' Forum
      C
      careca
    • 1 / 1