discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] sumUp() to Replace Difference() (in most cases)

P
pproj
Fri, Oct 7, 2016 1:59 PM

hello Michael
i am glad it had received positive attention form quite a few people,
so the work on documenting and publishing it was not wasted.
i have added the cc0.
licenses are not something i normally spend my time with- do you think
it is ok and useful now?
there are actually also some non obvious issues with predicates, once
you have to start nesting sumUps it can kind of invert the predicates if
you make a sumUp() of sumUp() (the same happens when you make difference
of a difference), this could be intended or not.
usually i need way less nesting with sumUp() anyway.
and there is a workaroundish solution for this too: the showRemovedOnly
parameter in sumUp which can be set to true in the call of the inner
sumUp:
like this:  sumUp() sumUp(showRemovedOnly=true)moduleX();
Peter

On 07.10.2016 02:57, MichaelAtOz wrote:

Peter, interesting approach, will be a useful technique elsewhere too.
Thanks
for sharing.

You should add a licence to github, difficult to use a library if you
don't
know the copyright implications.
(I recently found http://www.wtfpl.net/, otherwise  cc0
<https://creativecommons.org/share-your-work/public-domain/cc0/ >  or
CC-BY etc https://creativecommons.org/licenses/  )


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the
Public Domain; to the extent possible under law, I have waived all
copyright and related or neighbouring rights to this work. Obviously
inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it!
http://www.ourfairdeal.org/  time is running out!

View this message in context:
http://forum.openscad.org/sumUp-to-Replace-Difference-in-most-cases-tp18580p18589.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

hello Michael i am glad it had received positive attention form quite a few people, so the work on documenting and publishing it was not wasted. i have added the cc0. licenses are not something i normally spend my time with- do you think it is ok and useful now? there are actually also some non obvious issues with predicates, once you have to start nesting sumUps it can kind of invert the predicates if you make a sumUp() of sumUp() (the same happens when you make difference of a difference), this could be intended or not. usually i need way less nesting with sumUp() anyway. and there is a workaroundish solution for this too: the showRemovedOnly parameter in sumUp which can be set to true in the call of the inner sumUp: like this: sumUp() sumUp(showRemovedOnly=true)moduleX(); Peter On 07.10.2016 02:57, MichaelAtOz wrote: > Peter, interesting approach, will be a useful technique elsewhere too. > Thanks > for sharing. > > You should add a licence to github, difficult to use a library if you > don't > know the copyright implications. > (I recently found http://www.wtfpl.net/, otherwise cc0 > <https://creativecommons.org/share-your-work/public-domain/cc0/ > or > CC-BY etc <https://creativecommons.org/licenses/> ) > > > > ----- > Admin - PM me if you need anything, or if I've done something stupid... > > Unless specifically shown otherwise above, my contribution is in the > Public Domain; to the extent possible under law, I have waived all > copyright and related or neighbouring rights to this work. Obviously > inclusion of works of previous authors is not included in the above. > > The TPP is no simple “trade agreement.” Fight it! > http://www.ourfairdeal.org/ time is running out! > -- > View this message in context: > http://forum.openscad.org/sumUp-to-Replace-Difference-in-most-cases-tp18580p18589.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org