Utility to inspect OpenCascade models
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Utility to inspect OpenCascade models
Guys, just let me share my research project for inspecting B-Reps and prototyping geometric algorithms: http://analysissitus.org
Here is a paper we presented at CG conference this year: https://www.researchgate.net/publicatio ... penCascade
I use the software daily to prototype geometric modeling algorithms and to inspect B-Rep models. Hope you will find it interesting. Any feature requests are welcome.
Here is a paper we presented at CG conference this year: https://www.researchgate.net/publicatio ... penCascade
I use the software daily to prototype geometric modeling algorithms and to inspect B-Rep models. Hope you will find it interesting. Any feature requests are welcome.
Last edited by Quaoar on Sat Oct 13, 2018 2:07 pm, edited 3 times in total.
FOSS CAD model inspection utility and prototyping framework: http://analysissitus.org
- tanderson69
- Veteran
- Posts: 1619
- Joined: Thu Feb 18, 2010 1:07 am
Re: Utility to inspect OpenCascade models
congratulations. This looks like a great project. I look forward to using it in the future.
I read your paper and one thing in particular caught my eye.
I read your paper and one thing in particular caught my eye.
I am a big fan of the face removal functionality. So much so, that I spent some time developing similar functionality. Algorithm is basically a sloppy prototype, but I have had some success with simple parts. Here are some screen dumps from open shell models turned into solids.Likewise, [Seo et al. 2005] base their
algorithm on Parasolid kernel which offers an advanced face removal operator
Re: Utility to inspect OpenCascade models
Looking Good would be a nice future feature!!tanderson69 wrote: ↑Sat Jul 29, 2017 12:14 pm I am a big fan of the face removal functionality. So much so, that I spent some time developing similar functionality. Algorithm is basically a sloppy prototype, but I have had some success with simple parts.
Re: Utility to inspect OpenCascade models
Thanks for checking the tool. I will continue working on it.
Can you share some details? Like, is it available in FreeCAD, which papers you read/published? Your screenshots look promising!tanderson69 wrote: ↑Sat Jul 29, 2017 12:14 pm I am a big fan of the face removal functionality. So much so, that I spent some time developing similar functionality.
FOSS CAD model inspection utility and prototyping framework: http://analysissitus.org
- tanderson69
- Veteran
- Posts: 1619
- Joined: Thu Feb 18, 2010 1:07 am
Re: Utility to inspect OpenCascade models
No. For me, experimenting with occt inside of freecad is just too slow.
The link you provided is the first paper I have seen on the subject. I am not sure what the proper nomenclature is, so I don't think I spent much time looking.
I didn't show the ones that fail.

Re: Utility to inspect OpenCascade models
Can you expand why you need this face removal operation? Are you preparing your CAD to CAE or what?
FOSS CAD model inspection utility and prototyping framework: http://analysissitus.org
- tanderson69
- Veteran
- Posts: 1619
- Joined: Thu Feb 18, 2010 1:07 am
Re: Utility to inspect OpenCascade models
I can see that as a use case, but CAE really wasn't a consideration when I was working on it. I was thinking more of a general modeling feature. I used this functionality inside UG for years. Not all day every day, but enough that I miss it. Here is a scenario where it would be useful.
Consider the following picture, where a model has been imported into a software via step.
Now you decide that the radius is too small and you want to enlarge it. This model has no history, so you can't just edit a parameter and update. Here you run the super magic face removal command and get a model that doesn't have a radius.
Now you can simply add the radius you want.
Sorry to hi-jack your thread. We can move this conversation to another thread or venue if you want.
Re: Utility to inspect OpenCascade models
Looks awesome! I have little experience with SpaceClaim which offers similar functionality through ACIS. Have you implemented this algorithm based on Euler operators? Do you have a repository for your algorithm?
FOSS CAD model inspection utility and prototyping framework: http://analysissitus.org
- tanderson69
- Veteran
- Posts: 1619
- Joined: Thu Feb 18, 2010 1:07 am
Re: Utility to inspect OpenCascade models
I might have misled you. The scenario I laid out in the preceding post was just a 'use case' example . I did NOT use my algorithm on that model in the pictures.
Don't know anything about euler operators, so no
No I don't. It is currently intertwined with a couple of other personal projects, so it is not easy to separate. I really haven't done anything elegant. The basic process.
find open boundary.
intersect geometry of all boundary faces to curves.
intersect all curves to vertices.
use Euler characteristic to eliminate invalid curves and vertices until 1 solution for each boundary face.
Here is a reference picture and I have attached the svg it was created from.
- Attachments
-
- openBoundConceptGraph3.svg
- (143.81 KiB) Downloaded 176 times
- tanderson69
- Veteran
- Posts: 1619
- Joined: Thu Feb 18, 2010 1:07 am
Re: Utility to inspect OpenCascade models
I finally took a little time to check out your project. I was disappointed it is basically windows only.