G code viewer linux

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

An Open Source G-Code Viewer written in Python and targeted at the Linux Operating System.

xelapond/gcview

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README

GCView 0.1 README Alex Teiche - 4/9/10 ================== GCView is a 2D G-Code viewer written in Python and targeted at displaying G-Code for isolation-routing paths for PCBs. In the future it may gain some 3D capabilities. GPL v2.0 License for now.

About

An Open Source G-Code Viewer written in Python and targeted at the Linux Operating System.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

jtronics/G-Code-jViewer

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Читайте также:  Running chrome on linux

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

readme.md

jViewer — The simple G-Code Viewer

jViewer is a QT based and GRBL compatibl cross platform G-Code viewer. Use this program to visualize the G-Code of a GRBL controlled CNC machine. The tool consists of a simple editor with syntax highlighting and a 3D openGL window for visualizing of standard NC Code. You will finde more informations about the software on our website: http://www.jtronics.de or http://www.jtronics.de/software/jcnc-cnc-steuerung/

Screenshot of jViewer 3D Visualizer Window

  • Added copy & paste
  • Added search & replace
  • Added window for help
  • better performance
  • Bug fixes

Источник

PrusaSlicer G-code viewer

Standalone PrusaSlicer G-code Viewer is a lightweight application, which you can use to quickly preview G-codes from all popular slicers. Its behavior is identical to the preview in PrusaSlicer (the same code is used), however, you can load an external G-code file.

Supported slicers

We currently parse, and up to some level interpret, G-code from:

  • PrusaSlicer
  • Slic3r and Slic3rPE
  • CURA
  • ideaMaker
  • Simplify3D
  • Craftware
  • KISSSlicer

PrusaSlicer Standalone G-code Viewer tries hard to estimate the extrusion widths, layer heights, extrusion types, types of moves, layers, etc. from the G-code generated by various slicers. The G-code itself does not contain all the information mentioned above, thus the G-code is usually augmented with slicer specific comments. We try to get as much data as possible, but some parts might still get marked as unknown.

PrusaSlicer version 2.3 and newer augments the G-code with comments «;TYPE:», «;HEIGHT:», «;LAYER_CHANGE», «;COLOR_CHANGE», «;PAUSE_PRINT» and «;CUSTOM_GCODE». G-code generated by older PrusaSlicer which does not contain these new annotations will still be displayed, but the extrusion widths or extrusion types may not be shown reliably.

G-code generated with other slicers will most likely still load correctly, but some features, such as the print time analysis by feature might be unavailable.

Associate with .gcode file extension

If you associate the .gcode file extension with the G-code viewer, you’ll be able to launch it simply by opening the file (double-clicking on it or pressing Enter). You can do so by enabling Configuration — Preferences — Associate .gcode files to PrusaSlicer G-code Viewer.

Читайте также:  Social engineering tools kali linux

Alternatively, you associate the file extension using your operating system tools.

Windows

  1. Right-click any G-code file
  2. Select Open with — Choose default program.PrusaSlicer G-code Viewer
  3. Click More at the bottom
  4. Tick Always use this app

macOS

  1. Select any G-code file in the Finder and choose File > Get Info
  2. In the Open With section, select PrusaSlicer G-code Viewer
  3. Click Change All and confirm

Ubuntu

  1. Select any G-code file
  2. Right-click the file and select Properties
  3. Select the Open With tab
  4. Select PrusaSlicer G-code Viewer and click Set as default.

The process is similar on other Linux distributions.

Features

The stand-alone G-Code Viewer shows names of used Printer/Print settings/Filament.

Once the final G-code is available after slicing, a new horizontal slider shows up, limiting visualization of extrusions and travel by time thus allowing simulation of the print in time. By default the new horizontal slider limits visualization of the last layer selected by the vertical toolbar. Alternatively the horizontal slider limits the extrusions in all layers selected by the vertical slider. In the first case, if the horizontal slider limits visibility of the top layer, then the other layers below are rendered in a gray color. We borrowed this visualization strategy from the Craftware user interface as Cura did.

The legend newly shows the print time and the print time fraction per feature (perimeter, infill etc.), and the legend labels serve as buttons to show / hide the particular extrusion time. The print time estimate is available in both the G-code preview after slicing and in the stand-alone G-code viewer.

Multiple instances

One can start as many PrusaSlicer G-code Viewers as he wishes either by opening a G-code from the «File->G-code preview» menu, by starting the G-code viewer application, or by double-clicking on a G-code file in a File Explorer/Finder.

How it works

From the technical point of view, the stand-alone G-code viewer is a PrusaSlicer in disguise. The stand-alone G-code viewer is started as a new PrusaSlicer process. The way how the G-code viewer process is started is platform specific:

Windows

The PrusaSlicer.dll contains all the code while the prusa-slicer.exe, prusa-slicer-console.exe and the new prusa-gcodeviewer.exe wrappers just load PrusaSlicer.dll with the proper parameters.

OSX

The application distribution format supports a single binary, which in our case is PrusaSlicer.app/Contents/MacOS/PrusaSlicer. For command-line usage, this binary may be symlinked to prusa-gocdeviewer to start in a G-code viewer mode. Starting new instances of PrusaSlicer does not quite fit the OSX system, as the Finder only expects a single instance of a GUI application to be running. Thus when drag & dropping onto a dock icon of PrusaSlicer resp. G-code viewer, the file is sent to the first instance of PrusaSlicer resp. G-code viewer.

Читайте также:  Linux полный доступ к файлу

Linux

We support two binary distributions: AppImage and .tar.bz2. The .tar.bz2 format contains a new prusa-gcodeviewer starter script, while the AppImage may be symlinked to prusa-gcodeviewer to start the G-code viewer. The AppImage works by mounting the zipped filesystem image embedded inside the AppImage file and starting the application from there. It is not recommended to start prusa-gcodeviewer from an already mounted AppImage, as the AppImage will be unmounted when the PrusaSlicer that mounted it closes. When the user starts a G-code viewer from an AppImage PrusaSlicer application, another AppImage is mounted by the G-code viewer, which means the PrusaSlicer binary is being loaded into RAM the second time. Therefore if one is low on RAM, it is recommended to use the .tar.bz2 distribution instead of the AppImage until the AppImage is improved to support multiple processes running from a single mounted AppImage.

Источник

Fighting with computers

Working with CNC machines and 3D printers and developing CAM software myself I need a tool to quickly display the 3D view of any g-code file generated. For a while I have been using EMC2 software on Linux and Pleasant3D in OSX. The former was a bit picky about certain commands that were not understood that would prevent the displaying of a file completely. The latter is ok, but being oriented to 3D printers, it is not very convenient when handling files of several square feet. It works but your viewing ability and angles are a bit limited.

After a bit of searching and playing with several potential candidates I have settled with version 0.2.3 of OpenSCAM that I had used in the past on Windows but somehow was not available at the time for OSX or Linux (or I was lazy enough not to try to compile it from the sources myself). Current version worked nicely in OSX and gave me some minor problems in Ubuntu Linux, that could be solved by installing libv8-dev library and doing a soft link. And I really liked the software provides a machining-time estimate, which is great when you are developing different CAM strategies and want to compare them time-wise.

Other tools I tried but were not up to the task were tatlin, this Python-based viewer and this online tool. Don’t get me wrong these tools are ok but have a 3D printer orientation so they are a bit out of the water if fed with other type of g-code.

Источник

Оцените статью
Adblock
detector