We changed our privacy policy. Read more.

Hot answers tagged

3

I agree with the use of OpenSCAD, but since it is difficult to program in OpenSCAD, I would use SolidPython, which is a front end for OpenSCAD with the full programming capability of Python. In the alternative, you could use any programming language to decode your arrays and generate the OpenSCAD code for the little network of cubes (or voxels). The final ...


3

The repository's README.md includes a section titled "Build Scripts", with a link to another repository: https://github.com/Ultimaker/cura-build This includes dependencies and instructions for building Cura on Windows.


2

As you are an experienced developer, these links should help: This is a related question, but for Ubuntu How to build CuraEngine? Wikipedia has an informative page on Cura, which lists the Github development pages: Cura Github development page Cura Github legacy (pre-Ultimaker) development page Cura slicing engine Github development page ...


2

If your slicer does not have a mirror operation or a scale that allows negative values then mirroring in the G-code should be straightforward. As long as your printer doesn't have certain specific tool change or homing or purge positions that are done in the G-code you can just transform it, otherwise you would want to skip these sections and just do the ...


2

If the one in your question is your complete code, a possibility is that your computer is just buffering the output for the serial port, withholding it in memory. Try to add ser.flush() after your last line. This command will... well... flush anything into the buffer through the actual connection.


2

Given that LAS/LAZ is LiDAR point cloud data, there is a GIS tool called las2tin to convert these files to a triangle based mesh called Triangular irregular networks or TIN by the GIS community. Other GIS tools should be able to do the same, for example ArcGIS. Once you have the mesh, Google should be able to help you find a way to convert the TIN to an STL....


1

Based on @John Mecham's comprehensive answer, I whipped up a quick proof of concept. In the image below, the left arrow (top) is the original and the right arrow (bottom) is the reversed clone. Cura does generate a little relative offset code at the end, I think I handled it correctly. import re data_start = re.compile('^;LAYER_COUNT:[0-9]+') ifilename = '...


1

The process is pretty straightforward, you open a serial connection and send the instructions over the serial connection. The printer reports "OK" when received (not when the command has been executed). You can use pySerial to connect to a USB port with the correct speed, then send the command you want to execute (include the newline char). You ...


1

Generally, movement in a CNC, FDM-Printer, laser cutter, and Plotter has the XY plane decoupled from the Z-axis in most operations. As a result, the path in the XY plane is in 2D. But how to get to a path? Well, we have 2 variants: Pixel Most pictures store information as Pixels: each pixel on a grid has a color assigned to it. Scaling the picture does ...


1

You can try mayavi.mlab: Usage from mayavi import mlab import numpy as np def draw3d_mayavi(array, path): mlab.contour3d(array.astype(np.int32)) # a window would pop up mlab.savefig(path) mlab.clf() # clear the scene to generate a new one mayavi's recontruction is meant for generating 3D heatmap models of the array, so you have to put in a ...


1

Try voxelfuse. from voxelfuse.voxel_model import VoxelModel from voxelfuse.mesh import Mesh from voxelfuse.primitives import generateMaterials if __name__=='__main__': sponge = [ [ [1, 1, 1], [1, 0, 1], [1, 1, 1] ], [ [1, 0, 1], [0, 0, 0], ...


1

UM could stand for UltiMaker. I think that you need to either: download Uranium; install the UM package; import the UM package, or; need to add it to your path (PYTHONPATH). You may find your answer here: help needed: ImportError: "No Module named UM" in Eclipse #510. The two things that you seem to need to do are: Get Uranium from https://github.com/...


1

Q1: Printrun is 3D printer host software written in Python with limited DLP support. You can checkout how it display layers. NanoDLP directly talk to GPU through Dispmanx which makes it Raspberry Pi only. Q2: Printrun supports SVG. To convert SVG (multi-layer) to PNG you can use ImageMagick cli tools, you should consider your projector resolution too.


Only top voted, non community-wiki answers of a minimum length are eligible