News:

When replying to a specific statement be sure to quote the previous post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Curved coil around a ring

Started by John Kohlmeyer, November 10, 2022, 08:40:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

John Kohlmeyer

Hi everyone,

I found this exercise on the Internet and thought creating the cross-hatches on the half ring would be an interesting new thing to learn.  My initial thought was to wrap the 9mm dia. ring with a 1mm coil embedded 0.5mm deep into that ring so that, when Boolean subtracted, it would leave a spiral pattern in the ring.  I would wrap a second coil going around the other direction to create the cross-hatches.

A little research took me to a post on this forum from several years ago, which suggested that the Bend to Path tool be used.  Having never used that tool before, I started experimenting with it a little without much success.

The ring has a center diameter of 62.5mm with a circumference of 196.34954mm.  I created a spiral with 50 coils at a 3.92699 pitch, which should equate to that circumference.  The documentation says I have to bend the object to a non-closed arc so I created a 0.1mm gap from the circle to accomplish that.

After selecting the object to bend and one point on either end of it, the next step is to select a direction of bend.  I have tried just clicking a point in space, which didn't work, and clicking on a Nearest Point on the arc, which may have done the trick because it then told me to select the arc to which to bend it.  That's where I got stuck.  It just keeps asking me to select the arc and won't accept it when I do.

Could this possibly be because I removed that 0.1mm section of the circle to create the required non-closed arc and now the coil is just that much too long?  Or am I just doing it wrong?  Or is there just a better way of going about doing this?

It's the end of the day and maybe my brain is just too tired to figure this out.  Any advice or tutoring would be greatly appreciated.
TurboCAD 2021 Platinum, v28.0 build 81.1
Windows 10 Home
Intel Core i7-9700 3.00 GHz
32 GB RAM
NVIDIA GeForce RTX 2070 SUPER

John Kohlmeyer

Sorry,  I forgot to include the attachments.
TurboCAD 2021 Platinum, v28.0 build 81.1
Windows 10 Home
Intel Core i7-9700 3.00 GHz
32 GB RAM
NVIDIA GeForce RTX 2070 SUPER

Jeff_in_90620

I was only able to get it to work if I inserted two Points (defining the axis), one at each end of the Spin object, with each aligned to the center of the Spin.

When I used the Bend to Path instruction, I clicked on the Spin, then the two Points (followed by the angle, which seems to have no restriction), then clicked the Arc.

If the points of the axis (the two clicks after selecting the object to bend) are not parallel to the Spin, it will not work.  Also, if the line between the two clicks is outside the Spin object, it will not work.


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Andy H

Jeff posted while I was still testing things.  But I'll post anyway,  as it shows the method I use when the object does not have a flat face for snapping points.  I used the orange arc, not the blue one.

sauerkraut2018

Hello,

my 2ct to the project.  :)

I would draw a cylinder with length 196.34954mm. Then draw a spiral around the cylinder. Subtract the spiral from the cylinder. Then draw an arc with D=62.5mm and 359.99 degrees and bend the cylinder.

Could it work like this?

#-----
Very low knowledge of English - I ask for indulgence - Thanks
Currently installed
TurboCAD Professional 32-bit V.17.2.77.1
TurboCAD 2016 ProPlatinum 64-bit V23.2-61.2 engl.
TurboCAD 2021 Platinum 64-bit V28.0 B.82.3 de.
#-----

Alvin Gregorio

I wanted to point you to a Post/Thread by Henry Hubich on creating garter springs, but alas, the attachments there are gone.

Henry also created a full tutorial on springs creation in TurboCAD that he shared with us; that too is lost to the ethers.
Fortunately, I saved a copy of the .pdf onto my system.  I've attached that herewith.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

John Kohlmeyer

Thanks for the suggestions.  Since I wasn't having much luck with the documentation I tried Andy H's method.  I must either have set it up incorrectly or was just doing it wrong because I had even less luck with that.  Positive results were extremely sporadic.  I got the coil to bend maybe once in ten to fifteen tries at best, trying different snap point orders and selection locations.  It was that one in ten, though, that kept me going.  When it finally did work, I had to try to remember which combination I had used and tried to replicate that.  Didn't seem to matter, though.  Successful outcome was terribly inconsistent.

I reverted back to the original method outlined in the documentation and, with a little experimentation, I was able to get it to work a little more predictably.

After much persistence, I was able to create the ring with the subtracted coils (one clockwise and the other clockwise to create the criss-cross pattern).  The Boolean subtract of the first coil took a bit of time for the program to compute, a couple of minutes.  The second subtraction took considerably longer, at least three or four times that.  The final result was what I was going for and looks pretty decent.

Rendering time in draft mode was glacial - a lot of calculations to produce that ring minus the two criss-crossing coils.  The first time I rendered it I thought TC had crashed.  There was no evidence of activity, the program header said "Not Responding" and when I clicked on the "Close" X the program just grayed out and didn't close.  I used Task Manager to end the program and started over.  On the next attempt at rendering I just let it grind even though it said "Not Responding" and left the room to do other things.  When I came back the drawing was completed.

After all that, the file size had ballooned to 305MB and moving the completed ring to the desired position was very slow and jerky, due to the size of the object in memory, I assume.  Turning off the "Show Object" selection under Dragging Options of the 3D Selector properties solved that.

Don't know how relevant any of this is to anyone but that was my experience with the Bend To Path tool.
TurboCAD 2021 Platinum, v28.0 build 81.1
Windows 10 Home
Intel Core i7-9700 3.00 GHz
32 GB RAM
NVIDIA GeForce RTX 2070 SUPER

Torfinn

V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Henry Hubich

Another approach: Create a Sweep path using Curve from Law and sweep a circular profile along it. The attached .tcw was drawn several years ago; you'll have to adjust the curve parameters to match your geometry.

Henry H

John Kohlmeyer

Thanks for the suggestion about Curve From Law but, at this point in my learning curve, that's way over my head.  My high school trigonometry class is but a distant (VERY distant) memory.  It never was my strong suit.  At the time, as a teenager, I could see no practical value in learning such stuff, so I did what I needed to do to get through the course and never gave it another thought.  Only very occasionally have I ever regretted that decision.

As I began to learn the use of TC in the last few years, I have regretted not paying as much attention in geometry as I could have (or, at least, not remembering more of what I learned so long ago).  Who knew back then that I would actually be enjoying this stuff in my retirement years?  I'm finding learning this in my later years to be stimulating, challenging, and entertaining.  Sure beats working!
TurboCAD 2021 Platinum, v28.0 build 81.1
Windows 10 Home
Intel Core i7-9700 3.00 GHz
32 GB RAM
NVIDIA GeForce RTX 2070 SUPER

Jeff_in_90620

Quote from: Henry Hubich on November 16, 2022, 05:00:26 PMAnother approach: Create a Sweep path using Curve from Law and sweep a circular profile along it. The attached .tcw was drawn several years ago...

Tried it and it is not working.  I got this warning when I opened the file, however.


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Alvin Gregorio

Quote from: Jeff_in_90620 on November 17, 2022, 12:13:18 AMTried it and it is not working.  I got this warning when I opened the file, however.
Jeff
I think the key word there is "may".
This is the typical Warning Dialog when users of Pro or Deluxe editions try to open a file that came from Platinum that has ACIS and other non-Pro/Deluxe supported objects*
In this case, probably the code-writing to read the filter(s) in relation to editions is buggy.

Henry's Curve From Law drawing file opens fine for me in 2022/48.1 Platinum.  I too get the Warning Dialog when opening it.
___
*I cannot recall if the drawing file has to actually contain ACIS or similar Platinum-only objects, or if just has to have last been filtered through Platinum
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Quote from: Henry Hubich on November 16, 2022, 05:00:26 PMAnother approach: Create a Sweep path using Curve from Law and sweep a circular profile along it. The attached .tcw was drawn several years ago; you'll have to adjust the curve parameters to match your geometry.

Henry H
Thanks Henry.  I was having a hard time getting the circle to Sweep.  I had to place a Circle at the Start point of the 3D Spline.

I have your tutorials-- Creating Springs in TurboCAD.pdf and Introduction to the Warp Entity Tool_RevA.pdf and TurboCAD's Surface from Law Tool-- saved on my system.
Did you ever created/publish/share a Curve By Law tutorial?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Quote from: John Kohlmeyer on November 16, 2022, 08:45:43 PMThanks for the suggestion about Curve From Law but, at this point in my learning curve, that's way over my head.  My high school trigonometry class is but a distant (VERY distant) memory.  It never was my strong suit.  At the time, as a teenager, I could see no practical value in learning such stuff, so I did what I needed to do to get through the course and never gave it another thought.  Only very occasionally have I ever regretted that decision.

As I began to learn the use of TC in the last few years, I have regretted not paying as much attention in geometry as I could have (or, at least, not remembering more of what I learned so long ago).  Who knew back then that I would actually be enjoying this stuff in my retirement years?  I'm finding learning this in my later years to be stimulating, challenging, and entertaining.  Sure beats working!
This project has been on my (hobby) mind for the past several days.  I keep coming back to it when I have nothing to do and need some brain/TurboCAD exercise.

I've tried several different methods, trying to simplify the "etching" procedure.  All the methods I've tried are resource hogs, so I dismiss them.  Perhaps the resource issue is because I am using ACIS History (Part Tree), so that if I share it, others can review the process.

How is this project progressing for you John?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

Quote from: Alvin Gregorio on November 17, 2022, 04:09:23 AM
Quote from: Henry Hubich on November 16, 2022, 05:00:26 PMAnother approach: Create a Sweep path using Curve from Law and sweep a circular profile along it. The attached .tcw was drawn several years ago; you'll have to adjust the curve parameters to match your geometry.

Henry H
Thanks Henry.  I was having a hard time getting the circle to Sweep. I had to place a Circle at the Start point of the 3D Spline.

I have your tutorials-- Creating Springs in TurboCAD.pdf and Introduction to the Warp Entity Tool_RevA.pdf and TurboCAD's Surface from Law Tool-- saved on my system.
Did you ever created/publish/share a Curve By Law tutorial?

Sorry, Alvin; I should have said Rail Sweep.

Henry H

murray dickinson

John, I was intimidated by maths at school, for a lot of years not very competent.  I found a book written at the start of the last century called Mathematics for the Million by Lancelot Hogben, it's in the public domain and widely available as a .pdf, it's even still in print, where I found it.  It's a history of mathematics with tutorials from first principles, with examples to work through as the reader progresses.  The author is very encouraging, no condescension, which gives confidence.    I got through Hogben's book and moved on to working examples in school study aid books to improve on my weaknesses, integration/differentiation and algebra.  Not gonna compete in competitions any time, but I'm a lot more at ease than I was, and I've gained some capacity to use TC's curve and surface tools, especially with examples like those from Henry, and others in PunchCAD references.  It's also given me some capacity with using formulas as constraint variables, in PPM and Symbol Designer scripting and their equivalents in PunchCAD, FreeCAD, and OpenSCAD.   Starting to understand those maths enough to manipulate them felt like epiphany.

John Kohlmeyer

Thanks Murray.  I just downloaded the pdf and am looking forward to clearing some of the cobwebs.  At 600+ pages, it'll take a while but it just may be the remedial I need.
TurboCAD 2021 Platinum, v28.0 build 81.1
Windows 10 Home
Intel Core i7-9700 3.00 GHz
32 GB RAM
NVIDIA GeForce RTX 2070 SUPER

nikkipollard

My maths isn't that great either. I google a lot.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

sauerkraut2018

Hallo
QuoteI found a book ... called Mathematics for the Million by Lancelot Hogben...

Quote...I just downloaded the pdf...

Please, where can I download the book?

#-----
Very low knowledge of English - I ask for indulgence - Thanks
Currently installed
TurboCAD Professional 32-bit V.17.2.77.1
TurboCAD 2016 ProPlatinum 64-bit V23.2-61.2 engl.
TurboCAD 2021 Platinum 64-bit V28.0 B.82.3 de.
#-----


John Kohlmeyer

I downloaded the book at this website:
https://archive.org/details/HogbenMathematicsForTheMillion/page/n55/mode/2up
There are several download options offered.  I chose PDF.

I started working on the curved coil exercise again after putting it up on the shelf for a few days.  It had just been so exasperating trying to get the Bend to Path tool to work I had to let it sit for a while.  I was finally able to get it to cooperate more times than not so I thought I'd experiment with it a little bit.  I altered the diameter of the coil slightly so that only a quarter of the coil would be cut out of the ring instead of half.  The 3D subtraction of the first coil took about three minutes.  TC was grinding on subtracting the second coil for about thirty minutes when it decided to show 'Not Responding'.  It ground on it for quite a while after that before finally giving up, saying that the Boolean operation would be discarded.

It didn't do that when subtracting the coils with the bigger bite.  It took about the same length of time but it actually did complete the job.  Apparently, this is a very computationally intensive operation, with the cooling fan coming on frequently.

This is only an exercise so I don't know if I'll devote much more time to it.  It seemed like an interesting visual effect but probably not worth the time it takes to calculate, much less render.  Not only that but the size of the file is enormous and moving things around on the screen, even in wireframe, is considerably slower.
TurboCAD 2021 Platinum, v28.0 build 81.1
Windows 10 Home
Intel Core i7-9700 3.00 GHz
32 GB RAM
NVIDIA GeForce RTX 2070 SUPER

sauerkraut2018

Hallo Murray, Hallo John,

many thank for the Link.

#-----
Very low knowledge of English - I ask for indulgence - Thanks
Currently installed
TurboCAD Professional 32-bit V.17.2.77.1
TurboCAD 2016 ProPlatinum 64-bit V23.2-61.2 engl.
TurboCAD 2021 Platinum 64-bit V28.0 B.82.3 de.
#-----

murray dickinson

#22
Any version of TC with curve/surface from law can create the curve using Henry's parameters, the forum's glitchy with attachments and wouldn't even attach a picture for me today, so Henry's parameters should be entered as x law: (30+8*cos(20*u))*cos(u) , y law: (30+8*cos(20*u))*sin(u) , z law: 8*sin(20*u) , u min: 0 , u max 6.28 .  Works  in V2016, the first with curve/surface from law, others should too.
Thanks for the pointers, Henry.  Your equation takes very minor reformatting to be used in IMSI's PunchCAD lines, ViaCAD and Shark, too .  They import curves and surfaces (other objects too: lines, polylines, arcs, etc) created from simple text scripts given .spl (spline) attachment, not associative as TC's law objects are, change the parameters in the script (double forward slash to comment alternatives out) and reimport.