sketchucation logo sketchucation
    • 登入
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Axes Tools

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

      ThomThom, I have been trying to redefine, from a plugin, the axes of a component instance that has been rotated and made unique to the default left,front,bottom location without any luck. This is an easy manual modification but seemingly impossible from code. Any suggestions would be greatly appreciated.

      Nothing is worthless, it can always be used as a bad example.

      http://sdmitch.blogspot.com/

      1 條回覆 最後回覆 回覆 引用 0
      • thomthomT 離線
        thomthom
        最後由 編輯

        @sdmitch said:

        ThomThom, I have been trying to redefine, from a plugin, the axes of a component instance that has been rotated and made unique to the default left,front,bottom location without any luck. This is an easy manual modification but seemingly impossible from code. Any suggestions would be greatly appreciated.

        This plugin won't do it??? 😕

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 條回覆 最後回覆 回覆 引用 0
        • sdmitchS 離線
          sdmitch
          最後由 編輯

          @thomthom said:

          This plugin wonæt do it??? 😕

          I can't seem to come up with any combination that makes it work. I want to be able to copy and rotate a component around one or two axes then make it unique so, when I place it again, it maintains that orientation. Now when the the new component is selected for placement it returns to the orientation that it originally was. Using your Axis Tool doesn't change that no matter where I define the insertion point. Right clicking on the component and doing a Change Axes is the only thing that works but how do you code that?

          Nothing is worthless, it can always be used as a bad example.

          http://sdmitch.blogspot.com/

          1 條回覆 最後回覆 回覆 引用 0
          • thomthomT 離線
            thomthom
            最後由 編輯

            It's exactly what this plugin is suppose to be doing... ...but testing a simple cube now, and there seem to be a bug here...

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              ...and when I try it again - everything works fine... 😕

              got a sample model? because I cannot reproduce it again..

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 條回覆 最後回覆 回覆 引用 0
              • sdmitchS 離線
                sdmitch
                最後由 編輯

                The attached model contains two not so "simple cubes". The one at the origin is the original cube. The one on the right is a copy which has been made unique and rotated 90 degrees. When the copy is selected, Change Axes show the insertion point of the copy at the back right corner as you would expect. Using your Axis Tool and choosing right,front,bottom does move the insertion point but the axes orientation is un-changed so, when it selected for placement, it appears un-rotated.


                Insertion point and axes orientation

                Nothing is worthless, it can always be used as a bad example.

                http://sdmitch.blogspot.com/

                1 條回覆 最後回覆 回覆 引用 0
                • utilerU 離線
                  utiler
                  最後由 編輯

                  Thom, I've got an idea to add.

                  see here:
                  http://forums.sketchucation.com/viewtopic.php?f=15&t=43404&p=387027#p387027

                  Would be nice to be able to context click on a group or component and reset the Axes orientation to global.....

                  I'd be interested to see if it is possible.

                  Cheers,

                  Andrew

                  purpose/expression/purpose/....

                  1 條回覆 最後回覆 回覆 引用 0
                  • thomthomT 離線
                    thomthom
                    最後由 編輯

                    What would expected behavior for nested components be?

                    Thomas Thomassen — SketchUp Monkey & Coding addict
                    List of my plugins and link to the CookieWare fund

                    1 條回覆 最後回覆 回覆 引用 0
                    • utilerU 離線
                      utiler
                      最後由 編輯

                      Rest all I reckon..... 👍

                      purpose/expression/purpose/....

                      1 條回覆 最後回覆 回覆 引用 0
                      • utilerU 離線
                        utiler
                        最後由 編輯

                        @utiler said:

                        Rest all I reckon..... 👍

                        'Re-set' all I meant to say.... 😳

                        purpose/expression/purpose/....

                        1 條回覆 最後回覆 回覆 引用 0
                        • bac9-flclB 離線
                          bac9-flcl
                          最後由 編輯

                          This plugin is absolutely awesome, thanks a lot! 😄

                          I'm exporting models to CryENGINE3, which is limited with FP16 vertex coordinate precision, so moving the pivot point to the center of a bounding box to utilize the whole range of available values on each axis is a very important thing to do. Your plugin just saved me tons of time otherwise wasted on doing this manually. 😄

                          And yeah, the possibility to disable the centering for vertical axis (and using e.g bottom of the bounding box) is awesome too - especially for more or less flat models where I can sacrifice some excess precision in exchange for ease of object placement. Or also, it's very useful for small props, like furniture or natural clutter, which can be placed in hundreds - digging each object from the ground would have been quite bothersome). 😄

                          1 條回覆 最後回覆 回覆 引用 0
                          • thomthomT 離線
                            thomthom
                            最後由 編輯

                            👍 😄

                            Thomas Thomassen — SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 條回覆 最後回覆 回覆 引用 0
                            • R 離線
                              rv1974
                              最後由 編輯

                              May I request 'add cpoint' feature at the axes origin?

                              1 條回覆 最後回覆 回覆 引用 0
                              • FabiazzF 離線
                                Fabiazz
                                最後由 編輯

                                This what my doctor ordered, a full dose of axes tools. When making game model in sketchUp I always adjust the axes to fill the game need but i just can't get it centered on the object fast enough. This plugin sure cured that problem.

                                1 條回覆 最後回覆 回覆 引用 0
                                • H 離線
                                  haimat
                                  最後由 編輯

                                  Hi, I have created a simple box model in free Sketchup 8 and want to set the origin of the model's bounding box to exactly its center. I tried with this plugin but after running it on my model in Sketchup nothing happens.

                                  Is this Axes Tool / Insertion Point Plugin not the correct solution for my needs, or have I missed something here?

                                  Thanks!

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • thomthomT 離線
                                    thomthom
                                    最後由 編輯

                                    Are you trying to set the axis of your model or a component?

                                    This plugin only changes the axis of selected groups/components - not the model axis.

                                    Thomas Thomassen — SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • H 離線
                                      haimat
                                      最後由 編輯

                                      Thanks, I managed to get the functionality that I was looking for with this plugin:

                                      http://sketchucation.com/forums/viewtopic.php?f=323&t=18691&p=473387#p152438

                                      Cheers!

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • D 離線
                                        ddflow
                                        最後由 編輯

                                        Thank you sooooo much! 😄

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • thomthomT 離線
                                          thomthom
                                          最後由 編輯

                                          You're sooooo welcome! 😄

                                          Thomas Thomassen — SketchUp Monkey & Coding addict
                                          List of my plugins and link to the CookieWare fund

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

                                            @thomthom said:

                                            @rv1974 said:

                                            It doesn't rotate the axis, it simply moves the origin of the components - the insertion point.

                                            Though, it could be made to also rotate the axis to match the current model axis.

                                            Hi Thomthom - is the above possible. Used your Axes plugin a lot (thanks) but wonder whether you are able to add this functionality in to it. Being able to align the axis to the model axis would be great. I started a thread here
                                            http://sketchucation.com/forums/viewtopic.php?f=15&t=54818
                                            but thinking about it this thread is probably a better place for it.

                                            Thanks
                                            Sam

                                            SU Pro 2016
                                            Dell Precision M4800
                                            PC Windows 10
                                            Intel Core i7-4900MQ @ 2.80ghz
                                            Nvidia Quadro K2100M
                                            16gb RAM

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

                                            Advertisement