How can this constraint be made?

hello I would like to create a constraint between these 2 pieces:

It must look more or less like a "groove" constraint I think because when I rotate this handle:

the bolt tail (blue piece) must be translated

 

if you have a solution I'm interested =)

 

 

Hello

Two types of constraints could meet this need. They can be found in the "Advanced constraints" submenu, which must be expanded below the "Standard constraints", there are:

- Slide constraint:

http://help.solidworks.com/2013/French/SolidWorks/sldworks/t_Width_Mates_SWassy.htm

- Otherwise the symmetry constraint:

http://help.solidworks.com/2013/French/SolidWorks/sldworks/t_Symmetry_Mate_SWassy.htm

3 Likes

The barrier constraint seems to be the perfect choice. In the first box you select the two sides of your nipple, in the second box you select the two sides of the oblong.

To complete, you will have to add a parallelism constraint between two faces to orient the face (the slide constraint does not do this)

 

And there you have it, all you have to do is enjoy your beautiful position:)

1 Like

I've already tried with these 2 types of constraint but the problem is that the "nipple" has a rotational movement and the groove is just used to position this nipple to make the "blue" bolt tail translate from right to left (if you turn the handle to the right the bolt tail goes to the right and the same if I turn left)

So there is a mechanism that conditions the movement of the pen?

which would include a joint for example.

1 Like

In fact the handle is molded around the square on which the drive piece of the of the bolt is fixed so when I turn the handle it rotates the nipple which makes the of the bolt (blue piece of the question) to the right or left

1 Like

In fact, there must be a point contact (or a distance) between a top of the nipple and the part that is to be translated.

 

But SolidWorks handles these constraints quite badly, so what I do :

Create two configurations, one closed and one open, because in general we don't need to see the movement, these are the two positions that interest us.

3 Likes

Or, a small variation. But I don't know if it's possible.

 

Create an axis that runs through the center of the nipple in the room. And in the assembly, put the slide constraint between the groove and the created axis (groove in the 1st box and axis in the second. If you reverse it won't work!)  

 

So by rotating your handle, the groove will follow the movement. On the other hand, by staying centered on the axis and not with punctuals as it would be done in real life (although?)

2 Likes

So @.PL point constraint or distance doesn't work because I'm not perpendicular (less than 1 half degree ^^') if I don't find a solution I'll do 2 positions as you advised me.

@coin37coin I created a sketch to create an axis going through the center of the nipple but when I want to make my slide constraint it doesn't want to select the axis or even the sketch so I think I didn't understand how to make it =S

1 Like

@Mooky. Ho les ... It works great with temporary axes. But indeed with the reference axes, it's dead

There is a kind of inconsistency in all this. Sorry for the false hope

you have to create a virtual cylindrical axis perpendicular to your oblong with the appropriate constraints after you hide this cylinder

See also these tutorials

https://www.youtube.com/watch?v=bmD_bC_D7wQ

https://www.youtube.com/watch?v=A0huftZkZ3c

 

@+

 

1 Like

@gt 22: or could you explain to me how to make your ^^ (I've been working in design for a year and I've never had to use a cylindrical axis and I don't remember hearing about it in class ^^')

1 Like

You are trying for the moment to create a constraint via a piece of sheet metal that comes from a plied

so a coin with 4 sides

As you turn your handle you obviously go through

  1. 1 side
  2. 1 90° angle
  3. 1 side

if instead of your bent sheet metal part with x angular contacts

you create a cylinder the outer surface of your cylinder is not 1 surface

so a constraint of your oublong on this said surface 

If your cylinder moves so it rotates your oblong will move without any problem of course your part containing this said oblong should not be fixed 

for the 3D visual, just hide the virtual cylinder which only serves to constrain the movement

@+

2 Likes