Jump to content

Keep attachment points and part groups


Recommended Posts

When you detach a group of parts or duplicate it, the only attachment ball that is kept is the one at the point the group is removed. This is getting very annoying as it prevents moving sections with sections or turning groups around and attaching by another point.

Link to comment
Share on other sites

Eeeeh, part trees something something...

It would require a lot more work than it seems.

Still, i guess it could generate the tree again from the new attachment point.

The group never looses the nodes. as soon as you reattach it, the points are back and you can add on from there. So it's not that they are really gone, it is that they are hidden from use.

Title ment to be points in part groups, not and.

Link to comment
Share on other sites

*ponder* Given the way symmetry parts work in the data model (represented as a single part definition with a symmetry label attached), I could see some fairly significant problems there - but otherwise it's as simple as re-rooting an n-tree. The parts you have are all nodes in the tree, with the root part at the top, then branching out to the parts attached to that, and so forth until you have all the parts in the group. To get a new root element, you take this tree, grab at the node you want to be the new root, and change its parent connection to a child one, then shift to the parent node, and repeat until your old root node is a descendant of the new root. Presto, you have a new parts tree with a different root, which you can then attach using the available nodes on the new root.

Radial attachment might be a bit more tricky. But using the same principle should be, at least, possible.

Link to comment
Share on other sites

It seems like it should be doable, because I've been able to manually do the same "part tree re-arrangement" thing that the OP wants to be able to happen automatically when I need to change where the "root" node is in a payload.

For example, I built a tiny ion engine + solar panels based Kethane scanning probe starting from an OKTO2 probe core. Then I built a rocket that could launch 6 of them at the same time. However, I needed to make the ion engine the "root" part instead of the probe core. It was really not that difficult, similar to taking an ordered vertical stack of blocks in (1-2-3-4-5) and re-stacking them so they end up in the opposite order (5-4-3-2-1). While it was a rather simple re-arrangement, it shows that it should be possible to do. After all, if I can do it without even needing to really think about it, it seems like it would not be that hard to get a computer to do it. Possibly use some sort of FIFO (first-in-first-out) buffer to help re-order the parts??

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...