I am in the final stages of releasing my massive Solidworks Addin. I have 1 more thing to address, Adding Fillets or the appearance of a fillet to a temporary body using Modeler
See attached images for description.
the yellow Body is a temporay body i am using for a preview much like solidworks hole wizard does.
The Feature to the left is a body2.BodyOperatons2 body cut done using macrofeatures. as you can see on this feature, not the yellow Body, that there are 2 gray fillets added. i added these manually for display purposes.
I am using the data from the Edge that is used in the feature fillet.
which gives me the axis for a revolved surface or to create a torodial surface.
i have the information i need to create fillets but i dont know the exact route.
I cannot use any featuremanager functions, only Modeler functions will work here along with Curve and surface trimming. i am creating The Temporary body from Modeler.CreateBodyFromCone and Modeler.CreateBodyFrom Cylinder. Once i learn CreateBREPBody ill be using that.
Body2.AddConstantFillets Does not work as this is a temporary ("SHEET") body
3 options i can see are as follows
CreateBREPBody3, Cant quite get it figured out.
2 Methods of creating the Torodial/Arc Revoloved Surface
Trim The Surface to the two adjacent faces to the edge to be filleted
Create a body with the 2 adjacent faces from the Edge to be filleted
Modeler.CreateLine x 2
Revolve these 3 Items with Modeler.CreateRevolutionSurface "Which is in the api but not in the API Help"
Then add the filleted body to my tool body
Any other route ideas would be awesome. I have been building this addin for almost 1 year now and i need to get it released.
Thanks for your help.
Below is an overview of what this application does, its not relevent to this question.
I have all the data for all of our machine shop tooling in a SQL Database.
This Program passes information to FeatureManager.CreateMacrofeature3
the COMServer recieves the new feature and creates these temporary bodies which it then does a Operations2 body cut to the body that is to be modified.
Any time the SQL Database is updated, all features are immediately updated at the next rebuild.
Tolerances are embeaded in the feature for hole callouts and drawing callouts.
The Features geometry cannot be changed as there are not any sketches, nor dimensions
The system also real time quotes the cost to manufacture the part.
Features can be stacked on eachother and the hole callouts on the drawing are automatically updated.
Features are added in seconds and new ones are found by a form in a new tab in the FeatureManager Tree. Finding the next feature takes seconds.
Adding New features takes less than a minute.
Any feature can become any feature by a quick replace feature function.
Library components from Enterprise PDM are automaticall found by selecting a feature in the Assembly.
They Can then be dragged onto the feature for auto mating or double clicked and this application automatically mates them.
plus lots of other things i cannot share.