Creating a cycloid

This forum is for general discussion regarding VCarve Pro
CanisLupus
Posts: 40
Joined: Thu Apr 04, 2019 12:53 am
Model of CNC Machine: CAMaster Stinger II (SR-44)
Location: Upper Midwest US

Creating a cycloid

Post by CanisLupus »

Does anyone have a method for drawing a cycloid in VCarve Pro? I need to create the red line shown in the image below.

Image

FYI, from its Wikipedia entry, "... a cycloid is the curve traced by a point on a circle as it rolls along a straight line without slipping."

Thanks!
Scott

CarveOne
Vectric Wizard
Posts: 1479
Joined: Sun Nov 28, 2010 5:10 pm
Model of CNC Machine: Home built designs - 3'x4' and 5'x12'
Location: Eastern NC, USA

Re: Creating a cycloid

Post by CarveOne »

I was able to save it as a .png file format using screen capture and an old version of Gimp. The resolution is not very high, though with some better expertise it might get better.

CarveOne
Attachments
Cycloid_f.png
CarveOne
http://www.carveonecncwoodcraft.com

User avatar
jimandi5000
Vectric Wizard
Posts: 1056
Joined: Wed Mar 11, 2015 6:50 pm
Model of CNC Machine: Home Made 60 x 120
Location: North Houston Tx.
Contact:

Re: Creating a cycloid

Post by jimandi5000 »

CanisLupus wrote:
Thu Jul 02, 2020 8:17 pm
Does anyone have a method for drawing a cycloid in VCarve Pro? I need to create the red line shown in the image below.

Image

FYI, from its Wikipedia entry, "... a cycloid is the curve traced by a point on a circle as it rolls along a straight line without slipping."

Thanks!
Scott
What is the diameter of the circle?
Thanks,
Jim

User avatar
adze_cnc
Vectric Wizard
Posts: 4381
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008
Location: Vancouver, BC, Canada

Re: Creating a cycloid

Post by adze_cnc »

You could use an online cycloid to DXF creator such as this one from the University of Waterloo: https://cs.uwaterloo.ca/~smann/C5/

See also: http://www.cgl.uwaterloo.ca/smann/ccycloid/

4DThinker
Vectric Wizard
Posts: 1717
Joined: Sun Sep 23, 2012 12:14 pm
Model of CNC Machine: CNC Shark Pro, Probotix Meteor 25" x 50"

Re: Creating a cycloid

Post by 4DThinker »

Not hard to to figure out. The height is the diameter of the circle, and the width of each bump is the circumference of the circle. Each bump is half of an ellipse. All the needed tools are in VCarve/Aspire. Once you have one bump drawn use the linear array tool to make a row of them as long as you need.
Attachments
Cycloid section 4D.crv
(10 KiB) Downloaded 91 times

User avatar
TReischl
Vectric Wizard
Posts: 4657
Joined: Thu Jan 18, 2007 6:04 pm
Model of CNC Machine: 8020 48X36X7 RP 2022 UCCNC Screenset
Location: Leland NC

Re: Creating a cycloid

Post by TReischl »

4DThinker wrote:
Fri Jul 03, 2020 4:09 pm
Not hard to to figure out. The height is the diameter of the circle, and the width of each bump is the circumference of the circle. Each bump is half of an ellipse. All the needed tools are in VCarve/Aspire. Once you have one bump drawn use the linear array tool to make a row of them as long as you need.
Umm, sorry, no. A cycloid is not an ellipse. An ellipse is a conic section.

A cycloid is not a conic section.

It is not possible to fit an ellipse to a cycloidal curve. They are very different things that look similar.

Here is an example of trying to fit a true ellipse to a cycloid:
c.png
"If you see a good fight, get in it." Dr. Vernon Johns

JimmyD
Vectric Craftsman
Posts: 113
Joined: Fri Jun 06, 2014 7:01 am
Model of CNC Machine: ShopBot PRSalpha, custom rotary indexer
Location: Tucson, Arizona

Re: Creating a cycloid

Post by JimmyD »

Haven't tried this, just thinking out loud.

What if you use the equation below and generate the x,y points in excel and then import those points into aspire using that routine from Paul (can't think of his last name or the routine at the moment).

Cycloid, the curve generated by a point on the circumference of a circle that rolls along a straight line. If r is the radius of the circle and θ (theta) is the angular displacement of the circle, then the polar equations of the curve are x = r(θ - sin θ) and y = r(1 - cos θ).

User avatar
adze_cnc
Vectric Wizard
Posts: 4381
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008
Location: Vancouver, BC, Canada

Re: Creating a cycloid

Post by adze_cnc »

I still think my suggestion is best. Using the equation presented and wiritng a gadget in LUA is also possible but I suspect beyond the capabilities of the original poster (sorry about presuming, CanisLupus).

User avatar
mtylerfl
Vectric Archimage
Posts: 5896
Joined: Thu Jan 29, 2009 3:54 am
Model of CNC Machine: -CarveWright CNC -ShopBot Buddy PRSAlpha
Location: Brunswick, GA

Re: Creating a cycloid

Post by mtylerfl »

It’s so simple to do without any equations.

Just draw a circle, use the Measure Tool to find the circumference, use that figure to draw a line that length, center-align the circle and line with the circle base on the line, then use the Arc Drawing tool to snap to the line ends and centered circle top. Done!

(I guess I can make a couple minute video, if anyone got lost there!)
Michael Tyler

facebook.com/carvebuddy

-CarveWright CNC
-ShopBot Buddy PRSAlpha CNC

User avatar
TReischl
Vectric Wizard
Posts: 4657
Joined: Thu Jan 18, 2007 6:04 pm
Model of CNC Machine: 8020 48X36X7 RP 2022 UCCNC Screenset
Location: Leland NC

Re: Creating a cycloid

Post by TReischl »

Ummm, a no on that one two Michael, sorry. :D
Capture.JPG
If that were the case then all that curve would be is a portion of a circle.

JimmyD above is correct, it is a curve defined by a formula (the one he showed).

The real question IMHO is if the OP needs a true cycloid or just something close. If all he needs is close then tracing a curve thru the gif file posted earlier would work just fine.

It seems to me that I watched a video a few months ago about cycloids and there was something about them being constant acceleration or something like that. Would have to go dig that up. The guy had models that showed some really neat stuff about marbles rolling down unequal tracks arriving at the end at the same time. Could be wrong about that. . . . but I do know that cycloidal curves are used in gear reducers.
"If you see a good fight, get in it." Dr. Vernon Johns

User avatar
TReischl
Vectric Wizard
Posts: 4657
Joined: Thu Jan 18, 2007 6:04 pm
Model of CNC Machine: 8020 48X36X7 RP 2022 UCCNC Screenset
Location: Leland NC

Re: Creating a cycloid

Post by TReischl »

adze_cnc wrote:
Fri Jul 03, 2020 9:55 pm
I still think my suggestion is best. Using the equation presented and wiritng a gadget in LUA is also possible but I suspect beyond the capabilities of the original poster (sorry about presuming, CanisLupus).
+1 on that Stephen.
"If you see a good fight, get in it." Dr. Vernon Johns

User avatar
mtylerfl
Vectric Archimage
Posts: 5896
Joined: Thu Jan 29, 2009 3:54 am
Model of CNC Machine: -CarveWright CNC -ShopBot Buddy PRSAlpha
Location: Brunswick, GA

Re: Creating a cycloid

Post by mtylerfl »

TReischl wrote:
Fri Jul 03, 2020 10:49 pm
Ummm, a no on that one two Michael, sorry...
Well, It’s good I’m not on the team that calculates the trajectory for Mars landings and such. I might miss! :D
Michael Tyler

facebook.com/carvebuddy

-CarveWright CNC
-ShopBot Buddy PRSAlpha CNC

4DThinker
Vectric Wizard
Posts: 1717
Joined: Sun Sep 23, 2012 12:14 pm
Model of CNC Machine: CNC Shark Pro, Probotix Meteor 25" x 50"

Re: Creating a cycloid

Post by 4DThinker »

OK, as a cycloid segment is not elliptical, then plotting points as you rotate a circle section along a line the same length as the circumference will likely be the simplest way. All you need is 1/2 of one bump, then mirror it, then join to get one bump you can then copy as many times as you want. Connect the plotted points with segments of a polyline, then smooth each Node.

4D
Attachments
Cycloid section 4D plotted.crv
(71.5 KiB) Downloaded 65 times

CanisLupus
Posts: 40
Joined: Thu Apr 04, 2019 12:53 am
Model of CNC Machine: CAMaster Stinger II (SR-44)
Location: Upper Midwest US

Re: Creating a cycloid

Post by CanisLupus »

adze_cnc wrote:
Fri Jul 03, 2020 9:55 pm
I still think my suggestion is best. Using the equation presented and wiritng a gadget in LUA is also possible but I suspect beyond the capabilities of the original poster (sorry about presuming, CanisLupus).
No need to apologize. I went the Excel route to generate a list of X, Y values and used that to create the geometry in CAD. It works but I've been trying to do more in VCarve, less in CAD as an attempt to learn more about VCarve's capabilities. Writing a gadget using LUA is possible but I'm asking to avoid writing functionality that's already in VCarve.

A gadget might be the best solution since I could programmatically weed out nodes that are too close together and result in short line segments.

Thanks!
Scott

CanisLupus
Posts: 40
Joined: Thu Apr 04, 2019 12:53 am
Model of CNC Machine: CAMaster Stinger II (SR-44)
Location: Upper Midwest US

Re: Creating a cycloid

Post by CanisLupus »

TReischl wrote:
Fri Jul 03, 2020 10:49 pm
...
It seems to me that I watched a video a few months ago about cycloids and there was something about them being constant acceleration or something like that. Would have to go dig that up. The guy had models that showed some really neat stuff about marbles rolling down unequal tracks arriving at the end at the same time.
...
They are fascinating and worth digging into if you find physics and nerdy stuff interesting.

The model you mentioned is a common demonstration. I watched a video with billiard balls and another one with a large model (maybe 20 feet long) that used bowling balls. The key takeaway, no matter where on the cycloid the marble is placed, it will arrive at the bottom of the cycloid at the same time as a marble placed in a different location, even at the very top or near the bottom.

Check out Brachistochrone curve, Tautochrone curve, isochronous curve, and pendulum motion.

And here are two videos:

(Adam Savage and Vsauce)

Post Reply