zdog icon indicating copy to clipboard operation
zdog copied to clipboard

Constructive solid geometry - union, intersection, difference

Open drewbt opened this issue 5 years ago • 1 comments

It would be good to be able to set each shape as union, intersection or difference, for modelling complex shapes. Here is a more in depth explanation - https://en.wikipedia.org/wiki/Constructive_solid_geometry

Also handy are extrusions - https://www.sciencedirect.com/topics/engineering/path-extrusion

drewbt avatar May 29 '19 08:05 drewbt

Thank you for this feature request. Add a 👍 reaction to this issue if you would like to see this feature added. Do not add +1 comments — They will be deleted.

Given the 2D nature of Zdog's underlying pseudo-3D math, I don't think constructive solid geometry is actually feasible. The primitives are 2D and don't have 3D volume with which to use for construction. But I'm a 3D graphics newbie, so maybe there's a technique I'm not aware of.

Extrusion, however, could be done.

desandro avatar May 29 '19 10:05 desandro