sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Custom components import to origin...???

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    36 Posts 5 Posters 290 Views 5 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.
    • utilerU Offline
      utiler
      last edited by

      Hey fellas, I've just realised a number of plumbing components I've made are importing straight to the origin without giving me the opportunity to locate it. Not sure what I've done and it has stumped me!!!

      Here's one of them:

      Caroma Opal720.skp

      What I do when I build a component I want to keep is build it the group it and create a component then right click and 'save as' to my library.... Nothing to different to what you guys are doing I assume....

      Any thoughts? πŸ‘

      purpose/expression/purpose/....

      1 Reply Last reply Reply Quote 0
      • Dave RD Offline
        Dave R
        last edited by

        That's very strange, Andrew. I got the same result. After bringing it into a new file, exploding it and remaking it, I got it to behave normally.

        For what it's worth, when I create components I'll use again, I just drag their thumbnails from the In Model Components window to the chosen local collection library in the Components browser. It shouldn't really do anything different than the way you do it, though.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

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

          Behaves perfectly for me... even weirder.

          TIG

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

            Thanks guys, it sending me barney!!!! 😠 A little history:

            I built these two components yesterday after loading Fredo's Curvizard plugin. Used the toolset to weld what I wanted then used Curviloft to create the components. I save all my library to a folder in Dropbox which is shared with a colleague in the office to ensure we both have access to the same components so I thought that might have been an issue so I re-created the models on my hard drive and stored them locally then imported them; the same happened... Any other model I have tried importing before yesterday is fine from either my hard drive or my Dropbox folder...

            Here they are again....

            Caroma Metro.skp
            Caroma Opal720L.skp

            Strange and bloody annoying!!
            πŸ‘

            purpose/expression/purpose/....

            1 Reply Last reply Reply Quote 0
            • Dave RD Offline
              Dave R
              last edited by

              Andrew, I wonder if it has something to do with the way Curviloft does some operation. Try the attached and see if they behave as you want. In both cases I exploded them and remade them as new components. They behave for me now.


              Caroma Metro.skp


              Caroma Opal 720.skp

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

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

                They work fine Dave thanks but the origins are now not where I intended them. I'm thinking now I know what the problem was. When I set the component axis I had the model located at the origin so maybe I clicked on the actual Origin!!!! 😳

                I'll try that. πŸ‘

                Interesting result though. Could be handy in particular instances....

                purpose/expression/purpose/....

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

                  Ok, tried that and it wasn't what I thoutgh it was... 😒 What did you do to the models, Dave?

                  purpose/expression/purpose/....

                  1 Reply Last reply Reply Quote 0
                  • Dave RD Offline
                    Dave R
                    last edited by

                    Andrew, when you make a component from scratch, the origin will always be at the lower front left corner. That's based on the standard views and not the orientation of the component. I changed the location of the axes to make what to me were logical insertion points for the components. You could certainly move them to suit.

                    As far as what I did to make them behave, I simply exploded them and remade the components as if from scratch. They behaved normally after that and moving the axes didn't really have anything to do with it.

                    FWIW, my logic for setting the axes as I did was to based on how I would locate them in a model. I figured for the sink I would want to locate the center line of the faucet at some distance from a corner in the room and at some specific height above the floor. The toilet I would do the same horizontally but at some specific distance from the wall. Snap a couple of crossing guidelines to identify those points and they'll drop right in. They could be given gluing characteristics so they'd orient correctly with the wall.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

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

                      The axes of the sub-groups inside the WC are not all common, trying using sub-components and relocating the axes all to a common origin.
                      Also look at the front of the pan, the edges of the mirrored halves don't 'mate', leaving a small gap...
                      I would say after using the parts/mirrored halves to assist in modeling it you could/should recombine these into a single object ?

                      TIG

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

                        Dave - I did all that you said and re-inserted it (from within the drawing) and it works fine everytime...... Yes, my insertion point for the basin is 800mm from the floor and centred on the basin so I can locate it as needed from a known point. Save for the toilet; centre of the toilet (common point of the mirrored halves).

                        It is when I save it to a folder and insert it from the Components dialogue that is snaps to the origin.

                        TIG - I originally set my axis locations to the preferred insertion point for both the sub-component and also the parent but the problem still arises when inserted from the Component Browser of a common library.

                        It's got me buggered...

                        purpose/expression/purpose/....

                        1 Reply Last reply Reply Quote 0
                        • Dave RD Offline
                          Dave R
                          last edited by

                          So what happens if you drag the component from the In Model components library to a local collection in the secondary pane of the Components browser. That's the way I always save components for later use and I never have this problem.

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

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

                            Haven't done that, Dave but will try it. Always used the 'Save as' function....

                            Actually it doesn't seem you can have a secondary pane open Dave. Unless you are doing so in another instance of SU...

                            purpose/expression/purpose/....

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

                              Ok, another thing.... I know I've posed the question before as to why by files have a gold lock shown on it in explorer..... something to do with 'read only' but not sure why it does this by default and if that has something to do with this issue.....

                              And how do you avoid this gold lock from appearing.


                              2012-07-19_1137.png

                              purpose/expression/purpose/....

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

                                Here's a quick workflow of my issue.

                                1. Make a BOX component
                                2. Change axis [not critical; the problem even eveidenet if it is left alone...]
                                3. Re-insert it from 'Components in Model' Dialogue - no problem
                                4. Right-click and 'Save as' to a Google Components directory
                                5. Close SU and re-open
                                6. Import the component from Google Components directory - it snaps straight to the origin of the SU drawing...

                                I had to link it to Dropbox as the short video was a little too large to post:
                                https://dl.dropbox.com/u/50004821/ComponentIssue.swf

                                I really don't know why all of a sudden this is happening. FWIW, I also tried on a colleagues machine and the exact same thing happened!! πŸ‘Ώ

                                purpose/expression/purpose/....

                                1 Reply Last reply Reply Quote 0
                                • Dave RD Offline
                                  Dave R
                                  last edited by

                                  So what happens if you do it my way?

                                  1. Make a BOX component
                                  2. Change axis [not critical; the problem even eveidenet if it is left alone...]
                                  3. Re-insert it from 'Components in Model' Dialogue - no problem
                                  4. Open secondary pane in Components browser and open the folder in which you want to store the component
                                  5. Click and drag on the thumbnail of the component in the In Model pane. Drag it to the secondary pane.
                                  6. Close SU and re-open
                                  7. Choose the library where you saved the component.
                                  8. Select the component and bring it into the model.

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

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

                                    In a new file of SU, Dave? Is that what you mean by secondary pane..?

                                    purpose/expression/purpose/....

                                    1 Reply Last reply Reply Quote 0
                                    • Dave RD Offline
                                      Dave R
                                      last edited by

                                      No, the secondary pane is part of the Components browser.


                                      http://farm9.staticflickr.com/8026/7602450436_463c6dfd16_o.png

                                      You get to it by clicking on the little '+' in the upper right corner, above.


                                      http://farm9.staticflickr.com/8160/7602450592_2a70da122a_o.png

                                      With the secondary pane open, click on its 'Details' icon, the black arrow pointing to the right of the search line where it says, "Google". Choose 'Open or create a local collection' and navigate to the folder in which you want to save your components. After choosing the folder, click on that arrow button again and choose 'Add to favorites.'


                                      http://farm9.staticflickr.com/8145/7602450186_772d375171_o.png

                                      Click and drag the thumbnail from the In Model library in the top pane to the local collection library in the bottom one. The component is now saved for later use. It might seem like more work than what you're doing but once the local collection is added to your favorites, it'll be in the drop down list accessed from the drop down arrow to the left of the search line. You can add as many collections as you want to that list.


                                      http://farm9.staticflickr.com/8002/7602450348_e5705c1f42_o.png

                                      NOW, in a new SketchUp session, click on the thumbnail of the component and bring it into the model. Do you get the results you want?, then?

                                      Etaoin Shrdlu

                                      %

                                      (THERE'S NO PLACE LIKE)

                                      G28 X0.0 Y0.0 Z0.0

                                      M30

                                      %

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

                                        Ah, that secondary pane..... never use it; hence the confustion... πŸ˜„

                                        I'll give it a go, Dave. πŸ‘

                                        Anyway, what is the second pane for?

                                        purpose/expression/purpose/....

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

                                          I'm currently on my machine at home and tried it her; your way works fine, Dave!!! I'll give it a try when I get to work....
                                          Cheers! πŸ‘

                                          purpose/expression/purpose/....

                                          1 Reply Last reply Reply Quote 0
                                          • Dave RD Offline
                                            Dave R
                                            last edited by

                                            @utiler said:

                                            Anyway, what is the second pane for?

                                            It's for saving components the easy way. It also gives you access to two different libraries at the same time. Neither one has to be set to In Model. The cool thing on the PC is that the Materials browser works exactly the same way. So you can create materials in a SketchUp model and save them off for use later by dragging their thumbnails from one library to the other.

                                            I'm glad that method worked for you.

                                            Etaoin Shrdlu

                                            %

                                            (THERE'S NO PLACE LIKE)

                                            G28 X0.0 Y0.0 Z0.0

                                            M30

                                            %

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

                                            Advertisement