Group orientation showing incorrectly (Resolved)

This plug-in uses the 3DC Scene Graph rather than the 3DC Scripting. When using the 3DC Scene Graph, you need to check that a shape is actually a ‘shape’ rather than something else via GetRepresentativeEntityType. Your plug-in was actually transforming the ‘group’ shape itself, which is why it seemed so strange.

After running my orient to edge plugin (which aligns the group Z axis along the selected edge without changing it’s position)

I then reverted the group rotational properties to 0,0,0 but the group axis still showed the old orientation.

Saving and reloading the model corrected this.

Does this still happen? November 17th was a while ago, and a lot has changed.

How about now? <!– s:) –><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /><!– s:) –>

I tried to reproduce this, but I couldn’t get the plug-in to work. Maybe a bug in the plug-in?

Still happening.

Add a cylinder to the scene,
select a top edge at an angle to the main axes,
run plugin.

The shape bounding box appears oriented in the same direction as the edge selected, but the group axis is still pointing along the main axis.

Saving and loading shows all correct.

Very interesting bug.

Can you send me the source? Nothing springs to mind that might be causing this.

You must be logged in to reply in this thread.

8 posts