Arch Roof and Arch array additional parameters

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
awflingen
Posts: 15
Joined: Thu Mar 25, 2021 9:51 pm
Location: Blackwood

Arch Roof and Arch array additional parameters

Post by awflingen »

The roof tool is absolutely brilliant and a great piece of programming - thanks to all involved.

I have one request can someone help me trim the eaves as per this picture or suggest an appropriate workflow. Wouldn't it be cool to have a tick box to add a gutter!! Or am I being fanciful.
roofend.jpg
roofend.jpg (15.72 KiB) Viewed 1192 times

The way I use Freecad is modelling old buildings and the array is therefore slightly limiting. Would it be possible to array the number of items equally over a total distance? The house I am modelling is over 200 years old and the beam centres vary between less then 700mm to over 900 - I guess it depended how many trees were available at the time.

Here is my current project - modelling for the third or fourth time but this took I guess about 2 hours. So I am reasonably pleased with my progress.
currentprogress.jpg
currentprogress.jpg (54.49 KiB) Viewed 1192 times

OS: Windows 10 Version 2004
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United Kingdom (en_GB)
Last edited by awflingen on Tue Jun 08, 2021 9:23 pm, edited 2 times in total.
User avatar
Roy_043
Veteran
Posts: 8585
Joined: Thu Dec 27, 2018 12:28 pm

Re: Arch Roof and Arch array additional parameters

Post by Roy_043 »

awflingen wrote: Mon Jun 07, 2021 7:31 pm help me trim the eaves
You can subtract a Part_Sweep from the roof.

awflingen wrote: Mon Jun 07, 2021 7:31 pm array the number of items equally over a total distance
Try Draft_PathArray.

Note that you can directly attach images to your posts.
User avatar
awflingen
Posts: 15
Joined: Thu Mar 25, 2021 9:51 pm
Location: Blackwood

Re: Arch Roof and Arch array additional parameters

Post by awflingen »

Thanks Roy for taking the time to answer.

Not sure I understand why part sweep will help but will try. Draft path array seems logical so thanks again - I will investigate.

and found out how to add images - keep learning!
User avatar
awflingen
Posts: 15
Joined: Thu Mar 25, 2021 9:51 pm
Location: Blackwood

Re: Arch Roof and Arch array additional parameters

Post by awflingen »

Thanks again Roy for the tips array on the line worked nicely and I achieved results quickly. This will be really useful going forward.

Finally got part sweep to work
roofendsolved.jpg
roofendsolved.jpg (4.66 KiB) Viewed 1109 times
but I do have some error messages see below.
22:12:48 1e-07 <App> Document.cpp(3172): The graph must be a DAG.
22:23:36 <Exception> DocumentObject::getOutListRecursive(): cyclic dependency detected!
22:40:47 1679.66 <App> Document.cpp(3527): SchuppenV6#Sweep001 still touched after recompute
22:40:47 1679.66 <App> Document.cpp(3527): SchuppenV6#Sweep still touched after recompute
I also have a copy of the roof in each sweep and a little blue tick mark on the structure
comboview.jpg
comboview.jpg (12.1 KiB) Viewed 1109 times
Solutions please - file does seem to be displaying properly.
edwilliams16
Veteran
Posts: 3192
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Arch Roof and Arch array additional parameters

Post by edwilliams16 »

You have a cyclic dependency. A depends on B, B depends on C, C depends on A. You can diagnose this with https://wiki.freecadweb.org/Std_DependencyGraph
In the meantime your model view will show the last valid solution and won't update.
User avatar
awflingen
Posts: 15
Joined: Thu Mar 25, 2021 9:51 pm
Location: Blackwood

Utility to Sweep - Arch Roof

Post by awflingen »

Following on from the advice above I have been trying to alter the eaves of the roof using Sweep.

It has now for the third time given me an error code. Namely
11:38:14 1e-07 <App> Document.cpp(3172): The graph must be a DAG.
11:38:14 1.97539 <App> Document.cpp(3527): SchuppenV6_1#Roof still touched after recompute
The cyclical error is gone. I have drawn a wire to sweep - the face was set as solid = true the sweep was set to solid and I used one of the lines from the edge of the roof to sweep along.

I do have a section in my model through which I am sweeping is this causing the issue??

Where is my error please Freecad wizards.
User avatar
Roy_043
Veteran
Posts: 8585
Joined: Thu Dec 27, 2018 12:28 pm

Re: Arch Roof and Arch array additional parameters

Post by Roy_043 »

Don't use an edge of the roof, but rather use the geometry the roof is based on.
Attachments
roof-cut-sweep.FCStd
(36.5 KiB) Downloaded 42 times
Post Reply