Forum Replies Created
-
AuthorPosts
-
jooherMember
UPD: I just got my DUE card, programmed it in Chilipeppr, and launched simulation. Tool tracking shows that the tool goes not along lines in Chilipeppr’s preview!!! The DUE’s program interprets G2 / G3 exactly as intended in the stock post-processor. So the bug was NOT in tinyG.cps, but in Chilipepper 3dpreview widget. Arrgh…
jooherMemberYes, it is a stock tinyg.cps from Fusion360 with two upfated lines of code, as described in my previous post
jooherMemberBy the way, “use radius” actually was NOT a solution for this problem – it does NOT make the arc “correct” – it only makes it “less obviously wrong”: it is not a weird circle anymore, but its direction is still wrong – concave instead of convex and vice versa. My fix from previous post solves this.
jooherMemberHaving noticed, that clockwise is only misinterpreted for arcs in ZX plane, i made a small dirty hack to the post processor, that seems to work: in two places of the tinyg.cps i changed
gMotionModal.format(clockwise ? 2 : 3) ==> gMotionModal.format(!clockwise ? 2 : 3)IMPORTANT: make sure to only make this change for case PLANE_ZX: that is, in lines 715 and 729
Or, get updated tinyg.cps here: https://yadi.sk/d/DVg4cdUc3NLm8h
jooherMemberThe problem seems to be with clockwise misinterpretation. I tried to add this line
clockwise=!clockwise
as first line to onCircular and the wrong arcs came to their exact right shape. But other arcs, respectively, broke up.
-
AuthorPosts