3D Client Graphics - Assembly

3D Client Graphics - Assembly

Raider_71
Collaborator Collaborator
139 Views
2 Replies
Message 1 of 3

3D Client Graphics - Assembly

Raider_71
Collaborator
Collaborator

Hi all,

 

I need some pointers on how to create 3D Client Graphics in the assembly environment.

 

The idea is this:

  1. User selects a part occurrence face and edge in the assembly doc
  2. The app will then derive the occurrence and part document object from the proxy objects selected.
  3. The app now needs to show what the part feature extrusion will look like in the context of the assembly. This is the part that I am struggling with. Is how to create the visual of the Extrusion feature before its been created so that the user has an idea of where and what it will look like after creation.

What should the approach be with this?

I looked at the client graphics samples and help file, but could not see anything that could help me with this. ...unless I am missing something.

 

See my sample dwf file. The small red extrusion is what I would like to show the user after he has selected the bottom face of the rectangular part mated to the base part.

 

Any pointers would be greatly appreciated!

 

2025-03-11_12-04-33.png

0 Likes
140 Views
2 Replies
Replies (2)
Message 2 of 3

Ivan_Sinicyn
Advocate
Advocate

Indicate with arrows which face and which edge are selected. I don't understand why the extrusion area is several times smaller than any other edge in the sketch. Need more details to understand.

INV 2025.3
0 Likes
Message 3 of 3

Raider_71
Collaborator
Collaborator

Hi @Ivan_Sinicyn 

 

Thanks for replying!

 

Sorry, let me explain a bit more. The red portion is what my app will be extruding, which is a corner of the bottom of the rectangular extrusion's bottom face. The construction of the small rectangle on the bottom face I don't have a problem with. That is simple sketch geometry. I can also easily extrude the sketch and create the Extrusion feature. 

The issue is the user needs to know which corner the extrusion is on. There will be a choice of four corners, and the idea is that the app will pick the first corner (of the bottom face of that rectangular extrusion), show some graphics (the red portion in the image above) so the user can see what the feature will look like and on which corner it is. If not on the correct corner, the user can click or select another option to move to the next corner. The app should then update the graphics and move the graphics to the next corner and do this until the user is happy with the location, then he can press "Insert" or "Create" afterwhich the actual extrusion feature will be created in the location where the client graphics indicated it to be.

 

Does that make sense?

0 Likes