-
In the example of the "gridfinity boxes" you use the function As an alternative I thought I investigate whether it would be possible to loft between some wires. In CascadeStudio the loft creates a smooth transition between the wires. When I analysed the example on your website I noticed that the Would it be possible to smooth this by adapting the parameters of the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
I found out that the loft can be made smooth by adding the parameter const main = ({ sketchCircle, sketchRectangle }) =>
{
let s1 = sketchRectangle(5,10,{origin:[5,0,20]})
let s2 = sketchRectangle(5,7,{origin:[10,0,10]})
let s3 = sketchRectangle(7,10)
let loft = s1.loftWith([s2,s3],{ruled:false})
return loft
}; I have still no solution for the |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
const main = (
{ Sketcher, sketchRectangle, revolution, sketchCircle, Plane, EdgeFinder },
{}
) => {
let p0 = [0, 0];
let p1 = [50, 100];
let p2 = [60, -95];
let p3 = [80, 30];
let p4 = [100, 25];
let points = [p1, p2, p3, p4];
return new Sketcher("XZ")
.movePointerTo(p0)
.bezierCurveTo(p4, points)
.done()
.sweepSketch((plane, origin) => sketchRectangle(3, 30, { plane, origin }));
}; |
Beta Was this translation helpful? Give feedback.
sweepSketch
takes a function with the start plane as a parameter. I though I had written something here, but it looks like I forgot to send.