Center Point Rectangle has four rectangle drawing commands that are used inside the sketch environment. The four commands are listed below:
Center Point Rectangle: This command draws a rectangle about the origin of where the user picks. It constrains the rectangle by adding a vertical and horizontal alignment constraint to
one of the vertical and horizontal lines respectively as well as a coincident constraint to the geometry that the user selects.
Diagonal Center Point Rectangle: This command draws a rectangle about the origin of where the user picks and adds a diagonal construction line that goes from one corner to the opposite corner with a sketch point constrained to the mid-point of the diagonal line.
Horizontal Mid-Point Rectangle: This command draws a rectangle that starts from the mid-point of one of the horizontal lines of the rectangle. A sketch point is then added and constrained to that line’s mid-point.
Vertical Mid-Point Rectangle: This command draws a rectangle that starts from the mid-point of one of the vertical lines of the rectangle. A sketch point is then added and constrained to that line’s mid-point.
Version 3 now supports Autodesk Inventor 2010, 2011, & 2012. You can download this Add-In at mCADForums.com. He has also included the source code for this Add-In if you want to do some tweaking on it yourself. Hope you enjoy.
Here are some videos showing the functionality of the Center Point Rectangle Add-In.
Here is a video showing the basics of the Center Point Rectangle Add-In.
Here is a video showing the changes that were made in Version 2.
Here is a video showing the changes that were made for Version 3.
Thanks for the write up Jamie. I moved the source code onto Github. This way others can collaborate if they want to (and if they can sift through my mess). :-)
ReplyDeleteHere's the link: https://github.com/Qube-it/Rectangle-Tools-2010-2012
The Box.net link you're currently pointing to above is still active, but will now open a web document which contains the same link to Github.
I updated the link in the post. Great job on the update. Maybe Autodesk will open up the API a little more so that you can use the sketch dimension input for the next release. Great Job by the way.
ReplyDelete