[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

# RE: [femm] Latest FEMM (the LUA bits)

- To: <femm@yahoogroups.com>
- Subject: RE: [femm] Latest FEMM (the LUA bits)
- From: "Robin Cornelius" <robin.cornelius@hirst-magnetics.com>
- Date: Mon, 6 Aug 2001 08:46:02 +0100
- Importance: Normal
- In-reply-to: <4.2.0.58.20010804190237.00997100@staff-mailin.lboro.ac.uk>
- Reply-to: <robin.cornelius@hirst-magnetics.com>

> Dear Keith,
> Sorry about the typos in the instructions, this should be a priority for me as it must be very frustrating. I will have a check of the lua instructions in the next few days.
> I can see you difficulty with passing file names. This is a know problem from having two separate lua processes, one in femm and one in femmview. The use of a temp file to hold the name works but it is messy. Passing parameters should be easy enough, I feel the best way to go is that I take all extra parameters passed to femm view (after the data file and the lua script) and place these on lua's stack. Then the first few lines of lua code in femmview could simply retrieve from the lua stack and work with them as normal.
> The bitmap updating problem is one that I feared but could not cause on my computer. I believe the problem is that when an UpdateAllViews() is called windows marks the display as dirty and when it gets time (ie idling) it sends on OnDraw() which updates the display. I may have to force OnDraw() to make sure the display is OK for saving.
> I will also check the file format of the bitmap, it should be a normal windows type bitmap.
> The Lua bit is still rather experimental but I will do my best to clean it upa lot !

- Follow-Ups:
  - RE: [femm] Latest FEMM (the LUA bits)
    - From: Keith Gregory <k.gregory@lboro.ac.uk>

- References:
  - Latest FEMM
    - From: Keith Gregory <k.gregory@lboro.ac.uk>

- Prev by Date: [A few questions]
- Next by Date: RE: [femm] Latest FEMM (the LUA bits)
- Previous by thread: Re: [femm] Latest FEMM
- Next by thread: RE: [femm] Latest FEMM (the LUA bits)
- Index(es):
  - Date
  - Thread