Crasting zig-yag line. Is there simple way?

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!
User avatar
PedjaS
Posts: 147
Joined: Sat Jan 18, 2020 6:35 pm

Crasting zig-yag line. Is there simple way?

Post by PedjaS »

I have to create zig-zag line with 24 peaks in Sketch. It should fit within known rectangle (already drawn construction lines).

I am looking for simple way to make it. So far it is pretty much all manual work.

Using rectangular pattern made lot of mess with constraints so I abandoned idea.

Idea to set points along a line and then create Polyline using those points failed as for some reason not all points of poly-line ended up connected so i had to go check them, and on setting Concident constraint again, constraints fell apart. things got disconnected, horizontal constraints deleted on their own... and not to mention that is was nightmare to set that number of points equally distanced.

Or maybe I am just plain stupid?
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Crasting zig-yag line. Is there simple way?

Post by Shalmeneser »

Stupid only with no drawing.
bleber
Posts: 259
Joined: Thu Jun 30, 2016 5:12 pm

Re: Crasting zig-yag line. Is there simple way?

Post by bleber »

Candidate to make a script if some programmer are interested in these
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Crasting zig-yag line. Is there simple way?

Post by drmacro »

Hard to tell with the description.

It sounds like something for patterns or Lattice2 workbench. :?:

There may be perfectly sensible ways to do it...if we didn't have to use a crystal ball to guess what the ultimate goal is.

And, my crystal ball is at the cleaners... :mrgreen:
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
PedjaS
Posts: 147
Joined: Sat Jan 18, 2020 6:35 pm

Re: Crasting zig-yag line. Is there simple way?

Post by PedjaS »

I managed to draw zig-zag line as I needed it to.

One issue is - I am making prototype, and number of peaks is not finite. If I have to change number of teeth I would have to draw it all over again, as I could not find a way to parametrize it.

Other issue is, this was supposed to be used as sketch on curved surface to get teeth on flat side of a disk part. That part does not work at all.

I've created example out of my project so I can show what is troubling me:
teeths.FCStd
(27.6 KiB) Downloaded 17 times
User avatar
PedjaS
Posts: 147
Joined: Sat Jan 18, 2020 6:35 pm

Re: Crasting zig-yag line. Is there simple way?

Post by PedjaS »

I am trying to crate teeth similar to these.
IMG_20220809_154349m.jpg
IMG_20220809_154349m.jpg (49.4 KiB) Viewed 797 times
User avatar
papyblaise
Veteran
Posts: 7870
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Crasting zig-yag line. Is there simple way?

Post by papyblaise »

voilà
Attachments
dent de loup.JPG
dent de loup.JPG (36.77 KiB) Viewed 775 times
dent de loups.FCStd
(119.23 KiB) Downloaded 16 times
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Crasting zig-yag line. Is there simple way?

Post by adrianinsaval »

very common mistakes, don't make patterns inside sketcher, keep your sketches as simple as possible then do a pattern of the feature.
User avatar
PedjaS
Posts: 147
Joined: Sat Jan 18, 2020 6:35 pm

Re: Crasting zig-yag line. Is there simple way?

Post by PedjaS »

adrianinsaval wrote: Tue Aug 09, 2022 2:11 pm very common mistakes, don't make patterns inside sketcher, keep your sketches as simple as possible then do a pattern of the feature.
That was my intention but it seems Skech On Surface does not work with patterns. It requires sketch shape for all 360 degrees.
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: Crasting zig-yag line. Is there simple way?

Post by chrisb »

Search the forum for "Hirth joint".
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply