Questions tagged [cnc]

CNC stands for Computer Numerical Control. It converts the design produced by Computer Aided Design software (CAD) into numbers.

Definition

CNC means Computer Numerical Control. This means a computer converts the design produced by Computer Aided Design software (CAD), into numbers. The numbers can be considered to be the coordinates of a graph and they control the movement of the cutter. In this way the computer controls the cutting and shaping of the material.

Useful Links

96 questions
2
votes
3 answers

Learn programming for CnC lathes

I would like to learn programming for CNC lathes. First, what open-source programs (similar BobCAD-CAM) would be best? Second, what is the best way to proceed in learning to use the programs? I look forward to learning the answers to my questions.…
2
votes
2 answers

How do I make smooth curves for a CNC?

I making an Arduino-based X-Y laser cutter. I've built the mechanics for it and accomplished basic motion, but I am having trouble getting it to plot lines and curves. I eventually want to be able to convert SVG or Illustrator files to Gcode or have…
Corey
  • 29
  • 3
2
votes
1 answer

going to a particular position with constant speed using accelStepper in arduino

I've been trying to make a simple two axis cnc. I am just in the beginning phase to I just wanted to check out the accelStepper library. With the help of constantSpeed and Bounce sketch example I got some idea and wrote the following code. …
Diwakar
  • 63
  • 1
  • 3
  • 10
1
vote
0 answers

PNG to GCODE in React ts

I'm doing a university project and I need to convert an image (.png, .jpg) to GCODE in the React project. Can I do this with some lib ? I try with img2gcode lib but it is for node only
1
vote
1 answer

Serial Communication - Why isn't this C program behaving like this Python program?

I have two programs that communicate through a serial USB interface with a CNC machine running grbl. The first program, written in Python using the pyserial library, produces intelligible output: b'ok\r\n' b'ok\r\n' The second program, written in C…
Display name
  • 721
  • 2
  • 11
  • 29
1
vote
0 answers

TwinCAT 3 - Manage I/Os via GCode / program M Commands

What I'm trying to achieve is to switch on and off specific I/Os via gcode call. In some motion controllers I worked before, that could be done with an M-command (i.e. M10Pn, where n indicates the pin address). For example: Move to position X10…
piter123
  • 61
  • 1
  • 3
1
vote
1 answer

Ruida contorller(CNC) Data file with .bs extension

I have an CNC with Ruida Controller(RDC6332G-BS) that seem to work only with data files that have a .bs file extension, i can't fount out any application that can open this data file. i tried with XnView but same thing. When i try to copy for…
OverB
  • 55
  • 7
1
vote
1 answer

Generating toolpath based on shape description or DXF input

I'm working on an application for generating a path for custom-made CNC machine. It is based on a PLC controller which does not support G-code, therefore I need to define the whole path as a list of commands. I'm having a trouble with defining the…
artnew
  • 11
  • 1
1
vote
1 answer

CNN structure extension error (Error:Negative dimension size caused by subtracting 2 from 1 for '{{node max_pooling2d_2)

I would like to extend the CNN structure to the C-C-P-C-C-P-C-C-P structure. However, I get the following error: I can't do anything because it doesn't work, how can I fix this problem? Any help would be greatly appreciated. Is there something wrong…
user16021918
1
vote
1 answer

How much faster is a low level language than a higher level language?

The main two I am considering for my CNC are sending commands through GCODE or Python as the language communicated. I know higher level languages tend to be slower but was wondering how much.
1
vote
0 answers

Using bluetooth to add my own files or rewrite files to a bluetooth connected cnc

I have a bluetooth enabled CNC(key cutter) that I control it from my phone via an app(ios but an equivalent is available for android). I need to be able to gain access to the machine directly with bluetooth or usb(already tried on pc) so I can try…
IwonderIF
  • 11
  • 1
1
vote
2 answers

Resetting GRBL command not working in arduino IDE serial monitor

I am testing Grbl CNC Shield with my Arduino Uno. Everything is working except for the ctrl-x command. I tried on the Arduino IDE serial monitor but it appears that it dont recognize. Does anyone how to solve this? Any help would be appreciated. I…
1
vote
2 answers

Is Opc Server Available in Siemens Sinumerik Cnc?

I have a research about connection between siemens sinumerik cnc and kepserverex. Is opc server available 810 d and 840d sl x 127 ? When looking at kepserver site , there is a post about it, how to connect sinumerik cnc with kepserverex. Regarding…
user3059066
  • 99
  • 12
1
vote
0 answers

How to create Mesh and solid from python, to be imported to CAD software

EDITED: Due to progress made, the problem is now different. I want to be able to generate a mesh from point cloud (3D scanned), and then turn that into a solid, so that i can import it into CAD program such as fusion. Thanks in advance.
B.W.
  • 11
  • 2
1
vote
1 answer

Alter speed/feed by tool number

I need to use some new drills using unmodified original .MIN CNC programs for Okuma Thinc controller, MU6300V. I'm looking to use the Okuma API to detect when tool group 4 is loaded into the spindle and then alter the speed/feed when it drills. I am…