svenhb / GRBL-Plotter

A GCode sender (not only for lasers or plotters) for up to two GRBL controller. SVG, DXF, HPGL import. 6 axis DRO.
https://grbl-plotter.de/
GNU General Public License v3.0
674 stars 176 forks source link

Rotation Gcode arround camera cross center #177

Closed sedovserge closed 3 years ago

sedovserge commented 3 years ago

Can add feature to rotate GCode arround camera cross center without activate "Auto alignment"? Tnx

изображение

svenhb commented 3 years ago

Yes should be possible

sedovserge commented 3 years ago

Yes should be possible

Tnx.

One more question. Are you planning to implement 3D previews?

svenhb commented 3 years ago

Sorry, no 3D view in planning.

svenhb commented 3 years ago

Try https://github.com/svenhb/GRBL-Plotter/releases

sedovserge commented 3 years ago

Sorry, a little bit wrong, has need to turn not from 0: 0, but from the center of the yellow cross (Current position in camera coordinates), and it can be anywhere.

изображение

Although, if the XY center is changed in the CAM program, then everything will be fine. It is sometimes difficult or impossible to do for a long time (there is no CAM program at hand)

It's just that when cutting a double-sided PCB, it will be easier to focus on holes that are not at 0: 0

svenhb commented 3 years ago

I would follow this description: https://github.com/svenhb/GRBL-Plotter/wiki/PCB-drilling It should work like this... 0) reset offet (right click in camera view G92.1) 1) Switch to 'Cam coord.' 2) select marker = center of rotation in 2D-view in main GUI 3) move camera view to same position on real object 4) In camera view, right click on select 'Set actual pos. to marker pos.' 5) in 2D view select next marker as reference for rotation and scale 6) move camera view to same position on real object 7) In camera view, right click on select 'Compensate angle and scale'

sedovserge commented 3 years ago

Ok, I check this out

engrjawadulhassan commented 2 years ago

Hello, I hope every one doing great.

I am having issues , with orientation of G code for drilling an etched PCB. I was using the latest version of GRBL plotter for this task, but when i reached the tutorial , the tutorial was for a previous version the software. Than , i downloaded the previous version 1.5.2 , it give me access to same camera window with tool cord and cam cord selection, I have followed the whole tutorial and steps as described. https://github.com/svenhb/GRBL-Plotter/wiki/PCB-drilling

But still i am having an error while performing the drill JOB , drill is slightly out from the drill point on pad ob both axis (X and Y), and this error is random for each point.

One more thing , that i noticed is, In new version this tutorial doesn't help at all , due to changes in software menus and terms , that were in previous version, so in my opinion tutorials/guides also needed an update regarding the changes in software.

Need help regarding this issue, Please guide to any solution.

Thanks

svenhb commented 2 years ago

In principle you

engrjawadulhassan commented 2 years ago

Hello,

What I am doing is: 1.Connect GRBL 2.Load GCODE 3.Open Camera Window 4.Followed your described steps as above

I did the same as you told , but still i am facing the same issue regarding accuracy of new drill point position. So is there any other step related to this procedure , that i am missing.

Thanks

svenhb commented 2 years ago

Perhaps you can upload some screenshots? That would be helpful.

If you add just one reference point, you can perform an adjustment in xy-offset. With two reference points also the angle will be corrected - and if checked also the scale... The last time I did it was for this manual: https://grbl-plotter.de/index.php?id=fiducial-correction&setlang=en In principle you need to do the same but manually assigning the reference points...

svenhb commented 2 years ago

I forgot to mentioned: you need the same amount of fiducial coordinates (from 2D-view) and according reference points (from camera view)