-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Cannot fillet bezier curve? #33
Comments
I have played a bit, and failed to fillet it - it feels like the OC kernel does not like your shape here... |
What gets me is it's essentially just one big curve 😅 I don't see why it wouldn't like it...! Thanks for trying |
So just to confirm, using RepliCAD (or any OC based tool) for this then is a dead end right? |
It depends also on your model - this is not because it is a bezier spline, but because the angles your shape do are kinda incompatible with the fillet you request (with the algorithm OC uses). For instance const main = ({ draw, drawRoundedRectangle }) => {
return draw()
.halfEllipse(0, 20, 5)
.smoothSpline(25, -3)
.smoothSpline(20, 8)
.smoothSpline(-20, -30, -90)
.close()
.sketchOnPlane("XY")
.extrude(5)
.fillet(0.5, (e) => e.inPlane("XY"));
}; will return a filleted shape. But if you change the fillet to I would be interested to see if you can achieve filleting the same shape with cadquery (it might be fairly easy to port your code). |
After importing the shape into FreeCad it was indeed not possible to create a fillet. Yet, OnShape has no problem creating a fillet, 1 mm or 5 mm, it all works. Note that the STEP file used in OnShape was created in Replicad. This confirms that Parasolid is one of the more robust 3D kernels available (which is reflected in its price) but also that Replicad can produce a STEP file that can be used for further processing in other CAD tools. |
Try this:
It'll fail no matter what you try it seems...
The text was updated successfully, but these errors were encountered: