Actually I am not an engineer who uses SolidWorks as a toolforModeling or other purposes.
I am implementing something about directional offset in 3Dcurve sothat I am using SolidWorks for adopting it.
So far, I made some functions which connect to SolidWorks andmyown c codes.
What I intended to do is making my own "RuledSurfaces"connecting two curves. (The one is selected original curveand theother is 3D offset I made).
My question is
1. Can I make ruled surface connecting original curve whichliesin some edge selected to offset curve I made byownalgorithm?
I found some functions such as
Body2->ICreateRuledSurface(Curve1, Curve2,apexPoint,&retval)
Modeler->ICreateRuledSurface ( curve1In, curve2In,apex,&retval ).
2. If I can not make RuledSurface with above functions, thencanI insert RuledSurface that is
NURBS surface(I am sure make this surface by myself)intoSolidWorks?
I found some functions such as
Face2-> AttachSurface(surfIn, senseIn, &retVal)
Body2->ICreateBsplineSurface(props, uKnots,vKnots,ctrlPtCoords, &retval )
Modeler->ICreateBsplineSurface(props, uKnots,vKnots,ctrlPtCoords, &retval).
But I doubt about I can make a Surface with those functions.
If you know about my questions, please let me know.SolidworksApi macros







I am implementing something about directional offset in 3Dcurve sothat I am using SolidWorks for adopting it.
So far, I made some functions which connect to SolidWorks andmyown c codes.
What I intended to do is making my own "RuledSurfaces"connecting two curves. (The one is selected original curveand theother is 3D offset I made).
My question is
1. Can I make ruled surface connecting original curve whichliesin some edge selected to offset curve I made byownalgorithm?
I found some functions such as
Body2->ICreateRuledSurface(Curve1, Curve2,apexPoint,&retval)
Modeler->ICreateRuledSurface ( curve1In, curve2In,apex,&retval ).
2. If I can not make RuledSurface with above functions, thencanI insert RuledSurface that is
NURBS surface(I am sure make this surface by myself)intoSolidWorks?
I found some functions such as
Face2-> AttachSurface(surfIn, senseIn, &retVal)
Body2->ICreateBsplineSurface(props, uKnots,vKnots,ctrlPtCoords, &retval )
Modeler->ICreateBsplineSurface(props, uKnots,vKnots,ctrlPtCoords, &retval).
But I doubt about I can make a Surface with those functions.
If you know about my questions, please let me know.SolidworksApi macros