programmatically complex sketch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to develop a routine to generate a complex sketch. This sketch (in different variations) will be used a number of times within the final model and in order to gain time I'm trying to develop a generic routine that, based on several input parameters, will execute the work for me.
The basic sketch is an airfoil and this is generated using 181 points and an spline. Once the airfoil is generated, a number of holes should be generated inside the airfoil following a set of formulas that will determine the size and shape of the holes depending on the airfoil thickness and position within the airfoil.
I'm looking for the APIs needed to support the calculation of perpendicular lines, intersections between lines and circles, etc. given an origin point (one of the 181 points of the outer "skin" of the airfoil. I've been trying to understand how vectors and matrixes support me on this specific task without success.
I would appreciate to receive some samples on how to programmaticaly do a complex sketch based on inputs.
thanks,