Twisted sweep
Twisted sweep
(OP)
Hi,
i hope you can help me with the following problem. You would have a oil dipstick, which would be general 3D curve spine. And you would need to create twisted section on it. In proe, you would do it the way, that you would simply draw a line in the sketch and constrain it with angle. And than you would do it as variable parameter for example angle = sin t...where t would be 0 to 1 of the curve. Do you have any suggestion how to do it in UG?
Thanks
Vit
i hope you can help me with the following problem. You would have a oil dipstick, which would be general 3D curve spine. And you would need to create twisted section on it. In proe, you would do it the way, that you would simply draw a line in the sketch and constrain it with angle. And than you would do it as variable parameter for example angle = sin t...where t would be 0 to 1 of the curve. Do you have any suggestion how to do it in UG?
Thanks
Vit





RE: Twisted sweep
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Twisted sweep
RE: Twisted sweep
Sweep the section along using the line as a guide curve and a tolerance of zero. Use and angular law method with a linear type and the values 0 to 360*(number of turns).
Best regards
Hudson
RE: Twisted sweep
There are 3 elements in the model, a Yellow line that acts as both the primary path of a Swept Body and as the base line for the Law Curve controlling the angle of the twist. A Red sketch curve representing the location and angle of the twist. And a profile sketch of the shape being swept.
The function you use is Swept Surface, using a single trajectory curve and using an angular Law for the Orientation and using a Law Curve to control the angle.
Note that this approach can be used with virtually versions of UG/NX going back 10 or 12 years.
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Twisted sweep
to be honest... I dont know, how and when I should use the law method...Well, maybe I have found it...I tried to use swept and it seems to work
Thank you very much...
Vit
RE: Twisted sweep
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Twisted sweep
Thanks
Vit
RE: Twisted sweep
Regards
Vit
RE: Twisted sweep
Have fun.
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Twisted sweep
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Twisted sweep
Thanks
Vit
RE: Twisted sweep
That being said, there are those who prefer to make the Law Curve Sketch 100 units long and then they can treat the Start and Stop points of the twisted section as a PERCENTAGE of the final length of the sweep. You can make it work anyway that you wish.
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Twisted sweep
Regards
Vit
RE: Twisted sweep
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Twisted sweep
Regards
Vit
RE: Twisted sweep
OK, we can do what you want, but not by directly controlling the expressions in the sketch but rather by controlling such aspects of the Sweep feature as Angle (we will use and Forumla Law) and Scale (we will use the 'Perimeter Law' which in this case can be considered the 'Length' of the line).
See the attached model where I've took your model and set the Angle to be equal to the value of the height of a Sine Wave and the scale I've used a cubic function from 54mm to 100mm. Note that from the User Expressions item in the Part Navigator, you can control the 'Amplitude' of the Sine Wave and the 'Period' (no of cycles). You can also edit the start and end length of the line as well.
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Twisted sweep
can you do the scale when the swept feature has already been created?
RE: Twisted sweep
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Twisted sweep
yes, you can edit it, but I wasnt able to add the scale definition once it had been created without...but no problem..
i have attached the file in nx 4 version...I tried to create expression to control the scale...by adding two equations
t and ft...but the problem is, that the scale is still constant and what is even more strange is, that the line is smaller than the line, that I chose for the swept profile...I would like to be able to control the size of the profile along the curve with equation...for example ft = sin(t)+1...
Thanks
Vit
RE: Twisted sweep
Sorry I couldn't get back to you sooner with and example so it looks like John has done most of the work already.
I may be ignorant of dipsticks but if you check my examples I was of the opinion that it should probably be twisted along the axis of the metal strip. Therefore I varied John's example in a couple of ways.
The second way that I varied the construction was to describe the twist law using a bridge curve rather than a sketch. I did this for no other reason than to try it out really proving you could be something a bit different.
Lastly in the attached is a second example of a bent dipstick. This is loosely based on the file which you attached. In that file you used a line which was NOT normal to the plane of the sketched section that you're sweeping. To me this was not likely to represent a desirable solution, and if indeed you need to follow such a line you would simple re-orient the other geometry to align with that as a new sweep guide and twist axis, the two in this case being the same thing.
Whereas in my example I have provided a curved dipstick with a twist the arc being constructed normal to the axis of rotation which just uses a line.
John,
If I may tack onto the end of the post for Vit here. As usual your construction is superior to what I briefly described earlier and I thought it a good example. I tell you what though it is not easy to figure out how a sweep has been built. The dialog when you create it presents one set of inputs and the edit parameters has something completely different. I hope in upcoming versions that this will be addressed sooner rather than later. I find sweep a very powerful but perhaps underutilized construction method, that is frequently poorly understood and probably languishes thus for being somewhat difficult to understand more for the presentation than the actual content.
Cheers
Hudson
RE: Twisted sweep
thank you for the examples... Unfortunately, its not exactly what I wanted...I dont have a problem with using a curve to control the angle along the curve...the only thing is, if for example height of 100mm means 100degrees...but it seems to be...the problem what I had was, that I tried to control this by the expression, which doesnt seem to work...it seemed like the parameter t is still constant rather than changing with the position on the spine...so i would like to see, how you have to set up the set of expressions for the t parameter to work...i think, that UG basicaly wants t and ft(t)
RE: Twisted sweep
I think it is just a vertical and horizontal scale height in the Z axis maps the range over which the twist occurs so that the straight portions of the law curve induce no twist and you can use two arcs, a bridge curve (as I did) or even a straight line in between to control how tightly the twist occurs in the section of sweep directly opposite. On the horizontal scale in the Y axis 1mm of arc length is gives you one degree of rotation.
You can experiment with different law curves if you like just to help you to better understand the results.
Hope this helps
Cheers
Hudson
RE: Twisted sweep
and could you help me with the equations?
Vit