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.
    • gillesG Offline
      gilles
      last edited by

      I think about a snapping point, edge vertice etc..

      " c'est curieux chez les marins ce besoin de faire des phrases "

      1 Reply Last reply Reply Quote 0
      • T Offline
        the.pjt
        last edited by

        thanks dear Sam ...

        I posted this massage in me question topc .. but I think you haven't seen it ..... :

        this plugin is exactly what every body wants : a time saver ... draw .. rotate .. select .. make group .. push pull ... all in one ! well done .. tanks dear sam .. tanks πŸŽ‰

        and I have a question .. why do these display problems happen ??!? I'm not a pro developer but I can understand if you tell me the reasons ... ?!??

        and another thing : if you add a "make cylinder" feature , it's gonna to be perfect ... because SU's default cylinder is not a time saver .. it makes the cylinder in 0,0,0 ... thanks
        this is a snapshot from shetchyphisics > sketchy solids ..
        pictures describes it Sam ... so don't need to make codes from my wrong described requests .. πŸ˜„ 😳

        [xxl-img:2l4cslic]http://forums.sketchucation.com/download/file.php?mode=view&id=89033[/xxl-img:2l4cslic]

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

          I don't know exactly why either. You might post this question on the developers forum and get an answer but basically it has to do with the way Sketchup displays things on the screen. There is a certain field of view and if you get to close to an object it disappears. Zooming out usually makes it reappear.

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

          http://sdmitch.blogspot.com/

          1 Reply Last reply Reply Quote 0
          • utilerU Offline
            utiler
            last edited by

            Well done, Sam! A great little tool...... πŸ‘

            The efforts in responding to plugin requests often goes un-noticed so thank you for all that you do mate!!

            purpose/expression/purpose/....

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

              Rotated box has been updated to allow the option turning grouping on and off.

              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
                jorge2011
                last edited by

                Thank you very much. just one more thing
                is possible to align the axes of the group rectangle?

                Now, when creating a rotated rectangle, the axes of the group are the same as the axes of the model.

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

                  No way to define the axes of a group that I'm aware of.
                  You can temporarily align the axes to the group when in group edit mode.

                  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

                    You can [re]set a group's axes...
                    Find each of the desired-axes in turn and its angle from the SKP's axes - do the three axes in turn...
                    Apply a rotation-transformation to the group's geometry in turn:
                    group.entities.transform_entities(transformation, group.entities.to_a)
                    to rotate the geometry back to be 'axial'.
                    Then immediately apply the inverse transformation to the group itself:
                    group.transform!(transformation.inverse)

                    • again this must be done once for each axis in turn - so that could be three transformations in all ?

                    The group is now as if you made it 'axially' and then rotated it in 3d afterwards.......

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      the.pjt
                      last edited by

                      thanks for new vertion mr. sdmitch .... nice update ... πŸŽ‰

                      .. waiting for cylinder plugin too πŸ˜‰

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

                        TIG, thanks for the info. I guess my next question is what is the advantage or need to do this?

                        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
                          jorge2011
                          last edited by

                          sdmitch, when editing a group or component is better to work with the axes perpendicular or parallel to the predominant form (inthis case a square) is simpler drawing

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

                            I agree so when you get into edit mode, right click on the group and choose Align Axes.

                            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
                              jorge2011
                              last edited by

                              if I agree, but is simpler if this is automatic

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                Ben Ritter
                                last edited by

                                Sam, thank you.

                                1 Reply Last reply Reply Quote 0
                                • broomstickB Offline
                                  broomstick
                                  last edited by

                                  a perfect addition to this tool would be an icon to put along side le rectangle icon.

                                  If anybody can teach me, i am willing to do it myself πŸ˜„

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    Michaelv
                                    last edited by

                                    @broomstick said:

                                    a perfect addition to this tool would be an icon to put along side le rectangle icon.

                                    If anybody can teach me, i am willing to do it myself πŸ˜„

                                    Done, see here:
                                    http://forums.sketchucation.com/viewtopic.php?f=323&t=45923

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

                                      Version 1.2 has been posted. It aligns the axes to the box if grouping.

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

                                      http://sdmitch.blogspot.com/

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        the.pjt
                                        last edited by

                                        when we work in a group of group , the box that this plugin makes goes to the model ( upper level in outliner )

                                        OUTLINER VIEW

                                        model ( the box goes here )
                                        .........group 1
                                        ..............group 2
                                        ....................group 3 ( we want a box here )

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

                                          @the.pjt said:

                                          when we work in a group of group , the box that this plugin makes goes to the model ( upper level in outliner )

                                          OUTLINER VIEW

                                          model ( the box goes here )
                                          .........group 1
                                          ..............group 2
                                          ....................group 3 ( we want a box here )

                                          You may want the box to be part of an existing group but who else will. You can add any box to an existing group by selecting and cutting it then open for edit the group you want to add it to and do a "Paste in Place".

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

                                          http://sdmitch.blogspot.com/

                                          1 Reply Last reply Reply Quote 0
                                          • T Offline
                                            the.pjt
                                            last edited by

                                            Mr. sdmitch
                                            are you joking ?
                                            cut and paste ???? ... thank a lot .... do you think that I didn't know anything about Cut and Paste !?!?!?!? Am I crazy or stupid ?!?!?
                                            you could also learn me the basis of SU .. how to make rectangle inside group and then Pushpull !! πŸ˜„ ...
                                            ok .... thanks for teaching .... πŸ˜„ ... but please don't consider me as a total mindless and stupid person ...
                                            .
                                            .
                                            OK ... but, as you know this plugin should be a time saver ...
                                            And when a user is working trough a group and/or component it takes shorter time for him/her to create a box with a few clicks inside it .. rather than Cut , Set Axes , Paste Set axes agane ... or Rectangle , Rotate , Pushpul , Select , Make group ....
                                            isn't it ??
                                            ..

                                            OK ... we will welcome if you do this ... and thanks agane for the time you spent for us and you coddings , dear Sam ... πŸ˜‰

                                            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