Center a point on a face adaptively

Center a point on a face adaptively

mmatanlevi
Enthusiast Enthusiast
988 Views
9 Replies
Message 1 of 10

Center a point on a face adaptively

mmatanlevi
Enthusiast
Enthusiast

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).

 

mmatanlevi_0-1708330999352.png

 

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).

 

mmatanlevi_1-1708331140099.png

 

 

Thank you very much!

0 Likes
Accepted solutions (2)
989 Views
9 Replies
Replies (9)
Message 2 of 10

YannickEnrico
Advisor
Advisor
Accepted solution

Take a look at the constraint panel

 

YannickEnrico_0-1708331519803.png


Otherwise you can use a driven dimension and reference the other dimension to that

YannickEnrico_1-1708331546183.pngYannickEnrico_2-1708331582148.png

 

_______________________________________________________________________________________
Intel Core i9-14900KF
64 GB DDR5 6000 MHz
2TB WD_BLACK
RTX A4000
------------------------------
Inventor 2026 Professional
Message 3 of 10

mmatanlevi
Enthusiast
Enthusiast
Thank you very much!

For the first suggestion, Im sorry if its logically easy, but I dont manage to figure out how you keep it centered (or in a middle of one edge) by horizontal or vertical constraints.

For the second suggestion, I didnt know about that and after playing with that now I can see how it can help, nice.
0 Likes
Message 4 of 10

YannickEnrico
Advisor
Advisor

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.

_______________________________________________________________________________________
Intel Core i9-14900KF
64 GB DDR5 6000 MHz
2TB WD_BLACK
RTX A4000
------------------------------
Inventor 2026 Professional
0 Likes
Message 5 of 10

YannickEnrico
Advisor
Advisor
Accepted solution

Middle point is easily constrained to. It'll show up as a green dot when you find it.

 

YannickEnrico_0-1708334663487.png

 

_______________________________________________________________________________________
Intel Core i9-14900KF
64 GB DDR5 6000 MHz
2TB WD_BLACK
RTX A4000
------------------------------
Inventor 2026 Professional
Message 6 of 10

SBix26
Consultant
Consultant

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).

SBix26_0-1708359693309.png

 

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
autodesk-expert-elite-member-logo-1line-rgb-black.png

0 Likes
Message 7 of 10

johnsonshiue
Community Manager
Community Manager

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!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 8 of 10

JDMather
Consultant
Consultant

@mmatanlevi 

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.


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


0 Likes
Message 9 of 10

kacper.suchomski
Mentor
Mentor

You can also create a construction point in a loop variant.

 

 


Kacper Suchomski

EESignature


YouTube - Inventor tutorials | LinkedIn | Instagram

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes
Message 10 of 10

matthew.hansche
Enthusiast
Enthusiast

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... 

0 Likes