How to get the B-Spline Surface From an Extruded Face

Hi all,

I am trying to get the B-spline representation of a face.

In particular, I am dealing with an extruded face, whose underlying surface appears to be modelled as extending infinitely in the extrusion direction. Hence, extracting the surface B-Spline representation, (via GetBSurfParams3), does not accurately reflect the face, making it hard to operate on the B-spline data. I would like a representation that also reflects the length of the extrusion.

Ideally, I would like to implement a method that outputs B-Spline surface data for an arbitrary face, rather than abstract generalisations of its type.

Kind Regards,

Aaron

SolidworksApi macros
Answers 1
AT
AT 2014-04-02 Best Answer

You need to get the parameters of the surface in the underlying face UV-range. Please take a look at this example, it may be helpful: http://help.solidworks.com/2010/English/api/sldworksapi/get_untrimmed_curve_example_vb.htm

______________________________________________

Regards, Artem Taturevych | Snr. Developer | IC3D ANZ

IC3DSteel – New Steel Solution for SolidWorks

translationXpert – SolidWorks files language translator

LinkedIn - SolidWorks API Group