POV-Ray : Newsgroups : povray.unofficial.patches : Mechsim "group" question : Mechsim "group" question Server Time
2 May 2024 08:20:13 EDT (-0400)
  Mechsim "group" question  
From: Sabrina Kilian
Date: 5 May 2006 12:16:23
Message: <445b7a57$1@news.povray.org>
Is it possible to use translate or rotate commands on a group of mass
and connection objects? And is there a logical way to #declare a group
and reuse it (through translate or rotate) in the topology block? I
guess if the first is no, then the second question is moot. I've tried
searching the newsgroup and google, and come up with nothing. Looking at
the mechsim.inc seems that all the macros just create the masses and
connections in place, and doesn't move them afterward, but that doesn't
seem to mean the same thing as 'not possible' when just reading the file.

I have a set of loops I wrote to draw a small piece of chainmaile. About
  10 tori [1] in a small connected array. I created a group of mass and
connections that should, I hope, mimic the way metal would behave. I'm
trying to find a way to just reuse a single group object by rotating and
translating it, instead of writing a seperate group statement for each
different ring. I suppose the obvious answer is to write a torus
creation macro with the rotation and translation built in, but I don't
care for trig so I'm hoping someone else has another way to do it.

Thanks for any advice, pointers, or other bits of wisdom about mechsim!

[1] 10 tori for the test and placement, it will be more in the final image.


Post a reply to this message

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