Pattern along a compound curve.

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!
edwilliams16
Veteran
Posts: 3109
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Pattern along a compound curve.

Post by edwilliams16 »

@domad

I give up. How did you get the extrude directions to be a 45 degree rotation around the path? Python or a Gui tool?
Screenshot 2023-05-17 at 8.18.33 AM.png
Screenshot 2023-05-17 at 8.18.33 AM.png (71.59 KiB) Viewed 1034 times
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Pattern along a compound curve.

Post by Vincent B »

using lattice wb.
Attachments
Lattice.FCStd
(527.34 KiB) Downloaded 17 times
domad
Veteran
Posts: 2053
Joined: Mon Jun 22, 2020 12:16 pm

Re: Pattern along a compound curve.

Post by domad »

edwilliams16 wrote: Wed May 17, 2023 6:23 pm @domad
I give up. How did you get the extrude directions to be a 45 degree rotation around the path? Python or a Gui tool?
Hi @edwilliams16, hello to the Community!
No, I didn't use "Python", nor "Lattice" but a very, very simple flow, sorry :oops: but now I can't produce an animated gif to show the simplicity of the process, but surely tomorrow I will show how.
domad
Veteran
Posts: 2053
Joined: Mon Jun 22, 2020 12:16 pm

Re: Pattern along a compound curve.

Post by domad »

edwilliams16 wrote: Wed May 17, 2023 6:23 pm ....
Hi @edwilliams16, hello to the Community!
As promised, the animated gif shows the flow (always improveable and adaptable to other wbs) to create, without any automated support, using only the basic functions/tools of the "Draft" + "Part" wbs, a series of holes, along a path, inclined and orthogonally intersecting the solid generated by the sweep.
To show the technique used, only the first three holes have been used to prevent the animated gif from exceeding 1 Mb in "weight".
Attachments
holey_snake_domad.gif
holey_snake_domad.gif (845.53 KiB) Viewed 861 times
keshmaster81
Posts: 42
Joined: Fri May 12, 2023 4:14 am

Re: Pattern along a compound curve.

Post by keshmaster81 »

I am trying to apply a similar concept from earlier to create a different pattern on holes along a different curve. The problem I am having now is that unlike with the earlier demo from @edwilliams16, the holes do not begin at the initial profile for the revolution and spread outwards, so I am unsure as to how I can position the holes in the arrangement shown below:
Image (1)-1.jpg
Image (1)-1.jpg (82.67 KiB) Viewed 798 times
.
Attachments
Hydro-104.FCStd
(293.88 KiB) Downloaded 12 times
keshmaster81
Posts: 42
Joined: Fri May 12, 2023 4:14 am

Re: Pattern along a compound curve.

Post by keshmaster81 »

So I've had some thoughts on how to do this. Is there any way I can skip the first instance of the polar pattern? cause then I can still use the center profile and just skip the first hole. If this doesn't exist, Since there is no polar pattern for sketches in the part design wb, would I have to use the draft wb to polar pattern the actual individual sketch holes rather than the pockets?
edwilliams16
Veteran
Posts: 3109
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Pattern along a compound curve.

Post by edwilliams16 »

It's hard to think of ways staying in Part Design. One possibility is modeling half and mirroring at the end. It's likely possible (but not easy to figure out) to use the Lattice2 WB. https://github.com/DeepSOIC/Lattice2/wi ... n-Tutorial

Easiest I could come up with is to make a draft polar array of cutting cylinders, then use a Part Compound filter to exclude the center one and do a Part Cut. Probably, with some effort that could made parametric using expressions.
@keshmaster81
Attachments
Hydro-104_EW.FCStd
(204.14 KiB) Downloaded 10 times
Screenshot 2023-05-19 at 1.02.09 PM.png
Screenshot 2023-05-19 at 1.02.09 PM.png (49.65 KiB) Viewed 737 times
intufreecad
Posts: 156
Joined: Tue Apr 16, 2019 11:25 pm

Re: Pattern along a compound curve.

Post by intufreecad »

another variation using lattice2_wb and project
Attachments
using_Lattice2_project.png
using_Lattice2_project.png (219.3 KiB) Viewed 704 times
holesonbsplinehalfpipe_var_project.FCStd
(191.42 KiB) Downloaded 13 times
Marcel a freecad lover
freedman
Veteran
Posts: 3441
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Pattern along a compound curve.

Post by freedman »

keshmaster81,you might check out this old post.
viewtopic.php?p=301039&hilit=cowl#p300813
keshmaster81
Posts: 42
Joined: Fri May 12, 2023 4:14 am

Re: Pattern along a compound curve.

Post by keshmaster81 »

Thank you all for the help. I've been experimenting and exploring how I can achieve this but as a new freecad user I am finding it difficult to follow and replicate the steps from different workbenches such as Lattice2 and Part wb. The last suggestion from @freedman feels the most intuitive and practical to me given my knowledge level. I am looking for some help on how I can implement that workflow concept, by attaching datum planes to temporary angled shapes. The main problem again comes from being able to create this type of feature on a compound curved surface. Any advice and help is appreciated, thanks.
Last edited by keshmaster81 on Tue May 23, 2023 11:45 pm, edited 1 time in total.
Post Reply