586,127 active members*
3,277 visitors online*
Register for free
Login
IndustryArena Forum > CAD Software > Solidworks > Equation in SW 2010
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2005
    Posts
    56

    Equation in SW 2010

    Hello,
    Doing a series of sound tubes on a instrument and need an equation that will adjust one end of tube but then add the change difference to the other end, weither I subtract or add. Volume of air movement needs to stay the same. The sample jpg. I've attached is just one of 10 tubes.

    Thanks
    Attached Thumbnails Attached Thumbnails Tube_C 1.jpg  

  2. #2
    Join Date
    Feb 2010
    Posts
    0
    From how you've described it, the total leg length will be constant. So, L2 = 39.79 - L1. That is if you are changing each of the 10 tubes individually and are doing so by directly changing the dimension in the path sketch.

    If you were looking for something more complex, you'll have to describe how you're doing what you're doing and what is lacking in the current solution.

    Or, are you unsure of how to add the equations to the sketch?

  3. #3
    Join Date
    Jul 2005
    Posts
    56
    Each tube will be adjusted separately if need be. I just wanted to have the ability to adjust the long leg and the short leg will be adjusted to compensate the change weither a plus or minus. Owner wants to design a new style instrument smaller and this equation will help position height adj.. and do it directly in the sketch path.. unless something better..
    Example. If the longer leg needs to be shortened say by 1.00 in. shorter than it has too be add to the shorter leg. As I mentioned volume in tube needs to be the same. As far as equation I dont know how to write it. Does the reference geometry need too be named prior to the equation? This is new to me..
    Thankyou for response

  4. #4
    Join Date
    Feb 2010
    Posts
    0
    OK, this is pretty straight forward.

    Edit the sketch that defines the path of your sweep.
    If you have not done so, add linear dimensions to each leg.
    On the top menu bar, click Tools>Equations... The equation dialogue box should open.
    Click "Add". The "Add Equation" dialogue box should open.
    Click the dimension for the short leg (you may have to move the dialogue boxes around to uncover the dimensions). You should see "D1@Sketch1" or something similar in the equation box.
    Type in "=39.79-" (without the quotes...and with whatever value your project requires).
    Click the dimension for the long leg.
    Click "OK" at the bottom of the "Add Equation" box. Dialogue box should close.
    Click "OK" at the bottom of the "Equations" dialogue box. Dialogue box should close.

    You should notice a sigma symbol next to the dimension on the short leg. This tells you that its value is driven by an equation. If it was done correctly, when you double-click the long-leg dimension and change it, the short leg should change in the opposite way by the same amount.

  5. #5
    Join Date
    Jul 2005
    Posts
    56

    Thanks !!

    I did as per direction and it worked fine. attched jpg shows difference. End of week I will be working with R&D to configure tube placement and this equation will help alot in time. In an earlier thread you made suggestion to using L1-L2, would there be another approach to an equation ?
    Attached Thumbnails Attached Thumbnails Tube Equation.JPG  

  6. #6
    Join Date
    Aug 2010
    Posts
    90

    SW Equation

    hi'ya jersycnc, check out SW zip, look thru the tree if need be, if I understood correctly this is the function you wanted. If you want I have a 40Mb vid but I can't load it here I can e-mail if you need - :rainfro::rainfro::rainfro: kman

    See 2nd SW file
    Attached Files Attached Files

Similar Threads

  1. Equation Problem
    By Normsthename in forum Solidworks
    Replies: 2
    Last Post: 12-08-2010, 02:29 PM
  2. edgcam 2010 and inventor 2010
    By inflateable in forum EdgeCam
    Replies: 8
    Last Post: 03-22-2010, 09:03 AM
  3. Macro and/or Equation help
    By Gregory1966 in forum Solidworks
    Replies: 2
    Last Post: 02-25-2010, 01:53 PM
  4. deriving quadratic equation
    By HuFlungDung in forum Uncategorised CAM Discussion
    Replies: 1
    Last Post: 02-05-2008, 06:12 PM
  5. Equation format in g-code
    By Jester966 in forum G-Code Programing
    Replies: 5
    Last Post: 07-09-2007, 02:39 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •