4 ms·
InOpenScad you cannot edit models via mouse. You write scripts that look like this: // Outer box depth boxDepth = 60; // Lid height lidHeight =
by sydd 6y ago
InOpenScad you cannot edit models via mouse. You write scripts that look like this:
// Outer box depth
boxDepth = 60;
// Lid height
lidHeight = 10;
module closeTab() {
translate([-5, boxDepth/2+1, lidHeight-5]) {
rotate(a=[180, 0, 0]) rotate(a=[0, 90, 0]) linear_extrude(height=10) polygon(points=[[10, -1], [9, 2.5], [8, 2.5], [7.5, 1], [-1, 1], [3, -1]]);
}
}
OpenSCAD itself just visualizes these and allows you to easily set parameters via a GUI. IMO this approach does not work for more complex models, makes small iterations much much slower. The difference between F360 and OpenSCAD is huge, its like comparing Paint to Photoshop.
- flubert 6y agoIs there a way to use openscad in a higher level manner? My ventures into it (very brief) leads me to believe it is very coordinate based. The tutorial for example: https://en.wikibooks.org/wiki/OpenSCAD_Tutorial/Chapter_1 https://en.wikibooks.org/wiki/OpenSCAD_Tutorial/Chapter_1 ...that seems like a low-level way to describe relations between the primitives. It reminds me of the coordinate virus: http://geocalc.clas.asu.edu/pdf/MathViruses.pdf http://geocalc.clas.asu.edu/pdf/MathViruses.pdf ...hope that doesn't seem too negative. To put it another way, openscad seems like the C of geometric modeling, lowish level, procedural. Is there a Prolog or Haskell of 3D modeling?
- kevin_thibedeau 6y agoYou parameterize everything and use a hierarchy of modules. Then high level changes flow down through the hierarchy. OpenSCAD is the Prolog of 3D. It only looks C-ish but it isn't actually imperative which burns some people thinking that variable assignments are sequential.
- flubert 6y agoDo you know of a good example showcasing openscad's higher order features?