bschwind / opencascade-rs

Rust bindings to the OpenCascade CAD Kernel
GNU Lesser General Public License v2.1
97 stars 18 forks source link

Add a Gridfinity example #102

Open bschwind opened 1 year ago

bschwind commented 1 year ago

Reference

This would serve as a great base part to both show off the API, and act as a base for any parts you'd want to make which integrate with gridfinity.

zignig commented 1 year ago

going to have a go at this one.

zignig commented 1 year ago

ref https://gridfinity.xyz/specification/

bschwind commented 1 year ago

@zignig please do!

zignig commented 1 year ago

it's a start. plate

bschwind commented 1 year ago

@zignig looking great! Did you export to blender and raytrace it?

zignig commented 1 year ago

Yes, blender is great. I need to port part of the cqparts code base across so I can automagically generate blender renders.

FYI , the code so far is here. https://github.com/zignig/cascade_rs_investigations/tree/main/gridfin , I will write up my findings in the discussions, as there are some observations I have about the ergonometrics of the rust interface.

zignig commented 1 year ago

mmm nice. gridfin

bschwind commented 1 year ago

@zignig very nice!!

You're making me want auto-exports to blender even more now.

Combined with rendering from the CLI, we could have CI generate nice looking renders for pull requests. That would be cool

zignig commented 1 year ago

https://github.com/cqparts/cqparts_webapi/blob/master/blender/base_test.py