Distance mating with a curved surface

Hi,

I'm trying to place an optical lens (file attached) at a certain distance from a point or plane. The lens has a curved surface and I need to place the edge of the curved surface (see diagram) at a certain distance from some object (a point or plane). When I try to mate the curved surface with a plane then I get an error. If I try the same thing with a point I do not get an error but I don't think the placement is where I want it to be.

Any ideas how this can be done correctly?

Thank you,

Eyal

SolidworksAssemblies
Answers 2
EB
EB 2013-10-03 Best Answer

Assuming you want to be a certain distance from the center of the lens, which is what your diagram seems to show.  Open a 3D sketch and put a point on the surface of the lens.  Then make it coincident to the temporary axis of the lens, or make it "Along Z" from the origin. The point will now be at the center of the lens. As you know you can now put a distance mate from the sketch point.

You will probably also need to add other mates to to keep the lens aligned correctly.  That should not be too difficult given that the part seems to be neatly aligned on the default planes.

SF
SF 2013-10-10

Thanks Erik. This works.

I also found another way which was easier for me (maybe because I'm not proficient in Solidworks). I just added a reference plane to the curved surface of the lens and then set the distance from the reference plane to the desired plane/point.