Jump to content

lisp routine to draw Aspheric lens profiles


Recommended Posts

Posted

Hello all,

 

I've tried searching the net for a routine that can draw Aspheric lens profiles and have not had any luck.

 

I found a google book post indicating someone or a company has created a visuallisp routine but apparently they haven't released it or made it available to the general public.

 

Wikipedia describes what an Aspheric lens profile is and provides a formula for creating one - however I am unable to provide that link due to posting restrictions on my newly created account :( (I fully understand why!)

 

A small portion of an Aspheric lens profile is close to what a dished head profile is so in my searching efforts I was able to locate a lisp routine that a board member here by the name of The Buzzard put together - nice routine and dialog window BTW Buzzard! - anywho, that's how I found this site.

 

I'm hoping someone here might be up to the challenge of creating a lisp routine to draw up Aspheric lens profiles :unsure:

 

TIA

S

Posted

Basicly any mathmatical formula can be written in lisp theres example here of parabolica formula. If the formula is very complicated I would look at VBA or someone may be able to .net it for you the main reason being that the formula can be written closer to what it actually looks like in book form. It just takes a bit more effort in lisp but breaking it down into small steps it can be achieved.

 

z= x2 * y3 x squared y cubed multiple (setq z (* (* x x) (* y (* y y)))) in a most simple form.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...