@mcdanlj@social.makerforums.info
@mcdanlj@social.makerforums.info avatar

mcdanlj

@mcdanlj@social.makerforums.info

1st Fedora Project Lead. Co-author Linux Application Development. Sr. Director Engineering Pendo. Ex-{Linux Journal, Red Hat, rPath, SAS}. Christian. Father. Maker (including machining, 3D printing, and electronics). Books. Classical music. Aviation (inactive PP-Inst-SEL). https://musings.danlj.org/

#searchable searchable (please index my posts for search purposes)

This profile is from a federated server and may be incomplete. Browse more on the original instance.

smellsofbikes, to random
@smellsofbikes@mastodon.social avatar

A dubious idea I have about cutting curved dovetails so a box would look like an impossible dovetail box, but would in fact have the top open on an arc rather than a diagonal slide like most impossible dovetails.
The axis of rotation is the left corner, where there's a green line.

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes Nerdsniped... What dimensions do you want? ☺

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes So I'm now working on a completely parametric design based entirely on robust constraints. I would expect a design rotating on that corner edge to be a right pain to actually assemble, so what I'm modeling puts a pin in the corner defining the axis of rotation. A reamed pin hole will provide a precise reference for mounting on a rotary table, and then when it's finished will align the top and the base to fit together.

For manufacture, my idea is to make drawings that show a distance across spheres for measuring the dovetails, since you can't measure a curved dovetail with gauge pins...

However, I've run into what I think is a bug in the development version of FreeCAD I'm running with the TNP mitigations in place, so I might have a short detour for a bug report. We'll see... ☺

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes Second time in a few days that git pull and rebuild fixed a bug before I could even report it. I haven't done the lid yet, nor any drawings for measuring across spheres, but the lid will be easier because subtracting a shapebinder of the base from the lid will make the corresponding dovetails.

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes Oh now I understand the problem! I didn't see it until I got it modeled this far. Now I realize we're talking four custom dovetail cutters for perfection. (You have a d-bit grinder? 😀) Realistically the straighter of the two dovetails will be good enough to look right if cut with a normal dovetail cutter, but the extremely angled one won't.

Now I understand why it was hard to constrain robustly without mathing it out! Back to the drawing board for me!

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes Perhaps the hardest part is that the dovetail cutter itself would need a curved profile in order to project a straight line on the box surface. I think that the steeper the dovetail angle, the more obvious this effect would be. I can't tell from your screen shot; were you accounting for this in your design?

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes OK, I think that sketching on the face and revolving around the axis of rotation, then cutting off the extra, gives me a theoretically-correct object. However, to machine it might actually take eight different dovetail cutters; one for each face on each part, because the base would need convex cutters and the lid would need concave cutters.

I'm unlikely to machine this myself, but https://gitlab.com/mcdanlj/RotationalImpossibleDovetail has both the original wrong version and the updated files. I haven't yet set up the spreadsheet with the driving parameters to actually be a configuration table, but it's set up to trivially convert to a configuration table.

If you try to machine any variant of this, I do not envy you the headache but will enjoy pictures... 😀

</nerdsnipe>

Base of rotational impossible dovetail box
Lid of rotational impossible dovetail box

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@f4grx It's not obvious to me why the cover is harder than the base of the box. Given all 8 custom dovetail cutters necessary to produce truly straight lines on the surfaces, it seems like both are the same work?

With my idea of the lid rotating on a locating pin in the corner, I'd think that machining the lid first, then the box base, and starting from the inmost surface out, would let you take light passes until each surface in turn engages between the base and the lid, until all four surfaces match?

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes Addendum: Somewhat ironically, this was done in very latest (as of a couple hours ago) with the TNP mitigations enabled (FC_USE_TNP_FIX defined), but this particular model is, I think, fully robust against topological ambiguity even without the mitigation, since I tried to define everything against fixed datums, nothing relative to geometrical elements.

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes I could model the lid dovetail with some clearance and try 3D printing... 🤔

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes I'm trying to validate my construction by creating an assembly, making the lid partially transparent, and rotating it around the pin, but I still can't figure out how to get the lid to rotate in the assembly.

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes Ok, when I'm back at the computer I'll model the lid dovetail separately instead of subtracting the base from the lid, and add a clearance parameter.

For fudging the visible edge, I'd consider getting a 40° internal angle, 20° per side cutter, to reduce the visible curve at the edge.

Another idea would be SLM or SLS now that it's relatively cheap. But... not in 316 stainless!

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes They have made excellent progress on the new integrated Assembly Workbench. It's fairly streamlined, and they have kept it to a small number of flexible constraints ("joints"). It's not finished yet, but they paid attention to UX while building it. They are clearly intending it to be generally usable in a few months, since it was one of the defining features for "1.0" and they are currently hoping to get there by August, last I read. 🤞

Unfortunately, the author of Assembly4 took umbrage at some of what Ondsel wrote in their rationale for building a new workbench with a C++ solver, and he became so abusive that he was permanently banned from the FreeCAD forum. 😭

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes The eye probably wants the clearance to be normal to the surfaces, but actually what we want is horizontal and vertical clearance, so despite the illusion, the vertical and horizontal clearances here are the same 0.1mm, which is a parameter so people can adjust for their printers.

I have pushed the new files. I suspect that stable FreeCAD can read the Parts file. A current weekly build should be able to read the Assembly file that puts them together properly. The lid should be able to rotate in the assembly because I use a Revolute joint, but I haven't figured out how to do that.

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@done If you want to become more comfortable with , @concretedog has a freely-downloadable introduction.

https://blog.freecad.org/2022/10/05/new-book-freecad-for-makers/

I find that written tutorial material for FreeCAD is somewhat limited. MangoJelly and Joko Engineering are two helpful YouTube channels.

The current development versions of FreeCAD have a lot of usability improvements. ❤️

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@smellsofbikes The problem with the lid not revolving was that I was using Gesture navigation. Switching (temporarily) to Touchpad and making sure the assembly itself is the active object allows me to rotate the lid around by dragging it.

(I tried to post a screencast showing this success, but Mastodon rejected it for being 1000fps (it's not) and I'm not going to debug that right now... ☺)

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@kbob @smellsofbikes I don't think they have the same shape; they are curved to create different conic sections as far as I can tell intuitively. I haven't tried to math it or model it though, so feel free to show why I'm wrong.

To model it, I would create the four dovetail surfaces, and then find the intersections with the plane defined by the axis of rotation and the opposite corner.

To math it, I would ask someone else better than me at that sort of thing to do it for me. 💃

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@chrishuck @smellsofbikes Approximating the cuts with a straight dovetail cutter and accepting curved lines on the side, or making a set of custom dovetail cutters?

If you have a CNC lathe handy, I think you have a better chance than me of making all the custom dovetail cutters. I think with Realthunder's fork, the ability to use imported geometry as defining geometry in a sketch could make the cutters easier to define.

The fact that any set of eight cutters would be specific to a single size of box (ignoring height) makes this feel like a lot of work to me.

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@kbob @smellsofbikes @chrishuck I used a sketch to look at what the cutters would have to look like. For my example 4mm high dovetails 15mm max width, 30° angle, and a 60mm outside box with rotation point 4mm inset in both X and Y in from the corner, it looks like if one used straight cutters instead of curved cutters, the max deviation from the defined curve would be about .016 mm, which in reality would be half of that if you split the difference top to bottom. In imperial, that's about 3 tenths (ten thousandths of an inch) which is beyond the skills of most home gamers like me.

Also, good luck finding a set of 10.736°, 17.541°, 30.399°, and 30.965° dovetail cutters off the shelf! 🤣

Realistically, I do wonder how close the most extreme angle would have to be to deceive the eye on casual inspection. Especially after some creative deburring work. It doesn't have to be straight, it only has to look straight.

Extreme close-up view of dimension showing max deviation of chord from conic section

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@chrishuck @smellsofbikes I just pushed a fix to my model. I had somehow gotten a sketch attachment not parameterized. Now the box resizes when the parameters are changed.

My model with 200mm square plan

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@kbob @smellsofbikes @chrishuck Never having taken analytic geometry, I am not equipped to find the chord mathematically, even though I can model it concretely.

I haven't figured out how to model it in a robust parametric way. An analytical solution would let me use expressions to determine cutter angles for each surface parametrically, so if anyone wants to contribute those expressions I'm all (virtual) ears. Besides an analytical solution, it's possible that the TNP mitigations could make a model sufficiently robust in practice to allow configuration.

For recording iterative solutions, I could reasonably set up multiple configuration tables, including one just for the combinations of parameters that impact dovetail edge shape, and keep that separate from other configuration.

mcdanlj, to random
@mcdanlj@social.makerforums.info avatar

In order to help someone build an "open source" project that was built with windows-only proprietary tools, I need to install Windows on a computer at least for a while. I think I spent at least an hour trying to create bootable media on someone else's windows computer before finding a comment buried somewhere that the windows media tool just silently fails to work with sandisk thumbdrives, with no information shown.

Compare that to Linux iso images that can just be written to a USB drive and still work (thanks to H. Peter Anvin's work many years ago) and work just fine on those same sandisk drives.

mcdanlj, to fedora
@mcdanlj@social.makerforums.info avatar

The #FreeCAD stable build Appimages don't work on #Fedora 40 which is making it hard for me to test a fix I've been working on in the Lattice2 workbench to make it work in current weekly builds as well as stable releases. https://github.com/FreeCAD/FreeCAD/issues/12894 which requires workbenches and macros to be changed.

I'm a novice on Lattice2, so I'd appreciate testing of all the functionality of the workbench both on recent development builds and on stable FreeCAD. I want to make sure that the fix is complete and correct on both stable and development versions before suggesting that it is ready to merge.

If you use git to install workbenches, you can do something like this if you want to test and help:

cd .local/share/FreeCAD/Mod/lattice2<br></br>git remote add johnsonm git@github.com:johnsonm/Lattice2.git<br></br>git fetch johnsonm<br></br>git checkout johnsonm/mkj-attachment-support<br></br>

Feel free to comment on the pull request itself or here, I'll see it either way.

mcdanlj,
@mcdanlj@social.makerforums.info avatar

DeepSOIC gave me helpful feedback, and ultimately merged my PR and fixed a bug I introduced in the process. Lattice2 should work again on development builds of FreeCAD. 🎉

mcdanlj, to random
@mcdanlj@social.makerforums.info avatar

Just as the new KP.2 covid variant takes off in the US, North Carolina sends anti-masking legislation through the legislature and passes at least one chamber. We have some immoral legislators.

North Carolina gets some things quite right, but this is not one of them. 😬

mcdanlj,
@mcdanlj@social.makerforums.info avatar

@chrishuck They get this right for lockpicks. Locksport is legal here as long as you aren't remunerated in any way without being licensed, but using lockpicks to do crime is an additional count.

You'd think they could do this for masks too, but they explicitly rejected it. Republican senators said they didn't intend it to cover health reasons and said you should expect not to be cited (claiming that there had been no abusive use in 70 years prior), but still refused to carve out any form of exception.

This does not feel like good faith.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • everett
  • magazineikmin
  • InstantRegret
  • ngwrru68w68
  • Youngstown
  • mdbf
  • slotface
  • vwfavf
  • tacticalgear
  • thenastyranch
  • rosin
  • megavids
  • osvaldo12
  • ethstaker
  • GTA5RPClips
  • khanakhh
  • Durango
  • tester
  • normalnudes
  • cisconetworking
  • modclub
  • cubers
  • anitta
  • Leos
  • JUstTest
  • All magazines