![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Parametric Programing (custom macro b, fadal macro, okuma user task) |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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
| |||
| |||
| 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
| |||
| |||
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
| |||
| |||
| 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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Paramteric Program | Ashish B | Parametric Programing | 53 | 02-25-2011 12:44 AM |
| Turning fresnel formula output into g-code | roger_e | Environmental & Alternate Energy | 2 | 09-24-2010 03:39 AM |
| Need Help!- Focusing lens | cmh6473 | Laser Engraving & Cutting Machines | 5 | 10-28-2009 03:57 AM |
| DUAL FOCUS LENS (bifocal lens) | bibi | Laser Engraving & Cutting Machines | 5 | 03-17-2009 05:03 PM |
| Where to buy lens? | medved | Mechanical Calculations/Engineering Design | 5 | 12-30-2005 02:49 AM |