Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Owner2229
in reply to: Anonymous

Alright then, "isocurve". Should the isocureve be offset from the projected line or just drawn "somewhere on the shape's face"?

Could, by any chance, be used the original curve from the 3d sketch? Aka it's projection to the outer surface.

The axis, workplanes, sketches and extrusion should not be a problem, they'll be created on the curve's points.

Should the points have equal spacing or be driven by an equation?

 

Here's the code to calculate the amount of holes:

Dim lDia As Double = 5    'Later we'll set this value from the user's input
Dim sDia As Double = 0.7  'Later we'll set this value from the user's input
Dim aStep As Double = 0.2 'Later we'll set this value from the user's input
Dim CircleCount As Integer = Math.Floor((lDia - sDia) / aStep) + 1
For i = 1 To CircleCount
     Dim aDia As Double = lDia - ((i - 1) * aStep)
     If i = CircleCount Then aDia = sDia
     'Here we're gonna use the variable "aDia" as the diameter for each circle
Next 

 

Consider using "Accept as Solution" / "Kudos" if you find this helpful.
- - - - - - - - - - - - - - -
Regards,
Mike

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - John F. Woods