Parametric Window Brick Arch

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
alxscott
Posts: 8
Joined: Mon Oct 28, 2019 5:38 pm

Parametric Window Brick Arch

Post by alxscott »

Hi,

I have a Victorian House and have always been interested in modelling the specific architectural features, and came across a YouTube Video for Revit ( https://www.youtube.com/watch?v=JED3hDfqBgI ) which I've been trying to translate the approach into FreeCAD ( File attached below).

I have used references to adjust the Radius of the Polar Array, but I need to be able to make the Polar Array Origin dynamic also.

I had the idea to use the Expression Engine and "Placement" value, but I can't seem to reference the Sketch geometry? I know this is typically not wanted / needed but I can get as far as using the Python console to list the internal Sketch Geometry ( and LCS Coordinates ( I believe!))

Code: Select all

App.ActiveDocument.Sketch.Geometry
[<Line segment (-500,0,0) (-500,2000,0) >, <Line segment (0,0,0) (0,2531.58,0) >, <Line segment (500,0,0) (500,2000,0) >, <Line segment (-850.616,2300,0) (835.926,2300,0) >, <Line segment (-811.788,2000,0) (800.535,2000,0) >, <Point (-500,2000,0) >, ArcOfCircle (Radius : 566.667, Position : (2.87e-14, 1733.33, 0), Direction : (0, 0, 1), Parameter : (0.489958, 2.65163)), <Line segment (-500,2000,0) (5.68434e-14,1733.33,0) >, <Line segment (2.87e-14,1733.33,0) (500,2000,0) >, <Point (2.87e-14,1733.33,0) >]
..but I can't get the placement info for the Point to then be able to reference in the Polar Array.

Any help / advice / different approach would be appreciated!

Thanks
Attachments
Parametric Brick Arch.FCStd
(15.73 KiB) Downloaded 23 times
User avatar
Roy_043
Veteran
Posts: 8552
Joined: Thu Dec 27, 2018 12:28 pm

Re: Parametric Window Brick Arch

Post by Roy_043 »

It may be easier to create a Draft_PathLinkArray along an arc.
Attachments
brick-arch-roy.png
brick-arch-roy.png (6.97 KiB) Viewed 1125 times
brick-arch-roy.FCStd
(12.74 KiB) Downloaded 17 times
alxscott
Posts: 8
Joined: Mon Oct 28, 2019 5:38 pm

Re: Parametric Window Brick Arch

Post by alxscott »

Roy_043 wrote: Thu Jan 06, 2022 6:03 pm It may be easier to create a Draft_PathLinkArray along an arc.
Thank you Roy! I'll have a look at that now!
Post Reply