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

    Posts

    Recent Best Controversial
    • RE: Help!

      @unknownuser said:

      Well, for start, you could type in lowercase πŸ˜„ Because if your variable name starts with capital letter, ruby takes it as CONSTANT. You are lucky that ruby lets to redefine constants, most of programming languages don't allow πŸ˜„. This is why you get the warning.
      use something like this, it's easier to read and those are local variables, not constants:

      
      > x_size = input[0].to_f
      > y_size = input[1].to_f
      > z_size = input[2].to_f
      > 
      

      Thanks! it works perfectly now!

      posted in Developers' Forum
      B
      Builder Boy
    • Help!

      I made this code in the Web Console

      
      model = Sketchup.active_model
      entities = model.active_entities
      selection = model.selection
      
      if selection.empty?
      
        UI.messagebox("No Selection")
      
      else
      
       prompts   = ["X", "Y", "Z"]
       defaults  = ["1.0", "1.0", "1.0"]
       list      = ["", "", ""]
       input     = UI.inputbox prompts, defaults, list, "Size"
      
        group = entities.add_group selection
      
       if (group)
        selection.add group
       else
        UI.messagebox "Failure"
       end
      
       Xsize = input[0].to_f
       Ysize = input[1].to_f
       Zsize = input[2].to_f
      
       e = selection[0]
       tr1 = e.transformation
       tr2 = Geom;;Transformation.scaling(Xsize, Ysize, Zsize)
      
       e.transform!(tr1.inverse)
       e.transform!(tr2)
       e.transform!(tr1)
      
       status = group.explode
      
      end
      
      

      But, every time I run the script, I get this message in the ruby console:

      
      warning; already initialized constant Xsize
      warning; already initialized constant Ysize
      warning; already initialized constant Zsize
      
      

      How do I fix this?

      posted in Developers' Forum
      B
      Builder Boy
    • RE: Animation

      @chris fullmer said:

      To be more prcise, you are looking for plugins that animate objects? Or are plugins that helps with the "walkthrough" camera positions also considered "animation" plugins here?

      I was looking for Plugins that move objects. I can move the camera with scenes.

      posted in Plugins
      B
      Builder Boy
    • Animation

      I have found a lot of animation plugins in the past. So far I've seen:
      Mover
      cmd's mover with dialog and easings
      SketchyPhysics
      Proper animation
      SU Animate
      Does anybody know of any others?

      posted in Plugins
      B
      Builder Boy
    • My first Twilight Render!!!

      The light version

      The dark version

      I was trying to make something like this:

      I was trying to make something like this

      I just couldn't figure out how to make the glowing ball have a reflection and light up at the same time.

      posted in Gallery
      B
      Builder Boy
    • RE: [Plugin] ChrisP_ColorEdge

      Shade by 3 colors dosn't work for me 😞 Instead, it gives me the dialog, and when I click ok, NOTHING HAPPENS! 😠

      posted in Plugins
      B
      Builder Boy
    • New group/component

      I want 2 new items on my "Edit" menu:

      New Group
      New Component

      Both will:

      Take the selected geometry, and make a new Group/Component out of it.
      Ask me to make a name for the Group/Component when I make it.
      Put it on a new layer named after the Group/Component name.

      posted in Plugins
      B
      Builder Boy
    • RE: [Plugin] Edges drive

      2 things:

      1. Make it in english
      2. Make it in feet and inches
      posted in Plugins
      B
      Builder Boy
    • RE: Extend tool

      @haynesc said:

      why not just turn on the extensions in styles? ... or do you actually need the lines drawn

      I do actually need the lines drawn.

      posted in Plugins
      B
      Builder Boy
    • Extend tool

      I need a tool that will make the selected edges longer by a set distance.
      1.png


      Untitled (2).skp

      posted in Plugins
      B
      Builder Boy
    • RE: I need another script

      Thank you, Jeff Hammond! It's just what I was looking for!

      posted in Plugins
      B
      Builder Boy
    • RE: I need another script

      @tig said:

      To what exactly πŸ˜•
      If you already have the 3D set of edges I suspect that you simply want to fillet the corners ❓
      There are several 'fillet' plugins available already...
      My '2D Tools' contains a '2D Fillet' tool, BUT it is one of the tools in the set that actually works in 3D too... πŸ˜„
      So to use that you'd simply activate the tool, enter the desired radius for the fillet [in the VCB] and pick the two edges forming the corner, repeat for each corner. There is no need to change the radius between fillets unless you want to do so... When you're done you'll have a guide-point at each arc's center, if/when you don't need these you can use 'Delete Guides' to clear them...
      In your illustrated example it'd need one type-in for the radius and eight clicks [at two per corner] to do [+ menu...delete guides] that's hardly hard work...
      πŸ€“

      Nice, but I would like to pre-select the geometry I want to fillet

      posted in Plugins
      B
      Builder Boy
    • RE: [Plugin][$] RoundCorner - v3.4a - 31 Mar 24

      I noticed this plugin could not smooth this vertex.

      Untitled.png

      However, I was able to bevel it manually without any problems.
      Step 1
      Step 2
      Step 3 (the final result)
      If you wanted to sharp the corner, you could do this:
      Untitled4.png
      And, if you wanted to round the corner, you could do this:
      Untitled5.png
      Please post an update.


      Untitled2.skp

      posted in Plugins
      B
      Builder Boy
    • I need another script

      Is there a plugin to do this, and all I have to do, is specify the length from the endpoint to the arc start point?
      Untitled.png

      posted in Plugins
      B
      Builder Boy
    • RE: Oscillator (Where to find?)

      Thank you hpnisse! Now that I know how to use keys, I made this!


      Use the arrow keys to control it

      posted in SketchyPhysics
      B
      Builder Boy
    • Bubbled face

      does anyone know how to make a bubbled face that connects ALL the edges here:
      Untitled2.png
      I do not want to use Soap And Skin Bubble. Does anyone know another way?


      Untitled1.skp

      posted in Plugins
      B
      Builder Boy
    • RE: Do we have a Joke Thread goin here?

      A lion wakes up in the middle of the jungle and decides to impose his royalty to the rest of the jungle. So he walks up to a rabbit and roars "WHO IS THE MIGHTIEST CREATURE OF THE JUNGLE!?" Terrified, the rabbit replies "Y-you are m-m-master" The lion feels good about scaring the rabbit, so he decides to do it again. Soon, he walks up to a pig and again roars "WHO IS THE MIGHTIEST CREATURE OF THE JUNGLE!?" Just like last time, the pig said "y-you are" Now, the lion wants to do it a third time "WHO IS THE MIGHTIEST CREATURE OF THE JUNGLE!?" he roared to the elephant. The elephant grabs the lion by the scruff of the neck, throws him into the air, and shuffles off. The lion starts shouting "All right! All right! There's no reason to be nasty about it just because you don't know the answer!"
      🀣

      posted in Corner Bar
      B
      Builder Boy
    • Quadrilateral face warp

      It's easy enough to do manually, but it takes a long time. I would like to have a plugin to do it quickly.
      Blue edges are NON-COPLANAR
      Subdivision level 2
      Subdivision level 4
      Subdivision level 8
      Triangulation


      Untitled1.skp

      posted in Developers' Forum
      B
      Builder Boy
    • RE: Using view.line_width= ?

      @tig said:

      To change the edge thickness in regular geometry 'edges' you have to use 'trickery' - like my 2D Line Style Tool [which works in 3D too]. You can call up a dialog [right-click] to set your requirements - thickness [50mm etc], color [red etc], line-style [dash/dot/center etc] etc and you then pick the line[s] to 'style' - they are moved to a hidden layer, and an instance with a 'face' the correct width/color/style etc is placed in its stead - it's centered on the line if it's unfaced or coplanar with two faces, or stepped in onto the face if lone faced [if two-faced the face 'squarest' to the camera gets the new edge]... Selecting already Styled Line[s] gives a right-menu lets you Edit it/them and change thickness/color/style as desired...

      I would like to see this plugin. Can you post it?

      posted in Plugins
      B
      Builder Boy
    • RE: Using view.line_width= ?

      Can you use this method to draw a 3D edge that is thicker in pixels than regular edges? If so, please post an attachment with the ruby script.

      posted in Plugins
      B
      Builder Boy
    • 1 / 1