tag:blogger.com,1999:blog-3285677929777490656.post8754679554607610905..comments2023-10-31T13:16:01.375+03:00Comments on Open CASCADE notes: Adding colors and names to your application. Part 2Roman Lyginhttp://www.blogger.com/profile/18338419158437898791noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-3285677929777490656.post-65818894088114956142011-08-11T20:42:25.752+04:002011-08-11T20:42:25.752+04:00Hi Franz,
Thanks for the question. Yes, I saw it o...Hi Franz,<br />Thanks for the question. Yes, I saw it on the forum, and it's better to stay there to have single-thread discussion.<br />Indeed, you need to set environment and in particular CSF_PluginDefaults variable as this GUID you refer to belongs to the file src/StdResource/Plugin.<br />HTH<br />RomanRoman Lyginhttps://www.blogger.com/profile/18338419158437898791noreply@blogger.comtag:blogger.com,1999:blog-3285677929777490656.post-59585728910095364742011-08-10T15:31:35.367+04:002011-08-10T15:31:35.367+04:00Hi Roman,
I read your description and tried it by...Hi Roman,<br /><br />I read your description and tried it by my self. But I have a problem, that is already disused in the OCC forum. But I don't understand how I should solve this. I work with Linux and I get the error "could not find the resource:a148e300-5740-11d1-a904-080036aaa103.Location" from this Line:<br />Handle(TDocStd_Application) anApp = XDEApp::GetApplication();<br /><br />I wrote your answer in the forum: http://www.opencascade.org/org/forum/thread_15610/<br /><br />But I don't understand what this means. I have no one of this env vars. I work with qtcreator and set the lib-search-path by my selfe. The code from your description I wrote to a simple *cpp and *.hxx file. <br />Could you help me. I'm a little bit despaired.:-((<br /><br />Best regards,<br /> Franz EngelAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3285677929777490656.post-86333148253182173582010-04-09T09:39:38.622+04:002010-04-09T09:39:38.622+04:00hi Roman,
I have got the tree heirachy as shown in...hi Roman,<br />I have got the tree heirachy as shown in the above figiure using DFD browser when reading one step/Iges file.<br />But when I read with next step/Iges file, I could not see the color and layer structure of the next file.<br />Is my expection of getting similar tree structure for next data too is right or wrong?<br />Is there any initialization necessary for next data, I couldnot understand nicely.<br />Hope to get some idea from you.<br />Thank you.Rajendrahttps://www.blogger.com/profile/15192997672490265049noreply@blogger.comtag:blogger.com,1999:blog-3285677929777490656.post-12588086265890576212009-06-24T09:20:55.138+04:002009-06-24T09:20:55.138+04:00Hi Fernando,
XDE is optional in a sense that you ...Hi Fernando,<br /><br />XDE is optional in a sense that you can do conversion of STEP, IGES, etc without it, if you prefer (e.g. you can still convert topology and geometry). It's part of Open CASCADE already, free of charge and licensed under the same license as the rest of the code. <br /><br />RomanRoman Lyginhttps://www.blogger.com/profile/18338419158437898791noreply@blogger.comtag:blogger.com,1999:blog-3285677929777490656.post-83301103794294624112009-06-24T06:27:58.431+04:002009-06-24T06:27:58.431+04:00Hi Roman,
First of all, thank you very much for yo...Hi Roman,<br />First of all, thank you very much for your efforts on sharing your OCC knowledge with us. The blog is really helpful!<br />I have one question regarding the use of XDE: In OCCT website it is stated that XDE is an OPTIONAL package. Does it means that I need to purchase a license in order to use the classes from STEPCAFControl? or are the XDE-packages being distributed under the same rules of the other packages of OpenCASCADE?<br />Best regards,<br />FernandoAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3285677929777490656.post-87013221895848418382008-12-03T21:09:00.000+03:002008-12-03T21:09:00.000+03:00Svetlozar,By XDE-compliance I meant that you need ...Svetlozar,<BR/>By XDE-compliance I meant that you need to assign XCAFDoc_DocumentTool attribute using XCAFDoc_DocumentTool::Set(), which internally will create a substructure of the labels. In addition, it will register the document in a global map (for further identification of the label the _DocumentTool has been assigned to).<BR/>After that it will be usable for importing IGES/STEP. You may use the structure and conventions suggested by XCAFDoc_ShapeTool (the way it marks up assemblies, components, subchilds, etc). Or use some mapping from your own subtree before exporting.Roman Lyginhttps://www.blogger.com/profile/18338419158437898791noreply@blogger.comtag:blogger.com,1999:blog-3285677929777490656.post-48752354559087310332008-12-03T00:24:00.000+03:002008-12-03T00:24:00.000+03:00Roman, could you explain what does it means XDE-co...Roman, could you explain what does it means XDE-compliance. Can I make my existing OCAF-structure XDE-compliant and what are the main prerequisites? Would be possible to import/export IGES/STEP files then? Has it anything to do with the model history?Anonymousnoreply@blogger.com