sree314 / stepcvt

Generate STL files for 3D printing from STEP files
2 stars 0 forks source link

fix issue with cadsource assemblies #69

Closed AdiraBlumenthal closed 6 months ago

AdiraBlumenthal commented 7 months ago
Screenshot 2023-12-01 at 10 44 34 AM
Asai-Yume commented 7 months ago

I made some changes, let me know if the issue persists

Asai-Yume commented 7 months ago

@skriegsman Hi Sam, I need to know how to access a source in a project given args.step_path, please take a look at the code in source.py and the stepcvt script.

ymh1003 commented 7 months ago

I think I've fixed the issue in my commit c2bd033. At least now the commands related to the part class work. For testing, I assume that the stepfile resides in the tests directory.

skriegsman commented 7 months ago

@skriegsman Hi Sam, I need to know how to access a source in a project given args.step_path, please take a look at the code in source.py and the stepcvt script.

If you have project p then you can access CADsource objects in p.sources like....

for cs in p.sources: path = cs.path