JustinSDK / dotSCAD

Reduce the burden of mathematics when playing OpenSCAD
https://openhome.cc/zh-tw/openscad/
GNU Lesser General Public License v3.0
784 stars 107 forks source link

Cannot do a difference between two path_extrude() objects #8

Closed JanKalin closed 4 years ago

JanKalin commented 4 years ago

I'm trying to make custom-made knife angle guide (e.g. https://www.amazon.com/JSSHI-Knife-Sharpening-Sharpener-Kitchen/dp/B07DVYB367). I was planning to use a few solids created with path_extrude(), but I've hit a snag. When I try to subtract two of them, I get nothing.

This is the source: test.scad.txt and this is what it looks like: image

If I draw the two objects with a(); #b();, they are drawn as in the picture. If I comment the two lines, and call difference() nothing is shown. Perhaps I'm missing something basic, but I expected to be able to subtract the solids.

JustinSDK commented 4 years ago

I use OpenSCAD 2019.05 and nothing wrong. a

JanKalin commented 4 years ago

Sorry, didn't have time to check. It turns out that the problem is in OpenSCAD (or my understanding of its functioning). I also use 2019.05 and I see nothing on the preview. I need to press F10 - view surfaces, or render it, then it shows up.

JustinSDK commented 4 years ago

Try "Force Goldfeather"?

b

JanKalin commented 4 years ago

Yes, that did the trick. Thank you!