JesusFreke / lalboard

A 3D-printed keyboard inspired by the DataHand
http://lalboard.com
Other
817 stars 56 forks source link

Generate parts on Linux without Fusion360 #18

Open Baehn opened 1 year ago

Baehn commented 1 year ago

Hello,

I would like to generate all parts (i.e. corresponding stl files) on my linux machine which also means that I don't have access to Fusion360. Is this possible? For example, I tried to run "parts/cluster/cluster.py" with "lalboard.Lalboard()" as a context but this is not working.

I also tried running "run()" in "parts/export_parts.py" but I get the following errors:

Running central_pcb_sketch
Traceback (most recent call last):
  File "/home/chbaeh/projects/cc2/parts/fscad/fscad.py", line 4466, in run_design
    setup_document(document_name)
  File "/home/chbaeh/projects/cc2/parts/fscad/fscad.py", line 4415, in setup_document
    for document in app().documents:
TypeError: 'Documents' object is not iterable

Traceback (most recent call last):
  File "/home/chbaeh/projects/cc2/parts/export_parts.py", line 75, in run
    if len(root().sketches) != 1:
TypeError: object of type 'Sketches' has no len()

(great work btw :smiley: )

JesusFreke commented 1 year ago

It's not possible, unless you're able to run fusion 360 in wine or in a VM or something.

JesusFreke commented 1 year ago

@claussen reimplemented the parts in onshape, and has been doing a lot of work on the design though

claussen commented 1 year ago

@JesusFreke , Looks like a fun project, but I think you are giving me credit for work done by someone else.

JesusFreke commented 1 year ago

oops, sorry about that! I meant @morganvenable. I believe he goes by claussen elsewhere, haha

morganvenable commented 1 year ago

Too late to the short username party here 😅

claussen commented 1 year ago

It's all good. Just want to ensure credit given where it's due.

Baehn commented 1 year ago

@morganvenable: are your parts available somewhere?

scruper commented 1 year ago

Is it worthwhile to reimplement 3D model generation with CadQuery? It might be much easier for newcomers to make adjustments. What do you think?

morganvenable commented 1 year ago

Not to me personally, but I bet someone would appreciate it. The fine details I've had to get into in procedural CAD would've been pretty hairy in SCAD, and configuration management is pretty heavy too. Any workflow that doesn't give live, direct editing of the geometry you're looking at would've multiplied my work effort and time by... 10x? Soooooo many little fiddly bits.

On Sat, May 13, 2023, 07:56 Alex @.***> wrote:

Is it worthwhile to reimplement 3D model generation with CadQuery? It might be much easier for newcomers to make adjustments. What do you think?

— Reply to this email directly, view it on GitHub https://github.com/JesusFreke/lalboard/issues/18#issuecomment-1546674248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGVYJUUDU4OPWHR7M67WDXF6OJJANCNFSM6AAAAAAX533QUA . You are receiving this because you were mentioned.Message ID: @.***>