Hi
code for a button left click to divide 30 then fit circle, or right click fit line, is, got left click panel and for right click panel (line)
divide pause 30 enter enter
SelLast
circle fitpoints enter
delete
divide pause 30 enter enter
SelLast
LineThroughPt enter
delete
however I run it for circle and get a UFO space craft, because some mesh sections are Dir opposite to others, yet all sections made at same time with copies of same line ! 0.1 inch spacing
explain that one !!
so I need to add code to get it to check for Dir and switch direction on the opposite ones so all match.
what is that code going to look like with that added ?
Hi,
ok had to fiddle around in Pshop, it all takes time and I havent done a minutes work today trying to solve V8
I discover that unlike usual cause, when one or more lines have an opposite direction Dir, here all were same direction.
so a circle failed to show because of some other reason.
but I do need to have all Dir same direction BEFORE generating the 30 points in the divide command. else you dont get a circle or a line !
so that command I have in the button that eventually will get made with visible artwork, needs a code to do that,
_make all Dir same direction code !
Hi,
I reckon I am thinking of what happens when I use another button average of lines.
I select e.g 4 lines of similar length, result of the lines through points command, and instead of getting an average line of similar length, I get a very small one.
I check the lines and find one or more have opposite Dir’s. when I flip them, and run the average of lines command again, I get a line of the length I expected.
so I need that Dir all same direction for that command !
its code in the left mouse button window is
_-RunPythonScript “D:\RHINO 3D WORK AND ASSOC FILES\Plug-ins and Scripts\AverageCurves by Pascal\AverageCurves.py”