Perhaps someone with programming skills can have a peek at the code to see if it can be made to work as I showed in these three pdf:s
(click on the tiny up-arrow to the right of "wrote")
Silk WB looks amazing, great resource to learn.saso wrote: ↑Fri Sep 25, 2020 12:15 pmDoes not the silk WB https://github.com/edwardvmills/Silk provide some of the methods how to do this, with the difference that it implements a very manual workflow to set it up, so the thing to develop would be to automate this and change from using sketches to some internal control curves... ?
microelly2 also has developed some methods to do this in his workbenches, but mixing nodes workflow in to standard surfacing is not the way to do it, it has to be a property of the standard surfacing tools...
With this code snippet you can create the section curves as in the example:
Code: Select all
import math c = Part.Circle() c.Radius=50 c = c.trim(0, math.pi) e1 = Part.Ellipse() e1.Center = (0, 0, 75) e1.MajorRadius = 30 e1.MinorRadius = 5 e1 = e1.trim(0, math.pi) e2 = Part.Ellipse() e2.Center = (0, 0, 100) e2.MajorRadius = 20 e2.MinorRadius = 5 e2 = e2.trim(0, math.pi) Part.show(c.toShape()) Part.show(e1.toShape()) Part.show(e2.toShape())