Extrusion constraints

Extrusion constraints

makeable
Contributor Contributor
952 Views
10 Replies
Message 1 of 11

Extrusion constraints

makeable
Contributor
Contributor

Disclaimer: total noob. Ive been tinkering for a few days, and have even sent off a design for laser cutting!

 

At the moment I am trying to model a bracket. Ideally, i will be parameterizing it as much as possible. It is a u-bracket. I have set some constraints on the inner dimensions, and I have used offset to define the thickness.

Screen Shot 2021-12-13 at 14.48.39.png

 

I extrude the sketch, to a ROUGH approximation of what i want:

Screen Shot 2021-12-13 at 14.49.02.png

 Then, on one of the faces, I start a sketch to define some holes which will be cut from both sides of the bracket. They are to be mirrored around the centre, and a fixed distance from the edges. I WANT to define the spacing between the holes, which would adjust the depth of the extrusion accordingly, but it seems I cannot do that - it turns the constraint into a "driven" one. No doubt there is an implicit constraint being set on the extrusion to the approximation I set earlier:

Screen Shot 2021-12-13 at 14.49.28.png


I have no doubt that this is likely caused by me doing this in a potential ass-backwards manner. What is the correct workflow to do something like this? I know I can do something similar in sheet metal with bendlines, but how would i do this otherwise?

0 Likes
Accepted solutions (1)
953 Views
10 Replies
Replies (10)
Message 2 of 11

wersy
Mentor
Mentor

If the holes are mirrored in the center, you can only measure the hole spacing OR the edge spacing. Otherwise it is overconstrained.

You have to choose one of the two.

0 Likes
Message 3 of 11

TheCADWhisperer
Consultant
Consultant

See Attached for one method...

TheCADWhisperer_0-1639405906167.png

 

Whenever possible and practical - model with symmetry about the Origin.

Whenever possible and practical - use Origin Planes for sketches rather than part faces.

Create Named Parameters for future editing...

0 Likes
Message 4 of 11

makeable
Contributor
Contributor
You can set both on a sketch, its only overconstrained because (i think) the extrusion is setting an implicit constraint.
0 Likes
Message 5 of 11

laughingcreek
Mentor
Mentor
Accepted solution

define the important bits first.  in this case the distance between the holes.  then drive features off that (ie don't do the extrude first).

see attached file and screen casts for some ides.-

a handle 

 

0 Likes
Message 6 of 11

makeable
Contributor
Contributor
Many thanks. From the screenshot this looks like exactly what im trying to achieve. I will have a look at the file you supplied a bit later and will get back to you. Thanks for the general tips as well - these sorts of things are missing from ALL the general tutorials.
0 Likes
Message 7 of 11

makeable
Contributor
Contributor
Many thanks. This certainly works for this specific item, but it does seem to make the workflow more convoluted given my current understanding of things. i.e. instead of creating a U shape and then cutting holes, i am now creating an end piece, extruding it, using rectangular pattern to copy it, then creating a flat back piece constraining to the height of the edge and extruding that. Its very possible i'm being a complete idiot here 😄
0 Likes
Message 8 of 11

laughingcreek
Mentor
Mentor

given your workflow description I'll assume you haven't looked at my file.  nearly identical to CW's.

0 Likes
Message 9 of 11

makeable
Contributor
Contributor
Many thanks for providing the example - unfortunately, this seems to be a bit different to what I am looking for. Im looking for the extrusion height to be driven by the spacing, rather than vice versa. i.e. i want to specify the spacing, and then extrude based on the constraints. Following your calculated params idea, I can certainly do this by modifying the extrusion to be a calculated value based on the spacing, but ideally I was hoping to drive it off the other constraints rather than having to put in a calculation (i.e. have it auto-calculated based on its contained constraints).
0 Likes
Message 10 of 11

makeable
Contributor
Contributor
Apologies, i didnt even notice there was an attachment. I will have a look!
0 Likes
Message 11 of 11

makeable
Contributor
Contributor

Oh my! I did not realise you could use the points on a sketch as extents for an extrusion! That will make things a lot less complicated! Many thanks 🙂

0 Likes