New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

OS 10.4 - Programing on the Mac


Post Reply New Thread Subscribe

 
Thread Tools
hojkoff_101

 
hojkoff_101's Avatar
 
Member Since: Oct 18, 2005
Location: Edinburgh Scotland
Posts: 225
hojkoff_101 is an unknown at this point
Mac Specs: Macbook 2.1GHz Intel Core 2 Duo, 4Gb RAM

hojkoff_101 is offline
I've done a bit of programing on a windows machine before using VisualBasic so I know a little bit about the basics writing a short program.

At the moment I'm in uni studying structural engineering. I'm getting countless exercises and questions on bean theory, that all follow the same algorithm to work out the answer. As this is getting a bit tedious I though that I could write a program to do all the long sums for me whilst I just enter the numbers in as they appear on the page.

I know nothing about programming on the mac so can some one tell me the name of a good program to get writing on?

I'm looking for something that I can input dimensions and beam properties into and then it will work out the long winded analysis for me. I'm also looking for a good program that I can construct a visual 3D representation with 2D graphs of the beam profile. That might be a bit further down the line but that's where I want to take it.

Essentially, I'm trying to write a VERY SIMPLIFIED version of autodesk inventor for my mac. And, although I'm not trying to take down autodesk I'm just trying to make my life that little bit easier.

Any input at all welcome!


Andrew
QUOTE Thanks
OhioDude

 
OhioDude's Avatar
 
Member Since: Mar 28, 2008
Location: Gahanna Ohio
Posts: 15
OhioDude is on a distinguished road
Mac Specs: MBP 2.4Ghz, BlackBook 2.0 Ghz, iBook G4, 8Gb iPhone, AppleTV, 80 Gb Video iPod 3 Nanos and 1 Shuffle

OhioDude is offline
IMO I see two choices, one is Real Basic and the other is C++ or Progresive C using XCode.

Since you've used VB in the past Real Basic may be the easiest route for you. I believe the 2D and 3D graphics would be easier with Real Basic then with the various C languages.

I could be wrong here, but with the C languages you'll have to use OpenGL for as your 3D library to draw your images. This process can have a small bit of a learning curve to it. Real Basic on the other hand should make this process simpler.
QUOTE Thanks
raydot

 
Member Since: Mar 27, 2008
Posts: 18
raydot is on a distinguished road

raydot is offline
I don't know anything about beam theory (or do you mean bean theory ) but if the algorithm simply gives a numerical output, that's probably something easy to do in C or C++. You can write a simple C program using gcc and any text editor. For the visual output...well that's a bit trickier, obviously. OpenGL is certainly one way...but what kind of output does it entail? Is there something you can point us to that shows the kind of graphics you'll need?
QUOTE Thanks
knightjp

 
knightjp's Avatar
 
Member Since: Jun 22, 2007
Posts: 290
knightjp is an unknown at this point
Mac Specs: Mac Mini Core 2 Duo w/ 4GB ram running OS X Lion

knightjp is offline
Being completely new to programming, one thing I'm learning now is the fact that how effective and efficient your algorithm is... thats how efficient your program will be (no matter what language you use).

According to what I read recently on the net, a good start is to write up an algorithm. Work at it until you know its proper and efficient and gives you the desired result. Then re-write the algorithm's instruction in the language of choice.

Well that's my opinion.

Once You've had Mac, you can't go back.... So very true.
If necessity is the mother of invention, she obviously never met Steve Jobs..
Julz - The Panther
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
I can't imagine the algorithms would give you problems in any language. The code would look pretty much the same. The small differences of the particular language should be easy to adjust to.

Count this as an opportunity to learn Cocoa and Objective-C. Building an interface to input the numbers should be easy via Interface Builder. Connecting that to the execution code in Objective-C shoud be easy too. From there you could jump to the graphics output.

I wonder if some of the open source plotting programs would be useful given your output dataset. Perhaps they are more geared towords simple graphing.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks

Post Reply New Thread Subscribe


« automating joining a Mac to AD | Applescript Mouse Click and Other ... »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Has The Mac Been Hacked...... MaDDoG Apple Rumors and Reports 5 05-01-2007 07:06 PM
To Mac Pro or not to Mac Pro? london Switcher Hangout 32 08-21-2006 11:57 PM
Switcher Article in Today's Times studio34 Switcher Hangout 9 08-11-2006 03:10 PM
Upgrade/buy new/sell old Mac questions: Dennis.G Apple Desktops 3 08-06-2006 11:06 PM
It's called a Mac iSheep Schweb's Lounge 22 10-13-2004 05:35 PM

All times are GMT -4. The time now is 04:27 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?