Ok it seems to work with 7.5.1, not sure whats up with other versions
One more thing, re-exporting the file from onshape fixes the issue in other versions as well.
Nope 7.6.2 doesn't seem to work, can you share your environment details i.e pyocc version and python version, its odd that it behaves differently on my machine
The whole code is too long, but this is what the issue gets reduced to
from OCC.Core.BRepMesh import BRepMesh_IncrementalMesh
from OCC.Core.TopLoc import TopLoc_Location
from OCC.Core.TopoDS import topods_Face
from OCC.Core.BRep import BRep_Tool
from OCC.Core.TopExp import TopExp_Explorer
from...
i plugged in same values to verify, it still shows those cones as untriangulated and yeah i am doing it on entire shape
BRepMesh_IncrementalMesh(
shape,
0.0533512,
False,
0.5,
True
)
do you do some preprocessing in Analysis Situs, apparently if you import it through pyocc and compute triangulation the cones as shown in the picture don’t get triangulated
I am working in python, however, it should be consistent with C++ as well, using Incremental mesh, i am unable to get triangulation for the cones as shown in the picture, however, two of these are triangulated. Would appreciate if someone could point me in right direction, apparently, shape...
I want to check what faces are accessible from a given direction for a solid. I have seen fusion360 has such an option and it is quite accurate. I was wondering how the same can be achieved in opencascade
I have used HLR do project visible edges, but the getting outer loop from those is not well documented, or perhaps my ability to do is limited, i do have few parts where a tons of edges are projected on a plane and intersecting at multiple sections. What would be the best way to do it.