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.
I came here to say this. OCC is pretty intimidating for newcomers, especially those like me that haven't touched software development in over 5 years. These videos have been a life-saver. I got to the point where I could write simple shapes to STEP files, but I hit a wall with the documentation when I wanted to go further (add colour) and realized that I needed to learn about XDE and OCAF.
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.
Yes, you can build commercial software using OpenCascade. OpenCascade is licensed under LGPL license terms considered as a "good" license (unlike GPL that "infects" your product to be GPL as well).
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..
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!
Hello Илья, Have you tried the approach demonstrated in this video? Here is the link to the particular episode: ruclips.net/video/dq2-evewPeA/видео.html
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)
You can use Draw console for that. E.g.: pload ALL Open C:/users/serge/desktop/doc.xbf doc DFBrowse doc XShow doc Feel free to join our forum which is a better place to discuss things: analysissitus.org/forum/index.php
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 ?
For something like CAD Builder you'd need Qt for UI, FreeCAD's PlaneGCS for a constraint solver, OpenCascade for visualization, data model (OCAF), and modeling, and also Python for scripting. These are more or less principal dependencies. If you want to build something nice looking, given that you've got tons of time/money, you can also consider Qt/Qml which is way more flexible than Qt Widgets for UI.
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.
Okay, there's one variable you have to set to make this work: Interface_Static::SetIVal("write.stepcaf.subshapes.name", 1); Having this variable enabled, you can attach names with TDataStd_Name to the subshape labels. #145 = ADVANCED_FACE('front-face',(#146),#83,.T.); gitlab.com/ssv/lessons/-/blob/master/Lesson15_compose-XDE/main.cpp#L31 gitlab.com/ssv/lessons/-/blob/master/Lesson15_compose-XDE/main.cpp#L220
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 ❤️
Looks like my previous reply was lost, so I'll try to repeat it. If put in short, what you're asking is doable. For that, you'll need to use STEPCAFControl_Reader for transferring .Step file to OCCT document called TDocStd_Document, then iterate through it gathering labels representing the solids you're interested in and then contract TopoDS_Shapes and output them to .Step files utilizing STEPControl_Writer.
You might want to consider sharing the .Step file with us so that we could prepare the video exploring your point. You might contact us by e-mail (see "About" section) or in the forum (see the link under the description to videos).
@@juliaslyadnevaquaoarstudio6068 ty so much for the reply, unfortunately I am not allowed to share the file. Keep up with the great work, this channel is unique and it will keep on growing as the training material on occt is very limited online. I so appreciate the tips in the previous post. Thank you
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.
Thanks, I appreciate that. Such feedback keeps me motivated :)
I came here to say this. OCC is pretty intimidating for newcomers, especially those like me that haven't touched software development in over 5 years. These videos have been a life-saver. I got to the point where I could write simple shapes to STEP files, but I hit a wall with the documentation when I wanted to go further (add colour) and realized that I needed to learn about XDE and OCAF.
Hello, please tell me. How to create and save the cylinder shell, i.e. to have the top and bottom open, just one side surface
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.
Yes, you can build commercial software using OpenCascade. OpenCascade is licensed under LGPL license terms considered as a "good" license (unlike GPL that "infects" your product to be GPL as well).
@@QuaoarWorkshop Thank you very much!!!
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..
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!
Hello Илья,
Have you tried the approach demonstrated in this video? Here is the link to the particular episode: ruclips.net/video/dq2-evewPeA/видео.html
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)
You can use Draw console for that. E.g.:
pload ALL
Open C:/users/serge/desktop/doc.xbf doc
DFBrowse doc
XShow doc
Feel free to join our forum which is a better place to discuss things: analysissitus.org/forum/index.php
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 ?
For something like CAD Builder you'd need Qt for UI, FreeCAD's PlaneGCS for a constraint solver, OpenCascade for visualization, data model (OCAF), and modeling, and also Python for scripting. These are more or less principal dependencies. If you want to build something nice looking, given that you've got tons of time/money, you can also consider Qt/Qml which is way more flexible than Qt Widgets for UI.
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.
That should be possible, but I have to check it in the code. Will come back to you soon.
Okay, there's one variable you have to set to make this work: Interface_Static::SetIVal("write.stepcaf.subshapes.name", 1);
Having this variable enabled, you can attach names with TDataStd_Name to the subshape labels.
#145 = ADVANCED_FACE('front-face',(#146),#83,.T.);
gitlab.com/ssv/lessons/-/blob/master/Lesson15_compose-XDE/main.cpp#L31
gitlab.com/ssv/lessons/-/blob/master/Lesson15_compose-XDE/main.cpp#L220
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 ❤️
Looks like my previous reply was lost, so I'll try to repeat it. If put in short, what you're asking is doable. For that, you'll need to use STEPCAFControl_Reader for transferring .Step file to OCCT document called TDocStd_Document, then iterate through it gathering labels representing the solids you're interested in and then contract TopoDS_Shapes and output them to .Step files utilizing STEPControl_Writer.
You might want to consider sharing the .Step file with us so that we could prepare the video exploring your point. You might contact us by e-mail (see "About" section) or in the forum (see the link under the description to videos).
@@juliaslyadnevaquaoarstudio6068 ty so much for the reply, unfortunately I am not allowed to share the file. Keep up with the great work, this channel is unique and it will keep on growing as the training material on occt is very limited online. I so appreciate the tips in the previous post. Thank you