# How to use constraint on part of a shape without deforming it?

I’ve created a sketch that has a line on the bottom, then a spline connected to both ends. The spline forms a loop so the entire sketch forms a connected outline.

The line is supposed to be horizontal, but somehow it got tilted. When I try to hit the line with the Horizontal constraint, it moves the line only and not the connected spline.

I eventually got my sketch rotated by asking for the angle the line made with horizontal, selected the whole sketch, then rotated by minus the given angle. But I would really like to be able to do this with constraints.

I would love to “lock” the spline points relative to the line, or simply lock all points in a connected shape, so that when the line is moved by the constraint engine, the whole shape/sketch follows without deforming. In other words, I want to treat the sketch as a two-dimensonal rigid body whose position and angle can be adjusted by constraints. Can this be accomplished?

Tony

First shot: shape is highlighted and I want to pull the whole shape down to the line:

When I apply the constraint, only part of the shape comes; the rest is left behind:

And here’s the effect I was hoping for (achieved by highlighting the whole thing and moving by hand):

Mr. Nrnrnr,
I am not sure if this is what you wanted to do, but I made a quick video.
Tony

2 Likes

Thanks for the video. That was the method I used to create the third screen shot. I would really like to get Shapr3d to calculate the movement for me.

Perhaps something else after “exit sketching” would help me get it done. I’ll poke around.

I probably need to watch the tutorials again.

Nice job,….

I am not sure what you mean. “Exit Sketching” was @0:45 but the video goes on to complete the move to @1:34. Please check again. What else do you want to do?
Tony

I saw the whole video. Including the complete move. I want the edges in question to be tangent, not just close.

Can you explain more? Are you referring to snapping the bottom to the horizontal line?
T