Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Announcing coordinates of prims

krisbfunk Vought
Registered User
Join date: 4 Nov 2007
Posts: 8
01-07-2008 09:04
I'm looking for a script, OR for information on what functions I'd need to use to get these coordinates from a prim that i created announced and into chat.. or a notecard:

* ProfileShape
* level of detail
* type
(Box, Cylinder, Prism, Sphere Torus, Tube, Ring .. or their respective values)
* position x, y, z
* rotation x, y, z
* size x, y, z
* cut x, y
* dimple x, y
* advancedcut x, y
* hollow
* hollowshape
* holesize x, y
* twist x, y
* topsize x, y
* topshear x, y
* taper x, y
* revolutions
* radiusoffset
* skew
* material
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
01-07-2008 09:12
Can't write to a notecard - LL will never change that..

For the rest of this, http://wiki.secondlife.com/wiki/LlGetPrimitiveParams is your friend, though I'm not sure what you mean for 'profile shape' and 'level of detail'.

edit: also, you can't get the params of a different prim in the link set - you can only get them for the prim your script is in.
krisbfunk Vought
Registered User
Join date: 4 Nov 2007
Posts: 8
01-07-2008 09:53
sweet, that should suffice. I will play around with that and see what i can come up with. Thanks!
Okiphia Anatine
Okiphia Rayna
Join date: 22 Nov 2007
Posts: 454
01-07-2008 10:04
From: krisbfunk Vought
sweet, that should suffice. I will play around with that and see what i can come up with. Thanks!

for position and rotation...

llSay(0, (string)llGetPos());
llSay(0, (string)llGetRot());




:P
_____________________
In-world, I am Okiphia Rayna. This account is an alt, and is the only account I currently have with payment info on-file due to some account cracking that took place. This is a security measure at present, and I may return to the forums as Okiphia Rayna at a later date.

If you need to reach me, IM Okiphia Rayna, not Okiphia Anatine
krisbfunk Vought
Registered User
Join date: 4 Nov 2007
Posts: 8
01-07-2008 10:09
the use of this would be to get the necessary values needed for prim.blender. So builds could be imported to prim.blender from SL.

if the values can be placed into a flat file, they could be imported into prim.blender after a simple conversion.. as prim.blender basically uses the same values as the in world build tools.