Python Forum

Full Version: Extracting hole-coordinates from a STEP-file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

This might not be 100% Python specific, but since I am writing the script in Python, I thought to post this here.

I am trying to create a script that extracts the cartesian coordinates of certain holes from a step-file. The step-file itself is a simple text-file, so its manipulation is not the issue. I am trying to figure how the coordinate system in the step-file works (especially how the zero point is defined/where it is located).

Are there maybe some existing Python libraries for this kind of data extraction?