Cancel
Showing results for
Did you mean:

# Re: Equation Driven Curve

Phenom

A little crowd funding wouldn't hurt either!

# Re: Equation Driven Curve

Genius

My company needs this in Solid Edge now.  We are using it already in SolidWorks and want this integrated right into Solid Edge.  I've verbally brought this up to some of the developer team at Solid Edge University last week.  Hopefully they add this capability very soon.  Thank you Tushar and Imics!

Brian Fritz
Solid Edge Certified Professional
ST10 latest MP

# Re: Equation Driven Curve

Experimenter

Hi Tushar,

I followed Jason's instructions and copied the .dll to the same folder as the application and it works great now!

I've noticed that when the range is not exactly divisible by the number of points the curve is drawn short?

Neys

# Re: Equation Driven Curve

Gears Honored Contributor

Hi Neys:

Can you provide the range values, number of points and the equations used.

I will try to reproduce the problem.

~Tushar

# Re: Equation Driven Curve

Experimenter

Hi Tushar,

I noticed it using the "default" 2sin(x)+5, but I would assume it is common for all functions. Using range 0 - 60 and number of points = 8 results in a horizontal dimension of 56, while using 10 gives a length of 60. I believe it might be due to the storage of step size as an integer rather than a real?

Neys

# Re: Equation Driven Curve

Gears Honored Contributor

Hi Neys:

I am able to reproduce the problem and found the culprit in the code too.

Only that the combination of tools I used originally SE ST4, WinXP and Visual Studio 2010 is gone and the program cannot be build again using my current combination of SE ST 6 on Win 7 using Visual Studio 2015

The math parser library is found to be 'not compatible'.

Perhaps I will consider sharing the code if some one wants to build the program for self.

~Tushar

# Re: Equation Driven Curve

Gears Phenom

Hi @Tushar

Maybe I am asking for too much but can you explain how to download this Macro ( amazing, btw. ) ?

Or should I create it myself ?

Thank you,

Arek

UPDATE:

I found it !!!

sorry for trouble.

cheers

Arek

# Re: Equation Driven Curve

Gears Phenom

Hi @Tushar

sorry to bother you,

I just assigned this macro and getting an error :

Can you please explain ( I am not a Coder ) what is going on ?

The Macro is okay ( I believe ).

Thank you,

Arek

# Re: Equation Driven Curve

Gears Honored Contributor

Hi Arek:

From the error it appears that a required library file (with extension .DLL) is missing.

This is the Lundin math library which the macro needs.

Check if there is a DLL file in the same folder as the macro exe

or from the attachment.

Tushar

# Re: Equation Driven Curve

Gears Phenom
Hi @Tushar

The problem is, I have DLL file placed onto the same folder already.

Hence my question.

Cheers

Arek

⁣Sent from BlueMail ​