Jump to content

Loop - Recall Feature Points from Pattern of Curves


---
 Share

Recommended Posts

Does anyone know of an efficient way to Recall Feature Points from a Curve that has a Pattern on it? In my example, I have a group of (4) curves that has a 116x pattern on them. I need to then create a FreeForm Surface for each 4x group of curves - so essentially I need to create 116x FFS that pulls from the correct set of (4) curves. 

Any and all help is greatly appreciated. 

Link to comment
Share on other sites

Please sign in to view this quote.

Hi Michael, 

I am measuring a blisk. I'm limited to programming in Calypso 2023, so I cannot place patterns on a FreeForm Surface, so currently I'm programming it as 3d Curves that I will then recall feature points into a FreeForm Surface. 

image.png.5e4fc2ddcb4f53c761d312857a03bd2d.png

Due to orientation and angles, I'm measuring it as (3) cross-sections, and (2) different angles, so in total it is (6) 3d Curves, per side, so in total there are (12) 3d Curves that make up one blade. 

I'm looking for an efficient way to correctly recall feature points from the (12) individual 3d Curves into their respective FreeForm Surface. 

image.png.449186c61fcb8c9dadb303003376acdc.png

So for the example above, I'd need to pull the points from 3D Curve - 1-1(1), 3D Curve - 1-2(1), 3D Curve - 1-3(1), 3D Curve - 2-1(1), 3D Curve - 2-2(1), 3D Curve - 2-3(1), 3D Curve - 3-1(1), 3D Curve - 3-2(1), 3D Curve - 3-3(1), 3D Curve - 4-1(1), 3D Curve - 4-2(1), 3D Curve - 4-3(1). And that is for just the first blade, there are 115 more to create. It's a lot of manual work that I'm trying to avoid if possible. 

Link to comment
Share on other sites

Please sign in to view this username.

 I don't have FFS, but I assume you can use formula in recall feature points.

I would use PCM to create a list with desired elements and recall that list using formula.

 

You have to change a loop index in every element, but you can come up with some "automatic index extract" from name of element or something and you just copy paste that element x115 😄

 

nameOfElement = "Point"
noOfElements = 4
noOfSections = 3
loop = 1

recallElementsList = "list("

for i = 1 to noOfElements
	for j = 1 to noOfSections
		recallElementsList = recallElementsList + qm() + nameOfElement + "_" + i + "_" + j + "(" + loop + ")" + qm() + ","
	next j
next i

recallElementsList = mid(recallElementsList,1,(len(recallElementsList) - 1)))
recallElementsList = recallElementsList + ")"
//display(recallElementsList)
recallElementsList = getParameterNamed(recallElementsList)

image.thumb.png.7a356439c146fe7fa69577537cd8bdc1.png

image.thumb.png.2c606b07aa4ce8cba4f43c08499a873f.png

  • Thank you! 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...