Lesson 15: Export OpenCascade assemblies to STEP with names and colors

preview_player
Показать описание
👀👇 This lesson explains how to compose a CAD assembly with the OpenCascade library using its OCAF/XDE framework. We then export the assembly with colors and names to a STEP file.

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

#opencascade #assemblies #cad #occt #cad #programming #3D #quaoar #cascade

✊ C O M M U N I T Y

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

⏰ T I M E S T A M P S

0:00 Introduction. OpenCascade XDE for assembly storing and export it to STEP format.
1:24 Clone lesson's sources.
2:02 How to initialize and populate TDocStd_Document. TDocStd_Application class.
4:00 Design and add a wheel shape to XDE document.
8:50 What is XCAFDoc_DocumentTool class.
11:00 Design and add an axle shape to XDE document.
14:00 How to add (sub-)assembly to XDE document.
16:30 How to create a compound. TopoDS_Compound class.
20:40 How to store XDE document (.xbf) to the disk.
22:05 How to inspect OpenCascade file's structure. OpenCascade DFBrowse tool.
23:35 Add a chassis assembly to XDE document.
26:30 How to export XDE to STEP format. STEPCAFControl_Writer class.
31:05 How to set the names to parts and assemblies in XDE document. TDataStd_Name class.
33:15 How to inspect OpenCascade file's structure in Analysis Situs.
34:36 Missing names for components. How to set the names to components.
36:45 How to set the colors to parts in XDE document.
38:45 How to inspect OpenCascade file's structure without any CAD viewer.
39:30 How to set the colors to sub-shapes in XDE document.
45:05 How to rotate the parts in OpenCascade. gp_Quaternion class.
Рекомендации по теме
Комментарии
Автор

Hello Quaoar,
Thank you very much for doing this video Series. Open Cascade is a very special topic and it is not that easy to find access to it. So thank you very much for that effort, it it highly appreciated by the few folks, that are interested in it.

tobi
Автор

Hi Sir, Thank you very much for this Open Cascade Video series. In Lesson15, I'm stuck with error "E0864 NCollection_DataMap is not a template". How to solve this Sir. Thank you Sir..

DheebikhaK
Автор

HI!
I like to thank you for all your effort and time related to OpenCascade usage! One important question: it is not clear to me if I can include the official OpenCascade Libraries in a commercial product. Let me know your opinion about that.

bioanu
Автор

Hello Quaoar,
Thank you for your`s videos. It helps me a lot in my current project. Also I would ask you for help. How can I setup color for TopoDs_Compound shape that was imported from STEP file ? I just want to open step file, perform some simple transformation and export it but with the custom color. Thank you!

Vinz
Автор

Hello! Give me please a little tip. Is there a way to read already saved xbf file in order to visualize a model? I want to do it in order to visualize a step model faster (I want to create a document based on the step model only once, save it in a folder and then just use this saved document in order to visualize the model)

czgguzy
Автор

Hi ! Thank you so much for this series, it helps a lot. I have a general question about OCCT : Is it possible to do "User friendly CAD" (with gui, tools, just like CAD Builder in the end) natively ? You have to use other frameworks right ? If so, what would you use ?

pierregarnier
Автор

Is there any way to add TDataStd_Name to Face Label and export it to STEP file? It seems that the tagname of ADVANCED_FACE(' ', (#18), #32, .F.) is always empty.

ustczzh
Автор

In a multipart STEP file, I've been trying to figure out how to open it and export one STP file per entity name in a vehicle design, is this doable?
#xx=MANIFOLD_SOLID_BREP('Foo1', #xx);
#xx=MANIFOLD_SOLID_BREP('Foo2', #xx);
etc

to Foo1.stp, Foo2.stp...etc
Thank you for the lessons ❤️

dominusevilne