Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-22 Thread Bartek Skorupa (priv)
In one of the previous posts I explained what I do to get proper relation between parent and child and not to lose the position, rotation and scale of the child at the moment of parenting. The script that I use does this: 1. Stores the current world matrix of the child. 2. Makes parent without

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Bartek Skorupa (priv)
Hi everyone, I'd like to discuss the issue that I encounter every time I want to make a simple parenting structure of objects: Let's parent object A to object B. Select A, then select B, and hit Ctl-P. Here's what happens: A didn't change its visual transformations, it stayed exactly where it

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Antony Riakiotakis
Maybe some way to display/tweak the local transform would solve this? ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Martin Bürbaum
From a user perspective I agree with your assertion. For a possible solution I'd suggest something like a [Global | Local] switch in the Transform dialog(s). That should be pretty universal. I'm not sure if this is easily possible from the programming side though. Best regards, Martin

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Remigiusz Fiedler
Hi Bartek, there is a non-exposed(a shame!) feature in parenting routine: For non-inverse-mode press Shift-Ctrl-P instead. This creates an alternative parent-child-relationship where child-objects exist entirely in parent coordinate system. This is the better choice for CAD purposes for example.

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Remigiusz Fiedler
oops, haven't read your post to the end There is of-course the option to parent objects using Shift-Ctl-P. This creates proper relation between A's transform properties and its visual transformations, but it as well moves A to B's location and it's not always the desired result.

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Bartek Skorupa (priv)
In order to get proper parenting I use a little script: active = bpy.context.active_object selected = boy.context.selected_objects for c in selected: if c =! active: m = c.matrix_world c.parent = active c.matrix_world = m This gives me

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Bartek Skorupa (priv)
Yes, yes, I know… I made a mistake: it should be: if c != active: :-) Bartek Skorupa www.bartekskorupa.com On 21 wrz 2012, at 11:49, Bartek Skorupa (priv) bartekskor...@bartekskorupa.com wrote: In order to get proper parenting I use a little script: active = bpy.context.active_object

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Bassam Kurdali
What i would like to see here is stack based (modo) or nodal (maya) transforms- that way you could: expose inverse parent transform get rid of hard coded dx dy dz transforms expose constraint offset transforms, and simplify constraints expose child of constraint freeze transforms ala maya by

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Dima Glibitsky
+1 to Bassam Kurdali's proposal :-) ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Nathan Vegdahl
A transform stack has got my vote. :-) Realistically that's probably still a ways off, though. As for the current behaviour, if you: ctrl p then ctrl alt p - clear inverse parent i believe you'll have what you want. Not sure if there is an operator that just does that It wouldn't be hard

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Remigiusz Fiedler
2012/9/21 Bassam Kurdali bas...@urchn.org: As for the current behaviour, if you: ctrl p then ctrl alt p - clear inverse parent i believe you'll have what you want. no, unfortunately not - it produces different results ___ Bf-committers mailing list

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Remigiusz Fiedler
As for the current behaviour, if you: ctrl p then ctrl alt p - clear inverse parent i believe you'll have what you want. no, unfortunately not - it produces different results I roll it back - this works! but parenting with shift ctrl p produces not exactly what we (CAD people) need: it

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Bartek Skorupa (priv)
Ctl-Alt-P ?? When I hit it I get a warning: Can only make proxy for a referenced object or group What do I miss? Bartek Skorupa www.bartekskorupa.com On 21 wrz 2012, at 17:06, Nathan Vegdahl ces...@cessen.com wrote: A transform stack has got my vote. :-) Realistically that's probably

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Remigiusz Fiedler
no ctrl needed, it is alt p - clear inverse parent 2012/9/21 Bartek Skorupa (priv) bartekskor...@bartekskorupa.com: Ctl-Alt-P ?? When I hit it I get a warning: Can only make proxy for a referenced object or group What do I miss? ___

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Bassam Kurdali
many apologies of course it's only alt-p the same hotkey for unparenting. On Fri, 2012-09-21 at 20:37 +0200, Bartek Skorupa (priv) wrote: Ctl-Alt-P ?? When I hit it I get a warning: Can only make proxy for a referenced object or group What do I miss? Bartek Skorupa

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Bartek Skorupa (priv)
Thank you. However we are only half way there. It solves the major issue as we at least don't have weird properties of the child. The question still remains: How to make a parent such that the child stays at it's current location, rotation and scale, but the values of loc/rot/scale change. This

Re: [Bf-committers] Make Parent - shouldn't it work differently?

2012-09-21 Thread Bassam Kurdali
I don't think it should happen by default. it could be especially nasty for animation data, linked data, etc. Also it doesn't store as much information (the relationship between child and parent at the time of parenting) which could come in handy later. However, it is not hard to do! You need for