Grzegorz Krzemien Posted June 28, 2023 Share Posted June 28, 2023 Hi all, I've tried to create a network that distributes symbols along path, but at the same time it also places them on the DTM. I created a simple node to place objects on a DTM and whole network works fine until I try to covert this network into Marionette Object. For a path I tried to use Control Geometry node, but it looks like this node always moves selected object to the origin using centre (weight) point as a reference. As a result whole network does not read actual location (XYZ values) of the selected object, but it calculates all further operations using relocated to the origin values. As a result I cannot get the proper distribution on the DTM, since DTM is not located in the origin. Picture A1 - base result. Only 2 last objects are moved on the DTM, but with wrong Z values. Picture A2 - result when Marionette object is moved to the origin. It clearly shows that only the last 2 object are "on" the DTM, with correct Z values, which indicates what I've mentioned above - network uses relocated path instead of real location. Obj on DTM.vwx Quote Link to comment
Marionette Maven Marissa Farrell Posted June 28, 2023 Marionette Maven Share Posted June 28, 2023 Use the Marionette Object node (previously Parent PIO/PIO Handle) within your network and get the coordinates of that. That returns the location of the Marionette Object on the drawing area. Let me know if you need more guidance. Quote Link to comment
Grzegorz Krzemien Posted June 28, 2023 Author Share Posted June 28, 2023 @Marissa Farrell I think I'll need some guidance. I'm not really sure how to use Marionette Object node in this case. Quote Link to comment
Grzegorz Krzemien Posted June 29, 2023 Author Share Posted June 29, 2023 @Marissa Farrell Hi. I tried to read some data, as I understood what you wrote. Unfortunately, it does not work or I don't really understand how it works. I tried to read gravity point of a relocated Marionette object and expected that 3D point of the Marionette Object will be different than the base control geometry. Quote Link to comment
Marionette Maven Marissa Farrell Posted August 18, 2023 Marionette Maven Share Posted August 18, 2023 @Grzegorz Krzemien Sorry for taking so long. Here's a file that helps to align your symbols with the points on your control geometry. It still doesn't appear to be dropping the points to the height of your DTM, I'd advise a node that uses DTM6_GetZatXY instead of SendToSurface. Hope this helps! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.