sketchucation logo sketchucation
    • Login
    1. Home
    2. sdmitch
    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!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
    Offline
    • Profile
    • Following 0
    • Followers 4
    • Topics 54
    • Posts 1,483
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: Insert Component by "Drawing"

      @brad.curnow said:

      Did you just make that? It's perfect!

      Can I try it?!

      Please check Messages.

      posted in Extensions & Applications Discussions
      sdmitchS
      sdmitch
    • RE: Insert Component by "Drawing"

      @brad.curnow said:

      1. Choose Component (drop down list?)
      2. Get Insert point (click 0,0,0)
      3. Get Second point (click 0,400,0)
      4. Insert component (origin 0,0,0 scale Y to 0,400,0)

      Something like that??


      Scale and Align.gif

      posted in Extensions & Applications Discussions
      sdmitchS
      sdmitch
    • RE: [Plugin] FloorGenerator ( Updated 6-Apr-2017)

      Sorry, but I think not.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [Plugin] ChrisP_ColorEdge

      @oxer said:

      I use Sketchup with my students in the technical drawing lessons and it's very useful draw the edges with different colors. Would be possible assign another different key to TAB to select the different colors on Mac?
      For example in Ivy plugin the ALT and SHIFT keys work fine.

      Yes. Any key that works for you will do. However, there is one other problem that I found. On two occasions, colr1 = results and color1 = results should be colr1 = results[0] and color1 = results[0]. These statements appear around line 233 and 754.

      Another problem is the number of Sketchup Colors far exceeds the number the inputbox pull-down can handle. It needs to be a WebDialog if you really want all the color choices.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: Insert Component by "Drawing"

      No it wouldn't be that difficult but be advised that 'everything' in the component's definition gets stretched or shrunk. If you only want the length of the table top to change, that would require creating it 'on the fly'

      What were your expectations?

      posted in Extensions & Applications Discussions
      sdmitchS
      sdmitch
    • RE: How to create a model "skin" for 3D printing

      This is the weirdest model I've ever come across. It somehow contains faces whose outer loop vertices are not planar!! How can this possibly be?

      I thought it might be a scale thing but scaling X 1000 made no difference.

      posted in SketchUp Discussions
      sdmitchS
      sdmitch
    • RE: Moving all components to origin

      Is this the 'before' or 'after'?

      Could you post a couple of .obj files?

      posted in Extensions & Applications Discussions
      sdmitchS
      sdmitch
    • RE: [Plugin] Save Copy As Previous Version

      @pcucka said:

      Hi there!
      For some reason I cannot seem to install this plugin on SU 2015.
      Thoughts?

      Since this a '.rb' file, it can not be installed as an extension.

      option 1 is to simply copy it to the Plugins folder and restart Sketchup. You should find '[jf]Save Copy As ...' under Files.

      option 2 is to Zip the .rb file and change the .zip extension to .rbz. This file can be installed as an extension.

      I was able to load and use this plugin in SU2015.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: Ramping around a truncated cone

      Maybe this model will be of use.


      Accesible Ramp.skp

      posted in Newbie Forum
      sdmitchS
      sdmitch
    • RE: [Code] Material picker

      @dan rathbun said:

      I looked in my 2016 Plugins folder and found what I had working last June 2016.

      It seems to work for me on SU2016.

      Thanks Dan. I have come up with a different solution to what I was attempting and it works with all versions.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: [Code] Material picker

      I have been testing a plugin that uses the Material Picker code and in SU2014 it works very well but, in SU1015,SU2016 and SU2017, it works ONCE! I select material1 and material2 then execute some code that replaces material1 with material2. Attempting to redefine the materials fails although there are no errors reported in the Ruby Console. Closing the WebDialog and restarting the plugin does not solve the problem. Restarting Sketchup fixes the problem but for only one execution. Anyone have an idea as to why?

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: [Code] Material picker

      @dan rathbun said:

      Don't miss the updated styling in
      http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=65078%26amp;view=unread#p597010

      Yes, I copied that. Thanks.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: [Code] Material picker

      I thought I had found just what I was looking for when I found this post but, no matter what I try, I can't get this to work. Hopefully you can explain why.
      never mind. I just realized that I wasn't starting the observer. DOH

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: Get a list of File names on the input box

      @davesexcel said:

      [attachment=0:i9zhoo1z]<!-- ia0 -->FileListRuby.jpg<!-- ia0 -->[/attachment:i9zhoo1z]Thank you both for the answers,
      Both
      list = Dir["C:/Testfolder/*.*"].join("|")
      and
      Dir.entries("C:/TestFolder/")[2..-1].join('|')
      They list all the files, but all on one line and the list ends up in the title with a blank textbox.

      ` ents=Sketchup.active_model.active_entities
      def slashify(path)
      path.gsub(/\\|\|///,'/')
      end

      #Dir.new('C:\TestFolder\').each { |file| puts file }

      prompts = ["Find a file?"]
      defaults = ["a"]

      list = Dir.entries("C:/TestFolder/")[2..-1].join('|')

      input = UI.inputbox prompts, defaults,list, "File Name"
      a=input

      puts a
      puts list`

      list, like prompts and defaults, must be an array

      prompts = ["Find a File"]
      defaults = ["a"]
      list = [Dir.entries('c;/users/public/test')[2..-1].join("|")]
      input = UI.inputbox(prompts,defaults,list,"File Name")
      
      
      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: [Plugin] Face2Frame - Updated 27-Mar-2014

      @billmorr said:

      Hi

      Is it just me or has this plug in stopped working in Sketchup Pro 2017???

      Face to Frame updated for SU2017 compatibility. Download new version for PluginStore or blog.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: Coping with SU2017 entity handling changes

      @tig said:

      What is the nature of your code's error messages in the Ruby Console - typically mine have been telling me I can't do things to deleted_entities, or trying to get some value for Nil [where that entity is not found or is invalid] etc...

      I'm getting the "deleted_entity" message. In Face2Frame, I need somehow to keep the selected face from being destroyed. I need to use this face in multiple subroutines.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • Coping with SU2017 entity handling changes

      Some of my plugins are having problems with how SU2017 handles entities differently and I am not sure what I need to do to over come this. I have tried using .clone and .dup but neither remedy the problem. Any guidance will be greatly appreciated.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: [Plugin] Face2Frame - Updated 27-Mar-2014

      @billmorr said:

      Hi

      Is it just me or has this plug in stopped working in Sketchup Pro 2017???

      No it's not just you. SU2017 strikes again. I will try to fix the problem if I can.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: Moving all components to origin

      @dennis_n said:

      Is there any way to automate this process? (I'll have to perform this in the future on many models (()
      Dennis

      Probably if you would list the manual steps you are using to accomplish the result you want along with some screen shots of the before and after.

      posted in Extensions & Applications Discussions
      sdmitchS
      sdmitch
    • RE: No Implicit Conversion fron String in Messagebox

      @arcteo said:

      OK! I got it to work, thanks to you!

      Let me ask you: how did you learn Ruby scripting for Sketchup? Did you use books, videos, search forums? Any tips for new scripters?

      I have a Ruby programming reference manual but most of what I have learned is from studying plugins done by others and visiting the Plugins and Developers forums. The Ruby API is also an invaluable tool.
      http://ruby.sketchup.com/

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • 1 / 1