Author Topic: Customized ring  (Read 8020 times)

0 Members and 1 Guest are viewing this topic.

Les

  • Newbie
  • *
  • Posts: 17
    • View Profile
Customized ring
« on: February 07, 2021, 09:58:15 AM »
Dear All,
this is my first post here. I have just started my adventure with Planetdance. This is wonderful astrology tool! Fully customizable which is much appreciated.
Still I need to study a lot how to use it.
I tried to customize Planetdance a bit more for my needs. In the settings (Classic tab), I found the options to add some rings (Bounds Ring and Second Ring). Unfortunately there is no chance - at least I did not find a way - to add freely customized ring.
Could you help me with that please? Is there any chance to add such ring by script which I can make myself or other option? like in the tab "Classic" in Settings?
For example: number of sectors (number), sector position (degrees,m,s), sector covers the arc (degrees,m,s), names of sectors (text)
I hope there is a chance. That would be so much helpful for my studies.  :)
Kind regards, Les

ABer

  • Administrator
  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: Customized ring
« Reply #1 on: February 07, 2021, 11:35:59 AM »
Hi Les - thanks for your posting, Welcome to the forum. This sounds like a job for Jean's astrobasic. Most of the supplementary scripts you find in the menus are coded using AB. If you have some programming knowledge it will be very easy to learn. You could create your own script and offer it to Jean for publishing within the main program. The custom ring on the outside of the main wheel is maintained by Jean within the main PD codebase.

There's a video about astrobasic on the youtube channel.

https://www.youtube.com/watch?v=5cl1-3dMEj8

I hope that helps. Ed

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1291
    • View Profile
Re: Customized ring
« Reply #2 on: February 07, 2021, 12:02:59 PM »
Hi Les,
As Ed says, you could code an astrobasic script. There's Help - Astrobasic and you can study programs using Application - Edit. There are examples that draw rings, for instance Vedic - Nakshatra.ab is not too complicated.

Hope this helps.
Greetings from Groningen Netherlands.

Les

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Customized ring
« Reply #3 on: February 07, 2021, 01:41:38 PM »
Hi Ed, hi Jean,
many thanks for you answers. It helps a lot.
I will try to make it basing on instance Vedic - Nakshatra.ab. Hope my little programming experience is enough, if not I will kindly ask for your help in some areas if possible. :)
Once done, I will share it with you of course.
Les

ABer

  • Administrator
  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: Customized ring
« Reply #4 on: February 07, 2021, 01:52:15 PM »
Thanks Les - any questions do ask - we have an Astrobasic board that you can use.

https://jcremers.com/forum/index.php/board,4.0.html

I'm happy to help with any problems you come across. Ed

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1291
    • View Profile
Re: Customized ring
« Reply #5 on: February 07, 2021, 02:08:56 PM »
Maybe look at drawhoroscope().
Also look in the program editor at program - templates, you can use these to start writing something from scratch, the horoscope entry is a good one to start, it get the basic data from the current horoscope into variables.
No need to rush for something to publish, just have fun.
Greetings from Groningen Netherlands.

Les

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Customized ring
« Reply #6 on: February 07, 2021, 02:30:10 PM »
Thank you Ed!
Thank you so much Jean for hints, I will have a lot of fun. :)

Les

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Customized ring
« Reply #7 on: February 07, 2021, 04:11:22 PM »
I tried to run Nakshatras Chart-example.ab (which is a copy of Nakshatras Chart.ab) in Editor just check how it works and the error occurred. I tried with others scripts and got the same. Perhaps something wrong with my Planetdance?

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1291
    • View Profile
Re: Customized ring
« Reply #8 on: February 07, 2021, 04:52:06 PM »
Can you tell me the exact steps ?

Try this.
Application - Edit - give it a name, like test.
In the editor, richt click, then choose Program - Template - Window.
Press F9, it should display a simple window.
Greetings from Groningen Netherlands.

Les

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Customized ring
« Reply #9 on: February 07, 2021, 05:11:36 PM »
Steps:
Application - Edit - choose 'Oracle.ab' -  richt click, then choose Program - Run/Debug --> Error

I followed your advice:
Application - Edit - type 'test' - OK - right click, then choose Program - Template - Window - F9 --> Error

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1291
    • View Profile
Re: Customized ring
« Reply #10 on: February 07, 2021, 05:15:32 PM »
I don't have an explanation for that yet. First time i hear something like that. I assume if you run it directly using Application - Run, it gives no error, only from the editor?

If you like to investigate this i could make a special version that creates a log file to try and see where the error happens.

What you could try is first delete oracle.abc , then try again with oracle.ab
Greetings from Groningen Netherlands.

Les

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Customized ring
« Reply #11 on: February 07, 2021, 05:30:43 PM »
I tried this and 'Run' does not make any problems indeed, Editor only.
Yes, please make that special version, I will try it.
Difficult to say what is the reason, what i did before, was playing with different options, I customized colors and symbols.

Les

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Customized ring
« Reply #12 on: February 07, 2021, 05:38:19 PM »
deleting oracle.abc does not help

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1291
    • View Profile
Re: Customized ring
« Reply #13 on: February 07, 2021, 05:46:10 PM »
https://jcremers.com/SetupPlanetdance.exe
After installing try to edit oracle.ab and run it from the editor.
A file c:\planetdance\log.txt will be created, can you post it here?
We may need to do this a few times to find the spot where it messes up.
Greetings from Groningen Netherlands.

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1291
    • View Profile
Re: Customized ring
« Reply #14 on: February 07, 2021, 05:55:23 PM »
Are you able to try it on another pc?
Greetings from Groningen Netherlands.