SketchUcation Premium Membership

 

 

Custom components import to origin...???

General discussion related to SketchUp. No off topic threads please.

Custom components import to origin...???

Postby utiler » Tue Jul 17, 2012 7:22 am

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? :thumb:
Please, register (free) to access all the attachments on the forums.
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby Dave R » Tue Jul 17, 2012 11:04 am

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.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9026
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby TIG » Tue Jul 17, 2012 11:25 am

Behaves perfectly for me... even weirder.
TIG
User avatar
TIG
Global Moderator
 
Posts: 14014
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Wed Jul 18, 2012 1:28 am

Thanks guys, it sending me barney!!!! :x 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!!
:thumb:
Please, register (free) to access all the attachments on the forums.
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby Dave R » Wed Jul 18, 2012 1:45 am

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.
Please, register (free) to access all the attachments on the forums.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9026
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Wed Jul 18, 2012 3:58 am

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!!!! :oops:

I'll try that. :thumb:

Interesting result though. Could be handy in particular instances....
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Wed Jul 18, 2012 6:03 am

Ok, tried that and it wasn't what I thoutgh it was... :cry: What did you do to the models, Dave?
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby Dave R » Wed Jul 18, 2012 10:09 am

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.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9026
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby TIG » Wed Jul 18, 2012 10:21 am

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
User avatar
TIG
Global Moderator
 
Posts: 14014
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Wed Jul 18, 2012 11:45 pm

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/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby Dave R » Wed Jul 18, 2012 11:59 pm

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.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9026
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Thu Jul 19, 2012 2:10 am

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/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Thu Jul 19, 2012 2:39 am

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.
Please, register (free) to access all the attachments on the forums.
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Thu Jul 19, 2012 4:44 am

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!! :twisted:
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby Dave R » Thu Jul 19, 2012 4:53 am

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.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9026
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Thu Jul 19, 2012 5:44 am

In a new file of SU, Dave? Is that what you mean by secondary pane..?
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby Dave R » Thu Jul 19, 2012 10:35 am

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



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



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



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.



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?
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9026
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Thu Jul 19, 2012 11:55 pm

Ah, that secondary pane..... never use it; hence the confustion... :)

I'll give it a go, Dave. :thumb:

Anyway, what is the second pane for?
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Fri Jul 20, 2012 12:07 am

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! :thumb:
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby Dave R » Fri Jul 20, 2012 1:29 am

utiler wrote: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.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9026
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby Rich O Brien » Fri Jul 20, 2012 1:35 am

The 'lock' icon is bitlocker that bundled in Win Pro/Ultmate. It encrypts files.
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8320
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Fri Jul 20, 2012 2:06 am

Rich O Brien wrote:The 'lock' icon is bitlocker that bundled in Win Pro/Ultmate. It encrypts files.


And how do I get rid of it...?
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Fri Jul 20, 2012 2:17 am

Dave R wrote:I'm glad that method worked for you.



Just tried it on my work machine, Dave..... no good; still snaps to the origin!!!! :evil: :evil: :evil:
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby Dave R » Fri Jul 20, 2012 2:51 am

Did you try it with a new component?
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9026
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Fri Jul 20, 2012 3:37 am

Yep, created a new one....

I think I might re-install SU completely this weekend. It'll take for ever to try and work out what this problem is.... :x
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby Dave R » Fri Jul 20, 2012 10:07 am

Andrew, before you reinstall SU, try renaming your Plugins folder so the plugins don't load and see what happens.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9026
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby Rich O Brien » Fri Jul 20, 2012 10:15 am

utiler wrote:And how do I get rid of it...?


http://lmgtfy.com/?q=disable+bitlocker
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8320
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Sat Jul 21, 2012 4:08 am

I will try that, Dave. :thumb:

Thanks Rich, silly question I guess..... ;)
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Custom components import to origin...???

Postby utiler » Tue Aug 07, 2012 6:11 am

So after much hair pulling, a total re-install and numerous trouble shooting ebbs and flow I realised it was something with my template file that was causing the problem. I may have avoided the the re-install but SU has never looked so good with all the unused crap I have loaded over the years....!

Thanks for helping out guys; if there's one on-line community that feels line we are all under the same roof its this one.... :bounce:

:thumb:

Now, where's that Pinterest link.....
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need Authorised SketchUp Training by experts in various disciplines? Check out our Training details.

Ad Machine
Robot
 
Posts: 2012


Return to SketchUp Discussions

Who is online

Users browsing this forum: cuttingedge, dammerel, Krisidious and 7 guests