Sketch orientation to line on sketch plane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am creating springs to be able to place on any plane surface.
However, the cross section of the sketch does not always come out right.
Here is an image of my test piece.
Springs #1 and #5 have correct sketch orientation.
The length of rectangle #1 is parallel to line #1. This is correct.
This is correct for spring #1 and #5
The sketches for #2, #4, #5 and #6 are not correct.
The length of rectangle #2 is perpendicular to Line #2 not parallel.
I have been messing with this for some time and get figure it out.
Attached is all the add-in code.
Any help appreciated.
Thank you.
Brad Bylls
Link copied