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: [REQ] GoogleEarth Meshes boolean subtract

      No, you can avoid the torture if you like.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [REQ] GoogleEarth Meshes boolean subtract

      Maybe I've finally figured it out. By border, did you mean a border of a row/column of cells?

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [REQ] GoogleEarth Meshes boolean subtract

      Apparently there are major differences between the Mac and Windows versions. There is no border, that I can find, that is left when the mesh is de-selected.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [REQ] GoogleEarth Meshes boolean subtract

      @driven said:

      I've got a half done tutorial if your interested.

      john

      Please do because I'm missing something in the process.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [REQ] GoogleEarth Meshes boolean subtract

      Looks like I need to extend the faces vertically especially on the low side because, in yout test model, the bounding box of the mesh on the right surfaces momentarily on the mesh to the left which would result in some triangles along that edge not to be "cut" by the intersection.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [REQ] GoogleEarth Meshes boolean subtract

      Yes there are sometimes tiny usually vertical gaps because the meshes aren't exactly the same vertically or horizontally in the overlap areas.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [REQ] GoogleEarth Meshes boolean subtract

      It all depends on the order that it finds them in the model so the selection order doesn't matter.

      Now that I know that order might be important, I will add an input so that the default order can be reversed.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [REQ] GoogleEarth Meshes boolean subtract

      @aceshigh said:

      you did that manually?

      No, with a plugin that I threw together last night. Check your PM inbox.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [REQ] GoogleEarth Meshes boolean subtract

      Here is how I did it. I created and grouped the four vertical faces surrounding the 1st terrain mesh using the bounding box corners. Then I did an intersect_with the faces and the 2nd terrain group and added the intersection entities to the entities of the 2nd terrain group. I then searched the entities of the 2nd terrain group for hidden edges that fell within the bounds of the 1st terrain group and deleted them.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: Start/commit_operation

      I have given up trying to figure out why .start_operation/.commit_operation inclusion in my Bolt Maker plugin causes periodic bug splats. Even when that didn't happen, the undo capability was the same as if it wasn't included so no gain for the pain. The only commonality of the bug splats seemed to be that the first entity selected was a group with "Head Type:Cap" selected.

      If you can figure it out, I would love to hear from you.

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: [Plugin] Bolt Maker (Final Update 7-Feb-2012)

      OOPS!!!! Sorry Bolt Maker fans. Dispite what I thought was adaquate testing, I found a problem while playing around with the plugin this morning. It has been corrected and a new copy posted.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: Ruby Equivalent of Move/Copy

      TIG, Thanks for the info. As many times that I have searched through the Ruby API Document, I never saw that .add_instance could be applied to groups. It's always a good day when you learn something new.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [Plugin] Bolt Maker (Final Update 7-Feb-2012)

      CalypsoArt,

      Stack away. Just posted update allows that and it drills holes through them all.

      The bug splats and failures are caused by the usually benign start_operation statements.
      I got a lot of those also until I removed them.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: Ruby Equivalent of Move/Copy

      kybasche,

      group_shell=model.active_entities.add_group()
      ents=group_shell.entities
      points_box=[[0,0,0],[5,0,0],[5,10,0],[0,10,0]]
            
      face_box=ents.add_face(points_box)
      face_box.pushpull(-20)
      group_shell_copy=group_shell.copy#create a copy
      tr=Geom;;Transformation.new([10,0,0])#copy location
      group_shell_copy.transform! tr
      
      
      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [Plugin] Follow Me Helix (Updated 06-Jan-2012)

      In case you missed it, I posted an updated version yesterday that, if negative angular increment is entered, reverses the direction of the helix.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [Plugin] Follow Me Helix (Updated 06-Jan-2012)

      No there is currently no way to make it go the other way. I will take a look and see what I can do.

      posted in Plugins
      sdmitchS
      sdmitch
    • Start/commit_operation

      Is it just me or do you frequently have issues with start_operation and/or commit_operation. Recently I have been working on a plugin that after working without fail stopped working or bug splatted after I added a start_operation statement. Moving the start_operation statement up a few lines in the script allowed the script to run normally.

      Is there a limit on the number of entity creations that can be undone with a single start/commit block?

      posted in Developers' Forum
      sdmitchS
      sdmitch
    • RE: How can you combine two ruby scripts?

      Brodie, If I understand you correctly what you want to end up with is a beveled edge,ie inset 1" and raised 1". Is that correct? If so I think I have the solution.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: Is there a way to select all with Default material?

      Brodie,

      Remember faces have a front and a back. One can have material applied and the other not. So open the Ruby Console and paste this into the input box

      Sketchup.active_model.entities.each{|e| Sketchup.active_model.selection.add e if e.is_a?(Sketchup;;Face) && e.material==nil && e.back_material==nil}
      

      This will select all faces that have default material on front and back.

      posted in Plugins
      sdmitchS
      sdmitch
    • RE: [Plugin] Bolt Maker (Final Update 7-Feb-2012)

      @unknownuser said:

      I am curious, why does the objects to be bolted need to be a component? I use component, but I also use groups and was just wondering why it only would work on a component and not a group.

      Thanks for the plugin.

      Ken

      Primarily because that's what the original request was. Groups and components are very simuliar but does require some additional code to handle either.

      posted in Plugins
      sdmitchS
      sdmitch
    • 1
    • 2
    • 65
    • 66
    • 67
    • 68
    • 69
    • 74
    • 75
    • 67 / 75