![]() ![]() If that is true, it has succeeded in that sense and in many other fantastic designs. This maybe mythological garbage I have accumulated from somewhere, or maybe true. My limited understanding of OpenSCAD is that it was thrown together to generate. "It is also like maths in that x = x +1 does not make sense."Īs a static equation, as NopHead says it does make sense mathematically, I agree.īut to see it as a powerful programming concept of a calculation followed by an assignment means it is a very, very sad omission in OpenSCAD. I think that sums up the OpenSCAD variable dilemma. Subject: Re: 2D SVG concat(points, ) no output, loops&conditionals, vector declarations NODEBOX SVG IMPORT CODEAnd that sections of pre-written code can be imported and then used with great control – making much more sophisticated things faster without going insane making them from scratch.įrom: Discuss ] On Behalf Of nop head EXCEPT if you need to make something very specific happen, or you need a greater control of the moving parts than you get by using a plug-in. It’s a HORRIBLE way to make something sophisticated like a modern web page from scratch – it would normally be the wrong tool It’s easy to make a simple thing, like a web page from the 90’s This then makes it easy for them to imagine the layers of use: ![]() When talking to people with some technical background I’m often describing OpenSCAD as like building a web page by typing raw HTML. NODEBOX SVG IMPORT MANUALYou can't modify already assigned vectors, but you canĭeclare them using multiple expression and functionįunction right() = ) ] įor (a = ) ,įor more details, see List Comprehensions topic in the manual Loop, adds one to it, and puts the result (always one) into an xĪnd then after the loop, you're seeing the outside-the-loop x which produces this output: ECHO: "looping", 1īecause the "x=x+1" takes the x that was defined outside the In particular, what you're trying to do is sort of equivalent to Set a new value inside some kinds of blocks - but that's the way to Picture is a bit more complicated than that - for instance, you can They're really more constants than variables. In general, once you've set the value of a "variable", you can'tĬhange it. I like the jingle bells on the new release P Little more documentation about flow-control(with perhaps some simpleĮxamples), and also maybe some extra operators like while(). Point to an existing array? I guess I'm just wondering if there could be a Nest conditionals and loops and append points to my list? can i not concat Still, suppose I'm not making things out of squares or circles how do I and as of writing this I realize there is a sort trivial solution for The right way? I hate to import a generated array. Vertical bars? Aren't they logically equivalent? Maybe I'm just not doing it So why does my second code snip deliver no output, while the first gives me Output.I updated to latest release, and some of my problemsĭisappeared(conditionals inside points array declaration), although I'm Proper way to write my for loops so they compile, and don't give me blank I think this shouldn't really beĪ problem if I split my design into separate vertical and horizontalĬomponents, although I was also having some problems with figuring out the One thing is OpenSCAD seams to do a good job ofĬlosing off all my polygons automatically. I seem to be having some trouble now though designing a 2d Good success converting my svg's to black&white png images and then sending G-codes, although I haven't figured that out yet. Ideally my engraver would let me import my own I'm still notĭone figuring it all out(using laserGRBL), although I've done a few testĬuts now, and discovered a good workflow using openSCAD and GIMP and I get Hello all, I've been playing with laser engraving recently. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |