POV-Ray : Newsgroups : povray.text.scene-files : Helpers - Macro-Collection for many applications Server Time
22 Jan 2025 10:56:56 EST (-0500)
  Helpers - Macro-Collection for many applications (Message 1 to 10 of 25)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Maetes
Subject: Helpers - Macro-Collection for many applications
Date: 30 Dec 2024 02:30:00
Message: <web.67724ab1ffa9e317ec2e1dca30225ff5@news.povray.org>
Hi Everyone.

Since I work a lot with animations and elaborate scenarios, I have written many
macros in recent years, some of which expand the Povray possibilities
considerably.

They can be used to search in strings, search, sort and crop arrays, and much
more. Maybe helpful for you too?

Download and documentation:
https://www.maetes.com/en/povray-os/ma_helpers

Have fun,
Martin


Post a reply to this message


Attachments:
Download 'povray_helpers_slope.png' (19 KB)

Preview of image 'povray_helpers_slope.png'
povray_helpers_slope.png


 

From: jr
Subject: Re: Helpers - Macro-Collection for many applications
Date: 30 Dec 2024 10:30:00
Message: <web.6772bc068dbb45fb2e841a6cde94f1@news.povray.org>
hi,

"Maetes" <nomail@nomail> wrote:
> Hi Everyone.

(I preferred "ladies" </grin>)


> Since I work a lot with animations and elaborate scenarios, I have written many
> macros in recent years, some of which expand the Povray possibilities
> considerably.
> They can be used to search in strings, search, sort and crop arrays, and much
> more. Maybe helpful for you too?

might be, can't tell unfortunately ;-).  the downloaded .7z cannot be listed
with (BSD) 'tar' on my machine(s), nor extracted.


regards, jr.


Post a reply to this message

From: Maetes
Subject: Re: Helpers - Macro-Collection for many applications
Date: 30 Dec 2024 12:50:00
Message: <web.6772dc5e8dbb45fec2e1dca30225ff5@news.povray.org>
Strange ... strange ... STRANGE.
I thought 7-zip had already established itself as one of the standards.
I think about to switch back to ZIP.

Maybe the lady likes to test this file:

https://www.maetes.com/downloads/ma_helpers.zip

Not mentioned on the website at the moment, for your eyes only :)
First thing I had to do was to duckduckgo what BSD means at all.

Martin


Post a reply to this message

From: Bald Eagle
Subject: Re: Helpers - Macro-Collection for many applications
Date: 30 Dec 2024 13:05:00
Message: <web.6772e03a8dbb45f3018e75b25979125@news.povray.org>
"Maetes" <nomail@nomail> wrote:

> Maybe the lady likes to test this file:

"Maybe _HER LADYSHIP_ likes to test this file:"

<eyroll>
Doth thou so presume to address a Noble in so rude, so crass, so vulgar a
manner, _commoner_?

;)

- BW


Post a reply to this message

From: Maetes
Subject: Re: Helpers - Macro-Collection for many applications
Date: 30 Dec 2024 13:30:00
Message: <web.6772e6058dbb45fec2e1dca30225ff5@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

> Doth thou so presume to address a Noble in so rude, so crass, so vulgar a
> manner, _commoner_?
>

What I've done this time ... :)
And not even in this thread!

Ladies or whatever you are, I check whether I can also store the files as
text-file that can be displayed directly in the Browser.

Mr. Martin Seydler


Post a reply to this message

From: jr
Subject: Re: Helpers - Macro-Collection for many applications
Date: 30 Dec 2024 14:05:00
Message: <web.6772eeb68dbb45fb2e841a6cde94f1@news.povray.org>
hi,

"Maetes" <nomail@nomail> wrote:
> Strange ... strange ... STRANGE.
> I thought 7-zip had already established itself as one of the standards.
> I think about to switch back to ZIP.

you're correct, it's well established.  your file was the first .7z I had a
problem with; no worries, may have been a "glitch".


> Maybe the lady likes to test this file:

thank you, appreciated.


> What I've done this time ... :)
> And not even in this thread!

you failed to doff your cap, wipe your feet ?!  </grin>


> First thing I had to do was to duckduckgo what BSD means at all.

yes, there's more to the world than (just) MS Windows :-).


fwiw, 'MA_String2Array()' "jumped out" at me as I had need of something similar,
though simpler.
<https://news.povray.org/web.64b08576d08f3556b49d80446cde94f1%40news.povray.org>


regards, jr.


Post a reply to this message

From: Maetes
Subject: Re: Helpers - Macro-Collection for many applications
Date: 30 Dec 2024 14:35:00
Message: <web.6772f4d28dbb45fec2e1dca30225ff5@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> you failed to doff your cap, wipe your feet ?!  </grin>

Sorry, I will work on my behavior. Promised.

> yes, there's more to the world than (just) MS Windows :-).

Phh ... this is my world:
https://www.raspberrypi.com/products/raspberry-pi-5/

2nd Pi 5 ordered few week ago (for povray-jobs only), have three Pi 4, many
older ones ...
So I can tell you, the Pi 5 renders pure povray-scripts 2.87 times faster than
the Pi 4.

> fwiw, 'MA_String2Array()' "jumped out" at me as I had need of something similar,
> <https://news.povray.org/web.64b08576d08f3556b49d80446cde94f1%40news.povray.org>

Then you know how painfull it is, to write the string and array macros from
scratch, that are part of every other programming language.
But I needed them!

Ma


Post a reply to this message

From: Maetes
Subject: Re: Helpers - Macro-Collection for many applications
Date: 30 Dec 2024 15:00:00
Message: <web.6772fadd8dbb45f57b1a63930225ff5@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> fwiw, 'MA_String2Array()' "jumped out" at me as I had need of something similar,
> <https://news.povray.org/web.64b08576d08f3556b49d80446cde94f1%40news.povray.org>

Damn, I posted this thread in the wrong group.
If anyone can fix this, please feel free.

m


Post a reply to this message

From: jr
Subject: Re: Helpers - Macro-Collection for many applications
Date: 30 Dec 2024 15:45:00
Message: <web.677305128dbb45fb2e841a6cde94f1@news.povray.org>
hi,

> Phh ... this is my world:

"strange .. strange .. strange" :-)  I'd have thought being a Linux user, you'd
know all the "creation myths" of the unices including BSDs.

I never got round to playing with Pis, alas.  (along with countless other things
:-))


> 2nd Pi 5 ordered few week ago (for povray-jobs only), have three Pi 4, many
> older ones ...
> So I can tell you, the Pi 5 renders pure povray-scripts 2.87 times faster than
> the Pi 4.

fast ?  <https://www.southampton.ac.uk/~sjc/raspberrypi/pi_pictures.htm>

may also be a fun way to keep the older ones running.


> Then you know how painfull it is, to write the string and array macros from
> scratch, that are part of every other programming language.

yes.  writing SDL macros _is_ character-building ;-).


regards, jr.


Post a reply to this message

From: jr
Subject: Re: Helpers - Macro-Collection for many applications
Date: 1 Jan 2025 03:45:00
Message: <web.6774ffcb8dbb45fb2e841a6cde94f1@news.povray.org>
hi,

also :-)

"Maetes" <nomail@nomail> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > fwiw, 'MA_String2Array()' "jumped out" at me as I had need of something similar,
> Then you know ...

while "nosing around" the .inc file more, this comment caught my eye:

  MA_Terminal_T*
  Sends Text and/or variables to the terminal-window. Nice to have during
development of programming-tasks.
  Unfortunately povray doesnt know something about ...
  - optional parameters

would it not be a good idea to update your 'ma_helpers.inc' to version 3.8 ?
you'd get to use the new 'optional' keyword for macro arguments:
<https://wiki.povray.org/content/Reference:User_Defined_Macros#Optional_Parameters>


regards, jr.


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.