Hey. Let's say I have an extruded rectangle. Now I add new sketch on one of its faces and sketch a point. This point will be used as a location for a hole, for example. I want this point to be centered on the face even if the rectangle's dimensions are changed. Or, I want this point to be at the middle of one of its edges (Image attached, showing that I want the point to always be in same distance from left and from right).
If this is a simple case, I would like to complicate it with a case which I want to sketch this point of one of a metal sheet flange (image attached).
Thank you very much!
Solved! Go to Solution.
Solved by YannickEnrico. Go to Solution.
Solved by YannickEnrico. Go to Solution.
Take a look at the constraint panel
Otherwise you can use a driven dimension and reference the other dimension to that
Simply choose one of the two constraints I highlit and choose the middle point of a projected line.
Horizontal/vertical constraint can constrain of of two things
A: A line to be either horizontal or vertical - Select one piece of geometry
B: A point to be horizontal or vertical in reference to another point - Select two pieces of geometry (center points of circles, points, end points, middle points)
If you hover, a dotted faint line will show you the direction it constrains. It's orange in my colour scheme. might be different in yours.
If you hold shift while using horizontal constraint, it'll constrain vertical instead, and the other way around.
Middle point is easily constrained to. It'll show up as a green dot when you find it.
Here is a sketch using Two Point Center Rectangle. Note that this tool automatically places diagonal construction lines so that the rectangle remains constrained symmetric around its center. You can use the same technique to constrain a center point on an existing rectangular face (only need one diagonal line, of course).
I use construction geometry and mid-points extensively when sketching to constrain things to be symmetric. I find them easier to comprehend than Symmetry, Horizontal, Vertical, and Colinear constraints, simply because they're visible.
Sam B
Inventor Pro 2024.2 | Windows 11 Home 22H2
Hi! I could be wrong but I don't think this will work. To allow sketch geometry to solve adaptively, it is better to have as few constraints as possible. In this case, the center rectangle can be driven by multiple sketch lines and points, which may run into conflict of sketch solve.
Many thanks!
Can you Attach your completed part?
I have another idea that has not been mentioned here - I would like to see if it will work with your Design Intent.
You can also create a construction point in a loop variant.
Kacper Suchomski
One thing you can try is using user-defined parameters if you are familiar with how they work.
I work with sheet metal extensively and I will occasionally create custom parameters which pull some of my other parameters (bend radius, plate thickness, flange distances, etc.) and create an equation such that the custom dimension will change to show a desired value as I change those parameters. Then, I will constrain the feature (a hole point, for example) but as the dimension I will set it to be the user parameter. Thus, that dimension will adjust as you change other features thanks to the equation you set up in your user-defined parameter.
I hope this is not too confusing...
Can't find what you're looking for? Ask the community or share your knowledge.