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

    tvcasualty

    @tvcasualty

    10
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    tvcasualty Unfollow Follow
    registered-users

    Latest posts made by tvcasualty

    • RE: Setting file types in the savepanel

      Sorry to drudge up old news, but this is an embarrassingly old issue, be nice to have a filter option in the API by now.
      Here was my solution because I didn't like the fact that it could possibly overwrite a file accidentally using TIGs approach (untitled != untitled.txt for example). Anyhow it can be a burden to hit save twice, but I'd rather do that 100x then accidentally save over something important.

      Where:

      
      EXT = "txt"
      default_dir = "c;\\temp\\"
      default_file = "untitled"
      
      

      The following while loop:

      
      name_valid = false 
      while name_valid == false 
       path_to_save_to = UI.savepanel("Save Code File", default_dir, default_file)
       #path_to_save_to = path_to_save_to.tr("\\","/") # This maybe required.
       fileext = File.extname(path_to_save_to) # filename with prefix stripped
       filebase = File.basename(path_to_save_to, ".#{EXT}")
       #puts fileext.inspect
       if fileext == "" || fileext == nil
        default_file = filebase + ".#{EXT}"
        UI.messagebox "Oops! Including the file extension '#{EXT}'\nThis is an embarrassing workaround...\nPlease hit save again."
        #puts default_file.inspect
       else
        filename = filebase + ".#{EXT}"
        path_to_save_to = File.dirname(path_to_save_to) + "\\" + filename
        name_valid = true
       end
      end
      
      
      posted in Developers' Forum
      T
      tvcasualty
    • RE: Does layout not support hidden lines?

      Thanks but that's not quite what I'm after...
      This is what Layout / Sketchup needs to do:
      std iso 3 view...
      I want to show this in Layout, only I'd like it to show as vectors (not as raster), and if it's not too much more to ask, I'd like that to export as a dxf.

      Note, it should also work for holes, and not just square cut outs (if I drew a hole, the hidden line does not show up as an edge).

      Thanks again for your response though.

      posted in LayOut Discussions
      T
      tvcasualty
    • Does layout not support hidden lines?

      Seems strange that I am having such a hard time getting layout 3 to show me hidden lines from my drawing as SU8 does. Showing hidden lines is a huge step towards being a CAD program someone can actually make things from, and it seems like there must be a way to make Layout show them!

      Can anyone help a guy out?

      posted in LayOut Discussions layout
      T
      tvcasualty
    • RE: SketchUp and Rubies on Linux (yes, it works)

      I've been running SU on ubuntu 8.04 and now 8.10. I've had the black screen problem in version 1.16? of wine, however a day later it updated and the problem went away. I'm now on 1.18, and it still works great. Now all my plugin's work!

      posted in Developers' Forum
      T
      tvcasualty