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

    [plugin] Rotated Box [updated 30-Mar-2014]

    Scheduled Pinned Locked Moved Plugins
    69 Posts 21 Posters 32.5k Views 21 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jorge2011
      last edited by

      sdmitch, sorry, I do not understand your explanation. my English is not good.

      You can create a group inside another group, or a grometria within a group or component?
      You can add this feature?

      thank you very much for your kindness and your time

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        If I might interject. πŸ€“
        All native and most 3rd-party tools add new geometry etc into the "current context" [ model.active_entities] - even if the added 'object' itself is a group of new geometry.
        To always force new stuff into model.entities as its context will be very confusing, unless the two entities' contexts are not the sample.
        So if you are editing a component or a group and you use this tool to add a 'box' then the newly made object will currently then be added outside of the current context... which is not what you'd expect at all - e.g. if you draw a 'line' it's added inside the context, not outside in the model.entities πŸ˜’
        It IS a very simple adjustment to the code to make these tools intuitive in the way it adds its geometry like the native tools...
        πŸ€“

        TIG

        1 Reply Last reply Reply Quote 0
        • sdmitchS Offline
          sdmitch
          last edited by

          For all of you who have been anxiously awaiting the change of mod.entities to mod.active_entities, your wait is over and Version 1.2.1 is for you.

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

          http://sdmitch.blogspot.com/

          1 Reply Last reply Reply Quote 0
          • brookefoxB Offline
            brookefox
            last edited by

            I'm all over it. Thank you, Sam.

            ~ Brooke

            1 Reply Last reply Reply Quote 0
            • sdmitchS Offline
              sdmitch
              last edited by

              Updated to be SU2014 compatible.

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

              http://sdmitch.blogspot.com/

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                I have added it to the PluginStore.
                http://sketchucation.com/pluginstore?pln=Rotated_Box

                TIG

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dedmin
                  last edited by

                  See the video.
                  Video_2014-03-29_033416.wmv

                  1 Reply Last reply Reply Quote 0
                  • sdmitchS Offline
                    sdmitch
                    last edited by

                    Very interesting. I'll try to solve the mystery.

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

                    http://sdmitch.blogspot.com/

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by

                      Just something I noted from the video - implement the Tool#getExtents method to fix the clipping of your temporary geometry.

                      Hi

                      1 Reply Last reply Reply Quote 0
                      • Bob JamesB Offline
                        Bob James
                        last edited by

                        @the.pjt
                        3Pts_Tools is a great tool set (yours and Sam's) and the toolbar.

                        Comments:

                        1. Works fine in SU13, but the cylinder creation is somewhat counter-intuitive: In the Box Tool the base is created first, then the height. In the Cylinder Tool it is the opposite: the height is created first, then the radius. Not a deal-breaker, but it would be better (IMO) if they were both in the same order; base, then height.

                        2. In SU13 it works whether in the 'standard' plugin folder or in an 'additional' folder. In SU14 it does not load successfully in either location: I get load errors in either folder.

                        i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                        1 Reply Last reply Reply Quote 0
                        • sdmitchS Offline
                          sdmitch
                          last edited by

                          In the case of the cylinder, the definition of the height also defines the normal for the cylinder. If you were only doing cylinders oriented along one of the axes, then you could just as easily do it the other way.

                          I think I have found and fixed the bug in Rotated Box that caused the box to be displaced when dimensions were keyed in.

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

                          http://sdmitch.blogspot.com/

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            dedmin
                            last edited by

                            Can the default be NOT to add to a group? It is very frustrating!

                            1 Reply Last reply Reply Quote 0
                            • sdmitchS Offline
                              sdmitch
                              last edited by

                              @dedmin said:

                              Can the default be NOT to add to a group? It is very frustrating!

                              Yes of course. Using Notepad, change the line "@group_box = true" to "@group_box = false".

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

                              http://sdmitch.blogspot.com/

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                dedmin
                                last edited by

                                β˜€ πŸ‘

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  dedmin
                                  last edited by

                                  Love this - using it all day long to build furniture from ply and sheet goods!
                                  One wish - to draw the height of the box from the center, not just up or down.
                                  Thanks.

                                  1 Reply Last reply Reply Quote 0
                                  • sdmitchS Offline
                                    sdmitch
                                    last edited by

                                    @dedmin said:

                                    Love this - using it all day long to build furniture from ply and sheet goods!
                                    One wish - to draw the height of the box from the center, not just up or down.
                                    Thanks.

                                    Do you mean the height value entered would be half the desired height? Would this always be the case?

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

                                    http://sdmitch.blogspot.com/

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      dedmin
                                      last edited by

                                      @sdmitch said:

                                      @dedmin said:

                                      Love this - using it all day long to build furniture from ply and sheet goods!
                                      One wish - to draw the height of the box from the center, not just up or down.
                                      Thanks.

                                      Do you mean the height value entered would be half the desired height? Would this always be the case?

                                      I mean - the value entered would be the desired one, just drawn in half up and down.

                                      1 Reply Last reply Reply Quote 0
                                      • sdmitchS Offline
                                        sdmitch
                                        last edited by

                                        @dedmin said:

                                        @sdmitch said:

                                        @dedmin said:

                                        Love this - using it all day long to build furniture from ply and sheet goods!
                                        One wish - to draw the height of the box from the center, not just up or down.
                                        Thanks.

                                        Do you mean the height value entered would be half the desired height? Would this always be the case?

                                        I mean - the value entered would be the desired one, just drawn in half up and down.

                                        I'm sorry but that makes no sense.

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

                                        http://sdmitch.blogspot.com/

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          dedmin
                                          last edited by

                                          For instance - to draw a shelf centered on the side. This is Rhino:
                                          selection_toys.gif

                                          1 Reply Last reply Reply Quote 0
                                          • sdmitchS Offline
                                            sdmitch
                                            last edited by

                                            @dedmin said:

                                            For instance - to draw a shelf centered on the side. This is Rhino:
                                            [attachment=0:u6oxrafv]<!-- ia0 -->selection_toys.gif<!-- ia0 -->[/attachment:u6oxrafv]

                                            Thanks for the graphic. At least it makes sense now.

                                            I have sent you, by Personal Message, a modified copy that I think does what you want.

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

                                            http://sdmitch.blogspot.com/

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement