lalboard icon indicating copy to clipboard operation
lalboard copied to clipboard

Generate parts on Linux without Fusion360

Open Baehn opened this issue 1 year ago • 9 comments

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: )

Baehn avatar May 11 '23 09:05 Baehn

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

JesusFreke avatar May 11 '23 20:05 JesusFreke

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

JesusFreke avatar May 11 '23 20:05 JesusFreke

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

claussen avatar May 11 '23 21:05 claussen

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

JesusFreke avatar May 11 '23 21:05 JesusFreke

Too late to the short username party here 😅

morganvenable avatar May 11 '23 22:05 morganvenable

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

claussen avatar May 11 '23 22:05 claussen

@morganvenable: are your parts available somewhere?

Baehn avatar May 12 '23 12:05 Baehn

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

scruper avatar May 13 '23 14:05 scruper

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: @.***>

morganvenable avatar May 13 '23 15:05 morganvenable