pythonocc-core
pythonocc-core copied to clipboard
Python package for 3D geometry CAD/BIM/CAM
I think it's possible because TDF_Attribute No constructor defined ```python doc = TDocStd_Document("MDTV-CAF") # self.doc = TDocStd_Document(TCollection_ExtendedString("pythonocc-doc")) m_dimTolTool = XCAFDoc_DocumentTool.DimTolTool(doc.Main()) step_reader = STEPCAFControl_Reader() step_reader.ReadFile(step_filename) step_reader.Transfer(doc) root_labels = TDF_LabelSequence() m_dimTolTool.GetDimensionLabels(root_labels) if...
Hello, Thanks a lot for the amazing work! I'm currently using the following repository: https://gitlab.com/qub_femg/machine-learning/mfcad2-dataset/-/blob/main/README.md?ref_type=heads Is there anyone who is using the same repository and found a solution for fillet/round...
Hello there pythonocc community, I am new to this community and maybe what I am asking is really basic. However, I was not able to find any reference example for...
Hello, I am trying to parse a step file hierarchy with XCAFDoc. However, I found that some assemblies are not correctly recognized. For instance, here below [C-400-Shasi] is an assembly...
I’m wondering if anyone has tried to create a REST api that exposes functionalities from pythonocc. Something similar to what Rhino Compute does with Rhino and Grasshopper. I’ve quickly tried...
using python i am able to load and visualize a step file. What i want to do is to get the smallest distance between the biggest face of the model...
Dear community: I used the script you provided to successfully convert the iges format model to stl #1312 But when I imported the stl model into the model editing software,...
So I know with a software like Analysis Situs, I can construct an AAG of a CAD file and dump it in a JSON file. I want to know if...