CadQuery / CadQuery/cadquery

STEP to GLTF: auto rotate x=90 degrees. Why?

Open
#1,827 6 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

Hi, i have been using CadQuery for the past year, and the STEP-to-GLTF conversion has consistently worked correctly with matching orientations between the two formats. However, over the last month, I noticed that during the conversion process, the model is now being rotated by 90 degrees around the X-axis. This issue started recently, even though there were no changes to my code or workflow. Now use 2.5.2. Why?

Steps to Reproduce:
Load a STEP file using CadQuery.
Export the model to GLTF format.
Observe that the orientation of the model in the GLTF file is rotated by 90 degrees around the X-axis compared to the original STEP file.

Environment:
CadQuery Version: 2.5.2
Python Version: [3.12 Python version]
Additional Dependencies: [trimesh]

Thank you!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.