Well I'm back (after my short spell with redundancy) working away on the skin panel drilling maps for Airbus and trying to work out how to utilise the transfer feature inside Catia V5 to perform formed surface to formed surface mapping.
It's nice to actually get to flex a bit of my VB muscle with regards to Dassaults little baby but its also very frustrating as they still haven't released all their functionality, from CAA, into VB.net yet - guess they're not likely too either as it's their intellectual property after all, especially the surface definitions.
Anyhow, for those interested in how to perform the transfer from one surface to another you'll need R18 and above with the GSD workbench and this little gen of code...
It's nice to actually get to flex a bit of my VB muscle with regards to Dassaults little baby but its also very frustrating as they still haven't released all their functionality, from CAA, into VB.net yet - guess they're not likely too either as it's their intellectual property after all, especially the surface definitions.
Anyhow, for those interested in how to perform the transfer from one surface to another you'll need R18 and above with the GSD workbench and this little gen of code...
Dim hybridShapeTransfer1 As HybridShapeTransfer
hybridShapeTransfer1 = hybridShapeFactory1.AddNewTransfer(*your point / geometry*, 1)
hybridShapeTransfer1.SurfaceToUnfold = *your surface to unfold*
hybridShapeTransfer1.UnfoldedSurface = *your unfolded surface*
hybridShapeTransfer1.UnfoldType = 2
hybridBodyNew.AppendHybridShape(hybridShapeTransfer1)
The trouble is the two surfaces, the unfolded and folded, need to be the same size and area as it uses a UV matchup as far as I can tell so having different size / shaped surfaces will cause all sorts of errors...that and your geometry needs to be on the original surface else you'll have to project it first.
If you're after more info drop me a message and I'll be glad to help...
If you're after more info drop me a message and I'll be glad to help...
