<sidilakies>
can I set up a polygon with points on the (y,z) plane or (x,z) plane instead of always using the x,y plane ?
<sidilakies>
I don't see it in the manual, I guess I can rotate everything else temporarily so I can see what I'm doing. In this case it's hard to get perspective to without seing it visually
jan64 has quit [Remote host closed the connection]
Guest3 has joined #openscad
<Guest3>
hello everyone
jan64 has joined #openscad
<InPhase>
sidilakies: No, a polygon in that arrangement is invalid unless you linear_extrude it first.
<InPhase>
sidilakies: For visualization purposes, you can linear_extrude by a small amount, and then it is a 3D object that you can move validly in 3D space.
<InPhase>
sidilakies: Sometimes the preview engine will let you rotate 2D objects in 3D space, but then you'll find it goes wonky and invalid when you hit render, so don't bother confusing yourself with this process. Instead, just make it 3D to do this. :)
Guest3 has quit [Client Quit]
<InPhase>
sidilakies: Think of it like, a piece of paper is actually a 3D object.
<sidilakies>
I would linear extrude it first so I could visualize it, I got it done I just blocked out the rest of my drawing with the ! sign and drew it out on paper to get my points. I've been using blender for quite a few years, so this is just a bit different and will take a bit to get used to it
redlizard_ has quit [Remote host closed the connection]
snaked has joined #openscad
<InPhase>
sidilakies: Yeah. It's much more potent and flexible for a lot of things once you get used to the differences in the approach. But it also requires getting your brain adapted to a different workflow where certain design steps come in a very different order.
<InPhase>
Then once you do that though, you can get designs that rapidly flow in a logical manner, and small tweaks at the top make very useful high-level changes to the whole design.
<sidilakies>
yess, that's why I've been looking for something like this to use and I will still use blender, different tools for different jobs. This is more parametric, more powerful, plus sometimes a different approach can get you unstuck and more skilled at solving these problems.
<InPhase>
Yeah. There are different roles for blender.
<InPhase>
If you're doing something extremely artistic which does not follow patterns, blender is quite likely to be your better strategy.
<InPhase>
Although exploitable patterns can be quite abstract for OpenSCAD. :)
<DEac->
interesting, never recognized, that the matrix-bridge was shut down.
<DEac->
I've a question about nurbs and openscad. It is not possible to use nurbs in openscad. There is something similar? I thought about to do it manually by defining functions and to transform 2D-polygons along a path, but this is many work.
<InPhase>
DEac-: As J24k said, Beziers are sometimes pretty helpful. This is my base Bezier function that I lean on whenever I use a Bezier curve in a design: https://bpa.st/IY5Q
Non-ICE has quit [Quit: Screw you guys, im going home!]
<J24k>
InPhase i wasn't aware the for loop can do some while i<N .. is that documented?
<InPhase>
DEac-: Here was an example of me mashing together Bezier curves and the ClosedLoop library, getting a result which is basically the same sort of scenario where one might think to use nurbs: https://imgur.com/a/ckHmMjthttps://bpa.st/WCLA
<InPhase>
J24k: Yeah, the C style for loop comprehension.
<InPhase>
J24k: Only for comprehensions.
<InPhase>
J24k: It's actually an internal mapping to a tail recursion, I think.
<J24k>
InPhase thanks .. i wonder when i will use this - Ü
<InPhase>
DEac-: J24k's question made me actually look at that middle function for the first time in a while instead of just using it, and I saw it was about twice as complicated as it needed to be. :) I simplified it. https://bpa.st/YAQQ
<InPhase>
Which means it reduces further in simplicity to this: https://bpa.st/6U4A
<InPhase>
J24k: It's often very handy... Even if it turns out not in this case. :)
L29Ah has left #openscad [#openscad]
L29Ah has joined #openscad
<J24k>
many ways lead to Rome - the hard thing is to foresee the shortest.
<DEac->
InPhase: J24k: bezier is only 2D. ClosePoints is not what I want to use, I would prefer it a little bit easier. But it is a good project to try closepoints.
<DEac->
for bezier, I desided to use bosl2. it seams to be strateforward.
TheAssassin has quit [Ping timeout: 260 seconds]
buZz has quit [Ping timeout: 256 seconds]
<J24k>
DEac- oh you can use bezier with vec3 - i have that option in my library
TheAssassin has joined #openscad
buZz has joined #openscad
<InPhase>
DEac-: Well I typically like to define surfaces. :)
<DEac->
J24k: which is your lib?
<J24k>
ub.scad
buZz is now known as Guest3630
<InPhase>
DEac-: And surfaces are 1D or 2D.
<DEac->
InPhase: but in a 3d-world.
<DEac->
I decribe mostly technical parts. So my first draw is technical simple with cubes cylinder and spheres.
<InPhase>
DEac-: Yeah. Well for example, that drone picture I showed was a series of Bezier curves tracing out the different parts of the outline.
<DEac->
what i want to have is, two 2d-forms A and B, placed anywhere and anyhow and to say, please build a curved "tube" between them with A as start and B as end.