Thread-turning-simulator

Show off your FreeCAD projects here!
vkopey
Posts: 1
Joined: Wed Oct 10, 2018 3:20 pm

Thread-turning-simulator

Postby vkopey » Wed Oct 10, 2018 3:31 pm

Using FreeCAD API, a Python program has been developed for simulating threads with various geometric deviations that occur during thread turning. The algorithm is based on the approximation of a complex trajectory of tool movement by splines and using the Boolean "cut" operation on the bodies of the workpiece and the tool.

To simulate various machining errors in the program, it is possible to change the values of the geometric parameters of the workpiece and tool and the parameters of the tool path relative to the workpiece. The testing of the suitability of threads with deviations is realized by Boolean operations on the maximum permissible and real bodies.
Code: https://github.com/vkopey/Thread-turning-simulator
User avatar
bill
Posts: 332
Joined: Fri Jan 09, 2015 9:25 pm

Re: Thread-turning-simulator

Postby bill » Thu Oct 11, 2018 4:26 pm

Can you provide anymore information on how to use this in FreeCAD?

Can you provide any screen snap-shots.
threadsim.png
threadsim.png (31.93 KiB) Viewed 241 times
I see from the TXlated main.py, integration with Parts and BRep.
Is it a Macro? Is it a WorkBench? Tool?; etc.

Need more README info for installation/usage.

Thanks