cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

6-Contributor

## Slider with an offset

Hi - I need to place a square button inside a square hole, and am using the slide mechanism so I can limit the resting and depressed positions.  But being a button, I need to allow for a small clearance gap on all four sides.  When I select the hole and button corner edges for the axis alignment, it fixes as a coincident constraint and doesn't let me set offsets.

How do I get round this so I can limit the distance the button can be depressed but also specify a clearance gap on all four sides?

Can I create a datum axis in mid air on the hole piece which I can align the button with?  I have read another post where someone mentioned using a planar joint instead - I have tried this for a while but cannot make it work; when I set as i think it should be, the piece can be dragged all over the place!

Thanks

ACCEPTED SOLUTION

Accepted Solutions
20-Turquoise
(To:rjethwa)

You can create an offset axis:

Select the end of the slot to place the axis (axis will be normal to this surface. Click in the offset references and select the top surface and the side surface (hold ctrl).  Change dimensions as needed.

There is always more to learn in Creo.
3 REPLIES 3
20-Turquoise
(To:rjethwa)

Create an axis in the center of each.  I believe the best method is to place a geometry point (creates an axis when extruded) in the sketches for the parts.  You can also create an offset axis in the assembly or the or the base part to assemble the corner of the button to.

There is always more to learn in Creo.
6-Contributor
(To:kdirth)

Thanks @KD - the geometry point on the sketch approach worked.

I have a different scenario now though... I have a sliding on/off switch that slides parallel to the surface of the model.  The hole for the switch was extruded perpendicular to the surface though, so adding a geometry point to the sketch extrudes the axis through the model rather than across the surface.  Any ideas how I can create an axis parallel to the surface which I can select as a contraint for sliding mechanism?  I tried adding a centre line to the drawing, but that doesn't show up as an axis I can use for the join.

Thanks vm

20-Turquoise
(To:rjethwa)

You can create an offset axis:

Select the end of the slot to place the axis (axis will be normal to this surface. Click in the offset references and select the top surface and the side surface (hold ctrl).  Change dimensions as needed.

There is always more to learn in Creo.
Announcements
NEW Creo+ Topics: Real-time Collaboration

Top Tags