Thingiverse
G-Code Analyzer and Backlash Compensator by kohjbeng
by Thingiverse
Last crawled date: 3 years ago
Updated: Rev 2.0 22 Sep 2015
Download the zip file here.
I was having printouts that I felt were related to backlash except that I had trouble confirming it from examining the code. The key question I had was why the backlash error (a vertical "empty" column) was asymmetrical. So I created a program to examine the G-Code (which I had already wanted but didn't find any satisfactory ones), as well as to simulate some backlash.
The program is still certainly in beta mode, so do provide any feedback. I only had the program interpret the G-Code that I encountered in Cura, so other variants may not be interpreted correctly yet.
Some key features:
Graphical Interface - hopefully easy to use, but do provide feedback
Loaded G-Code is Interpreted to provide color codes. Easier to debug.
3D model - Rt-Click+Drag to rotate the object. Lt-Click+Drag to rotate your viewpoint. Mousewheel to Zoom. Uses OpenTK so it should be fast.
Zoom in to see individual segments. Choose Solid, Layers, or Rainbow color coding of segments.
See the whole 3D object, or by layer, or by line segment(s). If you select by layer or segments, the corresponding lines in the G-Code window are selected so you know which lines are responsible.
You can select one or more lines in the G-Code window, and it will just draw those lines in the 3D window! Great for debugging.
Use the Backlash section to introduce some backlash - see the effects updated real time. I saw my "empty" column appear - which was an a-ha moment! My printer was indeed suffereing from backlash. You can adjust the backlash to match your printout, and therefore deduce the backlash in your system - in X, Y. Not implemented Z yet.
If you get "lost" moving around the 3D, click the Reset button. Known Bug: Sometimes the 3D window doesn't refresh - clicking with the Rt-Button will update the window.
Here's the Sequence you can use to download, install, and get familiar with the program:
Download the "Source code" zip file here. Extract the files to a location and run the file "G-Code 3D Print Analyzer.exe". If Norton or other Antivirus program pops up, you'll have to trust that I'm not writing malicious code I'm afraid so will need the more knowledgeable ones to help vouch for this.
The program should run Maximised. But you can resize as needed.
Load G-Code from a file. If you need a sample, let me know. I've only tested with G-Code from Cura so far, and then again, only for very simple models.
Try the 3D interaction to examine the 3D object. Press Reset if you get "lost". You can manually adjust the camera position, Zoom, and Target point as needed. Auto-Aim "locks" the view to the centre of the 3D object.
Try drawing in different colors. I like Layers the best. It alternates between 2 colors. Checking "Slow" will slow down the Drawing for one frame only - it sort of simulates/animates the print.
Try selecting Single Layer, and From-To. Layer shows only 1 layer. From-To shows by individual segments. The corresponding lines of G-Code are selected to help debugging (or learning G-Code).
Try selecting one or more lines in the G-Code window. See the 3D update.
If you need to see the original, raw G-Code, click the Show Source radio button.
Set to Single-Layer, and view Layer 1 from Top view. Then try increasing the X or Y backlash values - by clicking their up-arrows. See the effects update on the screen.
Work in Progress - Click the "Compensate Code" button to compensate for the backlash, and create Compensated G-Code! You can see the Compensated G-Code by clicking the Show Compensated button. You can then Save the Compensated G-Code to a file. Send it to your Printer to see if it prints out better. (as of this writing, haven't tried this yet!).
Feedback certainly welcome as to bugs, features/improvements, or just comments!
Download the zip file here.
I was having printouts that I felt were related to backlash except that I had trouble confirming it from examining the code. The key question I had was why the backlash error (a vertical "empty" column) was asymmetrical. So I created a program to examine the G-Code (which I had already wanted but didn't find any satisfactory ones), as well as to simulate some backlash.
The program is still certainly in beta mode, so do provide any feedback. I only had the program interpret the G-Code that I encountered in Cura, so other variants may not be interpreted correctly yet.
Some key features:
Graphical Interface - hopefully easy to use, but do provide feedback
Loaded G-Code is Interpreted to provide color codes. Easier to debug.
3D model - Rt-Click+Drag to rotate the object. Lt-Click+Drag to rotate your viewpoint. Mousewheel to Zoom. Uses OpenTK so it should be fast.
Zoom in to see individual segments. Choose Solid, Layers, or Rainbow color coding of segments.
See the whole 3D object, or by layer, or by line segment(s). If you select by layer or segments, the corresponding lines in the G-Code window are selected so you know which lines are responsible.
You can select one or more lines in the G-Code window, and it will just draw those lines in the 3D window! Great for debugging.
Use the Backlash section to introduce some backlash - see the effects updated real time. I saw my "empty" column appear - which was an a-ha moment! My printer was indeed suffereing from backlash. You can adjust the backlash to match your printout, and therefore deduce the backlash in your system - in X, Y. Not implemented Z yet.
If you get "lost" moving around the 3D, click the Reset button. Known Bug: Sometimes the 3D window doesn't refresh - clicking with the Rt-Button will update the window.
Here's the Sequence you can use to download, install, and get familiar with the program:
Download the "Source code" zip file here. Extract the files to a location and run the file "G-Code 3D Print Analyzer.exe". If Norton or other Antivirus program pops up, you'll have to trust that I'm not writing malicious code I'm afraid so will need the more knowledgeable ones to help vouch for this.
The program should run Maximised. But you can resize as needed.
Load G-Code from a file. If you need a sample, let me know. I've only tested with G-Code from Cura so far, and then again, only for very simple models.
Try the 3D interaction to examine the 3D object. Press Reset if you get "lost". You can manually adjust the camera position, Zoom, and Target point as needed. Auto-Aim "locks" the view to the centre of the 3D object.
Try drawing in different colors. I like Layers the best. It alternates between 2 colors. Checking "Slow" will slow down the Drawing for one frame only - it sort of simulates/animates the print.
Try selecting Single Layer, and From-To. Layer shows only 1 layer. From-To shows by individual segments. The corresponding lines of G-Code are selected to help debugging (or learning G-Code).
Try selecting one or more lines in the G-Code window. See the 3D update.
If you need to see the original, raw G-Code, click the Show Source radio button.
Set to Single-Layer, and view Layer 1 from Top view. Then try increasing the X or Y backlash values - by clicking their up-arrows. See the effects update on the screen.
Work in Progress - Click the "Compensate Code" button to compensate for the backlash, and create Compensated G-Code! You can see the Compensated G-Code by clicking the Show Compensated button. You can then Save the Compensated G-Code to a file. Send it to your Printer to see if it prints out better. (as of this writing, haven't tried this yet!).
Feedback certainly welcome as to bugs, features/improvements, or just comments!
Similar models
grabcad
free
coding robot
...ogramming with the button on the
* mode selection switch
* it can follow line
* it has 9v battery slot
* you can use with arduino
thingiverse
free
Backlash Compensation: Test and gcode Compensation Program by SteakSndwich
... feel free to share it.
but keep in mind, antibacklash is a free program and it comes without any warranty. use at your own risk!
thingiverse
free
Tiny part for G-code file testing by nglasson
..."prints" the cube.
i haven't tried printing this. i doubt it would be very exciting, but you are welcome to try.
thingiverse
free
Ramadan Karem by afarouk81
...nm117 layer 21, z=" "\ng1 x10 y5\nm300 s1000 p1000\nm0\nm117 layer 21, z="}; pause at layer, move head, play sound
grabcad
free
PICkit 4
... ability to be self-powered from the target means you can take your code with you and program on the go."
-www.microchip.com
thingiverse
free
Backlash Tower by Muele
... ambitious. if you can consistently stay within 0.03 mm from the center, you are well off. probably 0.05 mm for an older printer.
thingiverse
free
Coaster Phone Stand by Chienline
... down hotend and bed, park the print head.
delete the selected lines.
ctrl+s : save the file.
move the file to microsd and print.
thingiverse
free
Darkdog logo by Maxdarkdog
... more than one color change you can copy paste the last "{replace...." line as many times you want
if you like my work
thingiverse
free
Jagermeister plate by Maxdarkdog
... more than one color change you can copy paste the last "{replace...." line as many times you want
if you like my work
thingiverse
free
Scale from 1 to 10 by Ray73
...layer: 31" for base and "; layer: 41" for the rotor.
after connecting parts, rotate clockwise.
i used fdplast abs.
Kohjbeng
thingiverse
free
Snakebox by kohjbeng
...dard geometric shape designs to a more fluid organic design, so came up with this "sculpture" as a learning experience.
thingiverse
free
Filament Clip by kohjbeng
... the spool but on the filament itself. so this is a clip that attaches filament to filament - just to hold the filament in place.
thingiverse
free
Dog Tag by kohjbeng
...h better if the info required is printed on a piece of photo media, cut to size, then glued to the tag - has quite a classy look.
thingiverse
free
ETX-125 Horizontal Lock Knob by kohjbeng
...90, etx-105, and etx-125. if they do lose their horizontal lock knob (aka ra lock knob or azimuth lock knob), here's a model.
thingiverse
free
Proxxon Band Saw Table Insert by kohjbeng
...ted on me, so i had to create a replacement. because of the size, i used an sla printer, but a filament printer should also work.
thingiverse
free
AAx2 Electrical Dummy by kohjbeng
...ount of engagement to the spring contacts in the battery compartment by turning the nuts further away from the head of the screw.
thingiverse
free
Tommy Bar Holder by kohjbeng
...fied for different hole dimensions, as well as wall dimension (for the thickness of the wall that the receptacle will hook onto).
thingiverse
free
Multi-meter Stand (Fluke 112) by kohjbeng
...se tilted at 45 degrees for easy reading, and a convenient storage location for the probes and cables/cords to keep things tidy..
thingiverse
free
Gap and Line Tester by kohjbeng
...d. this is for your future reference, when you have to design you models so that they can be printable and your designs realised.
thingiverse
free
KJB Solar Finder by kohjbeng
...translucent "disk" as a projection screen - this is most simply made by cutting it out of an empty plastic milk bottle.
Analyzer
turbosquid
$50
Computer Dell
...dell turbosquid royalty free 3d model computer for chemistry analyzer for download as ma, obj, and fbx on turbosquid:...
3d_export
$15
Alcohol Breathalyser 3D Model
...alcohol breathalyser 3d model 3dexport alcohol analyzer breathalyzer breathalyser blood device machine test screening breath lcd...
cg_studio
$15
Alcohol Breathalyser3d model
...alcohol breathalyser3d model cgstudio alcohol analyzer breathalyzer breathalyser blood device machine test screening breath lcd...
3d_ocean
$7
Detergent Bottle 900 ml
...th rhinoceros. getting high detail and perfect curves on complex surfaces. surfaces analyzed with diagnostic tools and ‘zebra’...
3d_ocean
$7
Detergent Bottle 750 ml
...th rhinoceros. getting high detail and perfect curves on complex surfaces. surfaces analyzed with diagnostic tools and ‘zebra’...
3d_export
$69
v-eleq electrical control simulation software
...rol circuit. at the same time, it can also demonstrate and analyze various faults in the wiring process through visual simulation
3d_export
$80
us army m1130 command vehicle stryker cv with detailed interior max obj
...g 3d models with superior quality. customized modeling service/format translation/additional tech support available upon request.
3d_export
$20
power cord adhesive tape machine
...anipulator: 0.005 mm, repeated positioning accuracy of manipulator: ≤ ± 0.01 mm, and material change mode: manual material change
3d_export
$74
Best Local solar companies in US
...xpert installers and expert elect ricans. the system has been doing the job to perfection as it was put in one particular yr ago.
3d_export
$7
wire and wire copper axis fpc adhesive tape laser cutting peeling cutting machine - final assembly
... learn a lot. i won't introduce other details here. the above is the whole structure and working principle of this equipment.
Backlash
3d_export
$32
speed reducer gear box worm helical wpx
...small adjustments. gear-drives can be made to have no backlash by using split gears and spring tension but the...
thingiverse
free
Backlash calibration by marams
...backlash calibration by marams
thingiverse
this is a calibration piece to calculate the x,y backlash of your machine.
thingiverse
free
Backlash spool holder by Gavitka
...backlash spool holder by gavitka
thingiverse
backlashing spool holder to keep filament in tame. ticks.
thingiverse
free
Anti-Backlash by 3DN4U
...anti-backlash by 3dn4u
thingiverse
m8
thingiverse
free
Z anti-backlash by pstiv
...z anti-backlash by pstiv
thingiverse
z anti backlash adaptation for sharebot kiwi 3d/ arduino materia 101
thingiverse
free
DagoTrapez Anti Backlash by zer0logik
...gotrapez anti backlash by zer0logik
thingiverse
anti backlash pour adaptation des tiges trapézoïdales sur les imprimantes dagoma
thingiverse
free
backlash for ender 3, v2 by guyknow
...backlash for ender 3, v2 by guyknow
thingiverse
this for anti- backlash with double nut systems
thingiverse
free
Delta anti backlash bracket by cristiprefac
...elta anti backlash bracket by cristiprefac
thingiverse
this is an anti-backlash bracket to be used with any delta style printer.
thingiverse
free
Backlash Test by Ancientwolf
...ck position: = adjust y backlash compensation.
gaps in 8 o'clock or 2 o'clock position: = adjust x backlash compensation.
thingiverse
free
Tevo Tarantula anti-backlash mount
...le with factory brass nut.
the anti-backlash mount is from: https://www.thingiverse.com/thing:2607994/comments - thanks hrishib !
Compensator
3d_export
$5
Compensator 3D Model
...compensator 3d model
3dexport
compensator 3d model kir1408 58429 3dexport
turbosquid
$10
Oil Power Compensator
...yalty free 3d model oil power compensator for download as max on turbosquid: 3d models for games, architecture, videos. (1534354)
3d_export
$15
flanged rubber compensator parametric
...anged rubber compensator parametric
3dexport
flanged rubber compensator-parametric<br>properties<br>2"-16"
3d_export
$5
Transformer 3D Model
...transformer 3d model 3dexport transformer compensator electric transformer 3d model poctob 72074...
3d_export
$5
ak-74m
...my model. it has a movable mag, handguard, butt, compensator<br>and a pistol...
3d_export
$10
spacecraft stork
...; • experimental development in space of promising types of gallium arsenide solar cells, created on the basis of nanotechnology.
3d_export
$25
Mushroomhouse subdivision and low poly
...ight (also vray sperical light) as lighting for the renderings. two exr images for the dome light are included with the download.
thingiverse
free
Airsoft 1911 Compensator (WE "Hitman" Compensator) by vxcheese
...ensator) by vxcheese
thingiverse
remixed flash hider to go off of the battlefield 4/hitman compensator. meant for we 1911's.
thingiverse
free
John Wick compensator by ttayw
...john wick compensator by ttayw
thingiverse
compensator for an airsoft or prop gun
thingiverse
free
Red Ryder Compensator by ideaform3d
...red ryder compensator by ideaform3d
thingiverse
a compensator for the daisy red ryder bb gun.
Code
turbosquid
$1
Code
...code
turbosquid
royalty free 3d model code for download as on turbosquid: 3d models for games, architecture, videos. (1293119)
3ddd
$1
банкетка code
...e , банкетка , капитоне
производитель
3d_export
$5
Code lock
...code lock
3dexport
realistic hight-poly model of code lock with high quality pbr textures (4096x4096). rendering in v-ray.
3d_export
$5
Code lock
...code lock
3dexport
realistic hight-poly model of code lock with high quality pbr textures (4096x4096). rendering in v-ray.
turbosquid
$10
Code Lock
...
royalty free 3d model code lock for download as max and fbx on turbosquid: 3d models for games, architecture, videos. (1368816)
turbosquid
$30
Code: MRN
... available on turbo squid, the world's leading provider of digital 3d models for visualization, films, television, and games.
3ddd
$1
DV home / CODE
...dv home / code
3ddd
dv home
итальянская фабрика dv home / стул code
3ddd
free
Blastation, Code 27
...ddd
blastation , code 27
диван фабрики blastation. размер 2700х950 h1100. 135 883 polys.
turbosquid
$10
Code Sofa, ENNE
...id
royalty free 3d model code sofa, enne for download as max on turbosquid: 3d models for games, architecture, videos. (1192986)
turbosquid
free
Armani Sport Code
...e 3d model armani sport code for download as ma, obj, and fbx on turbosquid: 3d models for games, architecture, videos. (1204039)
G
3ddd
free
G. Moscatelli
...алка
вешалка 25 / 26 / 27коллекция: belle heleneбренд: g. moscatelliстрана: италияразмеры: высота - 190 / 195; диаметр - 50 / 60.
3ddd
$1
G Plan Vintage
...g plan vintage
3ddd
винтаж , g plan
g plan vintage armchair
turbosquid
free
G protein
...otein
turbosquid
free 3d model g protein for download as c4d on turbosquid: 3d models for games, architecture, videos. (1309660)
turbosquid
$14
Fence G
...turbosquid
royalty free 3d model fence g for download as fbx on turbosquid: 3d models for games, architecture, videos. (1310122)
turbosquid
$7
G for Gun
...rbosquid
royalty free 3d model g for gun for download as max on turbosquid: 3d models for games, architecture, videos. (1685215)
turbosquid
$5
Letter G
...urbosquid
royalty free 3d model letter g for download as max on turbosquid: 3d models for games, architecture, videos. (1408463)
turbosquid
$5
Letter g
...urbosquid
royalty free 3d model letter g for download as max on turbosquid: 3d models for games, architecture, videos. (1408408)
turbosquid
$5
G Ring
...
turbosquid
royalty free 3d model g ring for download as stl on turbosquid: 3d models for games, architecture, videos. (1285079)
3ddd
$1
Infiniti / G-Chair
...infiniti / g-chair
3ddd
infiniti
www.infinitidesign.it/ita/g-chair.php
3ddd
$1
кресло G-68
...кресло g-68
3ddd
кресло
кресло руководителя g-68