Roof trusses

Show off your FreeCAD projects here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
johnwang
Veteran
Posts: 1345
Joined: Sun Jan 27, 2019 12:41 am

Roof trusses

Post by johnwang »

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 9935 times
Last edited by johnwang on Sun Mar 03, 2019 9:50 am, edited 1 time in total.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Roof trusses

Post by Kunda1 »

Awesome. Can you share the macro?
Also please post your Help>About FreeCAD>Copy to clipboard info in the first post. Thanks!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Roof trusses

Post by -alex- »

wow, impressive! How much time of computation for such kind of model? How about RAM consumption?
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Roof trusses

Post by yorik »

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?
User avatar
David_D
Posts: 81
Joined: Fri Jun 29, 2018 6:43 am
Location: Christchurch, New Zealand

Re: Roof trusses

Post by David_D »

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
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Roof trusses

Post by paullee »

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

Re: Roof trusses

Post by bernd »

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

Re: Roof trusses

Post by johnwang »

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.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
johnwang
Veteran
Posts: 1345
Joined: Sun Jan 27, 2019 12:41 am

Re: Roof trusses

Post by johnwang »

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.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Roof trusses

Post by bernd »

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?
Post Reply