Search found 10 matches

by Jeff66
Fri Oct 16, 2020 12:59 pm
Forum: QCAD/CAM
Topic: Converting G2 / G3 to start angle / stop angle / radius
Replies: 18
Views: 18329

Re: Converting G2 / G3 to start angle / stop angle / radius

Many thanks, it works !
by Jeff66
Thu Oct 15, 2020 10:27 am
Forum: QCAD/CAM
Topic: Converting G2 / G3 to start angle / stop angle / radius
Replies: 18
Views: 18329

Re: Converting G2 / G3 to start angle / stop angle / radius

Basically my postprocessor is working except for this leading 0 issue. I tried various ways but none of them work. I'm must say I'm not at ease with js nor with the derivation from GCodeBase and prototype ... I'm able to generate the toolpath but I get no output in my cn file. My postprocessor is ba...
by Jeff66
Thu Oct 15, 2020 6:54 am
Forum: QCAD/CAM
Topic: Converting G2 / G3 to start angle / stop angle / radius
Replies: 18
Views: 18329

Re: Converting G2 / G3 to start angle / stop angle / radius

Thank you CVH. I solved it by changing it on my prototype like this : if (isArcEntity(this.currentEntity)) { this.arcStartAngle = (rad2deg(this.currentEntity.getStartAngle()) + 90) % 360; this.arcEndAngle = (rad2deg(this.currentEntity.getEndAngle()) + 90) % 360; } and it works fine. My last problem ...
by Jeff66
Wed Oct 14, 2020 10:47 am
Forum: QCAD/CAM
Topic: Converting G2 / G3 to start angle / stop angle / radius
Replies: 18
Views: 18329

Re: Converting G2 / G3 to start angle / stop angle / radius

In G-Code we use G2/G3 from current position to X/Y as end position and I/J as the arc center position. On mine it's a bit different. It starts from the current position of the tool. It assumes it is on a circle of radius R. I must specify the starting angle on this circle, and the ending angle, as ...
by Jeff66
Wed Oct 14, 2020 8:38 am
Forum: QCAD/CAM
Topic: Converting G2 / G3 to start angle / stop angle / radius
Replies: 18
Views: 18329

Re: Converting G2 / G3 to start angle / stop angle / radius

I did some progress but still have questions. This is working (thank you Andrew) : this.registerVariable("arcStartAngle", "STARTANGLE", true, "", "DEFAULT", "DEFAULT"); And I can use it like this : this.firstArcCWMove = ["F26 [STARTANGLE] [ENDANGLE] [RADIUS]"]; Now I need to convert STARTANGLE and E...
by Jeff66
Wed Jul 15, 2020 2:26 pm
Forum: QCAD/CAM
Topic: Converting G2 / G3 to start angle / stop angle / radius
Replies: 18
Views: 18329

Re: Converting G2 / G3 to start angle / stop angle / radius

Thank you CVH for the drawing, it's very clear and it helps ! :wink: My main problem is not related to trigonometry and/or understanding GCode and how G2/G3 works. Despite the fact I did some programming in my young ages e_geek , my main issue is I'm not at ease with javascript... :oops: :roll: Exam...
by Jeff66
Tue Jul 14, 2020 4:24 pm
Forum: QCAD/CAM
Topic: Converting G2 / G3 to start angle / stop angle / radius
Replies: 18
Views: 18329

Re: Converting G2 / G3 to start angle / stop angle / radius

Hi CVF Thanks for your reply. The machine I'm using doesn't understand G-Code. It's a very specifi command made for turning. I wrote a post about it : https://www.qcad.org/rsforum/viewtopic.php?f=74&t=7395&sid=fe3668f2b34a00ea0df9a36f31204df6 You can take a look at the various functions here : http:...
by Jeff66
Tue Jul 14, 2020 10:06 am
Forum: QCAD/CAM
Topic: Converting G2 / G3 to start angle / stop angle / radius
Replies: 18
Views: 18329

Converting G2 / G3 to start angle / stop angle / radius

Hi everyone

Everything is almost in the subject. I need to convert G2 / G3 to something like
F26 "Start Angle" "Stop Angle" "Radius" (Clockwise)
F27 "Start Angle" "Stop Angle" "Radius" (CCW)

Any usefull tips ?
by Jeff66
Fri Jul 03, 2020 8:14 am
Forum: QCAD/CAM
Topic: ERI Post Processor
Replies: 0
Views: 5452

ERI Post Processor

Hi everyone I'm new with QCAD/CAM. I'm using an ERI NC (Kolly Genève) made for turning on a small Aciera F12 mill. I can manage two axis and it's enough for now. But since the command is made for turning, I have to calculate all the tool path when I want to mill a pocket for example, and this is a b...
by Jeff66
Fri Jul 03, 2020 8:10 am
Forum: QCAD/CAM
Topic: Postprocesseur pour comamnde ERI
Replies: 0
Views: 14517

Postprocesseur pour comamnde ERI

Bonjour Je débute avec QCAD/CAM. J'utilise une CNC ERI (Kolly Genève) pour piloter une petite fraiseuse Aciera F12. La commande est prévue pour du tournage et pour l'instant je ne pilote que deux axes (X/Z). Je dois entrer tous les chemins outils en tenant compte du diamètre de l'outil si je veux fa...

Go to advanced search