allow assembly flexibility
Kai Knospe
like in catia v5/v6 we would like to use flexibility, in catia called flexible at instanciation
for example a suspension can have different states, fully expanded, collapsed and so on.
we make use of the very same suspension assembly several times in an assembly but in different states.
we need some kind of extension to give "the same" instance overriding transformations.
currently we put this to the draw override to draw the instance transformation different. (we do the same for coloring override).
having a general feature to support situation would improve performance.
Kai
0
Comments
I have implemented something similar years ago for swapping different LODs for blocks with different levels of tessellation based on zoom and entity size. The block definition for a bolt contained a number of different quality tessellation levels and depending on how close the block reference was to the camera, it drew a different mesh. Perhaps a similar approach could be implemented here. You could get fancy and add lazy loading so that only the meshes/entities for a state were loaded when needed. Luca wrote an article related to this but I can't find it. I think the article was how to have 3 different spheres and draw different ones depending on what you wanted to show. You keep the same block reference in the viewport, but change the block definition, or change the visibility of certain entities for each of the different states and then regen the block reference, or something along those lines.
This may or may not work for your situation.
Hi Damian,
there is maybe a misunderstanding, i don't want to display alternative geometry.
the target is to overload the same blockreference with different transformations. so if in instance is marked flexible it can be overloaded with an alternate transformation to display either "as delivered" or "as used"
as of es22 this overload on blockreference drawing is not possible so we have to calculate the transformations down to the geometry and apply it if parent has overloaded trafo.
Kai
Please sign in to leave a comment.