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!
keshmaster81
Posts: 42
Joined: Fri May 12, 2023 4:14 am

Re: Pattern along a compound curve.

Post by keshmaster81 »

I'm at the step where I am trying to pattern holes along the curve. The problem I am having right now is that I am unsure of how to get the holes to be tangent to the surface of the body. This is what I have attempted so far:
Screenshot 2023-05-15 at 3.25.09 PM.png
Screenshot 2023-05-15 at 3.24.32 PM.png
. The annotated image below is what I am trying to achieve:
Screenshot 2023-05-15 at 3.24.32 PM.png
. I want a set of 12 holes evenly spaced at the centre of the arc. I am also unsure of how I can specify where the first instance of my pattern should occur along the curve so that it doesn't start at the very beginning. Thanks for the help.
Hydro-1002.FCStd
keshmaster81
Posts: 42
Joined: Fri May 12, 2023 4:14 am

Re: Pattern along a compound curve.

Post by keshmaster81 »

I'm at the step where I am trying to pattern holes along the curve. The problem I am having right now is that I am unsure of how to get the holes to be tangent to the surface of the body. This is what I have attempted so far:
Screenshot 2023-05-15 at 3.25.09 PM.png
Screenshot 2023-05-15 at 3.24.32 PM.png
. The annotated image below is what I am trying to achieve:
Screenshot 2023-05-15 at 3.24.32 PM.png
. I want a set of 12 holes evenly spaced at the centre of the arc. I am also unsure of how I can specify where the first instance of my pattern should occur along the curve so that it doesn't start at the very beginning. Thanks for the help.
Hydro-1002.FCStd
edwilliams16
Veteran
Posts: 3106
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Pattern along a compound curve.

Post by edwilliams16 »

@keshmaster81

It was easier to start from scratch. Too much unnecessary clutter in your file.
Used a revolution not a sweep to make the base object.
Adjust the point in Sketch to locate the line of centers.
Sketch002 is a construction line to attach the pocketing Sketch001 to.
Used polar patterns to replicate the holes. You adjust the number and angle.
Screenshot 2023-05-15 at 10.33.44 AM.png
Screenshot 2023-05-15 at 10.33.44 AM.png (39.13 KiB) Viewed 1066 times
Attachments
hydro.FCStd
(417.92 KiB) Downloaded 14 times
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Pattern along a compound curve.

Post by Shalmeneser »

:idea:
Attachments
mytyreisflat_SHALM.FCStd
(273.14 KiB) Downloaded 12 times
Capture d’écran 2023-05-16 181415.jpg
Capture d’écran 2023-05-16 181415.jpg (49.89 KiB) Viewed 936 times
keshmaster81
Posts: 42
Joined: Fri May 12, 2023 4:14 am

Re: Pattern along a compound curve.

Post by keshmaster81 »

edwilliams16 wrote: Mon May 15, 2023 8:38 pm @keshmaster81

It was easier to start from scratch. Too much unnecessary clutter in your file.
Used a revolution not a sweep to make the base object.
Adjust the point in Sketch to locate the line of centers.
Sketch002 is a construction line to attach the pocketing Sketch001 to.
Used polar patterns to replicate the holes. You adjust the number and angle.
Screenshot 2023-05-15 at 10.33.44 AM.png
Wow thank you so much! I wish I had thought of using a revolution instead of a sweep. It's so much cleaner and well designed.
keshmaster81
Posts: 42
Joined: Fri May 12, 2023 4:14 am

Re: Pattern along a compound curve.

Post by keshmaster81 »

Shalmeneser wrote: Tue May 16, 2023 4:18 pm:idea:
Thanks!
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 »

challenge: do this pattern along a spline. :D (the hole is on the 45° radial)
Attachments
Capture.JPG
Capture.JPG (27.06 KiB) Viewed 847 times
edwilliams16
Veteran
Posts: 3106
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Pattern along a compound curve.

Post by edwilliams16 »

@Vincent B

Your solution had to be less convoluted than mine.
Screenshot 2023-05-16 at 11.48.22 AM.png
Screenshot 2023-05-16 at 11.48.22 AM.png (64.41 KiB) Viewed 812 times
Screenshot 2023-05-16 at 11.52.12 AM.png
Screenshot 2023-05-16 at 11.52.12 AM.png (56.12 KiB) Viewed 812 times
Attachments
holesonbsplinehalfpipe.FCStd
(324.85 KiB) Downloaded 15 times
edwilliams16
Veteran
Posts: 3106
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Pattern along a compound curve.

Post by edwilliams16 »

This is a little cleaner. Attached a vertex to the hole curve, then the sketch can be attached tangent to the surface at the vertex. As before, use a Lattice2 paraseries looping on the Vertex's map path. Had to discretize and interpolate the sweep path so as to make map path linear with distance to get equally spaced holes.

I suspect I could use Draft|Path Array instead of Lattice2, but couldn't figure out how to get the circle sketch tangent to the surface.
Attachments
holesonbsplinehalfpipe2.FCStd
(257.05 KiB) Downloaded 12 times
domad
Veteran
Posts: 2053
Joined: Mon Jun 22, 2020 12:16 pm

Re: Pattern along a compound curve.

Post by domad »

Vincent B wrote: Tue May 16, 2023 8:21 pm challenge: do this pattern along a spline. :D (the hole is on the 45° radial)
Hi Vincent B, Greetings to the Community!
...here is my flow for your "snake" :lol: with holes at 45°
Attachments
holey_snake_domad.FCStd
(265.91 KiB) Downloaded 17 times
holey _snake_domad.png
holey _snake_domad.png (137.6 KiB) Viewed 651 times
Post Reply