Skip to main content
1-Visitor
September 12, 2017
Solved

Automating point creation

  • September 12, 2017
  • 33 replies
  • 12080 views

Hi everyone,

Does anybody know how to automate point creation? Lets say I want to create a  curve through 50 points and then from the coordinates of these 50 points I want to define some simple relations to create 50 new points.  Also, I need to be able to modify the coordinates of the initial 50 points  and regenerate the model.  I used a .pts file to import the points. But, when I modify the points and regenerate nothing happens, not to mention that I don't know how to define relations between coordinates of points. Any help will be appreciated.

Best answer by edi

Actually I made a little mistake. I was re-importing the points which lead to regeneration failure. I used the update bottom and modified the coordinated in the notepad tha poped up and regeneration was successful.

Thanks  for all your efforts and suggestions. I can move on to the guide vanes now.

33 replies

1-Visitor
September 12, 2017

You could pattern a point and use a table to drive the locations and then create new points relative to the first pattern.

 

Since you don't say how you tried to modify the points I can't say why it didn't seem to change.

 

You can't create relations between points; you can create relations that change values for coordinates of points using values of coordinates of other points. Since you didn't specify what you want the relations to do I can't say what would help.

edi1-VisitorAuthor
1-Visitor
September 12, 2017

Thanks for your response. I imported the points using a .pts file and then I changed the coordinates of some points in that .pts file and tried to regenerate the model, which didn't happen. The relation between the points should be:

User specifies the coordinates of 50 points (xi and yi).

xi for i = 0,...,49

yi for i = 0,...,49

The coordinates of the second and third set of points should be:

xj = xi

yj = yi + constant/2

 

xk = xi

yk = yi - constant/2

KenFarley
21-Topaz II
September 12, 2017

Once you read a ".pts" file to use the points, you're done with the file. There is no connection between the file and the Creo model. The file just provided the initial values for the points and is never referred to again. You could delete the file and it wouldn't affect your model at all. It's just input. You'd have to redefine the points within Creo, if that's possible.