SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

Rotatable assembled Cylinders (by Jonas)
Hi,

how can I attach the red cylinder to the blue cylinder at their flat surfaces in a way that the only degree of freedom is a rotation around the blue axis and both cylinders rotate when one of them is rotated?
Connecting the center points and constraining their normals along the blue axis to be parallel makes one cylinder rotatable but without turning the other one and the other cylinder can't be rotated at all.
I've tried a few different ways including construction lines but so far all my attempts either led to overconstraints or completely stationary objects.

I would appreciate if you are able to help me.
Thanks.
Tue Feb 5 2019, 08:21:02, download attachment rotation.png
(no subject) (by Andrew)
Have you tried constructing the second cylinder by drawing a circle in a new group on the end face of the first cylinder?

Also, it is more useful to attach a slvs file when asking such questions, as people can see how you have built your drawing.
Tue Feb 5 2019, 09:03:09
(no subject) (by Jonas)
I guess it would work if it was directly drawn on one of the faces, however i would like to achieve the result by assembling two separate objects. The project itself is just a demo so the cylinders are just two identical extruded circles which are imported into a new file via the "Link/Assemble" option (Shift+I).
Is there a way to export a project with external dependencies into one file without dependencies?

In the real project the flat surfaces are parts of two different objects that can be attached e.g. by gluing them together, so I'd like to be able to construct them separately but also simulate the resulting movement.
Or is this the wrong approach?
Tue Feb 5 2019, 10:08:11, download attachment cylinder.slvs
(no subject) (by Andrew)
Managed to do what you want, by for the first cylinder setting its axis parallel 'l' to the z axis, and its center on the origin. For the second cylinder, set the two centers coincident, and then for the line outside the cylinder set the top point to be on the same line of the first cylinder. Attached zip has the two files, a cylinder and an assembly of two of them.
Tue Feb 5 2019, 12:51:21, download attachment assemble.zip
(no subject) (by Jonas)
Thank you very much!
That was indeed very helpful. Nevertheless it took me some attempts until I got it without constraint errors. I don't know whether I don't understand constraints well enough or whether there are some bugs but I find it to be at least a little unintuitive in some scenarios.
Tue Feb 5 2019, 16:52:42
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.