Boat Design Forums  |  Boat Design Directory  |  Boat Design Gallery  |  Boat Design Book Store  |  Thanks to Our Site Sponsors

Go Back   Boat Design Forums > Design > Multihulls
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 03-07-2007, 08:26 AM
Leo Lazauskas's Avatar
Leo Lazauskas Leo Lazauskas is offline
Senior Member
 
Join Date: Jan 2002
Rep: 1727 Posts: 1,244
Location: Adelaide, South Australia
Quote:
Originally Posted by Tim B View Post
What are you writing the interface in, Leo?

My experiences with writing GUIs have been good so far with QT. Small, light and multi-platform.

Tim B.
Thanks, Tim.

I tried wxWindows about 4 years ago. It has very slow and still buggy. I'm sure that it, and QT, and many others have improved since then, but I've lost interest in the GUI side of programming.

One day I might try to hack into FreeShip and see if I can launch other programs from inside it. All I want is to be able to write a text file of hull offsets and maybe some other variables, launch a batch file that executes some hydrodynamic codes and then writes a text file that FreeShip can read and interpret. That's about the extent of what I plan do with GUI programming.

Leo.
Reply With Quote
  #17  
Old 03-07-2007, 08:42 PM
tspeer tspeer is offline
Senior Member
 
Join Date: Feb 2002
Rep: 1329 Posts: 1,523
Location: Des Moines, Washington, USA
FWIW, if a code is written to support Object Linking and Embedding, and its functions are documented, then you can call the functions from Excel. This gives you a ready-made user interface with a great deal of flexibility. And Excel has all the widgets for building a sophisticated GUI. I've gone this way with calling Multisurf from Excel, and it works a treat.

The same thing holds for compiling the program's guts as a DLL. They can be called from VBA routines within Excel.

In addition to Godzilla, linking an analysis program to Excel allows you to use Excel's solver to turn it into a hybrid design code. The only restriction is all the inputs and outputs have to be located on one Excel worksheet.

I typically prepare Michlet input decks using Excel anyway, and output them as a text file for Michlet to read. Not as smooth as a direct interface, but it gets the job done.
__________________
Tom Speer
Reply With Quote
  #18  
Old 03-08-2007, 03:36 AM
Tim B Tim B is offline
Senior Member
 
Join Date: Jan 2003
Rep: 763 Posts: 1,384
Location: Southern England
Using Excel for a front-end is an adequate, but not good, way of producing a GUI. Initially you tie yourself to proprietry software. Secondly, you find that in the time it takes to do use Excel is just as long as writing it yourself. Thirdly, there is no possibility of porting to another OS.

Personally, I think that a spreadsheet should be a spreadsheet. It is a way of quickly organising, manipulating and plotting data. It is not a solution for complex systems which would be better written as code, in whatever language you prefer. There are far too many engineers who have learnt to use excel (in some depth) rather than learning a programming language.

I now don't support any of my own code on Windows, though a lot of what I've written can be re-compiled on Win32/64. All my code is written for Linux, then ported else-where if needed. You could argue about the benefits of Linux over Windows for months, but given that there is a growing Linux community, and that by comparison Windows (XP & Vista) are very poor products, I think I've arrived at a very reasonable solution.
__________________
Open Source Marine Charting - openpilot.sourceforge.net
Open Source Vessel Dynamics opendynamics.engineering.selfip.org
Reply With Quote
  #19  
Old 03-08-2007, 11:14 AM
Leo Lazauskas's Avatar
Leo Lazauskas Leo Lazauskas is offline
Senior Member
 
Join Date: Jan 2002
Rep: 1727 Posts: 1,244
Location: Adelaide, South Australia
Quote:
Originally Posted by Tim B View Post
Using Excel for a front-end is an adequate, but not good, way of producing a GUI. Initially you tie yourself to proprietry software. Secondly, you find that in the time it takes to do use Excel is just as long as writing it yourself. Thirdly, there is no possibility of porting to another OS.
I tried that path myself a while ago. I also tried writing a dll for MathCad. It worked Ok with a small number of offsets, but laboured with more. I was also put off by the thought of tying the code to someone else's code over which I had almost no control.
Reply With Quote
  #20  
Old 04-03-2009, 10:01 AM
Dusan Dusan is offline
Junior Member
 
Join Date: Aug 2007
Rep: 10 Posts: 9
Location: Montenegro
Does anybody know where I can find some more detail information about the power catamaran stabillity and resistance?
Reply With Quote
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Blanketing factor - VPP nico Sailboats 6 10-18-2010 03:55 AM
vpp wolfson unit skab81 Software 2 07-17-2006 07:08 AM
VPP Endeavour, need help ibq Boat Design 2 03-10-2006 02:41 AM
Data for a VPP? Joakim Sailboats 21 09-22-2004 05:35 PM
Sailfish Vpp michal Software 6 01-30-2002 08:09 AM


All times are GMT -5. The time now is 10:45 AM.


Powered by: vBulletin Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Web Site Design and Content Copyright ©1999 - 2012 Boat Design Net