Roof trusses

Show off your FreeCAD projects here!
johnwang
Posts: 42
Joined: Sun Jan 27, 2019 12:41 am

Roof trusses

Postby johnwang » Sat Mar 02, 2019 4:46 am

Hi,

I wrote a python script to draw this. Just extrude from polygon. Total 1290 objects.

Is there someone else work in this area? Like to chat.

Regards,

John

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13528 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 5c3f7bf8ec51e2c7187789f7edba71a7aa82a88b
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Attachments
truss.PNG
truss.PNG (104.65 KiB) Viewed 4201 times
Last edited by johnwang on Sun Mar 03, 2019 9:50 am, edited 1 time in total.
User avatar
Kunda1
Posts: 5923
Joined: Thu Jan 05, 2017 9:03 pm

Re: Roof trusses

Postby Kunda1 » Sat Mar 02, 2019 6:05 pm

Awesome. Can you share the macro?
Also please post your Help>About FreeCAD>Copy to clipboard info in the first post. Thanks!
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
-alex-
Posts: 245
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Roof trusses

Postby -alex- » Sat Mar 02, 2019 6:37 pm

wow, impressive! How much time of computation for such kind of model? How about RAM consumption?
User avatar
yorik
Site Admin
Posts: 11577
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: Roof trusses

Postby yorik » Sat Mar 02, 2019 10:13 pm

Excellent! That could be useful to many people and easily become a full-fledged freecad tool... That hardest part you apparently have done already :)
Mind to share the script?
David_D
Posts: 37
Joined: Fri Jun 29, 2018 6:43 am

Re: Roof trusses

Postby David_D » Sat Mar 23, 2019 10:40 pm

johnwang wrote:
Sat Mar 02, 2019 4:46 am
Hi,

I wrote a python script to draw this. Just extrude from polygon. Total 1290 objects.

Is there someone else work in this area? Like to chat.
I'm also very interested in this work, and seeing your source code. This looks fantastic. I've been working on a timber framing workbench here. It's absolutely not ready to be called version 1.0 yet, but it's getting there.
paullee
Posts: 1827
Joined: Wed May 04, 2016 3:58 pm

Re: Roof trusses

Postby paullee » Sun Mar 24, 2019 3:04 am

Glad to see there is more joint effort in this feature also ! :)
User avatar
bernd
Posts: 8472
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Roof trusses

Postby bernd » Sun Mar 24, 2019 10:05 am

@jonwang: what do you do with the model? or what is the model for?
johnwang
Posts: 42
Joined: Sun Jan 27, 2019 12:41 am

Re: Roof trusses

Postby johnwang » Wed Mar 27, 2019 10:29 am

bernd wrote:
Sun Mar 24, 2019 10:05 am
@jonwang: what do you do with the model? or what is the model for?
For production.
johnwang
Posts: 42
Joined: Sun Jan 27, 2019 12:41 am

Re: Roof trusses

Postby johnwang » Wed Mar 27, 2019 10:36 am

David_D wrote:
Sat Mar 23, 2019 10:40 pm

I'm also very interested in this work, and seeing your source code. This looks fantastic. I've been working on a timber framing workbench here. It's absolutely not ready to be called version 1.0 yet, but it's getting there.
I am interested in making a timber framing workbench.
User avatar
bernd
Posts: 8472
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Roof trusses

Postby bernd » Wed Mar 27, 2019 3:40 pm

johnwang wrote:
Wed Mar 27, 2019 10:29 am
bernd wrote:
Sun Mar 24, 2019 10:05 am
@jonwang: what do you do with the model? or what is the model for?
For production.
what does it mean? Do you do drawings out of your modell or do you export to another format or what else. Means how do you get from the FreeCAD modell to production?