Dessia-tech / volmdlr

A python VOLume MoDeLeR computations-oriented with STEP support for import/export
GNU Lesser General Public License v2.1
28 stars 10 forks source link

step bounding_box weird position #1117

Closed MackJoly closed 12 months ago

MackJoly commented 12 months ago

Is the step the problem or do you have the same issue on other step

step_file = step.Step.from_stream(step_file_stream) volume_model = step_file.to_volume_model() volume_model.primitives[0].bounding_box.xmin

pgibertini commented 12 months ago

Hi @MackJoly It is a known issue. The pull request #1106 should solve this issue.

I have tried and have this result! {'xmin': 0.0, 'xmax': 2.2, 'ymin': -1.250000000102, 'ymax': 1.25, 'zmin': 0.0, 'zmax': 0.8, '_size': None, '_octree': None, 'name': ''}

MackJoly commented 12 months ago

Hi @pgibertini Thanks for the answer !