Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can I convert the step file into graph with 'shape.labeledShape' #1

Open
yanjiapi opened this issue Jun 3, 2021 · 3 comments
Open

Comments

@yanjiapi
Copy link

yanjiapi commented Jun 3, 2021

I use your code to convert the .step file into graph, buf failed.
I think the problem is "Import shape".
Can you provied the python package of "shape".
Thanks!

@AndrewColligan
Copy link

Hi, I have attached a version of the repo with the modules needed to run the graph converter within. You will need to install python-occ (https://github.com/tpaviot/pythonocc-core), the conda version works well. However the most recent version doesn't seem to come with PyQT if you are looking to view the STEP files, so that will need to also be installed. Hopefully it helps.
MFCAD-master.zip

@msm-prarthana-bataju
Copy link

msm-prarthana-bataju commented Jun 27, 2022

Hello Andrew,
I also tried to run your code. But I get the following error.
I had already installed pythonocc-core and other dependency but still it didn't work.

image

@gkrisp98
Copy link

hi @yanjiapi , have you find a solution to this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants