buganini / KiKit-UI

Interactive GUI for KiKit Panelization
MIT License
11 stars 0 forks source link

Mousebites offset #5

Open tikiss opened 15 hours ago

tikiss commented 15 hours ago

Sorry, that I rise a new issue. I want to offset the mousebites with at least half of the drill size, to get a flat surface on the board edge. In KiKit it is working to set the offet, based on the KiKit Python API, there is the function makeMouseBites which your are also call in your kikit-ui.py, there you set the offset to fixed 0, I change it to 0,3: panel.makeMouseBites([line], diameter=mb_diameter * self.unit, spacing=mb_spacing * self.unit, offset=0.3 * self.unit, prolongation=0 * self.unit) But it has no effect on. (In your script you use the function three time, I have changed all the three even though I want to have only MouseBites, no V-cut) Do you have any idea why the offset is not working?

p.s.: It could be a future improvement to add this parameter to the GUI, what do you think?

buganini commented 15 hours ago

I think it's actually working, but the display is wrong

buganini commented 15 hours ago

please try the latest commit

image
tikiss commented 14 hours ago

I can confirm that with the latest commit it is working great. Thank you so much!