Joining door to Animated hinge so they work together

Hi,
First time post.
Just joined to find out this…
I made a hinge and animated it.
Now I want to be able to be able to snap different doors to it to it and have them follow the hinge action.
Is this possible?
Or do I need to individually write functions for rotZ etc based off the hinge axis?
I tried to join parts to the hinge using solid tools - but its telling me the Hinge isnt a solid.
Is there a simple way to snap a door to the hinge and make them play together?

This topic has been discussed in the past …

https://forums.sketchup.com/search?q=door%20hinge%20%23sketchup%3Adynamic-components

SketchUp components do not have controllable “snap” together at points, but does have snap to plane (vertical, horizontal, sloped, any).

Usually door assemblies consist of jamb, door, hinges, and knob. Clicking the door assembly will rotate the door subassembly which has the moving half of the hinges, the door and the knob. The jamb, the hinge pin and the fixed half of the hinges remain stationary.

To change door styles the door subcomponent might be reloaded from a disk file.

Hi Dan, Thanks for replying.
I read all that and got lost, realising that if this is the solution, it isnt simple.
I thank you for the response.

I would have thought there would be a way to snap two objects together… thinking I could drop a hinge component into a drawing -(on a stud) then design the door you need, then snap or connect the door to the part of the hinge that moves and have it inherit it’s movement.
The hinge does what it does.
Seems tough to have to teach doors if they only follow the hinge.
The could/should just all snap together?
It’s wierd, because i built the hinge, and could union it to a door - two solids.
But as soon as I annimated the hinge, it became a not solid.
A hinge is made of br…ass…:slight_smile:

You can use components, tags, and scenes, you can anchor half the hinge to the door and the >paste in place. This puts the hinge leaf in the context of the stile, so they will move together when you rotate the door. Do the same thing with the other hinge leaf and the door jamb. You can set up one scene with the door closed and assign it to a tag (just remember to leave all the edges and faces as Untagged.) You can copy the door, rotate it part-way open and assign the copy to a different tag. Now, set up a scene with the door closed (and turn off visibility for the door ajar tag. Then create a new scene, with the door ajar visible and the door closed tag turned off. It’s easier to do than to explain.