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

    Posts

    Recent Best Controversial
    • RE: Camera import and control

      Hi TIG
      I found the old dialog regarding the file TIGimportcamera.rb
      I have updated the last Sketup update, but I can't get the script to work this time.
      Can you help me?

      Also, I would love to donate for having successfully used the script for many years! 🙂
      How can I donate?

      Kind regards,
      Mikkel

      posted in Newbie Forum
      M
      mbarker
    • RE: Cut N Fill not giving values

      Is there a way to display the height information for the Color for Z plugin?
      I would like to create a map where the height difference between the bottom layer and the height layer is displayed!?
      Thanks

      posted in SketchUp Discussions
      M
      mbarker
    • RE: Cut N Fill not giving values

      Hi Rich
      That is very much appreciated, and I am getting it to work and have gone from frustrated to curious and testing different settings.
      Thanks!!!

      posted in SketchUp Discussions
      M
      mbarker
    • Cut N Fill not giving values

      Hi
      I have been following tutorials on CutNfill, but can't make it work on a large terrain.
      I have attached a photo of the two terrains I am using which shows the contours. Both volumes are equal in dimensions with the same height for the "skirt."
      When I combine the two volumes cutNfill does it work, but the result is both 0 for cut and fill.

      I have tried simplifying the terrains, making sure that everything is equal except for the added area, but I can't get it to work.
      The terrain is built up of quads.

      The work process that I aim for is to use cutNfill to have "volumes" for the height difference and the use of color by height to create a map of the amount of soil to be added to the landfill and to calculate the total amount.

      I can calculate the cubic meters to be added from entity info, but I want to show the amount of soil to add for the different areas of the terrain.

      Below is also a link to my SketchUp file that you cant download if you are curious.
      I would extremely appreciate the help.

      I have also had a challenge creating a good terrain that follows the contour lines and breaks at the right lines. Creating a triangular mesh is not good and using Toposhaper works better but not perfect.
      If you have good suggestions for creating the best terrain, I would love to know.

      Thanks,
      Mikkel


      cutNfill challenge.skp


      Sketchup file with different variation


      cutNfill challenge.jpg

      posted in SketchUp Discussions sketchup
      M
      mbarker
    • RE: Camera import and control

      @tig said:

      I'd expect the old RB file still to work OK in v2015.
      However, how are you making the camera-data file ?
      Try Notepad++ and set the file's encoding to UTF8-without-BOM...
      Report back...
      Dear TIG
      Worked a little more with the script and camera file and I am back in business!!
      Thanks!! 😄

      posted in Newbie Forum
      M
      mbarker
    • RE: Camera import and control

      @tig said:

      You can get a dialog that takes some input for camera data [but 'up' is a vector!] using this code [PC only, I'm afraid!]

      <span class="syntaxdefault">require </span><span class="syntaxstring">'sketchup.rb'<br /></span><span class="syntaxdefault">UI</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">menu</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"Camera"</span><span class="syntaxkeyword">).</span><span class="syntaxdefault">add_item</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"Camera Info..."</span><span class="syntaxkeyword">){</span><span class="syntaxdefault">Sketchup</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">send_action</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">10624</span><span class="syntaxkeyword">)}</span><span class="syntaxdefault">unless file_loaded</span><span class="syntaxkeyword">?(</span><span class="syntaxdefault">__FILE__</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">file_loaded</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">__FILE__</span><span class="syntaxkeyword">)&nbsp;</span><span class="syntaxdefault"></span>
      

      copy+paste this code into a file called camera_info.rb in the Plugins folder and you get the new item in the menu after a restart...

      Dear TIG
      It has been a long time since last and i would like to ask you a big favor regarding the camera import script. I used to have the user name mbark and you made the TIGimportcamera.rb. I am now using Sketchup 2015 and the script will not import. Can you help with an updated version. I would really appreciate it!
      Thanks

      posted in Newbie Forum
      M
      mbarker
    • 1 / 1