sketchucation logo sketchucation
    • 登入
    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!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] 3d Shapes Tool (was: Pyramid Tool)

    已排程 已置頂 已鎖定 已移動 Plugins
    53 貼文 21 Posters 51.0k 瀏覽 21 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • M 離線
      Macs
      最後由 編輯

      @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.

      1 條回覆 最後回覆 回覆 引用 0
      • C 離線
        CPhillips
        最後由 編輯

        @unknownuser said:

        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.

        I figured this out. In my case I build a lot of shapes on a big floor plane. When I draw a cone it infers the height from the floor. I don't think this is a flaw in your plugin. But the construction line is still useful in many cases.

        1 條回覆 最後回覆 回覆 引用 0
        • urgenU 離線
          urgen
          最後由 編輯

          ....Please wait ....will be OK! 😉 😄 ..

          --pupil forever...------

          1 條回覆 最後回覆 回覆 引用 0
          • M 離線
            Macs
            最後由 編輯

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

            1 條回覆 最後回覆 回覆 引用 0
            • urgenU 離線
              urgen
              最後由 編輯

              Scripts is ready 😉 , problems of translation(russian-english) 🤣

              --pupil forever...------

              1 條回覆 最後回覆 回覆 引用 0
              • urgenU 離線
                urgen
                最後由 編輯

                ...This is both very interesting and useful topic 👍 …I wonder why the founders of SKETCH-UP haven’t done the 3d shapes (primitives) earlier 😕 …If we have raised such an issue and this caused that much interest, we have to finish it up… ❗ I am not a script man, although many people say I would be capable of doing that quite a bit…unfortunately, quite poor knowledge of English and the tough schedule do not let me study RUBY in more details…I had a choice to make here: to draw or to write…I have chosen the 1st one…However, I do get the processes in scripts and can freely apply some changes for my personal convenience in my usage but not more than that…I quite like the style of painting the figures in SketchyPhysics ( Chris, I really appreciate it!) and the MACS style too… I have selected the files responsible for SHAPES building (from SketchyPhysics) and have made a decision to turn for help to one amazing Russian man Sahi (you possibly remember his name from the script “building a house”). In a few hours I got a response you can see below… 😄 …This is a Russian version and not everything works ideally, but much respect for his talent…he does not know English, but still manages to write English RUBI (imagine yourself writing RUBI in Russian or Chinese, which you do not know!!)… ..The many people the many minds, but the last thing I want is him to be remoted from the forum….thank you Sahi one more time! 😍 .....all the parameters of the letters are ascribed with the help of the keyboards…very convenient! 👍 ...MACS, I think that would be useful for you…And Chris---a comfortable supplementary for your SketchyPhysics. 😉


                SketchyPhysicsShapes.zip

                --pupil forever...------

                1 條回覆 最後回覆 回覆 引用 0
                • C 離線
                  CPhillips
                  最後由 編輯

                  Thanks for doing that Urgen. But I recommend this only be used for reference. There is still a fair amount of physics stuff in there. And it that could conflict with future versions of SketchyPhysics.

                  1 條回覆 最後回覆 回覆 引用 0
                  • C 離線
                    CPhillips
                    最後由 編輯

                    I noticed you have the same problem I did when creating spheres. I was never able to figure out why they were sometimes reversed. I wound up doing my own sphere routine.

                    What other shapes do you plan to support?

                    1 條回覆 最後回覆 回覆 引用 0
                    • S 離線
                      sahi
                      最後由 編輯

                      Corrected some errors
                      arazdel-13.jpg
                      SketchyPhysics_1.zip

                      1 條回覆 最後回覆 回覆 引用 0
                      • L 離線
                        lapx
                        最後由 編輯

                        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!!! 😎

                        1 條回覆 最後回覆 回覆 引用 0
                        • M 離線
                          Macs
                          最後由 編輯

                          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!)

                          1 條回覆 最後回覆 回覆 引用 0
                          • M 離線
                            Macs
                            最後由 編輯

                            @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.

                            1 條回覆 最後回覆 回覆 引用 0
                            • urgenU 離線
                              urgen
                              最後由 編輯

                              ...Thanks,SAHI! 😄

                              MACS,don,t stop your work! 🎉

                              --pupil forever...------

                              1 條回覆 最後回覆 回覆 引用 0
                              • JClementsJ 離線
                                JClements
                                最後由 編輯

                                Hi Macs:

                                Request to add drawing an equal-sided cube (or maybe elongated one also?) from the center of the first mouse-click. If there was a way to alternate to starting from a corner that would be cool, but not essential.

                                And, since SU's rectangle tool doesn't have an option to create a rectangle from its center, this cube tool could also be used to do this by simply not moving the mouse along a third-axis for the 3rd mouse-click (or by double-clicking on the 2nd mouse-click).

                                Regards, John.

                                John | Illustrator | Beaverton, Oregon

                                1 條回覆 最後回覆 回覆 引用 0
                                • C 離線
                                  CPhillips
                                  最後由 編輯

                                  @jclements said:

                                  Hi Macs:

                                  Request to add drawing an equal-sided cube (or maybe elongated one also?) from the center of the first mouse-click. If there was a way to alternate to starting from a corner that would be cool, but not essential.

                                  And, since SU's rectangle tool doesn't have an option to create a rectangle from its center, this cube tool could also be used to do this by simply not moving the mouse along a third-axis for the 3rd mouse-click (or by double-clicking on the 2nd mouse-click).

                                  Regards, John.

                                  I like the idea of a center version of shapes. How a shape (or even a line) is centered would be a great option at almost every step in the process. I was thinking that the CTRL key could toggle whether that state (width,height,depth) of the shape is centered or not. That is sort of how the sphere in the SketchyPhysics solids work.

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • TIGT 離線
                                    TIG Moderator
                                    最後由 編輯

                                    OFFTOPIC:
                                    Mirror.rb script hands and can also copy the objects if desired - like ACAD...

                                    TIG

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • JClementsJ 離線
                                      JClements
                                      最後由 編輯

                                      Chris, I agree. This would be consistent with other SU tools such as the Scale tool.

                                      OFFTOPIC:

                                      1. A big gripe of mine is being able to scale from the center of a selection along ONLY TWO AXIS directions with one mouse-drag sequence or one entry in the VCB. Primarily at equal distances from the center. I am wondering if some of the coding included in these new hybrid tools could utilized to create such a script?

                                      2. Also, when Dragging a side selection handle, you mirror or "flip" an object. However, manytimes I'd like to COPY the flipped object. In some of my 2d apps when dragging an object with the left-mouse depressed, I can drop a copy by clicking and releasing the right-mouse buttom while the left is still depressed. I think this would be a good solution for a similar SU flip-and-copy script.

                                      John | Illustrator | Beaverton, Oregon

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • P 離線
                                        pav_3j
                                        最後由 編輯

                                        ah very neat lil ruby there. thank you for the hard work.

                                        pav

                                        Just won the 'Who is Least Competitive Championships' where trying to win will make you lose. Trying to lose makes you win which makes you lose. Not trying at all makes you lose which makes you win which makes you lose.

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • M 離線
                                          Macs
                                          最後由 編輯

                                          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.

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • A 離線
                                            agrazdi
                                            最後由 編輯

                                            Is it possible to assign a shortcut key to " create a Box " for instance.?

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement