Lesson 12: CAD assemblies with OpenCascade

preview_player
Показать описание
👀👇 In this lesson, we discuss how to represent CAD assemblies using Hierarchical Assembly Graphs. To materialize the concept, we use OpenCascade XDE/OCAF framework. We explain the difference between parts, components, instances, prototypes, and subassemblies. We also look over the C++ exercise code that aims at visualizing assemblies using OpenCascade AIS Connected Interactive architecture.

If this course was helpful for you, please leave a like and subscribe 😊🙏

#opencascade #assemblies #xde #cad #occt #programming #3D #modeling #cascade

✊ C O M M U N I T Y

📚 R E A D

🔗 L I N K S · T O O L S

⏰ T I M E S T A M P S

0:00 The basic principles of CAD assemblies design. The hierarchical assembly graph (HAG).
8:45 How to address a single entity in a HAG.
10:05 OpenCascade XDE to store HAG with metadata as colors, layers, etc.
10:36 Learn more about HAG in our paper.
11:08 Deal with XDE in Analysis Situs.
11:43 Check a structure of assembly from STEP file in Analysis Situs.
15:53 Check the Lesson 12 code to program an assembly.
17:30 How to import STEP file with OpenCascade. STEPCAFControl_Reader class.
19:40 How to display CAD assembly with OpenCascade.
22:13 Overview XDE document structure.
24:43 How to check whether a label is an assembly node in XDE document. TDataStd_UAttribute attribute.
26:20 How to check whether a label is a reference node in XDE document. TDataStd_TreeNode attribute.
27:46 How to create a representable object for a part. XCAFPrs_AISObject class.
28:25 How to create the representable objects for the references to a part. AIS_ConnectedInteractive class.
31:11 How to apply colors from XDE document to a presentable object.
Рекомендации по теме
Комментарии
Автор

Cool thanks a lot very helpful for understand OCCT source code!

dzxxbj
Автор

Great video, very informative as always.

jonathanforget
Автор

It would be sol cool to create a video about displaying model treeView in Gtk or Qt

czgguzy
Автор

Great tutorial. Thank you very much for the efforts. I request you to please make a video on building Opencascade for webgl(emscripten) and android. Not much info is available for this over internet.

bhupiistersingh
Автор

Thank you so much for your help on the last video, the dockerfile worked perfectly after a few minor tweaks! Is there any chance you could create one for this video too? BTW This video is exactly what I've been trying to do, you're a genius!!!

Falcon
Автор

Thanks again, does the VTK visualization tooltik coming with OCCT allow to do such assembly rendering (connected shapes) or only AIS gives it out of the box ?

Draek
Автор

Is that your handwriting with a mouse or are you using a pen? Do you have any mouse recommendations?
Very interesting video!

frums
Автор

Thanks a lot for great video and very helpful. Is there any way to find the name of the solids for example I want to find Body1 and Body2.
#41=MANIFOLD_SOLID_BREP('Body1', #97);
#42=MANIFOLD_SOLID_BREP('Body2', #98);

mdewful