The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
I need to generate an equation curve and be able to set and control the length of the actual curve. Making the equation curve to form the helical “corkscrew” isn’t a problem.I just can’t figure out how to control the “R” value of the curve based on my total length.
Is this doable?
Thanks
TW
Thanks to Terry ! Very helpful info.
The solution: Create a parameter named "RADIUS" real number with an arbitrary initial value. In the equation for your curve, set the radius equal to the "RADIUS" parameter. Create an analysis feature for the curve and save the length of the curve as a parameter value. Analysis > Measure > Length > Select your curve use the drop-down to create it as a Feature, and name it "curve_length" click on the Feature tab to ensure the parameter is checked to be created, and has the name "LENGTH" Use a Feasibility Study to find the value of R to give a desired curve length: Analysis > Feasibility/Optimization >select the Feasibility radio button under Design Constraints, select "Add", and then select "LENGTH:CURVE_LENGTH" if not already selected, then set the middle box to "=", and select the "Set" button & enter the desired value for the max length of the curve and hit OK, then Cancel from the Design Constraint box. Under Design Variables, select "Add Parameter", and select "RADIUS:whatever_your_part_is_named” enter Min/Max values for the radius value range that will be allowed. You may need to also tighten the default convergence value on the options tab > Preferences > Run tab: then hit Compute:Couple things to consider: Make sure that it is possible for Z & T to generate a curve larger than the length set within feasibility. That is also true for the Minimum and Maximum R values. You may need to tweak the min / max R values in feasibility if the curve is coming up short. If everything seems to be working fine but the curve is still slightly short check the convergence setting. If that value is too large it will “clip” the curve and can be shorter than the desired length you entered.
Have a great weekend everyone.
twIf I understand this correctly, you want a helical curve of a certain length, and you want both the ends to be coincident to a plane thru the axis of the helix (one turn)? Somewhat like a helical lock washer? You're going to use this curve as a trajectory, I assume? If so, I have an easier solution for you. Shoot me an e-mail.
Frank
In Reply to Tracy Willis:
SummaryThanks to Terry ! Very helpful info.
The solution: Create a parameter named "RADIUS" real number with an arbitrary initial value. In the equation for your curve, set the radius equal to the "RADIUS" parameter. Create an analysis feature for the curve and save the length of the curve as a parameter value. Analysis > Measure > Length > Select your curve use the drop-down to create it as a Feature, and name it "curve_length" click on the Feature tab to ensure the parameter is checked to be created, and has the name "LENGTH" Use a Feasibility Study to find the value of R to give a desired curve length: Analysis > Feasibility/Optimization >select the Feasibility radio button under Design Constraints, select "Add", and then select "LENGTH:CURVE_LENGTH" if not already selected, then set the middle box to "=", and select the "Set" button & enter the desired value for the max length of the curve and hit OK, then Cancel from the Design Constraint box. Under Design Variables, select "Add Parameter", and select "RADIUS:whatever_your_part_is_named” enter Min/Max values for the radius value range that will be allowed. You may need to also tighten the default convergence value on the options tab > Preferences > Run tab: then hit Compute:Couple things to consider: Make sure that it is possible for Z & T to generate a curve larger than the length set within feasibility. That is also true for the Minimum and Maximum R values. You may need to tweak the min / max R values in feasibility if the curve is coming up short. If everything seems to be working fine but the curve is still slightly short check the convergence setting. If that value is too large it will “clip” the curve and can be shorter than the desired length you entered.
I didn’t try Frank’s suggestion, I had already use the above process.
I tried Harald’s suggestion; I was able to trim a sketch curve but not the equation datum curve.
Thanks – and Stuff.Have a great weekend everyone.
tw
Frank
Oh, and I forgot to mention, making multiple turns is as simple as changing the section relation for the cylinder surface as follows for 2 turns:
sd3 = rsd2/2
For 3 turns, make that /3, etc.
Have fun!
Frank
Anyone play with this yet?