tomate44 / CurvesWB

Experiments for a FreeCAD Surface workbench
GNU Lesser General Public License v2.1
105 stars 21 forks source link

Mapping circle to cone and setting thickness doesn't work right #131

Closed theosib closed 1 week ago

theosib commented 2 weeks ago

Steps:

Expected: I should see something cylinder-like sticking out of the cone.

Actual results It's all twisted up in ways that only an image could convey.

Please also see the FCStd file attached. Also see: https://github.com/FreeCAD/FreeCAD/issues/16013

image

curve sketch on cone.FCStd.zip

theosib commented 2 weeks ago

Setting the offset to something other than zero makes it work right.

theosib commented 2 weeks ago

Someone on Discord can get this to work with an offset of zero. But I can't. He and I are both using dev version 38459. I'm betting he and I are on different platforms (I'm on Mac), and compiler optimizer differences are resulting different floating point rounding errors.

theosib commented 2 weeks ago

Changing the offset doesn't fix everything. Here's a sketch that doesn't "thickness" right no matter what. sketch on cone.FCStd.zip

image
theosib commented 2 weeks ago

And here's another that doesn't come out right. sketch on cone2.FCStd.zip

image
tomate44 commented 1 week ago

This should be fixed in 0.6.47 Please re-open and comment if it is not.