- edited description
Unit Issue. Unit does not match - FlatCAM 8.5
I selected mm
and when ever I drill it does not go through all the way.
Feed rate is too fast even when I set it to 10mm/minute
. It is moving too fast that I got broken bit.
FlatCam Version: 8.5
OS: I am using Ubuntu 18.04
Comments (23)
-
reporter -
I suggest you to examine the generated gcode and post here what you find. g0 and g1 are movements. I think movements while drilling should be g1. In that movements you will see an Fxxxx, that’s the speed in mm/minute. If you set 10mm/minute in FlatCAM and there is F10 in the vertical drilling (with Z-depth, like “G1 Z-1 F10”) movements then FlatCAM would be working fine, it’s job is to create the gcode according to your settings. Why do you say the units don’t match?
-
reporter units does not match in the sense, I am giving 10mm/minute in feed rate which means too slow but it is running too fast.
In drill I put -2 but it is not making hole, just touching and leaving.
Below the G Code
G21
G90
G94
F1.00
G00 Z1.0000
M03
G4 P1G00 X18.5703Y-21.8600
G01 Z-0.0010
-
reporter I tried to use FlatCam 8.98 but unable to run it on ubuntu
-
I tried to use FlatCam 8.98 but unable to run it on ubuntu
Why was not working? Perhaps you can tell us step by step what to do to replicate the error/errors you had.
-
reporter I am using Flatcam 8.5
- I added Gerber & Excellon Files.
-
For Path :
I went to Options tab to check it is mm Selected
for Gerber file I choose Tool Dia: 1mm, Margin: 0, Gap Size: 1,
for CNC Job of this file I choose Cut Z: -2, Travel Z: 1, Feed Rate: 1, Tool Dia: 1, Checked Multi-Depth pass: 0.001
- Then I export the gcode.
-
For Drill :
I selected all the Holes
for CNC job Cut Z: -2, Travel Z: 1, Feed Rate: 1
then I export gcode
-
Krishna,
I’m afraid you misunderstood my question. I asked why you said that FlatCAM 8.98 does not work in Ubuntu. I did not asked about FlatCAM 8.5. That is why I specifically quoted only one of your posts.
In regards of FlatCAM 8.5 I can’t help you, perhaps somebody else who still use that old version will help you. Good luck!
-
reporter oops !
I downloaded the source zip, then run
python3 -m pip install --upgrade -r requirements.txt
It downloaded the requirements but did not open / run the app.
-
I think you need to do the following:
chmod setup_ubuntu.sh +777 sudo setup_ubuntu.sh
Then run FlatCAM with:
sudo python3 FlatCAM.py
-
If the script does not work (???) perhaps you can install the packages one by one. Also use the sudo.
And if the program launch but the Plot Area is black then go to Edit → Preferences → General and switch from OpenGL(3D) to Legacy(2D) mode.
-
reporter yes I ran shell script but no luck.
i ran
python3 FlatCAM.py
- also tried
python3 FlatCAMApp.py
-
Error on console :
Traceback (most recent call last):
File "FlatCAM.py", line 6, in <module>
from FlatCAMApp import App
File "/home/krishna/Downloads/FlatCAM-89/FlatCAMApp.py", line 43, in <module>
from ObjectCollection import *
File "/home/krishna/Downloads/FlatCAM-89/ObjectCollection.py", line 19, in <module>
from FlatCAMObj import FlatCAMGerber, FlatCAMGeometry, FlatCAMExcellon, FlatCAMCNCjob, FlatCAMDocument, FlatCAMScript
File "/home/krishna/Downloads/FlatCAM-89/FlatCAMObj.py", line 29, in <module>
from flatcamParsers.ParseExcellon import Excellon
File "/home/krishna/Downloads/FlatCAM-89/flatcamParsers/ParseExcellon.py", line 2, in <module>
from camlib import Geometry
File "/home/krishna/Downloads/FlatCAM-89/camlib.py", line 51, in <module>
from flatcamParsers.ParseSVG import *
File "/home/krishna/Downloads/FlatCAM-89/flatcamParsers/ParseSVG.py", line 24, in <module>
from svg.path.path import Move
ImportError: cannot import name 'Move' - also tried
-
I’ll have a look and come back after.
-
reporter Sure. Thank you so much
-
Look how I just installed everything in Xubuntu 19.10 virtual machine from osboxes.org.
And as you can see it works and I’ve done nothing special.
-
reporter This is what I am getting when running shell script. Permission is ON.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-pyqt5
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-pyqt5.qtopengl
E: Couldn't find any package by glob 'python3-pyqt5.qtopengl
but python and other python library like pip pyqt5 is already installed. It should be update
I am using ubuntu 18.04
Python : 3.6.8
-
reporter I guess for some reason library & modules are not installed so FlatCAM 8.98 not running
-
Did you run it as superuser (with sudo)?
I think the problem that you encounter is that you have a rather limited knowledge about how Linux works. Unfortunately I also don’t know much about inner workings of Linux and I rely extensively on the online resources.For example, this line:
Unable to locate package python3-pip
is telling you that you don’t have installed the pip3 installer. Therefore all the packages that have to be installed with pip3 are not installed. First make sure that you have installed the pip package like this:
sudo apt-get install python3-pip
After you install it do a test by using the command:
pip3
If you still can’t solve it, then don’t rely on the script and install each package from the script list manually. Meaning you run the commands on the shell one at a time. With sudo in the front.
As you see from the GIF I’ve posted above, the entire process is very simple.
-
reporter No Sir. I am using Linux for last 4 years as main OS.
Even I am programmer too. I know python as well.
Here is I edit setup_ubuntu.sh
it is installing all packages without any issue. but Program is not opening
Shell Script
#!/bin/bash sudo apt install --reinstall libpng-dev libfreetype6 libfreetype6-dev libgeos-dev libspatialindex-dev sudo apt install --reinstall python3-dev python3-pyqt5.qtopengl python3-gdal python3-simplejson sudo python3 -m pip install --upgrade pip pyqt5 numpy scipy shapely rtree tk lxml cycler python-dateutil kiwisolver dill Shapely vispy pyopengl setuptools svg.path ortools freetype-py fontTools rasterio ezdxf matplotlib
-
Then something is not installing as it should. Perhaps you have some custom modifications on your OS.
In your place I would run a virtual machine inside Linux like virtualbox or vmware and download an image of linux like Xubuntu from osboxes.org and run it: https://www.osboxes.org/xubuntu/Then you will see that everything is OK.
-
reporter Sure I will try on VirtualBox Ubuntu 18.04 LTS and let you know
You can use the shell script on FlatCam, which I have provided.
-
I don’t think that pyqt5 can be installed by pip but I will use this script on a new VM just as a proof of concept. I will post the GIF here.
PS: I’ll download the Xubuntu 18.04 image and post the results. -
Here is a GIF showing the install on the Xubuntu 18.04.3 vmware image downloaded from https://www.osboxes.org/xubuntu/
I did put pause at some point in order to keep the GIF file size under the limit put by the GIF hosting site. But the pause was when the lines were scrolling showing the install process.
https://ibb.co/8xB1KCjI must assume that you have an issue on your Linux system. Usually the Linux issues can be solved by doing certain settings but this is for you to diagnose and find the solution. I just showed you that FlatCAM beta is running under a clean Linux.
-
- changed title to Unit Issue. Unit does not match - FlatCAM 8.5
- Log in to comment