2022 Developer Survey is open! Take survey.

Questions tagged [python]

This question is associated with the programming language Python

Filter by
Sorted by
Tagged with
2 votes
2 answers
157 views

Reverse the X-axis of a G-code file

I've got some sliced models that represent the right-side arms and legs of a robot. I'm really happy with how they printed, so now I'd like to print the left-side arms and legs. I was thinking it ...
user avatar
3 votes
0 answers
104 views

Why is this central area of the STL being filled in?

We've been doing some work automatically generating STL files using Python. We've made a ring of cubes like so: Importing it into Cura still makes it look valid, with a hole in the center: However, ...
user avatar
1 vote
0 answers
65 views

Receive M114 command while printing using Printrun

I'm working on a project for which I use the Printrun package to serial communicate my G-code to my 3D printer (Creality Ender 3, Marlin firmware). The idea is that I have an external button connected ...
user avatar
  • 11
1 vote
1 answer
818 views

How do you send G-code from a USB port with Python?

I'm working on a project for my masters where I'm trying to detect print errors using object detection and I want to be able to pause the printer when a potential fault is detected. However I can't ...
user avatar
  • 13
0 votes
1 answer
75 views

Can't create image to G-code software for CNC to process

For the last 3 months I have been working on a CNC drawing machine but to this day I can't get the algorithm for line detection so I came here. I can't understand only one part and it is CAM the (...
user avatar
  • 1
0 votes
0 answers
59 views

PyCNC - Z steppers screaming

I'm transforming my Anet A8 printer to Raspberry Pi driven using PyCNC. Things seem to look promising so far apart from the Z motor doing nothing but making screaming-like sound when supposed to be ...
user avatar
  • 111
4 votes
3 answers
4k views

Convert a 3D NumPy array of voxels to an STL file

Given a 3D boolean array representing voxels, how can it be converted to a 3D-printer-ready file? The end-goal I would like to achieve is to print the 3D shape that the numpy array represents (...
user avatar
3 votes
2 answers
560 views

Sending G-code commands to Hyrel System 30M using python

I am using python 3.6 with pySerial library to connect to the Hyrel System 30M 3D Printer. I am able to read the data from the device but unable to write any commands to it Here is the code: ...
user avatar
3 votes
1 answer
5k views

Is it possible to convert a Las /Laz file into an STL or OBJ file?

I would like to know if there is any tool/library (preferably python based) that could be used in parsing a Laz file to extract info that is normally found in 3d object files such as vertices. Which ...
user avatar
1 vote
2 answers
2k views

How to build Cura on Windows?

I am interested in doing development on Cura. Initially I want to start with the UI rather than the Engine. I have found the repository and have cloned it to my PC. I have also looked over the Wiki ...
user avatar
  • 2,402
2 votes
1 answer
351 views

How to build my own Cura GUI? [closed]

I am trying to create my own Cura GUI. I am constantly getting the error: UM module not found. Do I need to see a UI file? I think I am wrong. I've installed ...
user avatar
  • 21
3 votes
1 answer
1k views

How to display images on DLP using HDMI for 3D printing?

I am working on a DLP based 3D printer. I already sliced my STL file to multiple layers. Each layer is saved as a SVG file. Because its an SVG file, I can always convert each layer to PNG/JPG file if ...
user avatar
  • 131
2 votes
0 answers
1k views

Stepper Motor Linear Acceleration Python (raspberry pi) [closed]

I am working on a Python code (below) that accelerates a stepper motor until it reaches a specific amount of steps. ...
user avatar
  • 21