Giter Club home page Giter Club logo

gcode-simulatorv2's Introduction

Gcode-SimulatorV2

What is it?

It's the improved version of my Gcode Simulator V1, so a full C Gcode file renderer which works in terminal or powershell rendering the model with characters

What changed?

This time hebekat helped me and we gained some basic C experience from our @42college admission exam, but we decided to go crazy with features and decided to try to render a rotating 3d model instead of the 2d top-down view of the building process as the V1

⚠️ Warnings

This project is abandoned (waiting for V3:pray:) and its final state is not completed, there's some memory management issues in particular while handling big Gcode files, yet these are managed by the operative system in all known cases. The dimensions of the scene are not properly displaying if the model isn't cubic in it's extreme far from center points. Multiple features are present but not working, but when rateo doesn't get modified the program works mostly as expected. Windows version as expected is slower than Linux or Unix one, it's also not tested with latest features

Installation

Dependencies

  • gcc

Just simply clone the repo or download the folder, then go to your terminal and type:

Terminal:

git clone [email protected]:XEDGit/Gcode-SimulatorV2.git
cd Gcode-SimulatorV2
make
./a.out

Powershell:

git clone [email protected]:XEDGit/Gcode-SimulatorV2.git
cd Gcode-SimulatorV2
gcc matrixManager.c readGcode.c helperFunctions.c -lm -Ofast
.\a.exe

and you're ready to go!

Arguments

The executable receives zero or two parameters, which are

  • rateo
  • source_file

rateo

Is the part of the display proportion rateo:1, with latest feature add this feature broke so leave at 1, or go over if you want to have fun :)

source_file

the file which you choose to display, files which are more than 50MB will probably be pretty slow to load. Insert the full path or the relative path from the executable folder

Example:

./a.out 1 hrt.gcode
./a.out 2 /home/user/Gcode-SimulatorV2/hrt.gcode
./a.out 1 /home/user/Desktop/myfile.gcode

gcode-simulatorv2's People

Contributors

hebekat avatar xedgit avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.