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: Move an edge?

      I have struggled with this problem also. When I use the vector transform to change the z value of a curve vertex by an offset or absolute amount, it seems to work as expected. But, trying to do the same with the x or y value, gives some rather strange results and I'm baffled as to why.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: Scaling Problem - Help

      Like Mac1, I scaled, exported, and imported the file without seeing any holes.

      posted in SketchUp Discussions
      sdmitchS
      sdmitch
    • RE: Toolbars

      Thanks John & Dan,

      John, your sample code works perfectly the first time but if but if you close the existing toolbar and make a change to the toolbar definition and recreate the toolbar, it is the same as the first time. I find that restarting Sketchup and recreating the toolbar solves that problem however.

      Dan, I had been just "X-ing" out of the toolbar but took a look at View>Toolbars and, as you said, there was a reference to a mis-named attempt to load just created toolbar using UI.toolbar. I totally agree about the API. It is in serious need of a rewrite.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: Toolbars

      driven,

      OK, just how does one turn toolbars off and on? Why do you have to specify both large and small icons before they will display? Why does tb=UI.toolbar "" return a toolbar entity?

      The following example comes from the Ruby API Toolbar section. As is, it will display a toolbar with only one button because the second .add_item is missing. When you add it and rerun, the second button is still missing. Now if you change the name of the toolbar and rerun it, you get what you expect.

      toolbar = UI::Toolbar.new "Test" # This command displays Hello World
      cmd = UI::Command.new("Test 1") { UI.messagebox("Hello World 1") }
      toolbar.add_item cmd
      toolbar = toolbar.add_separator
      cmd = UI::Command.new("Test 2") { UI.messagebox("Hello World 2") }
      toolbar.show

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • Toolbars

      I'm not a newbie to Sketchup but I truly am where toolbars are concerned. Is it my imagination or do you only get one shot at getting it right for a toolbar with a given name. It seems to me that once I have created a toolbar, the only way to change it is to create it with a new name otherwise none of the changes or additions take place.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: Unique Component Plugin

      @unknownuser said:

      I have an apartment block that is a group. Within that each floor is grouped (or a component if repeated). Within each floor I have a number of components (windows, doors, balconies, or apartment types). Now I name the apartment block Scheme 1. Now I want to do a second scheme (scheme 2) that has larger windows and different balconies. Is it possible to have a script where if I right click on scheme 2 apartment group and make all components unique within it?

      chaddad, I think this plugin does what you describe.


      Makes components in the selected group unique

      posted in Newbie Forum
      sdmitchS
      sdmitch
    • RE: [req] a good stairmaking plugin

      Well Dave he never asked for it, only about it, so I fealt no compulsion the give it.

      Rock, the plugin in question is attached. You can access it through the Plugins menu. There are 3 options, Normal, Spiral, and U-Shape.

      Normal is just a straight run with a railing on one side. The steps are a group and the rail is a group.

      Spiral is a circular or elliptical stair depending on the Max,Min width input. It is a single group.

      U-Shape now accepts "turn steps" which replace the landing if defined. This is a single group also.


      Stair Maker

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [req] a good stairmaking plugin

      @rock1 said:

      @sdmitch said:

      rock, with a plugin of my own. I did cheat a little on the u-shaped 12,3,12 set. I created a run of 12 then copied,rotated and moved it into position. The run of 3 was then rotated and moved into place. The elliptical stairs required nothing additional to be done. The plugin has a u-shape option but it assumes stair runs stop and start at a landing.

      well which plugin r u using? ๐Ÿ˜›

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: Looking for a plugin to extrude data like the follow me

      I suppose one could create a plugin to do such a thing but I doubt the effort would be worth it. In the case of your pyramid, simply draw a triangle of desired size, orient and place at end of path to be extruded along, use follow me tool then add missing half of the pyramid at each end, soften the lines on the side and you're done.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: Looking for a plugin to extrude data like the follow me

      dan, perhaps i don't understand the problem but if you have a 2d figure, then create any path you like, copy the figure and orient it to an end of the path and use the Follow Me Tool to extrude it. post an example model if possible.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [req] a good stairmaking plugin

      rock, with a plugin of my own. I did cheat a little on the u-shaped 12,3,12 set. I created a run of 12 then copied,rotated and moved it into position. The run of 3 was then rotated and moved into place. The elliptical stairs required nothing additional to be done. The plugin has a u-shape option but it assumes stair runs stop and start at a landing.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [req] a good stairmaking plugin

      Something like this Rock?


      Stairs

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: Groups

      I renamed the groups steps and rails instead of step and rail thinking that Ruby was confused by step since that is a loop method but it wasn't until I added something to the second group,rails, first that all was right with the world at least as far as this plugin is concerned. I had copied the original loop code into the Ruby Web Console and it ran without modification. It would be interesting to know why.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: Groups

      Dan, The groups were created outside the loop originally and the entities added inside the loop. All seemed well since there were no errors shown in the ruby console but, dispite adding entities to the second group, they weren't added to to model only the entities added to the first group. I have tested this independently and it works without a problem so was just something weird going on that particular plugin I guess.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: Groups

      I tried making and re-makeing the groups but didn't have any success with that either. The entities are being created in a loop which complicates things. I finally gave up on the two group idea. It seems apparent that SU doesn't like dealing with more than one group at a time.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: Groups

      If I use rail.entities.add_line instead of rent.add_line, I get the error message

      Error: #<TypeError: reference to deleted Group>

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: Groups

      I copied the code directly from the plugin to my previous response. I add a puts statement and it did show the rail.entites variable rent was empty so I change the statements to add those entities into the step.entities variable sent and everything was there.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: Groups

      No, no error messages of any kind in the Ruby console. Yes, p4 and p5 are valid points. The adding of the groups was the last thing I was attemping to do after numerous successful runs of the plugin.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: Groups

      I did it like this

      step=ent.add_group; sent=step.entities; step.name="Steps"
      rail=ent.add_group; rent=rail.entities; rail.name="Rails"
      
      face=sent.add_face(p1,p2,p3,p4)
         line=rent.add_line(p4,p5)
      

      The "Steps" appears, "Rails" do not.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • Groups

      I was attempting to generate a model feature which I wanted to be created in two groups, part of the feature in one group and the rest in another concurrently. Although no error is generated, only one of the groups appears in the model. Is this not possible?

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • 1
    • 2
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 71 / 75