Results 11 to 13 of 13
-
05-13-2015, 08:58 AM #11
-
05-13-2015, 09:37 AM #12
glad about that ' cos I've found openscads breaking point :-)
WARNING: Normalized tree is growing past 4000 elements. Aborting normalization. WARNING: Normalized tree has 7123 elements!
WARNING: OpenCSG rendering has been disabled.
Oh yeah if I use 9 facets for everything - It doesn't actually crash :-)
20x15 seems to be the limit.
Well that's a very clever script - can't say any of it make much sense to me though.
Although the text makes sense - was wondering how to use the new text command.
But as far as the rest of it goes - that's just not how I write scad scripts. What's with putting modules last ? That's just illogical
And while I did see a children(); command - not the foggiest what it's doing.
This is the problem I have with the openscad manual - it's written by programmers for programmers. And I was never a programmer :-)
What's with indenting everything - that really makes it difficult to see where a command line actually ends.
So in words of one syllable - what does children do and how do I use it ?
ps. I have stitched 2 15x20 boards together to make a 30x20 in s3d.
first time I've seen the s32d slicer really struggle lol
Now I've got to try and print the bastard lolLast edited by curious aardvark; 05-13-2015 at 10:39 AM.
-
05-17-2015, 09:31 PM #13
OpenScad compiles everything for every place it is used. But children() is sort of an exception to this. It compiles the code to do the child and then just keeps re-using it for the module referencing the child(). So that dramatically cuts down on the work (and memory) that needs to be done to generate the object you are building.
The syntax for child() is the same as doing simple things like translate([0,0,0]) something(). If you define a module that references a child, then you just say
my_module() the_child_it_references();
And my_module() could go into a big loop placing the_child_it_references() a bunch of times even though it is only calculated once.
My 3D Norn Emissary print
09-13-2024, 02:28 AM in 3D Printing Gallery