Constraints and best practices

Constraints and best practices

smallj
Participant Participant
908 Views
3 Replies
Message 1 of 4

Constraints and best practices

smallj
Participant
Participant

So Hi everyone, I'n new to inventor. In a past life I used Pro E a little, and the past several years all I have used is PowerShape Pro and Mastercam.

 

When I get started what is the best way to handle constraints for a rectangular shape to keep it at the center of a plane. This may not be necessary to do, but out of habit I like my solids to be centered on the WCS. Also when i go to do other features I would like my references to stay relative to the original lines that are there when you create a sketch.

 

anyone have any ideas on what i can do? 

0 Likes
909 Views
3 Replies
Replies (3)
Message 2 of 4

MechMachineMan
Advisor
Advisor

For any 2 adjacent sides, constrain the center point of the side to the origin center point via horizontal/vertical constraints.

 

Or use 2 pt rectangle/similair method. Draw your crossing construction lines. Add a point sketch feature to the point at which they cross. Then constrain that point to the origin center point.


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
0 Likes
Message 3 of 4

mcgyvr
Consultant
Consultant

So a few options.

Lets ensure this is turned on first (if its not already)..

Go to tools..application options.. sketch tab and check "Autoproject Part Origin on sketch create"

 

What that does is allow the center point to be automatically included in new sketches..

 

Now for a rectangle you have a few options..

#1- (easiest) is to just use the "two point center rectangle" which allows you to just pick that center point and then drag out to create a rectangle..

Doing so automatically constraints that center point so the rectangle is centered on it..

 

#2- (old school way before the center point rectangle was available) Just sketch a regular rectangle and then place a horizontal constraint from the midpoint of one of the vertical lines to the center point and then a vertical constraint from the midpoint of one of the horizontal lines to the center point..

 

#3-You can use construction lines and constaints too but #1 and #2 are just quicker/easier,etc...

 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
0 Likes
Message 4 of 4

JDMather
Consultant
Consultant

https://forums.autodesk.com/t5/inventor-forum/skillsusa-document-now-on-screencast/m-p/5856691#M5648...


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


0 Likes