Welcome, Guest. Please Login.
Gravity Simulator
11/18/17 at 06:05:51
News: Registration for new users has been disabled to discourage spam. If you would like to join the forum please send me an email with your desired screen name to tony at gravitysimulator dot com.
Home Help Search Login


Pages: 1 2 
Send Topic Print
Create Object Interface suggestion (Read 12054 times)
frankuitaalst
Ultimate Member
*****


Great site

Posts: 1507
Gender: male
Re: Create Object Interface suggestion
Reply #15 - 06/03/13 at 22:32:04
 
I use points as decimals I see .
Back to top
 
 
Email View Profile   IP Logged
EDG
Ultimate Member
*****


oh, crumbs!!!

Posts: 611
Gender: male
Re: Create Object Interface suggestion
Reply #16 - 06/22/13 at 11:05:27
 
Any more news about this?
Back to top
 
 

(formerly known as Mal)
View Profile WWW   IP Logged
EDG
Ultimate Member
*****


oh, crumbs!!!

Posts: 611
Gender: male
Re: Create Object Interface suggestion
Reply #17 - 06/22/13 at 11:06:07
 
Any more news about this?
Back to top
 
 

(formerly known as Mal)
View Profile WWW   IP Logged
Tony
YaBB Administrator
*****




Posts: 1049
Gender: male
Re: Create Object Interface suggestion
Reply #18 - 06/22/13 at 15:19:37
 
I've written it, but debugging is harder than coding.  I'll see if I can post something in the next week.
Back to top
 
 
Email View Profile WWW   IP Logged
EDG
Ultimate Member
*****


oh, crumbs!!!

Posts: 611
Gender: male
Re: Create Object Interface suggestion
Reply #19 - 06/22/13 at 22:53:47
 
Quote from Tony on 06/22/13 at 15:19:37:
I've written it, but debugging is harder than coding.  I'll see if I can post something in the next week.

 
OK, thanks. Wasn't rushing you, just wondered what was going on Smiley
Back to top
 
 

(formerly known as Mal)
View Profile WWW   IP Logged
EDG
Ultimate Member
*****


oh, crumbs!!!

Posts: 611
Gender: male
Re: Create Object Interface suggestion
Reply #20 - 07/11/13 at 08:15:56
 
Any further update?
Back to top
 
 

(formerly known as Mal)
View Profile WWW   IP Logged
EDG
Ultimate Member
*****


oh, crumbs!!!

Posts: 611
Gender: male
Re: Create Object Interface suggestion
Reply #21 - 07/21/13 at 23:53:22
 
Anyone? Bueller? Bueller?
Back to top
 
 

(formerly known as Mal)
View Profile WWW   IP Logged
Tony
YaBB Administrator
*****




Posts: 1049
Gender: male
Re: Create Object Interface suggestion
Reply #22 - 07/22/13 at 17:49:28
 
I worked on it today.  Still debugging.  Sorry for the slow-go.
Back to top
 
 
Email View Profile WWW   IP Logged
Tony
YaBB Administrator
*****




Posts: 1049
Gender: male
Re: Create Object Interface suggestion
Reply #23 - 07/25/13 at 15:47:13
 
http://orbitsimulator.com/gravity/beta/csv.csv
http://orbitsimulator.com/gravity/beta/GravitySimulatorAlpha2013July24_3.0.exe
 
Here is the latest beta with Mal's spreadsheet suggestion.  There's a very good chance you'll find bugs in this, but it works with the attached csv.  Try it out and report any bugs to me.
 
Instructions for importing objects from spreadsheet.
 
1. Pause simulation
2. Delete all existing objects using Objects > Delete Objects menu. (see note below)
3. Open "Create Objects" dialog box.
4. Press Import button.
5. Navigate to your csv file.
 
note: If you are importing objects onto an existing system, you do not need to delete the existing objects, but every object in your spreadsheet needs to have a ref obj.  In the attached csv file, Ixtab has no reference object, so this spreadsheet needs to be imported into a system with no existing members.
 
CSV file:
Follow the format of the attached csv file exactly.
Format all your spreadsheet cells as text, and save it as a csv file.
In Ref Obj, if you add 'b' to the reference object name, it is the same as choosing the barycenter option on the Create Objects interface. You must put single quotes around the b so gravity simulator doesn't consider the b to be part of the name.
Mass: Add S for sun, E for Earth, J for Jupiter, kg for kilograms.  If you put nothing, default is Earth mass.
Color: At the moment, the only options are red, black, green, yellow, blue, magenta, cyan, white.  If you want more colors, tell me the hexidecimal color code and name for each additional color.
SMA: Add  m, km, AU, LY for units
 
Distribution:
Use a dash for a range.  For example if you create 3 objects (first column) and put 1-3 AU, you will get an object at 1, 2, and 3 AU
Use ~ for +/- percent.
Use @ for standard deviation
 
The attached csv file will create a system centered around Ixtab.  
Akabna has definite values for all its parameters.  
Balamna will have an inclination of 2 degrees +/- 100 % (i.e. a random value between 0 and 4 degrees)
Balamna's LAN, Per, and MA will be 180 +/- 100% (i.e. a random value between 0 and 360 degrees)
The asteroids' eccentricity will be chosen by a random gaussian distribution centered on 0.1 with a standard deviation of 0.01.  Be careful. This can generate negative numbers which might crash the simulation.
The Kuipers will have a size of 10 km +/- 50% (i.e. a random number between 5 and 15 km)
The Kuipers eccentricities will have a linear distribution from 0 to 0.1 (i.e. 0, 0.05, 0.1)
Back to top
 
 
Email View Profile WWW   IP Logged
Tony
YaBB Administrator
*****




Posts: 1049
Gender: male
Re: Create Object Interface suggestion
Reply #24 - 07/25/13 at 16:36:40
 
I don't know why the "Last Post" isn't updating anymore.
Back to top
 
 
Email View Profile WWW   IP Logged
Tony
YaBB Administrator
*****




Posts: 1049
Gender: male
Re: Create Object Interface suggestion
Reply #25 - 07/26/13 at 22:00:20
 
testing
Back to top
 
 
Email View Profile WWW   IP Logged
EDG
Ultimate Member
*****


oh, crumbs!!!

Posts: 611
Gender: male
Re: Create Object Interface suggestion
Reply #26 - 07/26/13 at 22:01:40
 
Sweet! Thanks for doing this, I'll try to give it a go in the weekend!
Back to top
 
 

(formerly known as Mal)
View Profile WWW   IP Logged
Tony
YaBB Administrator
*****




Posts: 1049
Gender: male
Re: Create Object Interface suggestion
Reply #27 - 07/28/13 at 11:08:05
 
testing again.
Back to top
 
 
Email View Profile WWW   IP Logged
Pages: 1 2 
Send Topic Print