What is the best way to constrain 50 new points I'm adding for a spline?

What is the best way to constrain 50 new points I'm adding for a spline?

OceanHydroAU
Collaborator Collaborator
272 Views
0 Replies
Message 1 of 1

What is the best way to constrain 50 new points I'm adding for a spline?

OceanHydroAU
Collaborator
Collaborator

I'm currently using this for the "X" (and the same again for the Y):-

rh=d.addDistanceDimension(nose, sp, myHorizontalDimensionOrientation, sp.geometry)
rh.parameter.expression='{} cm'.format(splinex[i]*scale)

except it does not allow negative distances, and each one of those (there's 100 - two for each point) takes 1 second to add (causing almost 2mins delay!)

 

Long story short - all 50 points are "connected" to a user-selected point in their sketch.  if they move that point, all 50 of my new points need to move as well.  In addition, if, later on, they do something dramatic (this is an airfoil, so if they change the chord length, every single point needs to be re-positioned into the new correct shape), I need to loop back in here and change all of those dimensions.

0 Likes
273 Views
0 Replies
Replies (0)