Show messages: All
1-11
12-15
From: bemfarmer
Added pitch3, and an alert message to display the Number of turns, and the 3 other pitches.
// sP = pitch of first (bottom) full turn.
// eP = pitch of last (upper) full turn.
// p1 = initial instantaneous pitch, at bottom of curve.
// p2 = variable portion of pitch.
// p3 = terminal instantaneous pitch at top of curve.
I'm thinking that tangent lead angles would not change for various radii (?).
- Brian
Attachments:
_VarPitchHelixVerbose.zip
From: bemfarmer
Here is a late night companion script, _VarPitchHelixExtremes
This script has as inputs the axis length of the desired helix, the instantaneous initial and terminal pitches, and the beginning and ending radii.
Turns is a calculated value.
The math is slightly adjusted from the _VarPitchHelix script.
The math formulas are commented in the script .js file. I should type up my notes on the math.
(The math actually seems to be a bit too easy:-)
There is a verbose checkbox to display the various pitches, and the number of turns.
This script should be perfect to form a transition helix between two helices of the same handedness, same axis, same xy values of start/end,
and a space between them, and different known radii and/or known pitches.
The script has undergone very limited testing, and seems to work well, in alpha status, so use at your own risk.
Entering negative radii or pitches seems harmless, and yields weird or no results, so maybe the parameters should be absolute valued...
There is a crude alert for the two possible cases of division by zero.
(A third script is possible, where Turns is input, and axis Length is calculated.)
- Brian
Attachments:
_VarPitchHelixExtremes.zip
From: bemfarmer
For a helix with constant radius, the pitch is related to the slope of the constant tangent with respect to the axis:
pitch = PI * 2 * radius * slope
So as the radius of that helix decreases, with constant pitch, the slope increases.
The slope of a helicoid increases closer to the axis.
For a helicoid created from sweep of a variable pitch helix, and intercepted with a surface of revolution that has variable radii,
the SLOPE at some point on the surface helix, could possibly decrease, stay the same or increase, w.r.t. the variable pitch helix. (?)
- Brian
From: geekmidget (HF)
How could this script be modified to use slope angles instead of pitch units?
The approach I have been trying is making an arch with my desired slope progression curve, then wrapping it around a circle using the deform tool (the helix I want to make is constant radius, variable pitch). However when I show curve points of resulting helix, it isn't as accurate as I would like.
Show messages: All
1-11
12-15