1
$\begingroup$

I've successfully created a little "pointed cube" object with geometry nodes - a cube with a pointed "roof", where the roof height is controlled by the node setup: pointed cube nodes

so there is an input field "tipheight" that I can use to change the shape of the pointed cube.

Now I'd like to use this object as an instance, scattered across a a plane, and with the roof height randomized from instance to instance.

So in my plane I have a simple node setup where I do a point distribute and then use the point instance node to instantiate pointed cubes. But I don't see how to randomize "tipheight" for the instances.

  • I tried simply using the attribute randomize to set an attribute "tipheight" but it didn't work.
  • I've tried various other geometry nodes to find one that could affect the instance's input property (custom object property? I'm not sure about the terminology, sorry)

Is this kind of manipulation of sub-instance properties possible?


Blend file

$\endgroup$
3
  • $\begingroup$ it would be nice if you could provide your blend file so we don't have to reproduce ourselves everything.... $\endgroup$
    – Chris
    Jun 7 at 5:06
  • 1
    $\begingroup$ I don't know if it's possible since it's a custom property on the object, and geometry nodes modify geometry data blocks. Have you considered using a shape key and vertex groups for that ? $\endgroup$
    – Gorgious
    Jun 7 at 6:18
  • $\begingroup$ Thanks for the responses - I've added my .blend file. I am looking for how to set an object's custom property. The goal is to build objects with many custom properties that can then be reused in many places, and their users (the point-distribute of some other .blend file) can manipulate them with attributes. I hope. $\endgroup$
    – KevinS
    Jun 7 at 16:30
0
$\begingroup$

it is possible with this setup (i have two objects, roof + house):

enter image description here

result:

enter image description here

and i would really appreciate if you post your blend file to make the life for us who want to help easier and less time consuming. You want help, right? so please make our life easier because we solve your problems. Thank you.

and if you improve this a bit you will get this:

enter image description here

video tutorial: https://youtu.be/N0dNAtggfDU

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.