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

    Posts

    Recent Best Controversial
    • RE: [Plugin] Round Edge - v1.0 (by Bezier)

      How to make a 10 sided dice...
      just combo some SU scripts! total time 5 minutes
      great work Fredo! πŸ‘ πŸ‘


      10 sided dice.jpg

      posted in Plugins
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      I think you can do this with the standard polygon tool and setting 4 sides in VCB

      posted in Plugins
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      😎


      snowman.jpg

      posted in Plugins
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      I've updated the script see first post for details,
      here the new toolbar with new shapes.
      enjoy πŸ˜‰


      3DshapesToolbar.jpg

      posted in Plugins
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      I've finished the work on icosahedron too,
      now I will try to implement feature you all request and clean the code a little.
      see you next week.

      posted in Plugins
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      @lapx said:

      Can parametric tool be added this. After or during adding shape you can change radius or height parameters. VCB stuff you know. Now this would be fantastic!!! 😎

      VCB is fully supported by 3D shapes tool, read low-right corner hints.

      posted in Plugins
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      I've noticed is if you draw on a back face, the cone is reversed,
      and for the sphere depends on the order of the edge passed to the add_face
      on the first face created. For the cone the first face is the base, so if it's
      draw on an existing back face, all the cone became backfaced.

      For other shapes i've just finished the regular dodecahedron (the last platonic solid missing!)

      posted in Plugins
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      You are right!
      I've adde the construction line feature ( ripped from your tool πŸ˜„ )
      It will be available in the next release, thank you.

      posted in Plugins
      M
      Macs
    • RE: Retrieve input from the status bar

      Yes, you have to implement the method "onUserText" on your tool:

      ex:

      
      # This is called when the user types a value into the VCB
      def onUserText(text, view)
          # The user may type in something that we can't parse as a length
          # so we set up some exception handling to trap that
          begin
              value = text.to_l # convert the value to a length
          rescue
              # Error parsing the text
              UI.beep
              value = nil
              Sketchup;;set_status_text "", SB_VCB_VALUE
          end
          ....
      end
      
      
      posted in Developers' Forum
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      @cphillips said:

      Loving the plugin dude!

      Suggestion. Once you place the shape it is hard to set the height. You need to have something to infer the height and if nothing is available it is frustrating. My solution was to add a construction line to the center of the shape after the second click.
      [CUT]

      Chris

      Strange.. on my system my tool works differently 😞
      when you do the second click with the cone tool it goes up
      and down with the height without being locked on the surface.
      I have to review the code to see if I made some mistrake invocking
      some method without "self.".

      thank you for the suggestion on the costruction line, I'll think about it.

      posted in Plugins
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      Ok! This is almost identical at what i'm coding... πŸ˜†
      I've missed this in SketchyPhysics.

      I've seen there is some difference in how the shapes are drawn,
      and I've inserted support for VCB input.

      however here there is the new script, now "3D Shapes Tool"


      3DShapesTool.zip


      toolbar.jpg


      examples.jpg

      posted in Plugins
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      I've seen that script, mine is a little different, but it was useful to learn from it.

      posted in Plugins
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      I've done some more work on it, completed a cone tool
      and added a toolbar. I'm progressing with work, soon a new release
      with more 3d shapes.

      Well it's a sort of toolbar for newbies πŸ˜„
      who don't know how to draw more complex shapes in few steps.
      I'm sure expert modelist know well how draw these shapes,
      perhaps it will help when there are many to draw.

      posted in Plugins
      M
      Macs
    • RE: [Obsolete] Tools On Surface - v1.1

      Here 2 images of what I'm tring

      first one select plane tool and tring to draw a verical line, before mouse click
      second one is what i get after the mouse click


      before click.jpg


      after click.jpg

      posted in Plugins
      M
      Macs
    • RE: [Obsolete] Tools On Surface - v1.1

      Hi Fredo! Your tools are fantastic! πŸ‘
      I think i found a problem while I was playing with the line tool:

      I've attcached this simple model
      draw a plane line with your tool from the lower vertex of the segment
      up in vertical. The result line will be connected to the upper circle
      and not to the starting vertex.
      The same does not happen with the costruction line.


      cylinder.skp

      posted in Plugins
      M
      Macs
    • RE: [Obsolete] Tools On Surface - v1.1

      ops, I've lost the attachment on previous post.. now it's there

      posted in Plugins
      M
      Macs
    • RE: [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      Sorry for the title.. πŸ˜„ now it's correct.

      @tomot: it's nothing, this is just my first experiment.. I'm happy if it could be of some help to others programmers.

      posted in Plugins
      M
      Macs
    • [Plugin] 3d Shapes Tool (was: Pyramid Tool)

      Updated Version, now "3D shapes Tool"

      1.0
      shape: cone
      shape: sphere
      shape: rotated pyramid

      1.1

      • shape: dodecahedron
      • shape: icosahedron
      • CTRL key to toggle between center or base first vertex.
      • varius minor improvement

      Old starting post below:

      @unknownuser said:

      Hello,
      During my experiments with ruby programming for SU I've produced
      this tool for drawing pyramids based on rotated rectangle tool.
      Maybe it's useful to someone...

      usage:
      Menu->Draw->Rotated Pyramid

      I think it's easy to use, but suggestions are welcome.
      [mod=:2rndhrwn]Note: that this is an OLD script, probably unsuitable for >v8 without some Ruby editing - why not look for SketchUp's own newer and more comprehensive Shapes tool at EW...[/mod:2rndhrwn]


      3DShapesTool_v1.1.zip

      posted in Plugins
      M
      Macs
    • 1 / 1