SiloCityLabs / Cuttlephone

Phone case generator - Joycon and Junglecat rails for 3D printing
https://silocitylabs.github.io/Cuttlephone/
Creative Commons Attribution Share Alike 4.0 International
5 stars 2 forks source link

port case to a different code CAD #3

Open maave0 opened 3 years ago

maave0 commented 3 years ago

I'm tired of OpenSCAD. BOSL2 makes it tolerable but I'm hitting polygon limits and customization limits. OpenSCAD doesn't plan on allowing customizable customizer UI. Find something else. The parameter input should be very simple for new users.

CadHub community will have some ideas https://learn.cadhub.xyz/blog/curated-code-cad/

CadQuery looks good. Similar to OpenSCAD, it's a 3d model scripting language, but using Python with all that Python library support and a nice GUI. Supports STEP export for easy use in other CAD tools. https://www.youtube.com/watch?v=lxhBNOE7GVs&feature=youtu.be https://github.com/CadQuery/cadquery https://docs.conda.io/en/latest/miniconda.html I'm having environmental issues with miniconda. I'll come back to this.

FreeCAD (realthunder branch) is also a possibility. The branch supports parameter sets. Not sure about the build workflow but scripting is available. https://www.youtube.com/watch?v=fXoRAYv1wHQ

Cascade Studio, another 3d modeling programming language. It uses the Open Cascade kernel, what FreeCAD uses. Runs in the browser, codes in javascript, definable GUIs. Might be cool. https://github.com/zalo/CascadeStudio https://github.com/raydeleu/CascadeStudioManual

maave0 commented 2 years ago

Miniconda is working now and I can install CadQuery. I'll give it a test run soon.

edit: CadQuery is ok but a little confusing to program. I have not gotten the hang of it. It does look possible to input parameters: https://github.com/CadQuery/cq-cli/blob/main/cq-cli.py

maave0 commented 2 years ago

testing CascadeStudio. The definable UIs look good. I could figure out a build system with JS. Needs:

I see the variables in the JSON. It looks possible.

image image

maave0 commented 2 years ago

CadHub is cool an supports a couple different languages including OpenSCAD. I could offer this as web UI. Needs:

They may add parameter sets and fonts. Libraries are possible but they're discussing implementation. Multiple files may also come later.

image

image