Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

openscad is good, but i wish it had a way to define negative space within a module. if you have something that has positive and negative features (i.e. it's supposed to punch a hole through another object the module is applied to), you always end up with two modules, one for negative features and one for positive


There's a new project in julia. Is that the kind of negative space you're talking about? https://discourse.julialang.org/t/ann-constructivegeometry-j...


isn't that just basically openscad's difference()? I'm talking about defining an object/module with positive space components and negative components. so basically, when you apply union() to that object and another object, the positive parts will be added to the second object, and the negative ones will be subtracted. currently this has to be done in two seperate steps


Anyway it's a real programming language so that feature is probably just a matter of defining a function, which a user can do themselves


Oh, like a mask object.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: