Afternoon fellow FC users and forum readers.
I have been working on the tool controller/manager interactions with current OCL tool shapes. I have made some progress. I am attaching my latest version of the 3D Surface Op script to this message. Thank you, Josh
JoshM wrote: ↑Thu Mar 14, 2019 6:16 pmping
for the great post, providing me with better insight into the various tool terms and how they are
In this script I have a function, setOclCutter(), dedicated to converting stored FC tool properties into OCL compatible function calls for use in OCL operations. Currently, I have conversions for these FreeCAD tools: end mill, ball end mill, bull nose mill, engraver, and chamfer mill. I do need to verify that the FC tool property, "Length Offset," is interpreted as the distance down the shank from collet to beginning of the cutting portion of the tool piece (basically, the smooth part of the shank exposed below the collet??). I am asking for verification because I used this definition in the conversion calculations. It is easily removed if I have the wrong working definition, or it changes based on tool choice.
With regard to contacting AWallin for related input on how he defined his variables and function parameters, I have not reached out to him yet. I will raise that on my priority list related to our progress in this area.
As for the attached 3D Surface Op script, I have made more progress. I have done the following:
- Improved the property inputs from the user to better reflect function within the operation
- Replaced Sliptonic's original waterline function, and replaced it with a set of functions to produce a usable waterline operation
- Improved the line-following algorithm to remove some unwanted breaks and other artifacts
- Incorporated step down (multi-pass or layering) support to the new waterline operation
- Cleaned up the code a little to help Sliptonic separate the script file into multiple operations in the PathWB
I would like to ask the you and others to run some tests and provide feedback for improvements and corrections. I provided my platform specs below. I am aware of a couple of bugs while using the script. So far, I think they pertain to the Qt - python interface. For example, if I change from OCL Dropcutter to OCL Waterline in the properties window, my FC might crash, but if I open the operations settings window, use the menu option to make the same change, then click Okay, my chances of a crash are far less. So, I be advised fellow FC users. Please help me identify the bugs so we can reach a stable version.
UPDATE: 2019-04-29
I have removed the previously-attached script, mentioned above. Instead, the latest script version is found in a
later post in this topic. It is available there.
Thanks,
Russ
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16079 (Git)
Build type: Release
Branch: master
Hash: 6363c90a20b296ab69d7b52230009928199d90df
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)