Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shackle will not render with "normal" bevel #61

Open
crabbedh opened this issue May 23, 2022 · 0 comments
Open

Shackle will not render with "normal" bevel #61

crabbedh opened this issue May 23, 2022 · 0 comments

Comments

@crabbedh
Copy link

crabbedh commented May 23, 2022

I'm using a normal shackle routine that I've gleaned from PPP examples of lock puzzles using shackles. The shackle in question won't render if the bevel is beyond about 0.8. If you render part of the shackle in two separate parts (the arc is broken up) then bevels work fine.. I've tested up to about 1.5. I'm not sure if this is a problem with PuzzleCad or OpenSCAD or may be a math precision problem. Not wanting to invest the time into learning the depths of OpenSCAD, I thought someone more knowledgeable might take a look to see the issue. I've included the code and tried to strip out anything unnecessary. The arc() routine is not mine, but taken from a PPP example. I've included the SCAD source and a couple of screen shots. I'm using the 2.3.1 release on macOS. The top screen shot shows the error of 'no render' with bevel of 1.. The bottom is if I change the bevel value to 0.7.
Screen Shot 2022-05-23 at 11 45 40 AM
Screen Shot 2022-05-23 at 11 46 26 AM
shackleProblem.scad.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant