I try to make a protective bellows and then add it to an assembly of a machine. The problem I have is whether I can stretch it or not by modifying the sketch followed by an update of the assembly so that the two components re-coincide but I would like to know if it is possible to have this compression/tension movement just by moving one component relative to the other without having to go through the sketch.
The only solution I can see would be to make the whole bellows in assembly with distance constraints so that it can move in this assembly and then when you put it in the other assembly you will have to make it flexible so that it follows the rest.
Do you mean breaking down the entire flexible part (black) into several components and then putting them together?
Otherwise for the moment I have found an alternative solution but not perfect, as soon as I move component 1 I just have to update the assembly (without touching the sketch) so that the bellows adapts to its new configuration.
You have to edit the sketch in the context of the assembly, add coincidental/collinearity relationships.
However, be careful, this means that your bellows is dedicated to this ASM. As I imagine that you only have a few positions, it seems to me wiser to make configurations in the asm and the room.
I managed to constrain the sketch to another component, but now I have another question: is it possible that the position update is done automatically?
The bellows does not automatically follow the movement of the carriage to which it is attached (see image), it returns to the correct position only after the assembly has been rebuilt.
- to have a part with external references that rebuilds automatically according to the assembly (warning: it doesn't work if on a drawing you have several views with different part geometries)
- make length configurations in your flexible room and assign the right length to each configuration: it's heavier but cleaner. This is what we use for O-rings (flexible parts with a single purchase reference / bill of materials but several shapes possible depending on their assembly).