I am trying to model an organic object using OpenSCAD. However this will need to be ported over to older software. This restricts the primitives I can use (only cone, cylinder, torus, sphere and cubes) and the operations I can perform (difference, union, intersection, scaling and transformation). However modeling with these restrictions gives very unnatural looking objects. I need to somehow implement by hand, using only these primitives/operations the hull and minkowski operations to give my models a more organic look. Does anybody know how this could be done?

  • $\begingroup$ Given this and your previous answers is there a reason why you do not use nurbs and B-Rep? $\endgroup$
    – joojaa
    Commented Mar 15, 2016 at 17:35
  • $\begingroup$ Yes. Whatever I build must then be uploaded in CSG format to a very old piece of software that then does raytracing on it. And the old software is setting up some STRONG restrictions on functions. However I seem to have found a workaround. As soon as I get approval on the figures I'll post my current solution. $\endgroup$
    – RCountZero
    Commented Mar 16, 2016 at 8:14
  • $\begingroup$ Yes but if you could tell what the old ray tracer is then we can come up with better solutions. I mean first you tell use it has to be torus and sphere cylinder etc. than you relax it to hull and Malinowski functions. Neither one of those alone are perfect solutions. But given artificial restrictions that are there because you think you are restricted in this way is not effective communication. B-Rep is for most part CSG. $\endgroup$
    – joojaa
    Commented Mar 16, 2016 at 8:28
  • $\begingroup$ You are indeed correct. The final object must be constructed in Craig E. Kolb's Rayshade program and it must be inputted as a text file. I am still not allowed to use commands such as Hull or Minkowski since they are not available in Rayshade. I was looking for a way to simulate them. Up to now I've had (in my opinion) relative success by taking three projections of the objects and then intersecting them. Documentation about Rayshade can be found in here: graphics.stanford.edu/~cek/rayshade/doc/guide/guide.html $\endgroup$
    – RCountZero
    Commented Mar 16, 2016 at 9:19
  • $\begingroup$ Howabout using sweptsph that gives you quite some options. $\endgroup$
    – joojaa
    Commented Mar 16, 2016 at 10:32


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.