586,005 active members*
4,878 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Posts
    54

    paramteric programming for a fresnel lens

    We have the formulas to get output from a fresnel integral....we can even get that data on a spread sheet.

    How to write a program to take the data..better yet the formula inputs and turn it into G-Code

    Thanks

  2. #2
    Join Date
    Apr 2005
    Posts
    263
    will you be making the lens on a lathe or on a mill?
    what material?

    does your output geometry look something like this?
    http://en.wikipedia.org/wiki/File:Fresnel_lens.svg

  3. #3

    Lens Manufacture

    I recall producing an Application for a UK client, a good few years back, which
    did exactly this.
    Basically the method was :-

    CAD Module
    Using VB script a macro was produced which produced the Curve based
    the equation and some other Parameters such as Included Angle+radius.
    The VB script would then calculate a series of points which lie on the
    curve.
    The VB script would then submit these points to the CAD Curve Fitting
    routine which would produce a Tangential (Convex or Concave) curve
    which then be passed to the CAM Turning module.
    CAM Turning Module
    The CAM turning module would then be used to produce a toolpath.



    This was a few years ago and since then the CAD module has aquired a Template system which could be employed and the CAD + CAM modules are available as Servers using microsoft auto technology.
    These new features make it possible to develope a fully automated Bespoke
    application which take the initial parameters and produce a dimensioned
    drawing and G code file witht he Dolphin modules being used as background servers invisible to the user.

    michael
    Dolphin CAD CAM systems Ltd
    Dolphin CAD CAM Ltd

  4. #4
    Join Date
    Jul 2010
    Posts
    118
    if you can make the calculations in a xls spreadsheet, then you can also recreate these formula's in macro B (i can only speak about fanuc cnc's), no special software requiered.
    the calculation will save the point data in a sequential variable range, start & end number decided by you.
    then write a normal cnc part program that will call this variable-range in sequence to produce the shape calculated.
    the variable range is called by using a loop that index the variable number, making the program very short.

  5. #5
    Join Date
    Feb 2006
    Posts
    1792
    Post the drawing and formulae for specific suggestions.

Similar Threads

  1. DUAL FOCUS LENS (bifocal lens)
    By bibi in forum Laser Engraving / Cutting Machine General Topics
    Replies: 6
    Last Post: 08-12-2013, 08:56 AM
  2. Paramteric Program
    By Ashish B in forum Parametric Programing
    Replies: 53
    Last Post: 02-25-2011, 07:44 AM
  3. Turning fresnel formula output into g-code
    By roger_e in forum Environmental / Alternate Energy
    Replies: 2
    Last Post: 09-24-2010, 09:39 AM
  4. Focusing lens
    By cmh6473 in forum Laser Engraving / Cutting Machine General Topics
    Replies: 5
    Last Post: 10-28-2009, 09:57 AM
  5. Where to buy lens?
    By medved in forum Mechanical Calculations/Engineering Design
    Replies: 5
    Last Post: 12-30-2005, 09:49 AM

Posting Permissions

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