Type error when trying to generate CNC job in advanced mode
Hello! I want to create gcode in advanced mode. I've everything set up, hit generate and have this error:
Traceback (most recent call last): File "D:\1.DEV\FlatCAM_beta\FlatCAMApp.py", line 2394, in new_object File "D:\1.DEV\FlatCAM_beta\FlatCAMObj.py", line 3913, in job_init_single_geometry File "D:\1.DEV\FlatCAM_beta\camlib.py", line 5341, in generate_from_geometry_2 TypeError: '>' not supported between instances of 'NoneType' and 'int'
I have attached photo of my settings
Comments (8)
-
-
reporter Error appears with positive travel too, this negative value was my try&error attempt. And one question, why positive? I want it to cut int the board, not to cut in the air ;)
-
Hi all,
@peatie1960 good catch. Travel Z parameter is the actual height at which the tool is travelling between cuts and not doing cutting. Travelling means that the tool is moving through the air and it is supposed to always have positive value like you've pointed out. I will make sure to add an error when the user is using a negative value.
@DaannD the error you get have already been 'fixed' in my working version and it will be available in the next beta version. Another user mentioned this in the FlatCAM discussions area and answering I realized that this should issue an error in the status bar and a message telling the user to correct the issue (that was the 'fix').
I will repeat here so you can realize why you have the error. This error appear only when using the V-Shape tool type like you are using. What you are trying to do is to cut a path with width 0.1mm (it is the Tool Dia from the Tool Table) with a V-shape tool that has a tip diameter of 0.1mm. Of course, in this case it is obvious that the Cut Z parameter is zero. Like you can see in the application's Cut Z parameter field.
The Cut Z parameter is the actual depth of cut, the depth at which the tool is cutting. But with a Cut Z with zero value there is no actual cut into material (eventually a slight scratch on the surface). And the error is related. The V-shape tool has a cone-like shape which means that the more it enter into material the more is the width of cut.
To solve the error you either use another tool with a tip diameter less than the Tool Dia from the Tool Table. Or, in reverse, you use a Tool Dia in the Tool Table with higher value than the Tip Dia of the v-shape tool. But this will mean that the actual cut width is higher and the traces may become thinner.
Bottom line: always make sure you do a isolation with a higher tool diameter than the v-shape tool you are going to use. This is always valid when using V-Shape tools. If you use other types of tools (cilinder-type cut) you'll not have this trouble.
-
reporter Okay, now I understand it, and it works :) You should update manual for FlatCam ;)
-
The current manual was made by JP for FlatCAM up until v8.5. FlatCAM Beta that I developed from an experimental branch of FlatCAM 8.5 does not have a manual.
The most I will do is to publish more YouTube how-to videos (when I have time) on the YouTube channel for which I placed a link in the Help menu. I'm not the type to stay and do manuals (I actually hate writing them, correct them and so on).
-
reporter Understood :) About milling with V Shaped engraver: if I set bigger tool size, FlatCam sets Z depth, will it also set more length from milling path?
Sorry for my English if I’m not understandable :)
-
Like I said, the tool diameter (tool size) found as a column in the Tool Table is actually the cut width. Therefore, a bigger tool size means a wider cut which will certainly affect your isolation's.
On the other hand, you could offset the path with half of the increase in diameter and then again you will cut as it was intended.
-
- changed status to resolved
Usage problem.
- Log in to comment
Is that "Travel Z" -0.1500? So Z Travel would be cutting into the board. I would have thought it should be a positive not negative amount. Probably nothing to do with your error though.