Help with circular slots, anchoring to edge of a resizable object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The thing I am trying to make is a 3D printed coil former for a metal detector - basically a donut shape with slots in both inner and outer edges to keep the wire in the right place. Around this former will be wound wire. The basic shape is elliptical. Since I would like to be able to experiment with different configurations I am trying to make everything parametric. These parameters are the x and y dimensions of the ellipse (and they could be equal, in which case a circle), the outside diameter of the wire being used and the thickness of the coil former. Thickness probably will not vary much. Wire outside diameter changes the required depth of the slots, there are six passes of wire stacked in each slot. Changing x and y will allow me to try smaller or larger coils, or various configurations of ellipse.
In the first sketch the outside of the ellipse is given by x and y values, then extruded by thickness to form an elliptical plate. The inside of the donut is achieved by sketching another ellipse with dimensions (x - span) and (y - span), concentric, where span is calculated as a function of double the slot length + a gap between the slots. That is extruded by -thickness to remove the donut centre. No problems so far - this all sketches and adjusts nicely as parameters are adjusted.
Around the inside and outside of the donut there must be slots to keep the wire coil in place. These are radial wrt the centre of the donut and there are 37 on both inside and outside. These are the problem.
If I position one slot for inside and another for the outside edge, finish the sketch, extrude them to remove material, I have a donut with two slots in it. So far so good. If I use the circular function to make 37 of those pairs then I have a perfect coil former - but only when the donut is round! As soon as the x or y values are changed the donut moves but the slots stay where they are. I have spent hours trying to adjust constraints so that the slots are coincident with the donut borders and colinear with construction lines at the correct angles for the slot orientations but it is just a mess of conflicts and incredibly time consuming. Another thing I thought of is to define positions parametrically using the ellipse formula but that seems just as clumsy.
So what's the smart way to do this? The slots should be anchored around the donut and remain attached to inner or outer edge, radial to the centre, no matter what x and y are, ellipse or circle.
(Sorry if any of my terms aren't exactly right, I'm new to this. Is a donut a toroid when it is a flat plate?)
