Not really as that would require a dynamically linked reference Plane set to control the Helix definition. What I do is to create Configurations for Free Length, Initial Compressed Length, Fully Compressed Length, and at least one Intermediately Compressed Length. It is then only an "issue" to activate the correct Configuration within the Assembly. [Not, mind you, that this has not neen part of my List of Requested Improvements for quite a while.]Is there a way to create a dynamic spring that will compress/expand in an assembly ?
I can draw a fixed spring just fine
Have you noticed my Spring Design "resource?" There's one for coil compression springs and another for hairpin double torsion springs. Both meet SAE and DoD requirements.Thanks, I was afraid it would be something like that.
I need to figure out the absolute minimum clearance required for the spring, but the spring is also bending a bit.
Aware of any software around that will do this sort of stuff ?
https://www.alibreforum.com/forum/i...and-gmd-part-files-and-folders-rev-new-7z.40/where is the Spring design resource ?
In essence what you would need is a Constraint with a variable range of values that allows the Helix Feature to vary based on some other Component's position. Give us that ability (angular as well as linear) and quite a few things become bettter with the Constraint system!A dynamic spring is out of my price range.
In essence what you would need is a Constraint with a variable range of values that allows the Helix Feature to vary based on some other Component's position. Give us that ability (angular as well as linear) and quite a few things become bettter with the Constraint system!
B -- My point is that Variable (within limits) Constraints are a needed improvement. Applying it to a Spiral Feature should be fairly obvious. Making that Variable Constraint driven Component as something driven by a Constrained Relationship should be equally obvious.Seems both simpler and more complex than that. You would need the centerline (axis) of your helix to be a variable spline. Then you would need to constrain each end of the spline to mate to the center point of the spring pocket I would think.
Harold -- One problem associated with using S[line Entities to approximate a Compression Spring is that a spring's mean diameter increases as it is compressed. Thus, one needs to know the amount of compression to know how the mean diameter is affected. If you look at my "Coil Compression Springs Library Rev New.7z" entry under Resources you will see that being accounted for through Configurations.Maybe there's something in this old tutorial that will help -- or maybe not.
Win = Windows()
WT = 'IDSLK'
ScriptName = 'Springmove'
springtravel = 20
CP = CurrentPart()
for i in range(len(CP.Parameters)):
if CP.Parameters[i].Name == 'D4':
M = i
Posi_x = CP.Parameters[M].Value
for r in range(springtravel):
Posi_x = Posi_x - 1
CP.Parameters[M].Value = Posi_x
for r in range(springtravel):
Posi_x = Posi_x + 1
CP.Parameters[M].Value = Posi_x
print 'done'